## 🧩 ReVanced Patches

ReVanced Extended Patches.

## 📋 List of patches in this repository

### [📦 `com.google.android.youtube`](https://play.google.com/store/apps/details?id=com.google.android.youtube)
<details>

| 💊 Patch | 📜 Description | 🏹 Target Version |
|:--------:|:--------------:|:-----------------:|
| `add-splash-animation` | Adds splash animation, which was removed in YT v18.19.36+. This patch cannot be used with 'custom-branding-icon' patch | 18.22.37 ~ 18.32.39 |
| `alternative-thumbnails` | Adds an option to replace video thumbnails with still image captures of the video. | 18.22.37 ~ 18.32.39 |
| `append-time-stamps-information` | Add the current video quality or playback speed in brackets next to the current time. | 18.22.37 ~ 18.32.39 |
| `bypass-ambient-mode-restrictions` | Bypass ambient mode restrictions in battery saver mode. | 18.22.37 ~ 18.32.39 |
| `change-homepage` | Change home page to subscription feed. | 18.22.37 ~ 18.32.39 |
| `custom-branding-youtube-name` | Rename the YouTube app to the name specified in options.json. | 18.22.37 ~ 18.32.39 |
| `custom-branding-icon-mmt` | Changes the YouTube launcher icon to MMT. | 18.22.37 ~ 18.32.39 |
| `custom-branding-icon-revancify-blue` | Changes the YouTube launcher icon to Revancify Blue. | 18.22.37 ~ 18.32.39 |
| `custom-branding-icon-revancify-red` | Changes the YouTube launcher icon to Revancify Red. | 18.22.37 ~ 18.32.39 |
| `custom-double-tap-length` | Add 'double-tap to seek' value. | 18.22.37 ~ 18.32.39 |
| `custom-package-name` | Specifies the package name for YouTube and YT Music in the MicroG build. | all |
| `custom-playback-speed` | Adds more playback speed options. | 18.22.37 ~ 18.32.39 |
| `custom-seekbar-color` | Change seekbar color in video player and video thumbnails. | 18.22.37 ~ 18.32.39 |
| `default-playback-speed` | Adds ability to set default playback speed settings. | 18.22.37 ~ 18.32.39 |
| `default-video-quality` | Adds ability to set default video quality settings. | 18.22.37 ~ 18.32.39 |
| `disable-quic-protocol` | Disable CronetEngine's QUIC protocol. | 18.22.37 ~ 18.32.39 |
| `disable-shorts-on-startup` | Disables playing YouTube Shorts when launching YouTube. | 18.22.37 ~ 18.32.39 |
| `disable-auto-captions` | Disables forced auto captions. | 18.22.37 ~ 18.32.39 |
| `disable-haptic-feedback` | Disable haptic feedback when swiping. | 18.22.37 ~ 18.32.39 |
| `disable-hdr-video` | Disable HDR video. | 18.22.37 ~ 18.32.39 |
| `disable-landscape-mode` | Disable landscape mode when entering fullscreen. | 18.22.37 ~ 18.32.39 |
| `disable-pip-notification` | Disable pip notification when you first launch pip mode. | 18.22.37 ~ 18.32.39 |
| `enable-compact-controls-overlay` | Enables compact control overlay. | 18.22.37 ~ 18.32.39 |
| `enable-debug-logging` | Adds debugging options. | 18.22.37 ~ 18.32.39 |
| `enable-external-browser` | Open url outside the app in an external browser. | 18.22.37 ~ 18.32.39 |
| `enable-minimized-playback` | Enables minimized and background playback. | 18.22.37 ~ 18.32.39 |
| `enable-new-comment-popup-panels` | Enables a new type of comment popup panel in the shorts player. | 18.22.37 ~ 18.32.39 |
| `enable-new-splash-animation` | Enables a new type of splash animation. | 18.22.37 ~ 18.32.39 |
| `enable-new-thumbnail-preview` | Enables a new type of thumbnail preview. | 18.22.37 ~ 18.32.39 |
| `enable-old-quality-layout` | Enables the original quality flyout menu. | 18.22.37 ~ 18.32.39 |
| `enable-open-links-directly` | Skips over redirection URLs to external links. | 18.22.37 ~ 18.32.39 |
| `enable-seekbar-tapping` | Enables tap-to-seek on the seekbar of the video player. | 18.22.37 ~ 18.32.39 |
| `enable-tablet-mini-player` | Enables the tablet mini player layout. | 18.22.37 ~ 18.32.39 |
| `enable-tablet-navigation-bar` | Enables the tablet navigation bar. | 18.22.37 ~ 18.32.39 |
| `enable-wide-search-bar` | Replaces the search icon with a wide search bar. This will hide the YouTube logo when active. | 18.22.37 ~ 18.32.39 |
| `force-opus-codec` | Forces the OPUS codec for audios. | 18.22.37 ~ 18.32.39 |
| `force-vp9-codec` | Forces the VP9 codec for videos. | 18.22.37 ~ 18.32.39 |
| `force-hide-player-button-background` | Force hides the background from the video player buttons. | 18.22.37 ~ 18.32.39 |
| `force-premium-heading` | Forces premium heading on the homepage. | 18.22.37 ~ 18.32.39 |
| `header-switch` | Add switch to change header. | 18.22.37 ~ 18.32.39 |
| `hide-account-menu` | Hide account menu elements. | 18.22.37 ~ 18.32.39 |
| `hide-auto-player-popup-panels` | Hide automatic popup panels (playlist or live chat) on video player. | 18.22.37 ~ 18.32.39 |
| `hide-autoplay-button` | Hides the autoplay button in the video player. | 18.22.37 ~ 18.32.39 |
| `hide-autoplay-preview` | Hides the autoplay preview container in the fullscreen. | 18.22.37 ~ 18.32.39 |
| `hide-button-container` | Adds the options to hide action buttons under a video. | 18.22.37 ~ 18.32.39 |
| `hide-captions-button` | Hides the captions button in the video player. | 18.22.37 ~ 18.32.39 |
| `hide-cast-button` | Hides the cast button in the video player. | 18.22.37 ~ 18.32.39 |
| `hide-category-bar` | Hides the category bar in video feeds. | 18.22.37 ~ 18.32.39 |
| `hide-channel-avatar-section` | Hides the channel avatar section of the subscription feed. | 18.22.37 ~ 18.32.39 |
| `hide-channel-watermark` | Hides creator's watermarks on videos. | 18.22.37 ~ 18.32.39 |
| `hide-collapse-button` | Hides the collapse button in the video player. | 18.22.37 ~ 18.32.39 |
| `hide-comment-component` | Hides components related to comments. | 18.22.37 ~ 18.32.39 |
| `hide-crowdfunding-box` | Hides the crowdfunding box between the player and video description. | 18.22.37 ~ 18.32.39 |
| `hide-description-components` | Hides description components. | 18.22.37 ~ 18.32.39 |
| `hide-double-tap-overlay-filter` | Hides the double tap dark filter layer. | 18.22.37 ~ 18.32.39 |
| `hide-end-screen-cards` | Hides the suggested video cards at the end of a video in fullscreen. | 18.22.37 ~ 18.32.39 |
| `hide-end-screen-overlay` | Hide end screen overlay on swipe controls. | 18.22.37 ~ 18.32.39 |
| `hide-feed-flyout-panel` | Hides feed flyout panel components. | 18.22.37 ~ 18.32.39 |
| `hide-filmstrip-overlay` | Hide filmstrip overlay on swipe controls. | 18.22.37 ~ 18.32.39 |
| `hide-floating-microphone` | Hides the floating microphone button which appears in search. | 18.22.37 ~ 18.32.39 |
| `hide-fullscreen-panels` | Hides video description and comments panel in fullscreen view. | 18.22.37 ~ 18.32.39 |
| `hide-general-ads` | Hides general ads. | 18.22.37 ~ 18.32.39 |
| `hide-handle` | Hides the handle in the account switcher. | 18.22.37 ~ 18.32.39 |
| `hide-info-cards` | Hides info-cards in videos. | 18.22.37 ~ 18.32.39 |
| `hide-latest-videos-button` | Hides latest videos button in home feed. | 18.22.37 ~ 18.32.39 |
| `hide-layout-components` | Hides general layout components. | 18.22.37 ~ 18.32.39 |
| `hide-load-more-button` | Hides the button under videos that loads similar videos. | 18.22.37 ~ 18.32.39 |
| `hide-mix-playlists` | Hides mix playlists from home feed and video player. | 18.22.37 ~ 18.32.39 |
| `hide-music-button` | Hides the YouTube Music button in the video player. | 18.22.37 ~ 18.32.39 |
| `hide-navigation-buttons` | Adds options to hide or change navigation buttons. | 18.22.37 ~ 18.32.39 |
| `hide-navigation-label` | Hide navigation bar labels. | 18.22.37 ~ 18.32.39 |
| `hide-player-button-background` | Hide player button background. | 18.22.37 ~ 18.32.39 |
| `hide-player-flyout-panel` | Hides player flyout panel components. | 18.22.37 ~ 18.32.39 |
| `hide-player-overlay-filter` | Hides the dark filter layer from the player's background. | 18.22.37 ~ 18.32.39 |
| `hide-previous-next-button` | Hides the previous and next button in the player controller. | 18.22.37 ~ 18.32.39 |
| `hide-quick-actions` | Adds the options to hide quick actions components in the fullscreen. | 18.22.37 ~ 18.32.39 |
| `hide-seek-message` | Hides the 'Slide left or right to seek' message container. | 18.22.37 ~ 18.32.39 |
| `hide-seekbar` | Hides the seekbar in video player and video thumbnails. | 18.22.37 ~ 18.32.39 |
| `hide-shorts-components` | Hides other Shorts components. | 18.22.37 ~ 18.32.39 |
| `hide-snack-bar` | Hides the snack bar action popup. | 18.22.37 ~ 18.32.39 |
| `hide-speed-overlay` | Hide speed overlay in player. | 18.22.37 ~ 18.32.39 |
| `hide-suggested-actions` | Hide the suggested actions bar inside the player. | 18.22.37 ~ 18.32.39 |
| `hide-suggested-video-overlay` | Hide the suggested video overlay to play next. | 18.22.37 ~ 18.32.39 |
| `hide-suggestions-shelf` | Hides the suggestions shelf. | 18.22.37 ~ 18.32.39 |
| `hide-time-stamp` | Hides timestamp in video player. | 18.22.37 ~ 18.32.39 |
| `hide-tooltip-content` | Hides the tooltip box that appears on first install. | 18.22.37 ~ 18.32.39 |
| `hide-trending-searches` | Hide trending searches in the search bar. | 18.22.37 ~ 18.32.39 |
| `hide-video-ads` | Hides ads in the video player. | 18.22.37 ~ 18.32.39 |
| `language-switch` | Add language switch toggle. | 18.22.37 ~ 18.32.39 |
| `layout-switch` | Tricks the dpi to use some tablet/phone layouts. | 18.22.37 ~ 18.32.39 |
| `materialyou` | Enables MaterialYou theme for Android 12+ | 18.22.37 ~ 18.32.39 |
| `microg-support` | Allows ReVanced to run without root and under a different package name with MicroG. | 18.22.37 ~ 18.32.39 |
| `overlay-buttons` | Add overlay buttons to the player. | 18.22.37 ~ 18.32.39 |
| `return-youtube-dislike` | Shows the dislike count of videos using the Return YouTube Dislike API. | 18.22.37 ~ 18.32.39 |
| `settings` | Applies mandatory patches to implement ReVanced settings into the application. | 18.22.37 ~ 18.32.39 |
| `sponsorblock` | Integrates SponsorBlock which allows skipping video segments such as sponsored content. | 18.22.37 ~ 18.32.39 |
| `spoof-app-version` | Tricks YouTube into thinking, you are running an older version of the app. One of the side effects also includes restoring the old UI. | 18.22.37 ~ 18.32.39 |
| `spoof-player-parameters` | Spoofs player parameters to prevent playback issues. | 18.22.37 ~ 18.32.39 |
| `swipe-controls` | Adds volume and brightness swipe controls. | 18.22.37 ~ 18.32.39 |
| `theme` | Change the app's theme to the values specified in options.json. | 18.22.37 ~ 18.32.39 |
| `translations` | Add Crowdin translations for YouTube. | 18.22.37 ~ 18.32.39 |
</details>

