[App Discussion] ReVanced, the successor to Vanced

Search This thread

TinySoul

Senior Member
Feb 18, 2016
73
132
what's left is installing TeMeFi app by DiamondJohn and detach it from the store 🤘
Is the root version working for you properly? The main issue with proper root version is detaching it from Playstore. Try rebooting your phone and see if the root version persists.

It's very likely it will be replaced by the original YouTube apk. It is happening on Emulator. Once I close it and restarts ReVanced is replaced by original YouTube. The rooted version is working fine on Emulator as long as I am not restarting the it.

There is an outside chance that the behavior of the app might be different on the actual rooted device and the emulator, but can't verify as I do not have a rooted device.

One interesting thing happened during this experimentation, once I realized that the patched version was replaced by the original app, then instead of re-patching it again, what I did was I renamed the patched apk (saved earlier) as base.apk, replaced the original base.apk with it and changed the owner and the group to system. And when I launched the app, I had fully patched rooted app. I was quite happy only to realize it has a new issue, now if I restart the emulator the YouTube app is completely removed from the device ! For the last 4-5 hours I have been reinstalling the pure apk and replacing the base.apk with the patched one.

Thanks :)
 

AndrzejDwo

Senior Member
May 26, 2018
1,145
862
Samsung Galaxy Note 3
Samsung Galaxy S5
Is the root version working for you properly? The main issue with proper root version is detaching it from Playstore. Try rebooting your phone and see if the root version persists.

It's very likely it will be replaced by the original YouTube apk. It is happening on Emulator. Once I close it and restarts ReVanced is replaced by original YouTube. The rooted version is working fine on Emulator as long as I am not restarting the it.

There is an outside chance that the behavior of the app might be different on the actual rooted device and the emulator, but can't verify as I do not have a rooted device.

One interesting thing happened during this experimentation, once I realized that the patched version was replaced by the original app, then instead of re-patching it again, what I did was I renamed the patched apk (saved earlier) as base.apk, replaced the original base.apk with it and changed the owner and the group to system. And when I launched the app, I had fully patched rooted app. I was quite happy only to realize it has a new issue, now if I restart the emulator the YouTube app is completely removed from the device ! For the last 4-5 hours I have been reinstalling the pure apk and replacing the base.apk with the patched one.

Thanks :)
Yes it works for me but only when installed as user app, all I have is gray screen when I install it as system app. Looks like TeMeFi properly datached it since it never showed up in playstore.

Cheers
 
  • Like
Reactions: TinySoul

TinySoul

Senior Member
Feb 18, 2016
73
132
Yes it works for me but only when installed as user app, all I have is gray screen when I install it as system app. Looks like TeMeFi properly datached it since it never showed up in playstore.

Cheers
Great (y)
TeMeFi didn't worked for me on the emulator. As soon as I restart the emulator, the patched version is replaced by the original apk from the Playstore.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
6,561
6,585
Sydney
Great (y)
TeMeFi didn't worked for me on the emulator. As soon as I restart the emulator, the patched version is replaced by the original apk from the Playstore.
The emulator is not a good check. I gave up on it for testing apps years ago. The last bad experience was with persistence between reboots. The emulator is not a real device and google have taken shortcuts. I have never tested nor developed the TeMeFI app to run on the emulator.

Also, a couple of suggestions when using the emulator (or any device):
  1. For YouTube, you have to use Method 3
  2. Within TeMeFI, only a few items above the detach, there is a "Check" method, to find out if something failed or hasn't "stuck". I have a suspicion that it gets blown away on a reboot on an emulator. The detach does not run in the background, so if they refresh the playtstore on reboot, the detach is lost.
  3. After you notice it has failed, run the check to see why/how it failed. There something like 20 individual steps/blocks. Of course it would be best to catch it just before its updated. But at least straight after you detach it.
 
  • Like
Reactions: ipdev and TinySoul

TinySoul

Senior Member
Feb 18, 2016
73
132
The emulator is not a good check. I gave up on it for testing apps years ago. The last bad experience was with persistence between reboots. The emulator is not a real device and google have taken shortcuts. I have never tested nor developed the TeMeFI app to run on the emulator.

