/revanced-patches

🧩 Patches for ReVanced

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

🧩 ReVanced Patches

ReVanced Extended Patches.

See the documentation to learn how to apply patches and build ReVanced Extended apps.

📋 List of patches in this repository

💊 Patch 📜 Description 🏹 Target Version
Alternative thumbnails Adds options to replace video thumbnails using the DeArrow API or image captures from the video. 18.29.38 ~ 19.16.39
Ambient mode control Adds options to disable Ambient mode and to bypass Ambient mode restrictions. 18.29.38 ~ 19.16.39
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. 18.29.38 ~ 19.16.39
Change player flyout menu toggles Adds an option to use text toggles instead of switch toggles within the additional settings menu. 18.29.38 ~ 19.16.39
Change share sheet Add option to change from in-app share sheet to system share sheet. 18.29.38 ~ 19.16.39
Change start page Adds an option to set which page the app opens in instead of the homepage. 18.29.38 ~ 19.16.39
Custom Shorts action buttons Changes, at compile time, the icon of the action buttons of the Shorts player. 18.29.38 ~ 19.16.39
Custom branding icon for YouTube Changes the YouTube app icon to the icon specified in options.json. 18.29.38 ~ 19.16.39
Custom branding name for YouTube Renames the YouTube app to the name specified in options.json. 18.29.38 ~ 19.16.39
Custom double tap length Adds Double-tap to seek values that are specified in options.json. 18.29.38 ~ 19.16.39
Custom header for YouTube Applies a custom header in the top left corner within the app. 18.29.38 ~ 19.16.39
Description components Adds options to hide and disable description components. 18.29.38 ~ 19.16.39
Disable QUIC protocol Adds an option to disable CronetEngine's QUIC protocol. 18.29.38 ~ 19.16.39
Disable auto audio tracks Adds an option to disable audio tracks from being automatically enabled. 18.29.38 ~ 19.16.39
Disable auto captions Adds an option to disable captions from being automatically enabled. 18.29.38 ~ 19.16.39
Disable haptic feedback Adds options to disable haptic feedback when swiping in the video player. 18.29.38 ~ 19.16.39
Disable resuming Shorts on startup Adds an option to disable the Shorts player from resuming on app startup when Shorts were last being watched. 18.29.38 ~ 19.16.39
Disable splash animation Adds an option to disable the splash animation on app startup. 18.29.38 ~ 19.16.39
Enable OPUS codec Adds an options to enable the OPUS audio codec if the player response includes. 18.29.38 ~ 19.16.39
Enable debug logging Adds an option to enable debug logging. 18.29.38 ~ 19.16.39
Enable external browser Adds an option to always open links in your browser instead of in the in-app-browser. 18.29.38 ~ 19.16.39
Enable gradient loading screen Adds an option to enable the gradient loading screen. 18.29.38 ~ 19.16.39
Enable open links directly Adds an option to skip over redirection URLs in external links. 18.29.38 ~ 19.16.39
Force hide player buttons background Removes, at compile time, the dark background surrounding the video player controls. 18.29.38 ~ 19.16.39
Fullscreen components Adds options to hide or change components related to fullscreen. 18.29.38 ~ 19.16.39
GmsCore support Allows patched Google apps to run without root and under a different package name by using GmsCore instead of Google Play Services. 18.29.38 ~ 19.16.39
Hide Shorts dimming Removes, at compile time, the dimming effect at the top and bottom of Shorts videos. 18.29.38 ~ 19.16.39
Hide action buttons Adds options to hide action buttons under videos. 18.29.38 ~ 19.16.39
Hide ads Adds options to hide ads. 18.29.38 ~ 19.16.39
Hide comments components Adds options to hide components related to comments. 18.29.38 ~ 19.16.39
Hide feed components Adds options to hide components related to feeds. 18.29.38 ~ 19.16.39
Hide feed flyout menu Adds the ability to hide feed flyout menu components using a custom filter. 18.29.38 ~ 19.16.39
Hide layout components Adds options to hide general layout components. 18.29.38 ~ 19.16.39
Hide player buttons Adds options to hide buttons in the video player. 18.29.38 ~ 19.16.39
Hide player flyout menu Adds options to hide player flyout menu components. 18.29.38 ~ 19.16.39
Hide shortcuts Remove, at compile time, the app shortcuts that appears when app icon is long pressed. 18.29.38 ~ 19.16.39
Hook YouTube Music actions Adds support for opening music in RVX Music using the in-app YouTube Music button. 18.29.38 ~ 19.16.39
Hook download actions Adds support to download videos with an external downloader app using the in-app download button. 18.29.38 ~ 19.16.39
Layout switch Adds an option to spoof the dpi in order to use a tablet or phone layout. 18.29.38 ~ 19.16.39
MaterialYou Applies the MaterialYou theme for Android 12+ devices. 18.29.38 ~ 19.16.39
Miniplayer Adds options to change the in app minimized player, and if patching target 19.16+ adds options to use modern miniplayers. 18.29.38 ~ 19.16.39
Navigation bar components Adds options to hide or change components related to the navigation bar. 18.29.38 ~ 19.16.39
Overlay buttons Adds options to display overlay buttons in the video player. 18.29.38 ~ 19.16.39
Player components Adds options to hide or change components related to the video player. 18.29.38 ~ 19.16.39
Remove background playback restrictions Removes restrictions on background playback, including for music and kids videos. 18.29.38 ~ 19.16.39
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. 18.29.38 ~ 19.16.39
Return YouTube Dislike Adds an option to show the dislike count of videos using the Return YouTube Dislike API. 18.29.38 ~ 19.16.39
Return YouTube Username Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3. 18.29.38 ~ 19.16.39
Sanitize sharing links Adds an option to remove tracking query parameters from URLs when sharing links. 18.29.38 ~ 19.16.39
Seekbar components Adds options to hide or change components related to the seekbar. 18.29.38 ~ 19.16.39
Settings for YouTube Applies mandatory patches to implement ReVanced Extended settings into the application. 18.29.38 ~ 19.16.39
Shorts components Adds options to hide or change components related to YouTube Shorts. 18.29.38 ~ 19.16.39
SponsorBlock Adds options to enable and configure SponsorBlock, which can skip undesired video segments, such as sponsored content. 18.29.38 ~ 19.16.39
Spoof app version Adds options to spoof the YouTube client version. This can be used to restore old UI elements and features. 18.29.38 ~ 19.16.39
Spoof streaming data Adds options to spoof the streaming data to allow video playback. 18.29.38 ~ 19.16.39
Swipe controls Adds options for controlling volume and brightness with swiping, and whether to enter fullscreen when swiping down below the player. 18.29.38 ~ 19.16.39
Theme Changes the app's theme to the values specified in options.json. 18.29.38 ~ 19.16.39
Toolbar components Adds options to hide or change components located on the toolbar, such as toolbar buttons, search bar, and header. 18.29.38 ~ 19.16.39
Translations for YouTube Add translations or remove string resources. 18.29.38 ~ 19.16.39
Video playback Adds options to customize settings related to video playback, such as default video quality and playback speed. 18.29.38 ~ 19.16.39
Visual preferences icons for YouTube Adds icons to specific preferences in the settings. 18.29.38 ~ 19.16.39
Watch history Adds an option to change the domain of the watch history or check its status. 18.29.38 ~ 19.16.39
💊 Patch 📜 Description 🏹 Target Version
Amoled Applies a pure black theme to some components. 6.20.51 ~ 7.16.53
Bitrate default value Sets the audio quality to 'Always High' when you first install the app. 6.20.51 ~ 7.16.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 ~ 7.16.53
Certificate spoof Enables YouTube Music to work with Android Auto by spoofing the YouTube Music certificate. 6.20.51 ~ 7.16.53
Change share sheet Add option to change from in-app share sheet to system share sheet. 6.20.51 ~ 7.16.53
Change start page Adds an option to set which page the app opens in instead of the homepage. 6.20.51 ~ 7.16.53
Custom branding icon for YouTube Music Changes the YouTube Music app icon to the icon specified in options.json. 6.20.51 ~ 7.16.53
Custom branding name for YouTube Music Renames the YouTube Music app to the name specified in options.json. 6.20.51 ~ 7.16.53
Custom header for YouTube Music Applies a custom header in the top left corner within the app. 6.20.51 ~ 7.16.53
Disable Cairo splash animation Adds an option to disable Cairo splash animation. 7.06.54 ~ 7.16.53
Disable auto captions Adds an option to disable captions from being automatically enabled. 6.20.51 ~ 7.16.53
Disable dislike redirection Adds an option to disable redirection to the next track when clicking the Dislike button. 6.20.51 ~ 7.16.53
Enable OPUS codec Adds an options to enable the OPUS audio codec if the player response includes. 6.20.51 ~ 7.16.53
Enable debug logging Adds an option to enable debug logging. 6.20.51 ~ 7.16.53
Enable landscape mode Adds an option to enable landscape mode when rotating the screen on phones. 6.20.51 ~ 7.16.53
Flyout menu components Adds options to hide or change flyout menu components. 6.20.51 ~ 7.16.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 ~ 7.16.53
Hide account components Adds options to hide components related to the account menu. 6.20.51 ~ 7.16.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 ~ 7.16.53
Hide ads Adds options to hide ads. 6.20.51 ~ 7.16.53
Hide layout components Adds options to hide general layout components. 6.20.51 ~ 7.16.53
Hide overlay filter Removes, at compile time, the dark overlay that appears when player flyout menus are open. 6.20.51 ~ 7.16.53
Hide player overlay filter Removes, at compile time, the dark overlay that appears when single-tapping in the player. 6.20.51 ~ 7.16.53
Navigation bar components Adds options to hide or change components related to the navigation bar. 6.20.51 ~ 7.16.53
Player components Adds options to hide or change components related to the player. 6.20.51 ~ 7.16.53
Remove background playback restrictions Removes restrictions on background playback, including for kids videos. 6.20.51 ~ 7.16.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 ~ 7.16.53
Restore old style library shelf Adds an option to return the Library tab to the old style. 6.20.51 ~ 7.16.53
Return YouTube Dislike Adds an option to show the dislike count of songs using the Return YouTube Dislike API. 6.20.51 ~ 7.16.53
Return YouTube Username Adds an option to replace YouTube handles with usernames in comments using YouTube Data API v3. 6.20.51 ~ 7.16.53
Sanitize sharing links Adds an option to remove tracking query parameters from URLs when sharing links. 6.20.51 ~ 7.16.53
Settings for YouTube Music Applies mandatory patches to implement ReVanced Extended settings into the application. 6.20.51 ~ 7.16.53
SponsorBlock Adds options to enable and configure SponsorBlock, which can skip undesired video segments, such as non-music sections. 6.20.51 ~ 7.16.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
Translations for YouTube Music Add translations or remove string resources. 6.20.51 ~ 7.16.53
Video playback Adds options to customize settings related to video playback, such as default video quality and playback speed. 6.20.51 ~ 7.16.53
Visual preferences icons for YouTube Music Adds icons to specific preferences in the settings. 6.20.51 ~ 7.16.53
💊 Patch 📜 Description 🏹 Target Version
Change package name Changes the package name for Reddit to the name specified in options.json. 2023.12.0 ~ 2024.17.0
Custom branding name for Reddit Renames the Reddit app to the name specified in options.json. 2023.12.0 ~ 2024.17.0
Disable screenshot popup Adds an option to disable the popup that appears when taking a screenshot. 2023.12.0 ~ 2024.17.0
Hide Recently Visited shelf Adds an option to hide the Recently Visited shelf in the sidebar. 2023.12.0 ~ 2024.17.0
Hide ads Adds options to hide ads. 2023.12.0 ~ 2024.17.0
Hide navigation buttons Adds options to hide buttons in the navigation bar. 2023.12.0 ~ 2024.17.0
Hide recommended communities shelf Adds an option to hide the recommended communities shelves in subreddits. 2023.12.0 ~ 2024.17.0
Open links directly Adds an option to skip over redirection URLs in external links. 2023.12.0 ~ 2024.17.0
Open links externally Adds an option to always open links in your browser instead of in the in-app-browser. 2023.12.0 ~ 2024.17.0
Premium icon Unlocks premium app icons. 2023.12.0 ~ 2024.17.0
Remove subreddit dialog Adds options to remove the NSFW community warning and notifications suggestion dialogs by dismissing them automatically. 2023.12.0 ~ 2024.17.0
Sanitize sharing links Adds an option to remove tracking query parameters from URLs when sharing links. 2023.12.0 ~ 2024.17.0
Settings for Reddit Applies mandatory patches to implement ReVanced Extended settings into the application. 2023.12.0 ~ 2024.17.0

