• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][MOD][ROOT/NONROOT] YouTube Vanced Edition

Search This thread

RaZzeT

New member
Sep 28, 2021
2
0
I'm still using 14.21.54 which has been working fine until now so didn't update. the notifications page has now stopped working tho so I guess I'll need to update now. I read back a bit here and there's mention of not currently being able to chromecast? is that still an issue or has it been resolved? one post said the last version that could cast was 16.13.34. if that's true how do I grab that version? the old versions link on the vanced page doesn't seem to offer that?
Everything happens in the same way for me: yesterday or the day before yesterday, the "notifications" tab broke. The version is also 14.21.54. Before that, I worked perfectly on several devices for several years.
I wonder if there is already a solution to this problem? Or is it necessary to upgrade to new versions?
(Sorry if anything, I'm using google translate.)
 

whatsisnametake2

Senior Member
Sep 15, 2008
151
11
The last version where casting works fine is v15.43.32. You'll find it on apkmirror.com.

All versions after that have a broken cast feature. They blame it on microG, and AFAIK, microG has fixed that part in their most recent update. So hopefully Team Vanced will make it work on their next release.
thanks for the info. I downloaded and installed that version and it works fine. only thing is it seems to be the black theme, as opposed to dark. there always used to be a choice of which one to install. how do I get the dark version?
 

TheMystic

Senior Member
Mar 18, 2017
618
323
thanks for the info. I downloaded and installed that version and it works fine. only thing is it seems to be the black theme, as opposed to dark. there always used to be a choice of which one to install. how do I get the dark version?
Does Vanced Manager not give you that option?

Someone on XDA (in this thread itself) has posted links to the root (magisk) versions. If your device is rooted, you can use that. Or check with that user if he can share it with you.

I have downloaded them (root version). If you want, I can share it with you.
 

Hitti2

Senior Member
Thank you so much for vanced manager and its apps. i am greatly thankful to remove that beta tiktok bs in youtube vance, omy so annoying it was, went through settimgs and found you can block that sh*t.

Thanks!

View attachment 5420147

andddddss!!! TKANKS FOR ADDING COMMENTS LOACATION (ALPHA)!!!

Damn it google, just fricken leave everything alone. 🤬 chrome tab group disaster. 🤬 youtube shorts goddamn 🤬.

Screenshot_20210928-132435.jpg


Screenshot_20210928-132340.jpg
 

whatsisnametake2

Senior Member
Sep 15, 2008
151
11
Does Vanced Manager not give you that option?

Someone on XDA (in this thread itself) has posted links to the root (magisk) versions. If your device is rooted, you can use that. Or check with that user if he can share it with you.

I have downloaded them (root version). If you want, I can share it with you.

Does Vanced Manager not give you that option?

Someone on XDA (in this thread itself) has posted links to the root (magisk) versions. If your device is rooted, you can use that. Or check with that user if he can share it with you.

I have downloaded them (root version). If you want, I can share it with you.
thanks for the offer, I'm non root tho. I haven't used the vanced manager yet, I downloaded from apkmirror. does vanced manager allow you to install older versions?
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,619
5,394
Sydney
I'm using root vanced, disabled google play auto update and other measures but that doesn't work dear developer, how about vanced magisk module?
There is also TeMeFI which is thorough and has a GUI.

Method 3 For YouTube.
 

Au5t1n

Senior Member
Vanced starts with the little different splash screen (screenshots attached) than YT - close your Vanced/YT, restart and check

Run Vanced Manager, click on YT Vanced, and check what is your Installed version

Check also in Google Play, Pending updates list (assuming that you did not detach YT) - if YT is not on the list, then Google Play already updated the YT and Vanced root is gone

Knowing how YT Vanced root works, there is still a possibility:
- that Vanced Manager claims that Vanced 16.16.38 is installed
- that Google Play did not update and overwrite 16.16.38
- but that script (installed by Vanced Manager) /data/adb/service.d/vanced.sh does not successfully perform mounting the Vanced modified base.apk file over the original YT base.apk that was installed in /data/data/<YT split app installation folder>

In that case you would (also) have the original YT splash screen, ads and no background playing

With MiXplorer or some root File mngr, go to /data/data and find the YT installation folder (you can read its path from the vanced.sh script mentioned above, or you can use an app like Package Manager to give you the various info about all your installed apps)

Check the file size of your base apk file in that folder - the original YT 16.16.38 is 17 MB, while the dark Vanced one is 22 MB - if yours is 17 MB, it means that vanced.sh script fails to mount the Vanced modified base.apk over the original YT base.apk.
(If that happens, there are other methods to force the Vanced base.apk - but first, perform the checks as above to know do you really have that case, or Google Play simply updated your YT to the higher than 16.16.38 and overwrote Vanced

PS: Sorry, I lost the track - are you really using Vanced root?
If not, then you would have two apps, original YT and non-root Vanced and you must be careful which one to start 🥸

In that case you can even uninstall the original YT or let the Google Play update it to the latest - non-root Vanced has different package names and won't be affected
Original YouTube was uninstalled before installing Vanced. Upon opening YouTube Vanced then going to settings, the app closes and none of the features are working. Vanced root is definitely installed on my phone, it's just not working.
 

zgfg

Senior Member
Oct 10, 2016
5,884
3,347
Original YouTube was uninstalled before installing Vanced. Upon opening YouTube Vanced then going to settings, the app closes and none of the features are working. Vanced is definitely installed on my phone, it's just not working.
Are you talking about root or non-root?

Non-root is a separate app / separate icon, and make sure you run the proper app (from the proper icon).
(You can even uninstall the original YT upon installing non-root YT Vanced, to make sure you will ONLY have non-root Vanced YT)

Root Vanced changes only one file (base.apk) from the split/multi-apk official YT installation.
However, Vanced is always way behind the latest official YT.
Hence even if you first uninstall YT and then install root Vanced YT, your Google Play will see that as that you have an old YT application - and it will (usually) automatically update the YT to the latest, and that will overwrite the root Vanced YT.
You can check in Google Play what is your installed YT version - if no more 16.29.39 (latest Vanced), Vanced root YT was already overwriten

Please search/read back about disabling automatic YT update in Google Play and even better, about detaching YT (Google Play will not see it anymore, hence it will not bother you to update and it will not automatically update thus overwriting the root YT Vanced)
 
Last edited:

Au5t1n

Senior Member
Are you talking about root or non-root?

Non-root is a separate app / separate icon, and make sure you run the proper app (from the proper icon).
(You can even uninstall the original YT upon installing non-root YT Vanced, to make sure you will ONLY have non-root Vanced YT)

Root Vanced changes only one file (base.apk) from the split/multi-apk official YT installation.
However, Vanced is always way behind the latest official YT.
Hence even if you first uninstall YT and then install root Vanced YT, your Google Play will see that as that you have an old YT application - and it will (usually) automatically update the YT to the latest, and that will overwrite the root Vanced YT.
You can check in Google Play what is your installed YT version - if no more 16.29.39 (latest Vanced), Vanced root YT was already overwriten

Please search/read back about disabling automatic YT update in Google Play and even better, about detaching YT (Google Play will not see it anymore, hence it will not bother you to update and it will not automatically update thus overwriting the root YT Vanced)
I've checked the playstore and it did not overwrite YouTube Vanced. I am using the root version by the way.
 

zgfg

Senior Member
Oct 10, 2016
5,884
3,347


Btw, the latest post/release for Magisk module version for YT Vanced 16.29.39 was this one:
***Magisk Files for YT Vanced v16.29.39***

For more background info, and installation / troubleshooting info, see this post: https://forum.xda-developers.com/showpost.php?p=83741225&postcount=17198

YouTube 16.29.39 .APKS / YouTube Vanced 16.29.39 Magisk Modules:
YouTube-Vanced-16.29.39-Dark_Magisk.zip: https://www.androidfilehost.com/?fid=7161016148664782904
YouTube-Vanced-16.29.39-Black_Magisk.zip: https://www.androidfilehost.com/?fid=7161016148664782905
Stock YouTube 16.29.39 APKS (.zip file): https://www.androidfilehost.com/?fid=7161016148664782903
(sorry, AFH doesn't allow uploads of .apks files, so I zipped up the stock apks file before uploading)

note: btw the module id tags are the same in each module, so you can easily switch between dark and black by simply flashing the other module and rebooting.

-------------------------------------------------

* For some reason, on my older devices (Nougat), from an existing Magisk install, I can simply install the new APKS, then flash the new module with the new version and reboot, and the app works perfectly. Basically just a simple "upgrade" with all settings intact.

* But then I've noticed on my newer devices (Pie, Q, and R), doing that exact same procedure will cause the app to force close after rebooting, making it necessary to follow the steps I outlined in my previous post that I linked at the top of this post. Not really a huge deal, just annoying and need to redo the settings and preferences. However, it does seem to update properly without issues by simply adding just one additional step before the upgrade - disabling or deleting the old Magisk module first and rebooting, then updating.

****************
So basically, probably the safest steps to update from my previous module versions would be:
- Disable or delete my old Magisk module. REBOOT.
- Install new version APKS via SAI.
- Flash my new version Magisk module. REBOOT.
And like usual, from here you can change between dark and black theme by just flashing the other and rebooting.
****************


I think it may have something to do with the way the newer SDK levels handle split APK installs. I think perhaps having the Magisk module enabled when updating YouTube causes some components to be unable to fully install - but only on newer versions of Android. Ultimately, my older devices can skip the one added step of removing my old Magisk modules before updating, but in either case it wouldn't hurt to go with the steps I outlined above - it's more of a failsafe method that works in both scenarios.


---------------------------------------------------
Here are the custom YouTube Vanced app logos, for those where it's not showing up for some reason. Use these if your launcher allows changing app icons:
https://www.androidfilehost.com/?w=files&flid=319601
---------------------------------------------------

...and finally as usual, the biggest thanks of all is reserved to the entire Vanced development team! Thanks for continuing the work on this project!
 

zgfg

Senior Member
Oct 10, 2016
5,884
3,347
I've checked the playstore and it did not overwrite YouTube Vanced. I am using the root version by the way.
You can try the following (you have root, supposidely you should be faniliar with Magisk and its modules, root explorer, etc)

1) Either from TWRP or by using a root explorer like MiXplorer, go to /data/adb

and delete there any files you find installed by Vanced:
- one script in service.d folder
- one script in post-fs-data folder
- and one folder named Vanced or so (I deleted them months ago hence cannot give you exact names for sure)

2) Reboot, go to Google Play and Uninstall You Tube (fully Uninstall)

Check that you indeed do not have YT app installed anymore (Settings, Apps)

Check also in Vanced Manager that it doesn't show YT Vanced installed (do not, by mistake, install Vanced YT again from Vanced Manager)

3) Reboot and try to install YT Vanced root, same version 16.29.39 but this time as Magisk module.
It basically does the same job (mounting the patched base.apk over the official one) as Vanced Manager but the script it puts into the module folder is little more robust than the script deployed by Vanced Manager (you were asked above to delete)