Also, a couple of suggestions when using the emulator (or any device):
  1. For YouTube, you have to use Method 3
  2. Within TeMeFI, only a few items above the detach, there is a "Check" method, to find out if something failed or hasn't "stuck". I have a suspicion that it gets blown away on a reboot on an emulator. The detach does not run in the background, so if they refresh the playtstore on reboot, the detach is lost.
  3. After you notice it has failed, run the check to see why/how it failed. There something like 20 individual steps/blocks. Of course it would be best to catch it just before its updated. But at least straight after you detach it.
Thank you for letting me know about TeMeFI not tested on emulator. I was scratching my head why it is not working. Even Titanium Backup detach from store option didn't worked.

I'll give another shot with Method 3, let's see if it works or not. Tried Method 1 initially.
 

TinySoul

Senior Member
Feb 18, 2016
73
132
ReVanced-Builder - A NodeJS based ReVanced App Builder

Came across this another interesting app as an alternative to ReVanced Manager.
Though the name says ReVanced-Builder but it allows you patch Six apps namely YouTube, YouTube Music, Reddit, Twitter, TikTok and WarnWetter(have no idea what it is)

The project page is located at Revanced-Builder

Quite simple to use. Just download the binary as per your OS (Linux, Windows and MacOS). Launch the binary (tested on Windows 10), a local server is started at port 8000 (localhost:8000), in your default browser. Just follow the steps. It will download the latest patches and binaries from the official ReVanced site and YouTube and probably others from Apkmirror site.

The best thing about it, it remembers the selected patches for future uses.

Go through the requirements for this app to work.
A note about root version - Your phone must be connected through adb with you laptop/desktop. And your device must have the exact version of the app you are trying to patch, else it won't work.

You can also setup the build environment on your android device directly. I have done it and it work fine.

When you start patching the selected app, there will be lots of warnings which is fine as the warning says some patches are applicable on you YTM or Reddit etc. These warnings will always been shown irrespective of the app you are trying to patch.

Note: Just like ReVanced I am not a developer on this project nor I am related to them in anyways.

Thank You :)
 

TinySoul

Senior Member
Feb 18, 2016
73
132
ReVanced.io - Download fully patched YouTube Revanced app.

Both root and non-root versions available for download. The root versions are available in the form Magisk modules.

The patched versions are created using ReVanced-Builder app.
The site also has nice explanation for the various patches applied.

Note: The official ReVanced site is still on YouTube version 17.36.37, but this site has fully patched latest YouTube version (17.40.40)

Thank You :)
 

zgfg

Senior Member
Oct 10, 2016
8,539
6,275
Xiaomi Mi 11 Lite 5G
ReVanced.io - Download fully patched YouTube Revanced app.

Both root and non-root versions available for download. The root versions are available in the form Magisk modules.

The patched versions are created using ReVanced-Builder app.
The site also has nice explanation for the various patches applied.

Note: The official ReVanced site is still on YouTube version 17.36.37, but this site has fully patched latest YouTube version (17.40.40)

Thank You :)
Only non-root is v17.40.40

Root (module) is v17.36.37

They have even MinDetach module to easily detach from Playstore

I didn't test since I use Hide My Apps (LSPosed module) for over a year, to detach various apps from Playstore, to hide Magisk app, LSPosed and its modules from various apps (root seekers) - HMA rules, it works by no mistake (one just needs to learn how to setup - it's not intuitive though)
 
Last edited:
  • Like
Reactions: TinySoul

DiamondJohn

Recognized Contributor
Aug 31, 2013
6,561
6,585
Sydney
I'll give another shot with Method 3, let's see if it works or not. Tried Method 1 initially.
method 1 has NOOO chance against YouTube updates, even on an actual device. I coded the detach a few years ago, and I think I actually say that somewhere in the App/interface.. i have definitely mentioned it in the thread many times.

Thank you for letting me know about TeMeFI not tested on emulator. I was scratching my head why it is not working. Even Titanium Backup detach from store option didn't worked.
As you can see, I don't have much faith in the emulator. IDK, but maybe look into Bliss emulator.
 
  • Like
Reactions: DidierMoulin

zgfg