📝 JSON Format

This section explains the JSON format for the patches.json file.

Example:

[
  {
    "name": "Alternative thumbnails",
    "description": "Adds options to replace video thumbnails using the DeArrow API or image captures from the video.",
    "compatiblePackages":[
      {
        "name": "com.google.android.youtube",
        "versions": [
          "18.29.38",
          "18.33.40",
          "18.38.44",
          "18.48.39",
          "19.05.36",
          "19.16.39"
        ]
      }
    ],
    "use":true,
    "requiresIntegrations":false,
    "options": []
  },
  {
    "name": "Bitrate default value",
    "description": "Sets the audio quality to 'Always High' when you first install the app.",
    "compatiblePackages": [
      {
        "name": "com.google.android.apps.youtube.music",
        "versions": [
          "6.20.51",
          "6.29.59",
          "6.42.55",
          "6.51.53",
          "7.16.53"
        ]
      }
    ],
    "use":true,
    "requiresIntegrations":false,
    "options": []
  },
  {
    "name": "Hide ads",
    "description": "Adds options to hide ads.",
    "compatiblePackages": [
      {
        "name": "com.reddit.frontpage",
        "versions": [
          "2023.12.0",
          "2024.17.0"
        ]
      }
    ],
    "use":true,
    "requiresIntegrations":true,
    "options": []
  }
]