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

Search This thread

oned

Senior Member
Jul 29, 2008
217
18
0
Anyone else unable to pinch to zoom on the last update (root)?
It displays the text that appears when you switch between zoomed and original, but the video stays the same. Tried uninstalling completely and setting up again the app and the problem persists
Same here, pinch to zoom doesn't work with last update.
Tried everything.
Pixel 4xl no root
 
D

djnadar

Guest
Recently my OnePlus 8 Pro was updated to Android 11 from then Youtube Vanced doesn't install on my phone. I tried installing with Vanced Manager app it shows as error installation failed because the app conflicts with an already installed app. Uninstall the current version of Vanced then try again. Well I already unistalled older vanced versions. Please help me to install the latest version of Vanced Youtube on my phone. My phone is Oneplus 8 Pro non root.
 

JordanBleu

Senior Member
Nov 26, 2019
87
87
28
I need some help here please, I'm having the issue where it's uninstalled on reboot. I have magisk installed, Galaxy S2 tablet. I uninstalled Vanced with magisk. I reboot then I have the regular YouTube icon when I launch it it's vanced. I uninstall it through Android I get a toast that says it will install the factory app I hit okay then it reboots. This time the icon is vanced but it forced closes if I try to launch it. I've gone on that Merry-Go-Round for a few hours now. I have read back in this thread but my problem seems different. I've also reinstalled the original vanced with twrp. Now I'm to the point where that magisk ver is working. But now vanced manager says that it cannot be updated with the manager and I have to uninstall it with vanced twerp uninstaller which I can't find in the manager or the website or this page.

Sent from my SM-T713 using Tapatalk

Same here with my Samsung Galaxy Tab S3; I have even installed Lucky Patcher and disabled apk verification, the latest version gets uninstalled no matter what.
 

zelendel

Senior Member
Aug 11, 2008
23,370
20,593
253
Same here with my Samsung Galaxy Tab S3; I have even installed Lucky Patcher and disabled apk verification, the latest version gets uninstalled no matter what.
Just a heads up., don't mention, lucky, patcher. It is banned here as malware and even talks of it are not allowed.,, I, would remove it before it costs you more then you want it to.
 

JordanBleu

Senior Member
Nov 26, 2019
87
87
28
Just a heads up., don't mention, lucky, patcher. It is banned here as malware and even talks of it are not allowed.,, I, would remove it before it costs you more then you want it to.

Thanks for the heads up, I'm really sorry for that; I didn't know it was banned here. Also, since you mentioned it was malware (even if I always believed it was a false positive), I completely removed it. It's better prevent than fix :)
 

notthisagain

Member
Sep 10, 2016
8
0
11
Remove youtube advertising i.e. useless "Explore" button.

HI guys, thans for the 'upload' button removal, that was amazing! On the same note would it be possible to add an option to remove the useless "explore" button which is basically advertising for youtube (the videos there are the dumb videos youtube promotes that no one asked for and they are all available to users through the normal search anyways..)
 

ipdev

Senior Member
Feb 14, 2016
1,262
1,345
153
Just ran through the following steps:

Uninstalled Vanced+Manager, module, reverted youtube back to stock, removed all Vanced files from data/adb and service.d, reboot → Can't find anymore youtube folder in data/app.

Installed Manager, installed Vanced → Youtube now shows in data/app as:
● com.google.android.youtube-ulPeSkEtPG8zP2SVhqee2w==
This contains split_config.en.apk (screenshot). Vanced can be opened.

Installed module and reboot → Folder in data/app still the same, Vanced no longer starts and shows weird name in Android App settings (screenshot):
● com.google.android.apps.youtube.app.YouTubeApplication
Checked adb/service.d and there is no vanced.sh script. Reinstalled Vanced from Manager + Disable/Enable app from app settings. Now vanced.sh script appears, it shows normal YouTube name in Settings and Vanced can be opened.

Reboot again to see what happens → exactly same as previous, Vanced can only be opened after I Reinstall from Manager + Disable/Enable app from Settings (must do both or else nothing changes).

