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

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

Search This thread

Sir_gpm

Senior Member
May 27, 2011
2,360
312
Managua
Xiaomi Poco F3
I downloaded the latest manager. And remove the non root version of Vanced and music. Now installed both root from manager and this is what I got. Looks like stock but is not, look for those in Google play and looks like stock is installed. Is that ok?.
 

Attachments

  • Screenshot_2021-10-11-07-52-18-167_com.miui.home.jpg
    Screenshot_2021-10-11-07-52-18-167_com.miui.home.jpg
    1.2 MB · Views: 79

zgfg

Senior Member
Oct 10, 2016
5,891
3,364
I downloaded the latest manager. And remove the non root version of Vanced and music. Now installed both root from manager and this is what I got. Looks like stock but is not, look for those in Google play and looks like stock is installed. Is that ok?.
It cannot be judged from the screenshot

Make sure that Google Play did not update to the newest versions - if it did, Vanced is gone.
That's why detaching (mentioned what/how several times here)

Run that YT. If Vanced, it will change the icon while starting.
Open a video and put to the background or turn off the screen - if it continues playing, it is Vanced, not official YT
 
  • Like
Reactions: Sir_gpm

TioCareca

Senior Member
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

=====================
 
  • Like
Reactions: rodken and jacobyo7

tiryaki_44

New member
Aug 4, 2014
3
0
Hello,
I have a root permission.
I have already open record the history.
But Youtube vanced don't record the history.
When i watch video by pc on chrome, history recording.

What is the problem?
 

DiamondJohn

Recognized Contributor
Aug 31, 2013
5,624
5,399
Sydney
Hello,
I have a root permission.
I have already open record the history.
But Youtube vanced don't record the history.
When i watch video by pc on chrome, history recording.

What is the problem?
I dont know your problem (as it works for me), however, another user a page or two back, suggested ensuring a specific youtube host should be in your whitelist in any host blocking you enable, for the history to work.
 
  • Like
Reactions: ipdev

zgfg

Senior Member
Oct 10, 2016
5,891
3,364
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
 

Attachments

  • IMG_20211013_074208.jpg
    IMG_20211013_074208.jpg
    200.3 KB · Views: 44
  • IMG_20211013_074127.jpg
    IMG_20211013_074127.jpg
    205.9 KB · Views: 44
  • IMG_20211013_074326.jpg
    IMG_20211013_074326.jpg
    160 KB · Views: 43
Last edited:

nghiepduclub

Senior Member
Jun 8, 2009
62
2
I use youtube vanced version 16.29.39 and VancedMicroG v0.2.22.212658 on tecno pova 2 run android 11, but youtube vanced disconnect internet when i login vancedmicrog , i detelect vancedmicrog , youtube vanced have internet

I hope everybody fix problem on tecno pova 2 ??? Thanks
 
  • Like
Reactions: Moibr5403

Moibr5403

New member
Oct 14, 2021
3
1
19
Brazil
I wish there was a lite version of youtube vanced where I didn't have the options: configuration, help and feedback, because youtube and youtube vanced literally keep crashing and closing when I spend 12 minutes watching videos and looking in the app, and I keep trying to find a version that's really lightweight for me to use on my Android 5.1, but there's just no youtube app where they've removed the settings and help and feedback, if there are ads I wouldn't mind, I just want to use a version that doesn't crash or close the app!
 
  • Like
Reactions: nghiepduclub

Moibr5403

New member
Oct 14, 2021
3
1
19
Brazil
I use youtube vanced version 16.29.39 and VancedMicroG v0.2.22.212658 on tecno pova 2 run android 11, but youtube vanced disconnect internet when i login vancedmicrog , i detelect vancedmicrog , youtube vanced have internet

I hope everybody fix problem on tecno pova 2 ??? Thanks
Mine is different, when I'm browsing the original youtube and youtube vanced, it only takes about 12 minutes and the application keeps crashing and closing.
 

TioCareca

Senior Member
I wish there was a lite version of youtube vanced where I didn't have the options: configuration, help and feedback, because youtube and youtube vanced literally keep crashing and closing when I spend 12 minutes watching videos and looking in the app, and I keep trying to find a version that's really lightweight for me to use on my Android 5.1, but there's just no youtube app where they've removed the settings and help and feedback, if there are ads I wouldn't mind, I just want to use a version that doesn't crash or close the app!
try youtube go
 

