Custom ReVanced patch bundle for rif is fun for Reddit 5.6.22 — both the free app (com.andrewshu.android.reddit) and rif is fun golden platinum (com.andrewshu.android.redditdonation).
A bundle is a container for many small, independently-toggleable patches. Options for each patch are under Settings → ReVanced in the patched app.
Patches
| Patch | Description |
|---|---|
| Disable ads | Removes and does not render all ads. Not needed for rif golden platinum. |
| Inline comment images | Shows images, GIFs and videos linked in comments and text posts inline. |
| Fix comment video links | Makes videos posted in comments play in rif's video player instead of failing with "error retrieving Reddit video metadata". |
| Fix imgur albums | Fixes imgur albums crashing or failing to load when patched alongside the official ReVanced rif patches. |
| Fix YouTube videos | Fixes the built-in YouTube player. |
| YouTube player controls | Double-tap to seek, hold for 2x speed, and speed and captions controls in the YouTube player. |
| Fix share links | Opens Reddit share links (reddit.com/r/…/s/…) directly in rif instead of bouncing through the browser, and fixes reddit.com/media image links. |
For how each patch works and its settings, see PATCHES.md.
Galleries or "load more comments" not working? Since October 2026, Reddit blocks the requests rif uses for them. Patch with revanced-rif-fixes by notBrian2 alongside this bundle: it fixes both, plus Redgifs and more imgur albums.
Use with ReVanced Manager
-
In ReVanced Manager, go to Settings → Patch bundles → Add (+) and add this as a remote source:
https://raw.githubusercontent.com/MojiRS/revanced-rif-patches/main/bundles/stable.jsonIt always points at the newest release, so Manager's auto-update keeps the bundle current. To also get release candidates, use
bundles/latest.jsoninstead.(Manager needs this JSON link; a link to the
.rvpitself doesn't work as a remote source. You can also downloadpatches.rvpfrom Releases and add it as a local file.) -
Patch rif is fun 5.6.22 (free or golden platinum; its final release, and the only version these patches support), selecting:
- the official ReVanced bundle's Spoof client patch — rif can't load anything from Reddit without it (its default options work), and
- whichever patches from this bundle you want, and
- the patches from revanced-rif-fixes, added to Manager the same way, for galleries and "load more comments".
Building from source
Requires JDK 17 and a GitHub token with read:packages scope (ReVanced publishes its Gradle plugin and patcher to GitHub Packages). Put credentials in ~/.gradle/gradle.properties:
gpr.user=<github-username>
gpr.key=<token>
githubPackagesUsername=<github-username>
githubPackagesPassword=<token>
Then:
./gradlew buildAndroid
# output: patches/build/libs/patches-<version>.rvp
buildAndroidis required. Plain./gradlew buildproduces a JVM-only bundle (.classfiles) that the desktop CLI can load but ReVanced Manager (Android) cannot — it loads patches from aclasses.dexinside the bundle and otherwise fails withEmptyMultiDexContainerException. ThebuildAndroidtask D8-dexes the patches and injectsclasses.dexinto the.rvpin place.
Notes:
- rif is R8-obfuscated, and the free and golden platinum builds are obfuscated independently (same code, different member and package names). Per-build names live in
RIF_BUILDS(patches/src/main/kotlin/app/revanced/patches/rif/shared/Rif.kt). - The extension compiles against a compile-only stub of one rif class,
extensions/extension/libs/rif-stubs.jar. Its source and rebuild command are inextensions/extension/stubs/.
After publishing a release, run python scripts/update_bundle_json.py and commit the updated bundles/*.json (the Manager links above point at them).
Pinned versions: ReVanced Patcher 22.0.0, app.revanced.patches Gradle plugin 1.0.0-dev.11, Gradle 9.1.0.
License
GNU General Public License v3.0