I hope that's comprehensive enough for someone to figure out what is wrong.

Sent from my OnePlus6T using XDA Labs

Your screen-shots did not upload. (Temporary xda issue due to back-end switch.)

What ROM are you running?

What happens if you clear everything and start clean?

Disable/delete any module related to mounting Vanced YouTube.
Disable/delete any module relating to hiding/removing system installed YouTube.
Remove vanced scripts in /data/adb/service.d and /data/adb/post-fs-data.d
Remove the vanced directory in /data/adb
Reboot and uninstall YouTube (Long press and select uninstall/uninstall updates.)
Clean up, data/app for extra/broken youtube directories.
Reboot once again.
Pre-installed (system) YouTube should be v14.49.51
[ OnePlus6TOxygen_34.J.48_OTA_048_all_2010042240_dbd576b615 ]


Then install Vanced (root) from Vanced Manager and reboot.
Are all the file in/data/app/com.google.android.youtube-StringShit/ or just base.apk ?
Check for a vanced.sh file in /data/adb/service.d and /data/ad/post-fs/data.d and /data/adb/vanced/base.apk file.

If the Vanced version is not active, and all the files in /data/app/com.google.android.youtube-StringShit and /data/adb/vanced/base.apk exists.

What happens if you run the mount command manually, root command line (adb shell or terminal app)?
[ Replace com.google.android.youtube-StringShit with your path to YouTube. ]
Code:
su -c mount -o bind /data/adb/vanced/base.apk /data/app/com.google.android.youtube-StringShit/base.apk
[ You may have to force stop and/or clear cache (maybe data) for YouTube after mounting Vanced over the regular version. ]

--

I have a 6T T-Mobile convert.
Been on LineageOS 17.1 for a little while testing custom rom crap.
Reverted back to OOS (Global) stock tonight to check.
[ OnePlus6TOxygen_34.J.48_OTA_048_all_2010042240_dbd576b615 ]

The current Vanced root worked for me on LineageOS 17.1 and OOS 10.3.6
No need to adjust or replace the mount script. ¯\_(ツ)_/¯

Is it possible you have something installed/running that may affect the mount scripts?

Cheers. :cowboy:
 

Lanex777

Senior Member
Nov 24, 2012
104
10
38
I have used magisk version of vanced 14 on a custom android 11 rom with nikgapps nano . Gapps work fine, even gpay works, so no issues at all. I decided to update to the latest vanced 15, removed an old version, installed vanced manager and installed yt vanced 15 (root) from it. It loads, but after boot says that the phone doesn't support google app services. Is there a way to make it work without microg? Don't want to install extra apps.
 

bartleby999

Senior Member
Jan 5, 2015
319
124
73
I have used magisk version of vanced 14 on a custom android 11 rom with nikgapps nano . Gapps work fine, even gpay works, so no issues at all. I decided to update to the latest vanced 15, removed an old version, installed vanced manager and installed yt vanced 15 (root) from it. It loads, but after boot says that the phone doesn't support google app services. Is there a way to make it work without microg? Don't want to install extra apps.

Post #17387 you will need to install extra apps though. You'll need Split Application Installer (SIA) since YouTube is now split.
 

Oxofrmbl

Senior Member
Oct 16, 2016
273
58
38
Xiaomi Mi Mix 2S
OnePlus 7T
Post #17387 you will need to install extra apps though. You'll need Split Application Installer (SIA) since YouTube is now split.
No, vanced manager does it itself

Gesendet von meinem OnePlus 7T mit Tapatalk

---------- Post added at 01:32 PM ---------- Previous post was at 01:31 PM ----------

I have used magisk version of vanced 14 on a custom android 11 rom with nikgapps nano . Gapps work fine, even gpay works, so no issues at all. I decided to update to the latest vanced 15, removed an old version, installed vanced manager and installed yt vanced 15 (root) from it. It loads, but after boot says that the phone doesn't support google app services. Is there a way to make it work without microg? Don't want to install extra apps.
I suppose something is missing in gapps package.

Gesendet von meinem OnePlus 7T mit Tapatalk
 