Senior Member
Oct 10, 2016
8,539
6,275
Xiaomi Mi 11 Lite 5G
Btw I tried mindetach module

Used for couple of hours, few times rebooted, YT was not updated

But one thing is strange - although Playstore shows I have no app to update, still when I search for YT it shows me the option to Update - see attachments

(When I use Hide My Apps, then Playstore shows Install for YT)
 

Attachments

  • Screenshot_2022-10-18-22-20-00-328_com.android.vending.jpg
    Screenshot_2022-10-18-22-20-00-328_com.android.vending.jpg
    160.5 KB · Views: 112
  • Screenshot_2022-10-18-22-20-17-613_com.android.vending.jpg
    Screenshot_2022-10-18-22-20-17-613_com.android.vending.jpg
    383.4 KB · Views: 112

flipeicl

Senior Member
Jan 15, 2015
456
89
Belo Horizonte
Redmi Note 10 Pro
Hello, while I'm watching videos, they're stuck on loading and stop playing, but when I put it background, they start the playing again, there is some tip to solve it?

I already tried to increase buffer limits.
 
  • Like
Reactions: ranjb
Swipe Controls:
Need some improvement here.
When I flip to full screen, in one go swiping brings up the video cards from below. Volume and brightness controls works however not in one go. Please refer video attached.
 

Attachments

  • Screenrecorder-2022-10-19-03-55-25-286.mp4
    10.2 MB · Views: 0
Last edited:

palopaxo

Member
Mar 26, 2022
42
17
Nothing Phone 1
Revanced builder fails to remove the shorts button from the YT app layout, even after patching is not possible to disable it on settings (the app stops working), this happens for root version, idk if for micro g is the same. Same thing happened to another guy who was trying to help me to see what was the problem.
 

Spannaa

Recognized Contributor / Themer
Sep 13, 2010
7,232
16,214
61
Cardiff
Google Pixel 5
Google Pixel 6
Swipe Controls:
Need some improvement here.
When I flip to full screen, in one go swiping brings up the video cards from below. Volume and brightness controls works however not in one go. Please refer video attached.
Maybe suggest this on Github, this isn't the ReVanced development thread.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
6,561
6,585
Sydney
Btw I tried mindetach module

Used for couple of hours, few times rebooted, YT was not updated

But one thing is strange - although Playstore shows I have no app to update, still when I search for YT it shows me the option to Update - see attachments

(When I use Hide My Apps, then Playstore shows Install for YT)
Thats the exact same behavior you would see under my detach. i *think* In the list screen, it simply looks at it using your local data (ie not chatty with the remote google server). If you had 100+ apps, it would slow and require a high data burn to check each installed app that it aligns between your local state and googles state; if its even on the playstore.

However, as soon as you select a single app, its only a single app to check between the google server and what is installed (1% if you have 100+apps). Much less burdensome on you device, net traffic & bandwidth. Googles assumption is that you local data should be a mirror image of theirs, which is at least one hack to detach.; I think mine has about 20 steps in total
 
  • Like
Reactions: ipdev and Wolfcity

zgfg

Senior Member
Oct 10, 2016
8,539
6,275
Xiaomi Mi 11 Lite 5G
Thats the exact same behavior you would see under my detach. i *think* In the list screen, it simply looks at it using your local data (ie not chatty with the remote google server). If you had 100+ apps, it would slow and require a high data burn to check each installed app that it aligns between your local state and googles state; if its even on the playstore.

However, as soon as you select a single app, its only a single app to check between the google server and what is installed (1% if you have 100+apps). Much less burdensome on you device, net traffic & bandwidth. Googles assumption is that you local data should be a mirror image of theirs, which is at least one hack to detach.; I think mine has about 20 steps in total
If interested, you could check how it works - frankly, too complicated for me since I don't know the details about the second Playstore's database:
auto-updates:
/data/data/com.android.vending/databases/localappstate.db
detaching:
/data/data/com.android.vending/databases/library.db

It uses sqlite3 and two functions (from its utils.sh script):
- it stops Playstore
- prevents auto-updates by disable_au()
- then detach()