### [📦 `com.google.android.apps.youtube.music`](https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music)
<details>

| 💊 Patch | 📜 Description | 🏹 Target Version |
|:--------:|:--------------:|:-----------------:|
| `amoled` | Applies pure black theme on some components. | 6.15.52 ~ 6.21.51 |
| `background-play` | Enables playing music in the background. | 6.15.52 ~ 6.21.51 |
| `bitrate-default-value` | Set the audio quality to "Always High" when you first install the app. | 6.15.52 ~ 6.21.51 |
| `certificate-spoof` | Spoofs the YouTube Music certificate for Android Auto. | 6.15.52 ~ 6.21.51 |
| `custom-branding-music-name` | Rename the YouTube Music app to the name specified in options.json. | 6.15.52 ~ 6.21.51 |
| `custom-branding-icon-mmt` | Changes the YouTube Music launcher icon to MMT. | 6.15.52 ~ 6.21.51 |
| `custom-branding-icon-revancify-blue` | Changes the YouTube Music launcher icon to Revancify Blue. | 6.15.52 ~ 6.21.51 |
| `custom-branding-icon-revancify-red` | Changes the YouTube Music launcher icon to Revancify Red. | 6.15.52 ~ 6.21.51 |
| `custom-package-name` | Specifies the package name for YouTube and YT Music in the MicroG build. | all |
| `custom-playback-speed` | Adds more playback speed options. | 6.15.52 ~ 6.21.51 |
| `disable-auto-captions` | Disables forced auto captions. | 6.15.52 ~ 6.21.51 |
| `enable-black-navigation-bar` | Sets the navigation bar color to black. | 6.15.52 ~ 6.21.51 |
| `enable-color-match-player` | Matches the color of the mini player and the fullscreen player. | 6.15.52 ~ 6.21.51 |
| `enable-compact-dialog` | Enable compact dialog on phone. | 6.15.52 ~ 6.21.51 |
| `enable-custom-filter` | Enables custom filter to hide layout components. | 6.15.52 ~ 6.21.51 |
| `enable-debug-logging` | Adds debugging options. | 6.15.52 ~ 6.21.51 |
| `enable-force-minimized-player` | Keep player permanently minimized even if another track is played. | 6.15.52 ~ 6.21.51 |
| `enable-landscape-mode` | Enables entry into landscape mode by screen rotation on the phone. | 6.15.52 ~ 6.21.51 |
| `enable-minimized-playback` | Enables minimized playback on Kids music. | 6.15.52 ~ 6.21.51 |
| `enable-new-layout` | Enable new player layouts. | 6.15.52 ~ 6.21.51 |
| `enable-old-style-library-shelf` | Return the library shelf to old style. | 6.15.52 ~ 6.21.51 |
| `enable-old-style-miniplayer` | Return the miniplayers to old style. | 6.15.52 ~ 6.21.51 |
| `enable-opus-codec` | Enable opus codec when playing audio. | 6.15.52 ~ 6.21.51 |
| `enable-playback-speed` | Add playback speed button to the flyout panel. | 6.15.52 ~ 6.21.51 |
| `enable-sleep-timer` | Add sleep timer to flyout menu. | 6.15.52 ~ 6.21.51 |
| `enable-zen-mode` | Adds a grey tint to the video player to reduce eye strain. | 6.15.52 ~ 6.21.51 |
| `exclusive-audio-playback` | Enables the option to play music without video. | 6.15.52 ~ 6.21.51 |
| `hide-account-menu` | Hide account menu elements. | 6.15.52 ~ 6.21.51 |
| `hide-action-bar-label` | Hide labels in action bar. | 6.15.52 ~ 6.21.51 |
| `hide-button-shelf` | Hides the button shelf from homepage and explorer. | 6.15.52 ~ 6.21.51 |
| `hide-carousel-shelf` | Hides the carousel shelf from homepage and explorer. | 6.15.52 ~ 6.21.51 |
| `hide-cast-button` | Hides the cast button. | 6.15.52 ~ 6.21.51 |
| `hide-category-bar` | Hides the music category bar at the top of the homepage. | 6.15.52 ~ 6.21.51 |
| `hide-channel-guidelines` | Hides channel guidelines at the top of comments. | 6.15.52 ~ 6.21.51 |
| `hide-emoji-picker` | Hides emoji picker at the comments box. | 6.15.52 ~ 6.21.51 |
| `hide-flyout-panel` | Hides flyout panel components. | 6.15.52 ~ 6.21.51 |
| `hide-get-premium` | Hides "Get Premium" label from the account menu or settings. | 6.15.52 ~ 6.21.51 |
| `hide-handle` | Hides the handle in the account switcher. | 6.15.52 ~ 6.21.51 |
| `hide-music-ads` | Hides ads before playing a music. | 6.15.52 ~ 6.21.51 |
| `hide-navigation-bar-component` | Hides navigation bar components. | 6.15.52 ~ 6.21.51 |
| `hide-new-playlist-button` | Hides the "New playlist" button in the library. | 6.15.52 ~ 6.21.51 |
| `hide-playlist-card` | Hides the playlist card from homepage. | 6.15.52 ~ 6.21.51 |
| `hide-radio-button` | Hides start radio button. | 6.15.52 ~ 6.21.51 |
| `hide-taste-builder` | Hides the "Tell us which artists you like" card from homepage. | 6.15.52 ~ 6.21.51 |
| `hide-terms-container` | Hides terms of service container at the account menu. | 6.15.52 ~ 6.21.51 |
| `hide-tooltip-content` | Hides the tooltip box that appears on first install. | 6.15.52 ~ 6.21.51 |
| `hook-download-button` | Replaces the offline download button with an external download button. | 6.15.52 ~ 6.21.51 |
| `microg-support` | Allows ReVanced Music to run without root and under a different package name with MicroG. | 6.15.52 ~ 6.21.51 |
| `remember-playback-speed` | Save the playback speed value whenever you change the playback speed. | 6.15.52 ~ 6.21.51 |
| `remember-repeat-state` | Remembers the state of the repeat. | 6.15.52 ~ 6.21.51 |
| `remember-shuffle-state` | Remembers the state of the shuffle. | 6.15.52 ~ 6.21.51 |
| `remember-video-quality` | Save the video quality value whenever you change the video quality. | 6.15.52 ~ 6.21.51 |
| `replace-cast-button` | Replace the cast button in the player with the open music button. | 6.15.52 ~ 6.21.51 |
| `replace-dismiss-queue` | Replace dismiss queue menu to watch on YouTube. | 6.15.52 ~ 6.21.51 |
| `return-youtube-dislike` | Shows the dislike count of videos using the Return YouTube Dislike API. | 6.15.52 ~ 6.21.51 |
| `settings` | Adds settings for ReVanced to YouTube Music. | 6.15.52 ~ 6.21.51 |
| `sponsorblock` | Integrates SponsorBlock which allows skipping video segments such as sponsored content. | 6.15.52 ~ 6.21.51 |
| `spoof-app-version` | Spoof the YouTube Music client version. | 6.15.52 ~ 6.21.51 |
| `start-page` | Set the default start page. | 6.15.52 ~ 6.21.51 |
| `translations` | Add Crowdin translations for YouTube Music. | 6.15.52 ~ 6.21.51 |
</details>

