diff --git a/README.md b/README.md index 27c4befac..16d2c073b 100644 --- a/README.md +++ b/README.md @@ -83,47 +83,47 @@ See the [documentation](https://github.com/inotia00/revanced-documentation#readm | 💊 Patch | 📜 Description | 🏹 Target Version | |:--------:|:--------------:|:-----------------:| -| `Bitrate default value` | Sets the audio quality to 'Always High' when you first install the app. | 6.20.51 ~ 8.02.53 | -| `Bypass image region restrictions` | Adds an option to use a different host for static images, so that images blocked in some countries can be received. | 6.20.51 ~ 8.02.53 | -| `Certificate spoof` | Enables YouTube Music to work with Android Auto by spoofing the YouTube Music certificate. | 6.20.51 ~ 8.02.53 | -| `Change share sheet` | Adds an option to change the in-app share sheet to the system share sheet. | 6.20.51 ~ 8.02.53 | -| `Change start page` | Adds an option to set which page the app opens in instead of the homepage. | 6.20.51 ~ 8.02.53 | -| `Custom branding icon for YouTube Music` | Changes the YouTube Music app icon to the icon specified in patch options. | 6.20.51 ~ 8.02.53 | -| `Custom branding name for YouTube Music` | Changes the YouTube Music app name to the name specified in patch options. | 6.20.51 ~ 8.02.53 | -| `Custom header for YouTube Music` | Applies a custom header in the top left corner within the app. | 6.20.51 ~ 8.02.53 | -| `Dark theme` | Changes the app's dark theme to the values specified in patch options. | 6.20.51 ~ 8.02.53 | +| `Bitrate default value` | Sets the audio quality to 'Always High' when you first install the app. | 6.20.51 ~ 8.05.50 | +| `Bypass image region restrictions` | Adds an option to use a different host for static images, so that images blocked in some countries can be received. | 6.20.51 ~ 8.05.50 | +| `Certificate spoof` | Enables YouTube Music to work with Android Auto by spoofing the YouTube Music certificate. | 6.20.51 ~ 8.05.50 | +| `Change share sheet` | Adds an option to change the in-app share sheet to the system share sheet. | 6.20.51 ~ 8.05.50 | +| `Change start page` | Adds an option to set which page the app opens in instead of the homepage. | 6.20.51 ~ 8.05.50 | +| `Custom branding icon for YouTube Music` | Changes the YouTube Music app icon to the icon specified in patch options. | 6.20.51 ~ 8.05.50 | +| `Custom branding name for YouTube Music` | Changes the YouTube Music app name to the name specified in patch options. | 6.20.51 ~ 8.05.50 | +| `Custom header for YouTube Music` | Applies a custom header in the top left corner within the app. | 6.20.51 ~ 8.05.50 | +| `Dark theme` | Changes the app's dark theme to the values specified in patch options. | 6.20.51 ~ 8.05.50 | | `Disable Cairo splash animation` | Adds an option to disable Cairo splash animation. | 7.06.54 ~ 8.02.53 | -| `Disable DRC audio` | Adds an option to disable DRC (Dynamic Range Compression) audio. | 6.20.51 ~ 8.02.53 | -| `Disable dislike redirection` | Adds an option to disable redirection to the next track when clicking the Dislike button. | 6.20.51 ~ 8.02.53 | -| `Disable forced auto captions` | Adds an option to disable captions from being automatically enabled. | 6.20.51 ~ 8.02.53 | -| `Disable music video in album` | Adds option to redirect music videos from albums for non-premium users. | 6.20.51 ~ 8.02.53 | -| `Enable OPUS codec` | Adds an option to enable the OPUS audio codec if the player response includes it. | 6.20.51 ~ 8.02.53 | -| `Enable debug logging` | Adds an option to enable debug logging. | 6.20.51 ~ 8.02.53 | -| `Enable landscape mode` | Adds an option to enable landscape mode when rotating the screen on phones. | 6.20.51 ~ 8.02.53 | -| `Flyout menu components` | Adds options to hide or change flyout menu components. | 6.20.51 ~ 8.02.53 | -| `GmsCore support` | Allows patched Google apps to run without root and under a different package name by using GmsCore instead of Google Play Services. | 6.20.51 ~ 8.02.53 | -| `Hide account components` | Adds options to hide components related to the account menu. | 6.20.51 ~ 8.02.53 | -| `Hide action bar components` | Adds options to hide action bar components and replace the offline download button with an external download button. | 6.20.51 ~ 8.02.53 | -| `Hide ads` | Adds options to hide ads. | 6.20.51 ~ 8.02.53 | -| `Hide layout components` | Adds options to hide general layout components. | 6.20.51 ~ 8.02.53 | -| `Hide overlay filter` | Removes, at compile time, the dark overlay that appears when player flyout menus are open. | 6.20.51 ~ 8.02.53 | -| `Hide player overlay filter` | Removes, at compile time, the dark overlay that appears when single-tapping in the player. | 6.20.51 ~ 8.02.53 | -| `Navigation bar components` | Adds options to hide or change components related to the navigation bar. | 6.20.51 ~ 8.02.53 | -| `Player components` | Adds options to hide or change components related to the player. | 6.20.51 ~ 8.02.53 | -| `Remove background playback restrictions` | Removes restrictions on background playback, including for kids videos. | 6.20.51 ~ 8.02.53 | -| `Remove viewer discretion dialog` | Adds an option to remove the dialog that appears when opening a video that has been age-restricted by accepting it automatically. This does not bypass the age restriction. | 6.20.51 ~ 8.02.53 | -| `Restore old style library shelf` | Adds an option to return the Library tab to the old style. | 6.20.51 ~ 8.02.53 | -| `Return YouTube Dislike` | Adds an option to show the dislike count of songs using the Return YouTube Dislike API. | 6.20.51 ~ 8.02.53 | -| `Return YouTube Username` | Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3. | 6.20.51 ~ 8.02.53 | -| `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 | +| `Disable DRC audio` | Adds an option to disable DRC (Dynamic Range Compression) audio. | 6.20.51 ~ 8.05.50 | +| `Disable dislike redirection` | Adds an option to disable redirection to the next track when clicking the Dislike button. | 6.20.51 ~ 8.05.50 | +| `Disable forced auto captions` | Adds an option to disable captions from being automatically enabled. | 6.20.51 ~ 8.05.50 | +| `Disable music video in album` | Adds option to redirect music videos from albums for non-premium users. | 6.20.51 ~ 8.05.50 | +| `Enable OPUS codec` | Adds an option to enable the OPUS audio codec if the player response includes it. | 6.20.51 ~ 8.05.50 | +| `Enable debug logging` | Adds an option to enable debug logging. | 6.20.51 ~ 8.05.50 | +| `Enable landscape mode` | Adds an option to enable landscape mode when rotating the screen on phones. | 6.20.51 ~ 8.05.50 | +| `Flyout menu components` | Adds options to hide or change flyout menu components. | 6.20.51 ~ 8.05.50 | +| `GmsCore support` | Allows patched Google apps to run without root and under a different package name by using GmsCore instead of Google Play Services. | 6.20.51 ~ 8.05.50 | +| `Hide account components` | Adds options to hide components related to the account menu. | 6.20.51 ~ 8.05.50 | +| `Hide action bar components` | Adds options to hide action bar components and replace the offline download button with an external download button. | 6.20.51 ~ 8.05.50 | +| `Hide ads` | Adds options to hide ads. | 6.20.51 ~ 8.05.50 | +| `Hide layout components` | Adds options to hide general layout components. | 6.20.51 ~ 8.05.50 | +| `Hide overlay filter` | Removes, at compile time, the dark overlay that appears when player flyout menus are open. | 6.20.51 ~ 8.05.50 | +| `Hide player overlay filter` | Removes, at compile time, the dark overlay that appears when single-tapping in the player. | 6.20.51 ~ 8.05.50 | +| `Navigation bar components` | Adds options to hide or change components related to the navigation bar. | 6.20.51 ~ 8.05.50 | +| `Player components` | Adds options to hide or change components related to the player. | 6.20.51 ~ 8.05.50 | +| `Remove background playback restrictions` | Removes restrictions on background playback, including for kids videos. | 6.20.51 ~ 8.05.50 | +| `Remove viewer discretion dialog` | Adds an option to remove the dialog that appears when opening a video that has been age-restricted by accepting it automatically. This does not bypass the age restriction. | 6.20.51 ~ 8.05.50 | +| `Restore old style library shelf` | Adds an option to return the Library tab to the old style. | 6.20.51 ~ 8.05.50 | +| `Return YouTube Dislike` | Adds an option to show the dislike count of songs using the Return YouTube Dislike API. | 6.20.51 ~ 8.05.50 | +| `Return YouTube Username` | Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3. | 6.20.51 ~ 8.05.50 | +| `Sanitize sharing links` | Adds an option to sanitize sharing links by removing tracking query parameters. | 6.20.51 ~ 8.05.50 | +| `Settings for YouTube Music` | Applies mandatory patches to implement ReVanced Extended settings into the application. | 6.20.51 ~ 8.05.50 | +| `SponsorBlock` | Adds options to enable and configure SponsorBlock, which can skip undesired video segments, such as non-music sections. | 6.20.51 ~ 8.05.50 | | `Spoof app version` | Adds options to spoof the YouTube Music client version. This can be used to restore old UI elements and features. | 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 | -| `Watch history` | Adds an option to change the domain of the watch history or check its status. | 6.20.51 ~ 8.02.53 | +| `Spoof client` | Adds options to spoof the client to allow playback. | 6.20.51 ~ 8.05.50 | +| `Translations for YouTube Music` | Add translations or remove string resources. | 6.20.51 ~ 8.05.50 | +| `Video playback` | Adds options to customize settings related to video playback, such as default video quality and playback speed. | 6.20.51 ~ 8.05.50 | +| `Visual preferences icons for YouTube Music` | Adds icons to specific preferences in the settings. | 6.20.51 ~ 8.05.50 | +| `Watch history` | Adds an option to change the domain of the watch history or check its status. | 6.20.51 ~ 8.05.50 | ### [📦 `com.reddit.frontpage`](https://play.google.com/store/apps/details?id=com.reddit.frontpage) @@ -185,7 +185,7 @@ Example: "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] diff --git a/gradle.properties b/gradle.properties index 3019c6eeb..6ad9be9fc 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.4.1-dev.3 +version = 5.4.1-dev.4 diff --git a/patches.json b/patches.json index a9977d073..8f65b2292 100644 --- a/patches.json +++ b/patches.json @@ -58,7 +58,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -99,7 +99,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -138,7 +138,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -169,6 +169,7 @@ "use": true, "dependencies": [ "Settings for YouTube", + "ResourcePatch", "BytecodePatch", "ResourcePatch" ], @@ -246,7 +247,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -288,7 +289,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -444,7 +445,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -557,7 +558,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -669,7 +670,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -701,7 +702,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -794,7 +795,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -835,7 +836,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -876,7 +877,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -939,7 +940,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1014,7 +1015,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1055,7 +1056,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1116,7 +1117,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1143,7 +1144,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1211,7 +1212,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -1395,7 +1396,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1419,7 +1420,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1431,6 +1432,7 @@ "dependencies": [ "Settings for YouTube", "BytecodePatch", + "BytecodePatch", "BytecodePatch" ], "compatiblePackages": { @@ -1444,17 +1446,7 @@ "19.44.39" ] }, - "options": [ - { - "key": "hideActionButtonByIndex", - "title": "Hide action buttons by index", - "description": "Add an option to hide action buttons by index.\n\nThis setting is still experimental, so use it only for debugging purposes.", - "required": true, - "type": "kotlin.Boolean", - "default": false, - "values": null - } - ] + "options": [] }, { "name": "Hide ads", @@ -1476,7 +1468,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1486,9 +1478,7 @@ "description": "Adds options to hide ads.", "use": true, "dependencies": [ - "Settings for Reddit", - "ResourcePatch", - "BytecodePatch" + "Settings for Reddit" ], "compatiblePackages": { "com.reddit.frontpage": null @@ -1610,7 +1600,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1668,7 +1658,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1734,7 +1724,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -1911,7 +1901,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2077,7 +2067,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2136,7 +2126,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2147,7 +2137,8 @@ "use": true, "dependencies": [ "BytecodePatch", - "Settings for YouTube" + "Settings for YouTube", + "ResourcePatch" ], "compatiblePackages": { "com.google.android.youtube": [ @@ -2190,7 +2181,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2231,7 +2222,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2252,7 +2243,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2298,7 +2289,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2340,7 +2331,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2417,7 +2408,7 @@ }, "options": [ { - "key": "settingsLabel", + "key": "rvxSettingsLabel", "title": "RVX settings menu name", "description": "The name of the RVX settings menu.", "required": true, @@ -2514,7 +2505,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -2673,7 +2664,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2776,7 +2767,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -2788,6 +2779,7 @@ "dependencies": [ "Settings for YouTube", "BytecodePatch", + "BytecodePatch", "BytecodePatch" ], "compatiblePackages": { @@ -2974,7 +2966,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -3024,7 +3016,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] @@ -3119,7 +3111,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [ @@ -3156,7 +3148,7 @@ "6.51.53", "7.16.53", "7.25.53", - "8.02.53" + "8.05.50" ] }, "options": [] diff --git a/patches/api/patches.api b/patches/api/patches.api index 0d6d50727..328e9c744 100644 --- a/patches/api/patches.api +++ b/patches/api/patches.api @@ -230,6 +230,7 @@ public final class app/revanced/patches/music/utils/playservice/VersionCheckPatc public static final fun is_7_25_or_greater ()Z public static final fun is_7_27_or_greater ()Z public static final fun is_7_29_or_greater ()Z + public static final fun is_8_03_or_greater ()Z } public final class app/revanced/patches/music/utils/resourceid/SharedResourceIdPatchKt { @@ -417,6 +418,7 @@ public final class app/revanced/patches/reddit/utils/settings/SettingsPatchKt { public static final fun is_2024_26_or_greater ()Z public static final fun is_2024_41_or_greater ()Z public static final fun is_2025_01_or_greater ()Z + public static final fun is_2025_05_or_greater ()Z } public final class app/revanced/patches/shared/FingerprintsKt { @@ -893,7 +895,6 @@ public final class app/revanced/patches/youtube/utils/fix/streamingdata/Fingerpr } 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; } @@ -990,6 +991,8 @@ public final class app/revanced/patches/youtube/utils/playservice/VersionCheckPa public static final fun is_19_46_or_greater ()Z public static final fun is_19_49_or_greater ()Z public static final fun is_20_02_or_greater ()Z + public static final fun is_20_03_or_greater ()Z + public static final fun is_20_05_or_greater ()Z } public final class app/revanced/patches/youtube/utils/recyclerview/RecyclerViewTreeObserverPatchKt { @@ -997,6 +1000,10 @@ public final class app/revanced/patches/youtube/utils/recyclerview/RecyclerViewT public static final fun recyclerViewTreeObserverHook (Ljava/lang/String;)V } +public final class app/revanced/patches/youtube/utils/request/BuildRequestPatchKt { + public static final fun getBuildRequestPatch ()Lapp/revanced/patcher/patch/BytecodePatch; +} + public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceIdPatchKt { public static final fun getAccountSwitcherAccessibility ()J public static final fun getActionBarRingo ()J @@ -1048,6 +1055,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getHorizontalCardList ()J public static final fun getImageOnlyTab ()J public static final fun getInlineTimeBarColorizedBarPlayedColorDark ()J + public static final fun getInlineTimeBarLiveSeekAbleRange ()J public static final fun getInlineTimeBarPlayedNotHighlightedColor ()J public static final fun getInsetElementsWrapper ()J public static final fun getInsetOverlayViewLayout ()J @@ -1058,6 +1066,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getModernMiniPlayerClose ()J public static final fun getModernMiniPlayerExpand ()J public static final fun getModernMiniPlayerForwardButton ()J + public static final fun getModernMiniPlayerOverlayActionButton ()J public static final fun getModernMiniPlayerRewindButton ()J public static final fun getMusicAppDeeplinkButtonView ()J public static final fun getNotificationBigPictureIconWidth ()J @@ -1112,6 +1121,7 @@ public final class app/revanced/patches/youtube/utils/resourceid/SharedResourceI public static final fun getYtOutlineXWhite ()J public static final fun getYtPremiumWordMarkHeader ()J public static final fun getYtStaticBrandRed ()J + public static final fun getYtTextSecondary ()J public static final fun getYtWordMarkHeader ()J public static final fun getYtYoutubeMagenta ()J }