But the good thing is that configuration is absolutely easy, you simply need detach.txt file on the Internal memory / with the list of package names for the apps to detach, like (default list, in the mindetach.zip):
com.google.android.youtube
com.google.android.apps.youtube.music

Hence when you want to detach more apps, just edit that list/file and reboot

PS: It seems there is a bug (incomplete functionality), when you remove a package name from the detach.txt list, it does not revert the states in databases, hence the app removed from the list remains detached (even when you uninstall the mindetach module)
 
Last edited:

whatsisnametake2

Senior Member
Sep 15, 2008
425
173
Samsung Galaxy S7
Google Pixel 6 Pro
having a problem with rooted version on pixel 7 pro using the latest manager. installs fine and works great, for a while, then a few hours later will start to crash on launch. re installing and patching makes it work again for a while but then starts to crash on launch again. any clues? as far as I can see play store has not updated it, but maybe there's an interaction there that causes a problem? I haven't detached it in any way yet.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
6,561
6,585
Sydney
If interested, you could check how it works - frankly, too complicated for me since I don't know the details about the second Playstore's database:
auto-updates:
/data/data/com.android.vending/databases/localappstate.db
detaching:
/data/data/com.android.vending/databases/library.db

It uses sqlite3 and two functions (from its utils.sh script):
- it stops Playstore
- prevents auto-updates by disable_au()
- then detach()

But the good thing is that configuration is absolutely easy, you simply need detach.txt file on the Internal memory / with the list of package names for the apps to detach, like (default list, in the mindetach.zip):
com.google.android.youtube
com.google.android.apps.youtube.music

Hence when you want to detach more apps, just edit that list/file and reboot

PS: It seems there is a bug (incomplete functionality), when you remove a package name from the detach.txt list, it does not revert the states in databases, hence the app removed from the list remains detached (even when you uninstall the mindetach module)
I saw and tested other projects (as I wanted a working one for me), and could see where they could fail. At this stage, my method still works, so I target my TeMeFI dev time elsewhere.

As for config, in my opinion, I think a provided GUI interface was a better choice. I also provide reports showing the state of each individual app, through the same singular GUI, and not a command line. And I also have a method to check what updates have happened (detached AND non-detached) It also removes the risk of user typos by name or file format & location, as I give them the correct and only choices. There are a lot of people not comfortable with editing text files, and are prone to error.

As for removal of the detach-ing app, I have said the same as for TeMeFI. Where TeMeFI falls over is on a PlayStore wipe or blanket update from Google PlayStore, will also make his/her quick methods, even more susceptible to damage (less layers). But, where he will be saved is that if the module stays installed,. it may save the user if the damage is close to the end of the day, and the next reboot will put it back in place, before the PlayStore sees the issue. All dependent on timing.

I just did a quick check, and although it will do better than some modules I have seen (my method was made/researched many years before his first check-in), it appears to rely on only a few (I only saw two three in my quick check). Its the many layers that made it work reliably for me, and not just two three approaches. I wrote it a while ago, so maybe I will check if the second step is also in mine. I think I have about 20, and I am a LOT more aggressive via Method 3. Methods 1 & 2 Work ok for non google apps, and do not bring the PlayStore to its knees; but still cover more than 2 layers. Every detach can collapse the PlayStore during an attempted update from google, and thereby block other updates. But, during my testing, the approaches used in this module, failed my testing on youtube. The other methods are working for my non-google apps, and are appropriate for those non google apps, allo9wing other updates, but at a slower speed.

PS: as for rebooting, I think you could simply run the provided services.sh file without rebooting. I tell people to reboot after mine, but there is no real technical basis for it. It was an early inclusion while I was still in early testing. And without a check, you do not know if or when it needs to be run.

edit: PPS: I *think* if you rerun the service.sh script after you change the settings, (i.e. a delete AND/OR an addition) it would work. Or a reboot and have the module startup fix itself.
 
Last edited:
  • Like