Top Liked Posts

  • 2
    I do not use Sudo Hide either and I did not say a word about Sudo Hide

    It was all about the LSPosed Module named Hide My Applist
    My bad, I simply assumed there was only one exposed module called sudo hide. As I do not use xposed or similar, i do not follow the details.
    1
    zgfg I looked at your screen shots. I notice that appears YouTube is not installed. Out of interest, does that also cross over to your launchers app draw? and a shell listing of available apps? It would also be interesting if it appears in TeMeFI as available to be detatched. TeMeFRI interogates the PlayStore database.

    I also note you have Waze installed. Have you modified that to block ads as well? Since clearing its ads it has been sooooo much better to use for me.
    It has nothing to do with launcher(s). Please check my post with the coockbok how to configure in Hidy My Applist

    You define a template (an app or list of apps you want to hide)

    Then you apply that template only to particular apps

    So I have a template to hide YouTube but it is applied only to Google Play Store, not to the launcher

    Hence Playstore thinks that YT is not installed but launcher knows it is installed

    Or another example. I have a template to hide Magisk app

    And I apply that template to Google Play Store (to avoid Play Protect checking Magisk app), to my banking app (just in case, didn't complain so far about Magisk app) and to Root Beer Fresh (to avoid detecting root management apps)

    You can define many templates. Each template may 'hide' one or more apps

    You apply a particular template only to selected apps (only those apps will not see the apps listed in the template). You can apply one or more templates to an app (you want that app to be blind on several lists of apps)

    Full granularity

    I have Waze installed but never used it practically. On the toDo/wish list
    1
    It has nothing to do with launcher(s). Please check my post with the coockbok how to configure in Hidy My Applist

    You define a template (an app or list of apps you want to hide)

    Then you apply that template only to particular apps

    So I have a template to hide YouTube but it is applied only to Google Play Store, not to the launcher

    Hence Playstore thinks that YT is not installed but launcher knows it is installed

    Or another example. I have a template to hide Magisk app
    ....snip...

    I have Waze installed but never used it practically. On the toDo/wish list
    as I do not use sudo hide, that was the question. I was checking if it was a case of selecting which apps it was hidden from.
    OT: Waze is brilliant for driving to avoid traffic, but the ads by default are annoying. As soon as you pull up at traffic lights, an ad pops up for a nearby fuel sales location covering the map. While that is the perfect/safe opportunity to see what turns are ahead on the screen. :mad: But luckily not too hard to disengage.
    1
    as I do not use sudo hide, that was the question. I was checking if it was a case of selecting which apps it was hidden from.
    I do not use Sudo Hide either and I did not say a word about Sudo Hide

    It was all about the LSPosed Module named Hide My Applist
    1
    I downloaded the installer just a few minutes back from the official website and had a look at what the update-binary was doing. There are a couple of ways to get the installer to install the detach module - one is using the .plz files and the other is specifying the parameters in a config file.

    Turns out that the config file that the binary is looking for is ytva_use_this_settings.sh, while the one that is included in the installer for use is ytva_vanced_use_this_settings.sh. Hence, anyone trying to use the config file would face an issue and the installer will exit without doing anything.

    Solution (which I just tried myself and it worked flawlessly):
    • Copy the ytva_use_this_settings.txt file attached with this post, rename it to ytva_use_this_settings.sh, move it to the root of your phone's internal storage
    • Download the installer from the official website, move it to the root of your phone's internal storage
    • Open Magisk Manager, go to modules, click on the floating button, select the downloaded installer
    • Profit! It will detect the config file (in which I've enabled the detach only option) and create the detach Magisk module which will run just fine after you reboot your phone
    Please do note that it takes minute for the script to run, so don't open play store to check if the module worked immediately after rebooting, give it a couple of minutes at the very least.

    Have fun! :)
    Still works on Android 12
  • 4
    Excellent tip! Thanks. This gave me the idea to try achieving the same with SudoHide for LSPosed (which I was already using) but that didn't seem to work, even after Play Store data reset. Now tried with Hide My Applist (+ another PS data reset + reboot) but PS still "sees" YouTube and suggests updating it. Does anything else need to be set besides "Enable hide" within HMA? Perhaps it just needs more time to "settle".
    Hide My Applist:

    1)
    - Manage Templates
    - Create Blacklist templates
    - Edit list of Invisible apps
    - add YouTube and more apps if you want to detach
    - Give the name to the template, like Playstore
    - don't forget to Save

    2)
    - Select Effective apps
    - Show system apps
    - select Google Play Store
    - tick Enable Hide
    - Work mode = Blacklist (by default)
    - tick Enable all hide methods
    - Choose template: Playstore, from (1)
    - again, don't forget to Save

    Reboot

    But be aware that with the newest Magisk Canary as of yesterday, Riru does no more work (if Zygisk is enabled, where Zygisk is neccessary for DenyList and SafetyNet)

    Therefore, there is a new Zygisk-LSPosed Magisk module (LSPosed bypassing Riru and using Zygisk). In that case Riru and Riru-LSPosed must be uninstalled, new Zygisk-LSPosed installed in Magisk, enabled, rebooted, and all LSPosed modules reconfigured again
    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
  • 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 !!)