For the Magisk module YT Vanced 16.29.39 (link to download and installation instructions), see my post #19421 (two posts before this post)

Be aware that upon that Vanced Manager will not see that you actually have Vanced YT installed (hence do not attempt to double-install from Vanced Manager again).

Also, Google Play will also see that you have an old YT version - you must again make sure (detach it) that Google Play would not update the YT
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    For those of you who updated to latest manager release v2.6.1 and facing errors while installing root variant. Please downgrade back to an older build(V2.6.0).
    Please tap on "Cancel" button when the update popup appears on that old version.


    A suitable fix will be made soon.

    NOTE: Please do NOT update to latest manager yet!

    Link to downgrade: https://github.com/YTVanced/VancedManager/releases/download/v2.6.0/manager.apk
    3
    I'm using root vanced, disabled google play auto update and other measures but that doesn't work dear developer, how about vanced magisk module?
    There is also TeMeFI which is thorough and has a GUI.

    Method 3 For YouTube.
    3
    Nice answer. I was talking about the non root version. If I want to root that device as most others I own I wouldn't have asked.
    I have reasons to not root it at the moment.
    3
    Yeah I found it.
    I use Adaway and when I closed the Adaway, vanced started record the history.
    Can u fix this?
    Who, what to fix?!

    You need to fix yourself, on your phone to put the particular site (it has been mentioned several times which one, read carefully) to the AdAway Whitelist

    If YouTube (not Vanced) cannot access the YT server for history, history cannot work

    Or find out in which of the host source you use in AdAway the site is blocked and then ask the maintainers of that hosts source to 'fix' - i e., to remove from the the hosts source.
    But maintainers of that hosts source would say they block the site for privacy reasons (and those who want YT to record their history should whitelist the site or not to use their hosts source)

    See the post right before your own:
    Yes I had to whitelist s.youtube.com in adaway for history to work for me, root version.
    Screenshots how to whitelist in AdAway are attached. Reboot to take in effect
    2
    New update to Vanced Manager 2.6.2 has been released!

    =====================

    Changelog:

    • Fixed root installer
    • App now checks for Magisk and displays an error message if it's not detected
    • Various optimisations

    Changelog from v2.6.1:

    • Added Android 12 support
    • Added a confirmation dialog for uninstalling
    • Fixed a bug with the save button going offscreen when the versions list was too large
    • Removed all Crowdin libraries (didn't function correctly)
    • Small optimizations

    =====================
  • 1639
    ‼️Before asking or posting anything, please read the first and second posts.‼️

    YouTube Vanced

    SrSEsV2.png

    Vanced is a well-known modded version of the YouTube app with many features such as ad-blocking and background playback. Vanced also offers some extra features to enhance the user experience. The entire list is available below:

    Features:


    • YouTube Vanced IS NOT YouTube Premium
    • Blocks all YouTube ADs (some options are togglable)
    • Background playback feature
    • Force VP9(or HDR) or vice versa
    • Override Max Resolution
    • Pinch to Zoom on all devices
    • Casting togglable (can be forced off)
    • Togglable Theme (White/Dark/Black)
    • PiP (Android 8.0+)
    • Video window new or old style
    • Repeat video feature
    • Preferred Resolution & Speed feature
    • Swipe controls for Volume and Brightness
    • Sponsorblock integration
    • Tap to seek feature
    • Copy video link + with timestamps feature
    • New Logo by @Logan



    Always check the official Vanced website or XDA thread when downloading. Other sites are fake, contain advertisements (possibly even malware), and have older versions.

    Downloads:

    If your network is down or the website isn't loading, you can download vanced manager from the GitHub page.

    Alternative Mirrors for Older versions below v14.x releases:

    Since YouTube v14.41.52, Google has moved to split APKs format. The Android package installer doesn't support Split apks yet, so we are now using Vanced manager for installing all vanced apps. The steps to use the vanced manager are below:

    INSTALLATION INSTRUCTIONS:


    Especially for MIUI, there's a separate guide that can be accessed using this link.

    For Non-Root:
    1. Download and install the latest Vanced Manager using our official Vanced website.
    2. Open Vanced Manager and tap the blue arrow in the lower right corner.
    3. Begin installing Vanced microG. (This app is mandatory to install if you want to login with your Google account)
    4. Then install YouTube Vanced (or YouTube Music Vanced), log in to your account and enjoy!
    For Root:
    1. Download and install the latest Vanced Manager using our official Vanced website.​
    2. Open Vanced manager and tap on the "Magisk" icon to grant root permissions.​
    3. Once you are in, begin installing YouTube Vanced (or YouTube Music Vanced).​

    Important information:


    • Disabling "APK signature verification," which was previously required, is no longer needed.
    • The magisk version has been discontinued and removed from the magisk repository since Google has switched to Split APKs format. We replaced our root installation with vanced manager, which directly mounts vanced on top of Youtube in the /data/app directory, making it easier and faster than before.
    • Vanced will not block ads while casting since when you use the casting feature, it doesn't send the video from your phone to the Chromecast/TV. Instead, your phone acts like a remote controller for the youtube app in your Chromecast/TV. That is why the advertisement is displayed.


    Known bugs:


    • Purchasing items in the non-root version of the app causes the app to crash. It's most likely due to MicroG. However, for greater security, it is preferable to use the original YouTube app.
    • If your videos are lagging or the application starts to crash while watching live videos, please enable VP9 codec from codec override present under vanced settings. Google forced the ExoPlayer v2, which is highly experimental and unstable on unsupported devices.
    • As of v16.16.38, casting won't work due to an upstream microG bug.
    • On portrait/vertical videos, preferred quality options do not work.



    Installation guide for old versions:



    Non-Root:



    1. Download and install the Vanced microG using the latest Vanced manager
    2. Download the necessary Vanced APK file using the old versions link above.
    3. Install the APK like you would for any other app.


    Root:


    1. Download the official TWRP installer found in the downloads above
    2. Download the suitable APK of the theme you want for your device (check your architecture using an app such as CPU-Z)
    3. Place the downloaded APK into a separate new folder with the TWRP installer zip you downloaded or inside the installer zip
    4. Uninstall all YouTube updates and disable auto-update in the play store (If you can completely uninstall the youtube application)
    5. Flash the installer in TWRP
    6. Profit!


    Magisk:



    There are a total of 2 ways to install the magisk version.
    • The first and most effective way is to install it via the Magisk app. Since we have discontinued the Magisk version and removed it from the magisk repository, you can get the last available magisk version using this link.
    • The second way is to place "Install via magisk.plz" alongside the official installer zip or enable magisk install in the settings.sh and flash via the magisk app.
    Note: Make sure you have uninstalled the stock YouTube app or at least uninstalled its updates below v14.21.54. A newer version will override the vanced installation, preventing you from seeing vanced in your app drawer.



    Explanation of the (Ad)Vanced options of the official installer:


    Vanced makes use of both settings.sh and plz files as parameters while installing.

    Using the settings.sh:


    • SEARCHFOLDER - Path where to search for iYTBP Apk's (must be a subfolder on sdcard!)
    • MAGINSTALL - Use magisk installation instead of root installation. (Possible Values: YES/NO)
    • DETACH - Detach Youtube from the play store to disable update notifications. (Possible Values: YES/NO)
    • ATTACH - Attach Youtube to play store if it was previously detached. (Possible Values: YES/NO)
    • UNINSTALL - Completely uninstall iYTBP: root version, magisk module, and detach module (Possible Values: YES/NO)



    Using the plz files: (Use only the ones you want)



    (Place the downloaded file in the same folder as the official installer zip)
    • iYTBP_install_via_magisk.plz - Use magisk installation instead of root installation
    • iYTBP_detach_from_playstore.plz - Detach Youtube from play store to disable update notifications.
    • iYTBP_attach_to_playstore.plz - Attach Youtube to play store if it was previously detached.
    • iYTBP_uninstall.plz - Completely uninstall iYTBP: root version, magisk module, and detach module.




    Thread Managed by @ZaneZam, @Razerman, @KevinX8 and @laura almeida

    Social links

    546

    BUG Reports:


    Steps to do before reporting a bug
    1. Do a search and see if it has already been reported
    2. Check that the bug is actually a Vanced bug and doesn't happen in the original YouTube.
    Steps to do when reporting a bug
    1. Make sure you are being enough descriptive of the problem.
    2. Take a logcat (Google search if you don't know how). Especially if the issue is a crash.
    3. Taking pictures of the problem doesn't hurt.
    4. If the report is vague (missing information), it will most likely just be ignored. If you are not going to show any effort in resolving the problem, why should I?

    F.A.Q:


    Q.Where did the normal(white) apk go??
    A. White is included in both versions by default as a primary theme. Simply choose the alternate theme you prefer for the night time then use it accordingly with your system theme.

    Q. How to install updates?
    A. When using vanced manager, simply tap on the "update" button to begin updating your vanced. If you are installing an older version, just download the latest apk and install it as you previously did before.

    Q. Do I need to re-install detach script for every new YouTube Vanced update?
    A. No!

    Q. Can I install this as I normally install any other apk?
    A. Only the non-root version.

    Q. Can I download videos with this?
    A. No (and you never will)! But the official YouTube Offline Video feature is working in Supported countries.

    Q. Why is the <xyz> variant not available to download?
    A. We release 2 Unified builds of non-root, one with the stock youtube theme and another with an AMOLED friendly theme. Use the latest vanced manager and choose the theme and language you would like to install.

    Q. Installation successful but YouTube is not showing up in launcher, why?
    A. If you are facing this issue that means you are not using vanced manager. Please use vanced manager to install vanced applications. If you are installing old versions of root variants, make sure the stock youtube app is uninstalled or at least you uninstalled its updates.

    Q. Does the 'Crop to fit' feature work for S8 and S8+ users?
    A. Yes! It works on the rooted version but not in the non-root since the package name is changed. However, there is an alternative new Pinch to Zoom feature with basically the same functionality.

    Q. Is history working?
    A. Yes! Make sure you whitelist *s.youtube.com in your ad blocker. And non-root users need to check that they are not using a brand account due to the MicroG bug. If you are, you need to merge the accounts to get the history working (YouTube Settings). The merging process will clean the current history.

    Q. Does PIP mode works?
    A. Yes, from Android 8.0+ only!

    Q. When will you release the new version?
    A. Usually within a couple of days after the official apk is available in apkmirror. But please don't ask for ETA!

    Q. Does background playback download video?
    A. No, it does not. After going into background playback, you will only download audio so there will be much less data usage.

    Q. I can't log in on Non-Root, I get stuck on the I agree page. What to do?
    A. If you are facing this issue, that means you are using older versions of vanced microG. Please update to the latest version using the latest vanced manager which can be downloaded via our official website. Links can be found in the first post.
    302
    Downloads:

    GDrive (All versions)
    Alternative Mirrors: AFH (rarely updated) Mediafire (only the latest)
    101
    New site up https://vanced.azurewebsites.net/ with latest version of YouTube as base (13.10). Includes some bugfixes and other changes detailed on discord. At the time of writing this post apkmirror lacks apks for arm so you will have to wait a while until it has them and then we will be able to make arm root builds.
    83
    New update is out v13.28.54 with following changes:
    - 13.28.53 Full width search bar fix
    - Translation support for more strings
    - HDR brightness bug fixed when using swipe controls
    - Auto repeat can now be linked to autoplay toggle
    - Top-Swipe paddig range added
    - Seek buttons fixed
    - COMPLETE REWORK of all mods for v13.27+ versions (many thx and all credits to @Razerman !!)