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

Search This thread

Spookymyo

Senior Member
Dec 12, 2007
919
222
45
Morristown, TN
Google Pixel 4
YouTube Vanced is being overwritten by stock YouTube because they have the same package names (which is the very benefit of Vanced root) and PlayStore sees an update available so installs it, thus over writing Vanced with Stock.

Simple fix : Install TeMeFi and detach YouTube from the PlayStore.

Personally, I've also disabled auto-update apps on the PlayStore and just manually update every couple of days. Not sure this is entirely needed as YouTube never shows up on available update lists, nor do I get any notifications that an update is available, however it's just easier for me this way.
Thanks I'll give it a try. But I do have auto updates disabled and it still happens. I installed the non root version and have not had this issue since.
 

celestialspring

Senior Member
Sep 19, 2010
159
24
Second.

I am facing the same issue.

I have also done, clear data, uninstall, restart and reinstall.

YouTube on browser working correctly.

Using Blokada.


Solution from Telegram support group:

• READ THIS IF YOU EITHER CAN'T LOGIN TO VANCED OR YTMUSIC or THEY ARE LOADING INDEFINITELY:

This is a bug with upstream microg. To solve it,
[Click here for video tutorial]

Written tutorial:
1. Uninstall both vanced microG & YouTube Vanced
2. Install vanced microG(latest)
3. Install YouTube Vanced (version: 15.43.32)/ YouTube Music Vanced (version 4.07.51)
[Click on install > click on arrow next to version > select anything except the first two options > save > Install]
4. Open YouTube Vanced then add an account
5. Open Vanced Manager
6. Then update YouTube Vanced (version: latest-16.02.35) / YouTube Music Vanced (version - 4.11.50)
(Credit: Razuuu)

If you aren't able to select versions:
1. Go to Vanced manager
2. Click on the 3 dot menu (top right corner)
3. Settings > clear downloaded files


• READ THIS IF YOU ARE USING LATEST VANCED AND NOT ABLE TO SWITCH ACCOUNTS:

It is a bug in upstream microG. Until it gets fixed, either downgrade back to an old version (v15.43.32) or use only one account till then.


You can find the bug report submitted to the microg repository concerning this issue here: https://github.com/microg/GmsCore/issues/1373


• IF YOU CAN'T ABLE TO DOWNLOAD THE LATEST VERSION OF YOUTUBE MUSIC VANCED, DO THE STEPS FOUND IN THE VERY NEXT MESSAGE:
 
  • Like
Reactions: EgorIV

AlawamiAZ

Member
Feb 9, 2015
10
2
Bug: vertical videos always play in very low quality even when manually choosing higher quality. Usually the first 3 seconds are acceptable quality but then forcibly plays in 240p or 144p. I compared directly to stock youtube app and the stock app always plays high quality and can switch to higher qualities manually. The bug happens in all version of vanced.

Only happens with vertical videos, and having preferred quality setting doesn't make any difference.
 

bartleby999

Senior Member
Jan 5, 2015
319
124
Thanks I'll give it a try. But I do have auto updates disabled and it still happens. I installed the non root version and have not had this issue since.

You won't get the same issue with Non-root Vanced as it doesn't have the same package name - It's a completely different app that happens to deliver YouTube content. Whereas root Vanced is YouTube.

I'm not sure exactly what is going on if you've turned off auto-updates, your app shouldn't be getting updated in that case. You say after a couple of days it is reverting to stock, what are you doing during those days? Are you rebooting? There was an issue that Vanced would be reverting to stock YouTube upon reboots it wa supposedly fixed but, if that's the issue you're experiencing then the fix has already been posted multiple times so just take a look through the thread, or search my posts because I've posted it a few times in here too.
 

Newtype14

Member
Feb 24, 2021
9
4
Is something wrong with the installation of the root version lately? I installed it three weeks ago and it went fine, but today I resetted my phone and when I tried to install it, it failed.

It shows that it's downloading, but then the progress bar freezes until you get an error message that says that it failed for an unknown reason. Tried other versions and it kept failing as well.

I tried the non-root version and it installed correctly.

Device: Samsung Galaxy S7.
OS: Stock Android 8.0.
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
4,965
4,237
Sydney
I'm not sure exactly what is going on if you've turned off auto-updates, your app shouldn't be getting updated in that case.
It all seems logical, however, I know I tried turning off auto-updates a few years ago, and youtube still managed to get updated, more than once.

You say after a couple of days it is reverting to stock, what are you doing during those days? Are you rebooting? There was an issue that Vanced would be reverting to stock YouTube upon reboots it wa supposedly fixed but, if that's the issue you're experiencing then the fix has already been posted multiple times so just take a look through the thread, or search my posts because I've posted it a few times in here too.
The auto update of YouTube was happening to me back in the days when Vanced was installed physically as a system app. there was no stock youtube to revert to. It was an extra install by the playstore over Vanced, not a removal of Vanced install. Vanced was still installed on the system partition.

You may just be very lucky and have something different in your device / ROM. I created a detach method which slowly built to around 25 steps / changes to stop YouTube updating. One of the first few was to automatically disable auto updates on youtube. That failed every time. I am not the only one this has happened to.

EDIT: almost forgot just turning off auto updates also means "Update All" is not an option.
 
Last edited:

prestissimo007

New member
Feb 27, 2021
1
0
Hi, I have a little problem. I downloaded nonroot 3 apk (2 were with apkmirror bundles) from apkmirror and I can use app without any vanced manager (i didnt use with e mail) but Im not sure was it safe ? In my used phone ( just for this app, no contacts or bank apps )has just gta sa and sd card some taken naturel landscape photos in normal storage (even dont using gmail account).
I tried app first and it stopped (its normal for manager and etc.) but with older apk after, it worked but more interesting thing is with after install the newest apk, the opening info as name of devs like older apks and it worked like older apk without any extras. I just used 3 minutes but does my sd card pics taken (copy) in 3 minutes or Im in safe ?
I installed with apkmirror bundles but I have old photos from my sd card and 4 photos were in a passport format so it makes me feel uncomfort. Phone works normal, just the samsung internet beta browser was a bit strange (maybe placebo). After deleted beta browser and using normal one, it worked as normal. I need an answer from Team Vanced, as like I said, no private data in phone, just sd card and pictures.

Ps. Im a Brave Browser user too.
 

profi_fahrer

Senior Member
Jul 19, 2016
236
55
Wels
Since the last few versions, I can't upload a video. When I select the video, it keeps loading on the Video-Details.
It works with the normal YouTube App Version 15.26.34, but not with the newest one.
 

rsngfrce

Senior Member
May 13, 2012
669
259
NorCal
Yes i did. With non rooted phone, i don't know how to remove the packaging folders it mentioned
Are you trying to install the root version by mistake? The message about packaging means that you are trying to install a different version (different signature) than you had installed, not just an updated version.

There seems to be an issue with some apps disappearing when a phone is upgraded to Android 11, but I didn't have this issue with YouTube Vanced. If YouTube Vanced is uninstalled on your phone, Vanced Manager seems to be finding some remnent of it still installed, which could be difficult to correct on a non-rooted phone.
 

arslaniqb

Member
Feb 26, 2021
5
1
Screenshot_20210301_214238_com.vanced.manager.jpg


I am not able to install. I get this error. Although I have patched signatures disable with lucky patcher. I also tried to delete the /data/app/com.vanced folder but no luck.
I tried to install dark.apk with apks installer but was getting the signature doesn't match error. How can I fix this
 

Philnicolls89

Senior Member
Jun 28, 2019
591
240
32
A.C.T
View attachment 5236835

I am not able to install. I get this error. Although I have patched signatures disable with lucky patcher. I also tried to delete the /data/app/com.vanced folder but no luck.
I tried to install dark.apk with apks installer but was getting the signature doesn't match error. How can I fix this
It is possible that YouTube, or at least remnants of it, exist in more than one location on your device. Try using a root Explorer app to search for youtube and delete any files before starting again. Also if it was previously installed through magisk as a module don't forget to delete the module using magisk manager.
Signature verification does not need to be disabled and it is not advised to do so either.
 

arslaniqb

Member
Feb 26, 2021
5
1
It is possible that YouTube, or at least remnants of it, exist in more than one location on your device. Try using a root Explorer app to search for youtube and delete any files before starting again. Also if it was previously installed through magisk as a module don't forget to delete the module using magisk manager.
Signature verification does not need to be disabled and it is not advised to do so either.
I thought vanced manager was supposed to overwrite stock app without removing it first.
Can I just uninstall youtube by removing it's folder in root?
I was trying to install without signature disable before and searched this method after first failed attempt.
I have unpactched the signature patches with lucky patcher again and now it says not patched.
 

