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

Search This thread

gaduaxe

Senior Member
Jul 20, 2013
63
5
Hi,

I searched Google & Forum but without luck so I post here: Is there any solution for integrate Youtubve Vanced directly into Android Auto?
 

berndbread

Member
Feb 7, 2017
48
10
Hello Team,

Please can you usw in future every time a higher Version number for Youtube than the latest official Version number? It is Vetter for the play store, so we will dont See Youtube in play store available. And because of this we can't youtube update by mistake.
 
  • Like
Reactions: TomiLynch

zgfg

Senior Member
  • Oct 10, 2016
    5,307
    2,606
    Hello Team,

    Please can you usw in future every time a higher Version number for Youtube than the latest official Version number? It is Vetter for the play store, so we will dont See Youtube in play store available. And because of this we can't youtube update by mistake.
    It will not help since sooner or later YT will be updated on Playstore, whereas Vanced updates come less often

    If you have non-root Vanced, you don't care (it has different package name than official YT). You could update YT, or uninstall the official YT, doesn't affect Vanced

    For the root Vanced you must disable auto-update for YT in Playstore (not for all apps) or detach YT from Playstore

    Anyway, all that was many times discussed and instructed how-to in this thread, hence if needed, please read the older posts
     
    • Like
    Reactions: rsngfrce

    Maru1

    Member
    Jan 9, 2019
    35
    7
    I get the error Google Play services need to be updated when I try Chromecast. But there is no update for play services on my device, what can I do? Using latest YouTube and micro g
     

    TheMystic

    Senior Member
    Mar 18, 2017
    601
    311
    For those experiencing duplicate Chromecast entries when casting, the problem is caused by microG. But the good thing is microG offers a fix within the app itself:

    Screenshot_20210505-003555.jpg


    Enable 'Cast Duplication Fix'.

    The disadvantage of doing that is that the Shared Control Notification disappears once this switch is enabled:

    Screenshot_20210502-001118.jpg
     

    Hans de Groot

    Member
    Mar 2, 2011
    31
    4
    Hi every one. I just switched to a new phone and installed youtube vanced via the site installed of via magisk. Anyways I was using an odler version of vanced which worked fine. This new version works fine to. but.. In the older version when pleying youtube and going to the home screen or anywhee else I got the PIP window. Which is great. I also get this window in the new version. But with the old version I could close the pip windows by pressing the X you tube stopped playing. The new version does not stop playing and I have to go back to you tube to stop it.
    I have been searching for a setting to change this back to the old ways but I cannot find it. The only thing I can find is to disable background play completly but thats not what I want.

    Any suggetions?

    Thx
     
    • Like
    Reactions: rsngfrce

    celestialspring

    Senior Member
    Sep 19, 2010
    168
    30
    Hi every one. I just switched to a new phone and installed youtube vanced via the site installed of via magisk. Anyways I was using an odler version of vanced which worked fine. This new version works fine to. but.. In the older version when pleying youtube and going to the home screen or anywhee else I got the PIP window. Which is great. I also get this window in the new version. But with the old version I could close the pip windows by pressing the X you tube stopped playing. The new version does not stop playing and I have to go back to you tube to stop it.
    I have been searching for a setting to change this back to the old ways but I cannot find it. The only thing I can find is to disable background play completly but thats not what I want.

    Any suggetions?

    Thx
    You can drag down to end of even - push it into the background from PiP. For me it stops playing when I do that.

    Sorry it's not a full solution to the issue you have but at least it will stop the playback.

    You can then go and close it from the drawer drop-down.
     
    • Like
    Reactions: rsngfrce

    YashejShah

    New member
    Jul 19, 2020
    1
    0
    Try checking each file downloaded by Vanced manager with VirusTotal and you will also find dark.apk and black.apk detected as trojan (Android.Win32.SpyNote.e).
    The previous version (v16.14.34) was clean (not detected as virus/trojan). You may try to find that version in github. But my only concern is why YouTube Vanced (the main app) requires so many permissions including reading and sending messages, reading contacts, NFC and so on. Vanced Manager and microg don't require such permissions.
    Yes even I checked it it was true please dev fix this or give a statement.
     

    Attachments

    • Screenshot_20210507-235746956.jpg
      Screenshot_20210507-235746956.jpg
      187.2 KB · Views: 89

    rsngfrce

    Senior Member
  • May 13, 2012
    743
    421
    NorCal
    Yes even I checked it it was true please dev fix this or give a statement.
    If you are concerned when one out of all the sources VirusTotal uses detects a virus, then I don't think you understand the purpose of using VirusTotal. Also, MaxSecure is considered a very basic and simple anti-malware solution and MaxSecure itself has been reported as containing a virus by other antivirus programs.
     

    Top Liked Posts

    • 2
      Hi I have Samsung Galaxy s10+(G975 F_Non rooted). I have installed youtube vanced (16.20.35) with help of vanced manager. Initially it was not working after updating with latest samsung update (patch 1May2021). It somehow start working. Bit now i can't cast anything with vanced app to my chromecast. However, chromecast working perfectly with default youtube app. When i try to cast it with vanced app it redirect to some play store page which always say try again. Any solution

      N.B: I'M newbie and haven't experimented many things yet but wanna do so without bricking the phone.
      Hi please search the forum before posting. The Chromecast feature is broken in the latest release for non-root version (in fact in all 16.xx.xx release).

      Here is a link to changelog, kindly visit it.


      Thank you 🙏
    • 8
      Hi team Vanced,

      Why don't you use high version numbers so the PlayStore can never replace the YT app?
      Example by adding a "9" before :
      916.16.38 > 16.16.38
      915.43.32 > 15.43.32
      Etc.

      Don't know if it's possible, but sounds like a very good idea, if you ask me.
      YouTube is a bit of a black box. As a dev, I know I have seen code which internally checks version number to handle explicit features. It may work, I am not saying definitively that it wont, but it may also break something. I am going out on a limb, that they are trying to do as little fiddling as possible, while enabling the extra features, and thus minimise the risk of the unknown. We already can stop upgrades from the playstore numerous ways. Including the fact they have gone out of their way to create a non-root version. totally disconnected from GYT updates.

      Also, being someone who has written a working detach system, I know that there is much much MUCH more in the background identifying YouTube, than the app name and version number.
      7
      Sorry I'm late for this release guys. Recently closed on a house, and unfortunately not everything went quite according to plan. But overall worked out, so no worries. =)

      I see @zgfg already uploaded a Magisk installer, but I figured I would post this anyway. For the sake of completion, and to keep the "index" going from my original Magisk release post.

      ***Magisk Files for YT Vanced v16.20.35***

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

      YouTube 16.20.35 .APKS / YouTube Vanced 16.20.35 Magisk Modules:
      YouTube-Vanced-16.20.35-Dark_Magisk.zip: https://www.androidfilehost.com/?fid=14943124697586350411
      YouTube-Vanced-16.20.35-Black_Magisk.zip: https://www.androidfilehost.com/?fid=14943124697586350409
      Stock YouTube 16.20.35 APKS (.zip file): https://www.androidfilehost.com/?fid=14943124697586350419
      (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!
      3
      I have been searching for an issue that me and many other users are facing, there YouTube Vanced is NOT working with Chrome Cast, I get an error message telling me that I need to update Google Play Services even though it's well updated! The problem is only appearing with YouTube Vanced! All other apps with Chrome Cast support are working fine!

      I have removed YouTube Vanced, reinstalled everything but with no luck!

      This issue appears in 2 phones:
      Samsung Galaxy S21 Ultra (Snapdragon)
      OnePlus 8T (Snapdragon)
      Android 11
      NoN root YouTube Vanced

      View attachment 5319527

      View attachment 5319529
      Screenshot_20210526-074611.png
      3
      I have disabled but it's doesn't work
      I had the similar problem when I used too restrictive adblocker. Actually, I was using Private DNS: dns-family.adguard.com

      With that, I was unable to disable Restrictive mode (YT complained that network forces my restrictions or something like that, it took me time to realize what was really the cause)

      When I finally changed the Private DNS to the less restrictive: dns.adguard.com (later I even turned Private DNS off) I was able to disable Restrictive mode in the YT(V) Settings and comments started to show again
      3
      Guys, I really apologise if this has been asked before, but I can't find it.
      Is it normal that the brightness will go up to 100% every time I rotate my phone (Poco F3) into horizontal view?
      I couldn't find any setting that prevents this from happening and it really is some kind of annoying when the brightness rises to maximum 😳.
      Using the newest non-root Vanced.
      Several posts about brightness since May 15.
      Scroll back to catch-up, I just found them from XDA app, Search in this thread (for Brightness) option - three of them (Search will find more):

      Edit:
      I don't know why it shows for all three links the same text from the OP post #1: "Before posting...", but if you click on them,it will open three different posts about the 100% brightness issue
    • 1622
      ‼️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

      542

      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 !!)