Reactions: KromaZone and ipdev

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    Hello Friends,

    I would like to share information about the true successor to the Vanced app. It is called ReVanced.

    The project page is located on the GitHub site.

    There you have all the information to build the patcher binaries(not the patched YouTube apk). Then patch the YouTube apk(must be official original apk) from the command line (instructions are there on how to do this).

    Building the binaries on your own can be overwhelming for many so the easiest way is to download the "ReVanced Manager" (needs Android 8 and above). Link is on the homepage.

    Unlike Vanced Manager, ReVanced Manager will not download any apk and microg (for non-root devices). It will show you the installed official YouTube version on which to apply the patch. It also allow you to specify an offline YouTube apk stored on your device which you want to patch. It will then display the list of available patches. You can choose the patches as per your requirement and apply them. Once the patches are applied successfully, you will see an option to install the patched apk as a non-root user or "install as root". My device is not rooted so I could not test it.

    If you are applying patches on the installed YouTube app, then depending on the patches you choose you may get the warning saying something like "split configuration detected. The patches you choose requires resource patching, hence you may encounter some errors".

    I was not sure what to do so I choose to apply patches on the offline apk.

    Important: The ReVanced Manager doesn't seems to recognise .apks or .xapk extensions so your offline apk needs to be a single apk (you can get the apk from trusted site like apkpure or find a way to extract the split apk's from the installed app and merge them into a single apk)

    One more thing the patched apk will not install over your existing installed official apk. So you must remove it first. I am also not sure if the patched apk will install over a previously patched apk created with the ReVanced Manager (It should be possible but I came across this project just last night and haven't really tested the various scenarios).

    Note: I am neither a contributor on this project nor I am associated with them in any way. I am just sharing something useful I came across.

    Thank you 🙂

    Added 12-Oct-2022
    Link to the Project page on GitHub (Organized by ipdev)

    Added 17-Oct-2022
    ReVanced Builder - An alternative to ReVanced Manager
    ReVanced.io - Download fully patched YouTube Revanced app

    Added 25-Dec-2022
    More information on installing ReVanced app.
    Installing Revanced with Revanced manager Using official ReVanced Manager (Android)

    Installing Revanced with Revanced Builder (Note: This is forked version of ReVanced Builder mentioned earlier)
    How to use rvx builder on Android

    Something Extra
    Feature comparison of Revanced vs Revanced extended
    22
    ReVanced.io - Download fully patched YouTube Revanced app.

    Both root and non-root versions available for download. The root versions are available in the form Magisk modules.

    The patched versions are created using ReVanced-Builder app.
    The site also has nice explanation for the various patches applied.

    Note: The official ReVanced site is still on YouTube version 17.36.37, but this site has fully patched latest YouTube version (17.40.40)

    Thank You :)
    13
    Hi all. 🙂

    I have been following the ReVanced project since shortly after it started.
    It is a big and still a young project so, there are some glitches and issues. 🙃
    - Some patches might not work or cause issues.

    I had some issues with the ReVanced Managers between v0.0.19 and v.0.0.26.
    YT and YT Music force close after patching with manager 22, 23, 24 and 25.​

    ReVanced does not currently support split-apks.
    v.0.0.19 was the last able to patch split-apk YT​

    The ReVanced Manager will not work on arm (armv7a) devices.
    You can patch arm files on an arm64 (armv8a) device.​

    I am still working on updating a Magisk module project that I started a few years ago but, never announced.
    Vanced asked that no one release an unofficial module once they created an official module.
    Since the official module was dead, I asked for permission to release a new module.
    A few years ago, due to changes in Android.
    I was looking for an easier way to use the root 'Vanced' version of YouTube on my device(s).
    Instead of manually replacing and setting permissions, I tested an idea (on a lot of devices and Android versions) to overlay the modified version over the stock installed version.
    The Vanced team adopted the idea into their Manager root install. 🙂
    - ReVanced does the same.

    ---

    The YT, YT Music patches that work for me using ReVanced Manager v.0.0.26.
    - YouTube
    • Client Spoof
      Spoofs the YouTube or Vanced client to prevent playback issues.​
    • Disable Auto Captions
      Disable forced captions from being automatically enabled.​
    • Disable Auto Player Popup Panels
      Disable automatic popup panels (playlist or live chat) on video player.​
    • Disable Fullscreen Panels
      Disables video description and comments panel in fullscreen view.​
    • General Ads
      Removes general ads.​
    • Hide Infocard Suggestions
      Hides infocards in videos.​
    • Hide Watermark
      Hides creator's watermarks on videos.​
    • Minimized Playback
      Enables minimized and background playback.​
    • Remember Video Quality
      Adds the ability to remember the video quality you chose in the video quality flyout.​
    • Return Youtube Dislike
      Shows the dislike count of videos using the Return YouTube Dislike API.​
    • Sponsorblock
      Integrate SponsorBlock.​
    • Video Ads
      Removes ads in the video player.​
    - YouTube Music
    • Background Play
      Enables playing music in the background.​
    • Codecs Unlocked
      Adds more audio codec options. The new audio codecs usually result in better audio quality.​
    • Exclusive Audio Playback
      Enables the option to play music without video.​
    • Hide Get Premium
      Removes all "Get Premium" evidences from the avatar menu.​
    • Minimized Playback Music
      Enablers minimized playback on Kids music.​
    • Music Video Ads
      Removes ads in the music player.​
    • Upgrade Button Remover
      Removes the upgrade tab from the pivot bar.​

    Base stock versions from APKMirror.
    YouTube (full APK) v17.36.37 (arm and arm64).
    - APKMirror - [WebSite] - Link

    YouTube Music v5.23.50 (arm)
    - APKMirror - [WebSite] - Link

    YouTube Music v5.23.50 (arm64)
    - APKMirror - [WebSite] - Link


    Cheers all. :cowboy:

    PS.
    Once finish cleaning up iYT, I will start a Magisk Module thread for it. 🙃
    Archived original iYTv. - [GitHub] - Link

    WIP updated iYT. - [GitHub] - Link
    WIP iYTm. - [GitHub] - Link


    Edit: (12.OCT.2022)
    Fix list of YT patches I use (accidentally posted the YTM patches I use instead of YT patches).
    Clean up a bit since posts have been moved into a new thread.


    Edit: (03.NOV.2022)
    [MODULE] Inject YouTube - [xdaThread] - Link
    10
    ReVanced
    Continuing the legacy of Vanced

    • ReVanced Main project.
    • ReVanced Manager Releases.
    • List of ReVanced patches.

    Credits:
    The ReVanced team.
    All who contribute and support this project.
    9
    Hi all. 🙂

    Quick PSA.

    To explain what actually happens when you install ReVanced using the manager.
    Note: the file path might be different if you use the extended repo.
    I have not tried yet but, I think the extended repo used /data/adb/ instead of /data/local/tmp/

    When you open the manager you see the installed apps that are suported for patching.
    When you select one (YouTube for this example) for patching, the manager copies the stock installed apk file to a working directory.
    The copy is then patched with the patches you select and a patched apk file is created.

    When you choose to install it, the patched apk file is moved to /data/local/tmp/revanced-manager/com.google.android.youtube/.
    The permissions of the modified apk file needs to be set correctly.
    This can not be done in a normal user level like /sdcard/ so /data/local/tmp/ is used since it has heighten permission levels.​

    Two boot scripts are created, and placed in Magisk's boot script directories.
    One placed in post-fs-data.d (early boot) and the other placed in service.d (late start).
    This is different than a module.
    A module (if scripts are needed), include their post-fs and service script within it's own module directory instead of the main directories.

    Then the mount command is used to overlay the patched version on top of the stock installed version.
    When you open the app, Android is pointed to the patched version instead of the installed version.​

    Since the mount overlay will not survive a reboot, the boot scripts that were created (post-fs and service) run the mount overlay on boot.
    Otherwise you would have to mount the patched version over the stock version manually after every boot. ;)
    Magisk's Overlay does not extent out to user data. That is why we use the mount command to overlay the modified apk.​

    ---

    There is still an issue with ReVanced not replacing the previous patched apk file and/or scripts when you update or re-patch an app.
    In a previous post I gave instructions on how to clear ReVanced YouTube for updating.
    Post #182

    Still an open issue.
    ReVancedManager - [ GitHub ] - Issue #425
    I happened to comment in the above issue what and why we use boot scripts and the mount command. ;)

    ---

    Hope it helps more than confuse. 🙃

    Cheers. :cowboy: