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

Team Vanced

Member
Mar 3, 2018
14
2,504
0
iytbp.onlineyotube.com
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​

 
Last edited:

Team Vanced

Member
Mar 3, 2018
14
2,504
0
iytbp.onlineyotube.com
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.
 
Last edited:

Logan

Retired Forum Moderator
Jul 22, 2015
1,243
1,830
153
Toilet
Good job guys!

Non-root FAQ:
https://forum.xda-developers.com/showpost.php?p=79661381&postcount=10743
Microphone permission not found:
If you're wondering why there is no microphone permission in the root version of Vanced, that's because the APK used to modify Vanced (minAPI17) is missing the microphone permission. The other APK has it (minAPI21) but that lacks the translation. Why? Ask Google ?*♂

Workaround: use the non-root variant, or stock YouTube

App not appearing in app drawer:
If YT Vanced app is not visible in your app drawer, follow these steps:

• Install regular YouTube app from the Google Play Store
• Open the app until your front page shows up (not sure if this is necessary. Just reconstructing what's been working for others all the time).
• Go to Settings > Apps > YouTube. It should show "Uninstall" on the top left. DO NOT Uninstall! Just see if it says that there!
• Reboot
• Go to Settings > Apps > YouTube. Now it should say "Disable" or "Deactivate". DO NOT Uninstall! Just see if it says that there!
• In the same menu; tap on the three dot menu button on the upper right corner and tap on "Remove/Uninstall Updates".

Now the YT Vanced app should show in your launcher.

OR
For appdrawer issues, follow

stuck at splashscreen:
https://forum.xda-developers.com/showpost.php?p=81740301&postcount=13953
 
Last edited by a moderator:

Logan

Retired Forum Moderator
Jul 22, 2015
1,243
1,830
153
Toilet
who got issues and want to do a proper report its mentioned in 2nd post at the OP or you can follow this template:

BUG REPORTS (all details MUST be included or your report will be ignored):

1. YouTube Vanced exact version number (Do NOT say latest).
2. Download link used.
3. Installation method.
4. Device.
5. ROM (optional may not help).
6. Any applied Substratum overlays.
7. Logs if any (upload to del.dog or Pastebin.com)
8. A brief description of the issue
9. Any installed mods to the system.

(There is alot of threads shows how to capture logcat around xda)
 
Last edited:

michael_0394

Senior Member
Oct 13, 2017
83
21
0
26
Houston
Updater process ended with ERROR: 1
Error installing zip file ´/external_sd/iYTBP-vanced-universal-installer-v2.8.zip

What am I doing wrong?
Try making sure system is checked under mount in TWRP. If that's already I checked I found rebooting to recovery over and over till it isn't all correctly also works. I think it's just some kind of bug with TWRP.
 
  • Like
Reactions: MBDdk

Zgadnijcie

Senior Member
Mar 6, 2016
403
162
53
THX for the advice, sadly it didnt help at all...
When I tried flash it few days ago, twrp showed me "apk file doesn't exist". Check how mb has this zip. You should install it via magisk or create in system/app, "YouTube" folder and give it 755 permissions. Next move YouTube.apk file to this folder and give it 644 permissions. Last step is reboot.

Xiaomi Redmi Note 4X Resurrection Remix 6.0.0 Tapatalk
 
  • Like
Reactions: Vuron and AMZMA

okeck22

Member
Oct 29, 2009
26
7
33
When I tried flash it few days ago, twrp showed me "apk file doesn't exist". Check how mb has this zip. You should install it via magisk or create in system/app, "YouTube" folder and give it 755 permissions. Next move YouTube.apk file to this folder and give it 644 permissions. Last step is reboot.

Xiaomi Redmi Note 4X Resurrection Remix 6.0.0 Tapatalk
I installed Vanced-ARM64-Black-13.07.55.zip <---Magisk Modul, did a reboot setup the app, then again flashed in TWRP with edited settings.sh and "dark" apk

All working fine now - BIG THX
 
  • Like
Reactions: to22ek

madbat99

Senior Member
Mar 1, 2014
5,538
3,286
253
Updater process ended with ERROR: 1
Error installing zip file ´/external_sd/iYTBP-vanced-universal-installer-v2.8.zip

What am I doing wrong?
Do you have the APK in internal storage? Probably should put the zip there too?
Did you unzip and rezip by any chance?