From d8c705139ff5da30510aaa50788e3d2313c311c8 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Wed, 29 Jan 2025 20:27:56 +0900 Subject: [PATCH] bump 5.4.1-dev.1 --- README.md | 5 ++--- gradle.properties | 2 +- patches.json | 32 ++++---------------------------- patches/api/patches.api | 31 +++++++++++++------------------ 4 files changed, 20 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index 00d0e4ad8..f35bdf47e 100644 --- a/README.md +++ b/README.md @@ -117,9 +117,8 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | `Sanitize sharing links` | Adds an option to sanitize sharing links by removing tracking query parameters. | 6.20.51 ~ 8.02.53 | | `Settings for YouTube Music` | Applies mandatory patches to implement ReVanced Extended settings into the application. | 6.20.51 ~ 8.02.53 | | `SponsorBlock` | Adds options to enable and configure SponsorBlock, which can skip undesired video segments, such as non-music sections. | 6.20.51 ~ 8.02.53 | -| `Spoof app version` | Adds options to spoof the YouTube Music client version. This can remove the radio mode restriction in Canadian regions or disable real-time lyrics. | 6.20.51 ~ 7.16.53 | -| `Spoof client` | Adds options to spoof the client to allow playback. | 6.20.51 ~ 7.16.53 | -| `Spoof streaming data` | Adds options to spoof the streaming data to allow playback. | 6.20.51 ~ 8.02.53 | +| `Spoof app version` | Adds options to spoof the YouTube Music client version. This can remove the radio mode restriction in Canadian regions or disable real-time lyrics. | 6.51.53 ~ 7.16.53 | +| `Spoof client` | Adds options to spoof the client to allow playback. | 6.20.51 ~ 8.02.53 | | `Translations for YouTube Music` | Add translations or remove string resources. | 6.20.51 ~ 8.02.53 | | `Video playback` | Adds options to customize settings related to video playback, such as default video quality and playback speed. | 6.20.51 ~ 8.02.53 | | `Visual preferences icons for YouTube Music` | Adds icons to specific preferences in the settings. | 6.20.51 ~ 8.02.53 | diff --git a/gradle.properties b/gradle.properties index c22c51760..7058caea4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,5 +4,5 @@ org.gradle.parallel = true android.useAndroidX = true kotlin.code.style = official kotlin.jvm.target.validation.mode = IGNORE -version = 5.3.1 +version = 5.4.1-dev.1 diff --git a/patches.json b/patches.json index 36c4d06e0..8f0f599db 100644 --- a/patches.json +++ b/patches.json @@ -169,9 +169,8 @@ "use": true, "dependencies": [ "Settings for YouTube", - "ResourcePatch", "BytecodePatch", - "BytecodePatch" + "ResourcePatch" ], "compatiblePackages": { "com.google.android.youtube": [ @@ -2413,7 +2412,7 @@ "use": true, "dependencies": [ "BytecodePatch", - "BytecodePatch", + "ResourcePatch", "ResourcePatch", "BytecodePatch", "BytecodePatch" @@ -2678,15 +2677,11 @@ "use": true, "dependencies": [ "BytecodePatch", - "Restore old style library shelf", "Settings for YouTube Music", "ResourcePatch" ], "compatiblePackages": { "com.google.android.apps.youtube.music": [ - "6.20.51", - "6.29.59", - "6.42.55", "6.51.53", "7.16.53" ] @@ -2719,28 +2714,8 @@ { "name": "Spoof client", "description": "Adds options to spoof the client to allow playback.", - "use": false, - "dependencies": [ - "Settings for YouTube Music", - "ResourcePatch" - ], - "compatiblePackages": { - "com.google.android.apps.youtube.music": [ - "6.20.51", - "6.29.59", - "6.42.55", - "6.51.53", - "7.16.53" - ] - }, - "options": [] - }, - { - "name": "Spoof streaming data", - "description": "Adds options to spoof the streaming data to allow playback.", "use": true, "dependencies": [ - "BytecodePatch", "Settings for YouTube Music", "BytecodePatch" ], @@ -2762,8 +2737,9 @@ "description": "Adds options to spoof the streaming data to allow playback.", "use": true, "dependencies": [ + "Settings for YouTube", "BytecodePatch", - "Settings for YouTube" + "BytecodePatch" ], "compatiblePackages": { "com.google.android.youtube": [ diff --git a/patches/api/patches.api b/patches/api/patches.api index cec332225..23e897e8d 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -161,10 +161,6 @@ public final class app/revanced/patches/music/utils/fix/androidauto/AndroidAutoC public static final fun getAndroidAutoCertificatePatch ()Lapp/revanced/patcher/patch/BytecodePatch; } -public final class app/revanced/patches/music/utils/fix/client/FingerprintsKt { - public static final fun indexOfBuildInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I -} - public final class app/revanced/patches/music/utils/fix/client/SpoofClientPatchKt { public static final fun getSpoofClientPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -173,11 +169,6 @@ public final class app/revanced/patches/music/utils/fix/fileprovider/FileProvide public static final fun fileProviderPatch (Ljava/lang/String;Ljava/lang/String;)Lapp/revanced/patcher/patch/BytecodePatch; } -public final class app/revanced/patches/music/utils/fix/streamingdata/SpoofStreamingDataPatchKt { - public static final field EXTENSION_CLASS_DESCRIPTOR Ljava/lang/String; - public static final fun getSpoofStreamingDataPatch ()Lapp/revanced/patcher/patch/BytecodePatch; -} - public final class app/revanced/patches/music/utils/flyoutmenu/FlyoutMenuHookPatchKt { public static final fun getFlyoutMenuHookPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -199,6 +190,7 @@ public final class app/revanced/patches/music/utils/playservice/VersionCheckPatc public static final fun is_6_27_or_greater ()Z public static final fun is_6_36_or_greater ()Z public static final fun is_6_42_or_greater ()Z + public static final fun is_6_43_or_greater ()Z public static final fun is_7_03_or_greater ()Z public static final fun is_7_06_or_greater ()Z public static final fun is_7_13_or_greater ()Z @@ -400,6 +392,8 @@ public final class app/revanced/patches/reddit/utils/settings/SettingsPatchKt { public final class app/revanced/patches/shared/FingerprintsKt { public static final field SPANNABLE_STRING_REFERENCE Ljava/lang/String; + public static final fun indexOfBrandInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I + public static final fun indexOfManufacturerInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I public static final fun indexOfModelInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I public static final fun indexOfReleaseInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I public static final fun indexOfSpannableStringInstruction (Lcom/android/tools/smali/dexlib2/iface/Method;)I @@ -529,14 +523,9 @@ public final class app/revanced/patches/shared/spoof/appversion/BaseSpoofAppVers public static final fun baseSpoofAppVersionPatch (Ljava/lang/String;)Lapp/revanced/patcher/patch/BytecodePatch; } -public final class app/revanced/patches/shared/spoof/streamingdata/BaseSpoofStreamingDataPatchKt { +public final class app/revanced/patches/shared/spoof/blockrequest/BlockRequestPatchKt { public static final field EXTENSION_CLASS_DESCRIPTOR Ljava/lang/String; - public static final fun baseSpoofStreamingDataPatch (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lapp/revanced/patcher/patch/BytecodePatch; - public static synthetic fun baseSpoofStreamingDataPatch$default (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lapp/revanced/patcher/patch/BytecodePatch; -} - -public final class app/revanced/patches/shared/spoof/streamingdata/FingerprintsKt { - public static final field STREAMING_DATA_INTERFACE Ljava/lang/String; + public static final fun getBlockRequestPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } public final class app/revanced/patches/shared/spoof/useragent/BaseSpoofUserAgentPatchKt { @@ -852,7 +841,7 @@ public final class app/revanced/patches/youtube/utils/fix/bottomui/CfBottomUIPat } public final class app/revanced/patches/youtube/utils/fix/cairo/CairoFragmentPatchKt { - public static final fun getCairoFragmentPatch ()Lapp/revanced/patcher/patch/BytecodePatch; + public static final fun getCairoFragmentPatch ()Lapp/revanced/patcher/patch/ResourcePatch; } public final class app/revanced/patches/youtube/utils/fix/cairo/CairoSettingsPatchKt { @@ -879,7 +868,12 @@ public final class app/revanced/patches/youtube/utils/fix/splash/DarkModeSplashS public static final fun getDarkModeSplashScreenPatch ()Lapp/revanced/patcher/patch/ResourcePatch; } +public final class app/revanced/patches/youtube/utils/fix/streamingdata/FingerprintsKt { + public static final field STREAMING_DATA_INTERFACE Ljava/lang/String; +} + public final class app/revanced/patches/youtube/utils/fix/streamingdata/SpoofStreamingDataPatchKt { + public static final field EXTENSION_CLASS_DESCRIPTOR Ljava/lang/String; public static final fun getSpoofStreamingDataPatch ()Lapp/revanced/patcher/patch/BytecodePatch; } @@ -1018,7 +1012,6 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getDrawerResults ()J public static final fun getEasySeekEduContainer ()J public static final fun getEditSettingsAction ()J - public static final fun getElementsImage ()J public static final fun getEmojiPickerIcon ()J public static final fun getEndScreenElementLayoutCircle ()J public static final fun getEndScreenElementLayoutIcon ()J @@ -1029,6 +1022,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getFilterBarHeight ()J public static final fun getFloatyBarTopMargin ()J public static final fun getFullScreenButton ()J + public static final fun getFullScreenEngagementAdContainer ()J public static final fun getFullScreenEngagementOverlay ()J public static final fun getFullScreenEngagementPanel ()J public static final fun getHorizontalCardList ()J @@ -1097,6 +1091,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getYtOutlineVideoCamera ()J public static final fun getYtOutlineXWhite ()J public static final fun getYtPremiumWordMarkHeader ()J + public static final fun getYtStaticBrandRed ()J public static final fun getYtWordMarkHeader ()J public static final fun getYtYoutubeMagenta ()J }