### [📦 `com.reddit.frontpage`](https://play.google.com/store/apps/details?id=com.reddit.frontpage)
<details>

| 💊 Patch | 📜 Description | 🏹 Target Version |
|:--------:|:--------------:|:-----------------:|
| `disable-screenshot-popup` | Disables the popup that shows up when taking a screenshot. | all |
| `hide-ads` | Hides ads from the Reddit. | all |
| `hide-navigation-buttons` | Hide buttons at navigation bar. | all |
| `hide-place-button` | Hide r/place button in toolbar. | all |
| `open-links-directly` | Skips over redirection URLs to external links. | all |
| `open-links-externally` | Open links outside of the app directly in your browser. | all |
| `premium-icon` | Unlocks premium icons. | all |
| `reddit-settings` | Adds ReVanced settings to Reddit. | all |
| `sanitize-sharing-links` | Removes (tracking) query parameters from the URLs when sharing links. | all |
</details>



## 📝 JSON Format

This section explains the JSON format for the [patches.json](patches.json) file.

Example:

```json
[
  {
    "name": "default-video-quality",
    "description": "Adds ability to set default video quality settings.",
    "excluded": false,
    "options": [],
    "dependencies": [],
    "compatiblePackages": [
      {
        "name": "com.google.android.youtube",
        "versions": [
          "18.22.37",
          "18.23.36",
          "18.24.37",
          "18.25.40",
          "18.27.36",
          "18.29.38",
          "18.30.37",
          "18.31.40",
          "18.32.39"
        ]
      }
    ]
  },
  {
    "name": "remember-video-quality",
    "description": "Save the video quality value whenever you change the video quality.",
    "excluded": false,
    "options": [],
    "dependencies": [],
    "compatiblePackages": [
      {
        "name": "com.google.android.apps.youtube.music",
        "versions": [
          "6.15.52",
          "6.20.51",
          "6.21.51"
        ]
      }
    ]
  }
]
```