Philnicolls89

Senior Member
Jun 28, 2019
591
240
32
A.C.T
I thought vanced manager was supposed to overwrite stock app without removing it first.
Can I just uninstall youtube by removing it's folder in root?
I was trying to install without signature disable before and searched this method after first failed attempt.
I have unpactched the signature patches with lucky patcher again and now it says not patched.
Your correct, vanced simply overlays the stock you tube app. However the manager app installation process has been streamlined so that it does everything for you.
If installing as a magisk module then yes you need to have the stock you tube, of same version number, installed first. But if using the manager app, just grant it root permissions and follow the prompts.
Yes you can uninstall youtube by manually deleting its folder using a root Explorer app.
 

arslaniqb

Member
Feb 26, 2021
5
1
Your correct, vanced simply overlays the stock you tube app. However the manager app installation process has been streamlined so that it does everything for you.
If installing as a magisk module then yes you need to have the stock you tube, of same version number, installed first. But if using the manager app, just grant it root permissions and follow the prompts.
Yes you can uninstall youtube by manually deleting its folder using a root Explorer app.
I was using official vanced app with root access,dint tried magisk module.but it dint overlays the original stock app.
I can't find youtube in data/app. There is no folder for youtube. Where can I locate youtube in root explorer?
 

Philnicolls89

Senior Member
Jun 28, 2019
591
240
32
A.C.T
I was using official vanced app with root access,dint tried magisk module.but it dint overlays the original stock app.
I can't find youtube in data/app. There is no folder for youtube. Where can I locate youtube in root explorer?
I use mixplorer which has a search function and will search your whole device for any files or folders that match the keyword you choose, in this case 'youtube'.
Anyway I have also had problems in the past installing from vanced manager. Try downloading youtube version 15.43.32 from apk mirror, install using SAI and then install this magisk module.
Here is a link to the devs Github so u can get the latest version if you like. I just haven't got around to updating yet.
 

Attachments

  • YouTube-Vanced-15.43.32-Black_Magisk.zip
    16.1 MB · Views: 85