Lanex777

Senior Member
Nov 24, 2012
104
10
38
11-06 15:33:55.607 E/GoogleApiAvailability(3429): Google Play services is invalid. Cannot recover.

That's what I found in logs. What does that mean? What kind of google play services are valid, could you please explain? I've got 20.39.65 version
 

Oxofrmbl

Senior Member
Oct 16, 2016
273
58
38
Xiaomi Mi Mix 2S
OnePlus 7T
11-06 15:33:55.607 E/GoogleApiAvailability(3429): Google Play services is invalid. Cannot recover.



That's what I found in logs. What does that mean? What kind of google play services are valid, could you please explain? I've got 20.39.65 version
Which version of nik gapps did you flash? Maybe I can find something. Did you flash any gapps addons?

Gesendet von meinem OnePlus 7T mit Tapatalk
 

Lanex777

Senior Member
Nov 24, 2012
104
10
38
Yes, I flashed NikGapps-Addon-R-Velvet-signed. The version of nikgapps is core-arm64-11-20200926. Thank you very much for looking into the problem ?
 

Oxofrmbl

Senior Member
Oct 16, 2016
273
58
38
Xiaomi Mi Mix 2S
OnePlus 7T
Yes, I flashed NikGapps-Addon-R-Velvet-signed. The version of nikgapps is core-arm64-11-20200926. Thank you very much for looking into the problem [emoji846]
I'm just a random user [emoji28]
But i just found in telegram group of yt vanced, that it's indeed a gapps problem.
You should be good if you setup your phone with other gapps or you have to use rootless version.

Maybe reflash your gapps package / update it (if update available) or you can maybe try other gapps. Flame gapps doesn't seem to work eather


Copied from tg chat note
"So these are the current issues/bugs present in latest vanced. Take your time to read it. Don't report them again and again.

1. Zoom to fill being broken for some users.

2. Pip bug(that's stock yt bug so Google has to fix it)

3. Some geographical ads which depends on region to region.

4. Root version disappearing for some users on some ROMs due to unknown reason.
(Fix- Use non root or install root version using sai instead of using manager, see #installation for sai guide)

5. Swipe gestures don't work on offline videos.

6. Vanced(root version) not supported on android 11.
Fix- Use non root variant or use different Gapps/official android 11(pixel software) or stick to android 10.

7. Blocked contacts under History & Privacy crashes. [Won't be fixed cuz it won't work anyway. Use official YT if you use this feature]"

Maybe it helps to set fingerprint to pixel 4xl with a11. With the hide props magisk module

Edit: changed list to the latest
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    2
    This is the magisk module for youtube music vanced v4.11.50. Thanks to @jacobyo7 for the tutorial. DON'T FORGET to install the stock youtube music v4.11.50 from apkmirror before flashing this magisk module.
    UPDATE TO THIS MODULE
    Version- 4.18.50
    Remember to install youtube music v4.18.50 from apk mirror before flashing this module.
    2
    Ok, so login issue with microg still not resolved (p30 pro)
    Still getting infinite blue circle loop
    And I can't even rollback to previous version of microg and vanced
    2
    I tried signing up on the Vance Youtube but it dosn't show on the app. If I try logging in again it says that the device is already connected...

    Downgrade to an older version of Vanced and Microg - When you're on the older version sign in, then upgrade Vanced to 15.x
    2
    Hey Guys! I've been using the non root YouTube Vanced for a while and the next two updates kinda broke it for me. When I start a video, the controls overlay (previous, pause, next) comes up and never disappears. If I downgrade, it works fine again. Has anyone seen this before and, more importantly, does anyone know a solution to this? Cheers
    I erratically have the same issue on my Samsung Galaxy S10e. If I restart the app, it seems to go away.

    Hit the home button making it go to the floating window. Expand the floating window again to bring the app up again. Then tap the video. All the controls will go back to normal
    at the top right there is an X. hit that and the controls disapear. I would *guess* there is also a setting somewhere to turn it off by default, but I haven't searched for it. Do a standard web search, as its probably the same with stock YouTube.
  • 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