Top Liked Posts

  • 4
    I'm rooted, do you mind share the TB method to detach? Thanks
    Titanium backup is incredibly outdated and 90% of the features no longer work.
    For best detaching results use this app
    Thread '[APP][TOOL] TeMeFI comprehensive system Administration' https://forum.xda-developers.com/t/app-tool-temefi-comprehensive-system-administration.3806260/
  • 4
    I'm rooted, do you mind share the TB method to detach? Thanks
    Titanium backup is incredibly outdated and 90% of the features no longer work.
    For best detaching results use this app
    Thread '[APP][TOOL] TeMeFI comprehensive system Administration' https://forum.xda-developers.com/t/app-tool-temefi-comprehensive-system-administration.3806260/
    3
    Huawei P20 Pro - Android 9.1
    New version of YouTube Vanced (16.02.35) with new version of MicroG (0.2.18. 210390), not working. I can't sing in to my accounts.
    Perhaps you don't have a great singing voice? ^_^

    You'll have to give us some more information though. Which steps did you follow? Did you respect the order of installation (MicroG first)? Using Vanced Manager?
    3
    Jokes aside. v16 has had this issue of users not being able to sign in. Downgrading to 15.x solves the issue.
    Ah yes but the manager knows and guides the user through this; it's truly genius. Absolutely amazing how far a "silly" Xposed mod fork has come.
    3
    2
    So rule of thumb-- never update until you've read to see if there are issues with the update. This is for system updates and app updates.
  • 1599
    YouTube Vanced

    Vanced is a well known modded version of YouTube with many features such as adblocking and background playback, the full list can be found below:


    The one and only, official Vanced website There are other sites that are fake, contain ads (possibly even malware) and have older versions. Always check from the official site or from here at XDA.




    Read the first and second post before asking/posting anything.


    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 (Oreo Only)
    • Video window new or old style
    • Repeat video feature
    • Preffered Resolution & Speed feature
    • Swipe controls for Volume and Brightness
    • New Logo by @Logan

    Downloads:
    Vanced website (GDrive) (All versions)
    Alternative Mirrors: AFH (rarely updated) Mediafire (only the latest)

    Since YouTube v14.41.52, Google has moved to split APKs. The Android package installer doesn't support split apks yet, so we are using SAI as an Alternative apk installer.

    Installation Instructions:

    Non-Root:
    Steps:
    1. Download and Install microG Vanced (If you don't install microG, YouTube will crash on starup)
    2. Download latest version of YouTube Vanced
    3. Install Split APKs Installer (SAI) from Google Playstore
    4. Open Split APKs Installer (SAI) -> Install APKs -> Select the downloaded Vanced apks -> Install
    5. Done! Enjoy!

    For MIUI users, follow these instructions -> How to install v15 on MIUI

    Root:

    Since YouTube v14.41.52 Google has moved to the new APK Signature Scheme v3 and because of that it's impossible to mod system apps without disabling the android's system wide signature verification.

    THIS IS HIGHLY NOT RECOMMENDED. DO NOT DO THIS UNTLESS YOU DON'T REALLY CARE ABOUT SECURITY.

    Steps:
    1. Disable apk signature verification. (Don't ask us how to do it. we don't recommend doing it)
    2. Download latest version of YouTube Vanced
    3. Install Split APKs Installer (SAI) from Google Playstore
    4. Open Split APKs Installer (SAI) -> Install APKs -> Select the downloaded Vanced apks -> Install
    5. Done! Enjoy!

    Magisk:

    As we are disabling signature verfication, root version are installed to /data/app and /system/app. So magisk module is useless now and makes nonsense to us.
    Therefore, Magisk version is discontinued.


    Known bugs:
    1. What bugs? Never heard of them. :D
    2. Buying things within the nonroot version of the app causes crash. Likely due to MicroG but tbh, it's better this way for your security. Just use original youtube to buy the stuff you want.
    3. Ok, not really a bug but since people don't read it's experimental, ExoPlayer V2 might be causing crashes when coming back from background playback on some devices.
    4. Non-Root stuck on I Agree Page? -> https://forum.xda-developers.com/showpost.php?p=79419977&postcount=9772

    Old version info:

    Installation Instructions:NB!

    Non-root: Install the apk normally and install microg found in the download links above.

    Root:
    1. Download the official installer found in downloads above
    2. Select a suitable apk for your device (check your architecture using an app such as CPU-Z) and the secondary theme you want to. (All apks include the white theme)
    3. Place the downloaded apk into /sdcard/Downloads or inside the installation zip
    4. Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so)
    5. Flash the installer in TWRP
    6. Profit!
    Magisk:

    There are a total of 3 ways to install the module via magisk.
    The first and most simple way is to install it via the magisk repo and it is the recommended way.
    The second way is to place "Install via magisk.plz" or enable magisk install in the settings.sh from the root installer.
    The third and final way is to use the magisk modules provided on the Download Mirrors.
    Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so). Updated app will override the app installed in the system partition so even if the mod installation succeeds, you will not see it.


    Explanation of the (Ad)Vanced options of the official installer:
    Vanced makes use of both a 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 playstore to disable update notifications. (Possible Values: YES/NO)
    • ATTACH - Attach Youtube to playstore 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)
    (All should be placed in /sdcard/Download/)
    • iYTBP_install_via_magisk.plz - Use magisk installation instead of root installation
    • iYTBP_detach_from_playstore.plz - Detach Youtube from playstore to disable update notifications.
    • iYTBP_attach_to_playstore.plz - Attach Youtube to playstore 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​
    540
    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 vaque (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 choose the alternate theme you prefer for night time etc.

    Q. How to install updates ?
    A. Just download the latest apk and install 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 <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. 8 root apks are provided, all of which are nodpi variants as google has become very aggressive in pushing updates that the only way to avoid it is using some form of detaching.

    Q. Installation successful but YouTube is not showing up in launcher, why ?
    A. You did not use the latest magisk version or installer. This only applied for Oreo.

    Q. Does '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 adblocker. And non-root users need to check that they are not using a brand account due to MicroG bug. If you are, you need to merge the accounts to get the history working (YouTube Settings) Merging process will clean the current history.

    Q. Does PIP mode works ?
    A. Yes on Oreo 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 login on Non-Root, I get stuck on the I agree page. What to do?
    A. For time being, use this workaround here.
    301
    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 !!)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone