• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

Sharky444

Senior Member
Sep 22, 2011
178
30
Does anyone of you own an Android Media Player where Youtube Vanced runs perfectly, including full remote control capabilities (no mouse cursor)?

If so, please tell me the name of the device.
 

Wikdclown

Senior Member
Dec 20, 2013
163
53
plus.google.com
On MI box 4 sometimes videos will glitch and show messed up video, but audio plays fine for a few seconds, then it will hard lock the MI box and I have to unplug it.

Edit: More info
On the videos it does this with it does it at 10 seconds no fail everytime.
 
Last edited:

KaMyKaSii

Senior Member
Feb 25, 2015
1,378
660
On MI box 4 sometimes videos will glitch and show messed up video, but audio plays fine for a few seconds, then it will hard lock the MI box and I have to unplug it.

Edit: More info
On the videos it does this with it does it at 10 seconds no fail everytime.

Did you enable the option to force VP9? From what I've heard, the processor change in the Mi Box 4 led to the loss of VP9 hardware decoding
 
Last edited:
  • Like
Reactions: Wikdclown

andronikal659

Senior Member
Sep 28, 2011
707
116
Montreal
98% of videos are 16:9 on YT. And 100% of the videos I play are 16:9.
Vanced has Codec and Resolution overrides....I would think that an auto zoom would be an easy no-brainier to include.
After all, nearly every standalone video player app out there has toggle options to zoom video, fit to screen, etc.

That would be a nice feature to have by default depending on our phone screen size ratio. Newer phone is 18:9... Pinching to zoom manual is ok but imaging doing it for every video or when switching from portrait to landscape mode; you have to pinch to zoom again, every time. Is there no auto "fit to screen" option Vanced can implement?
 

acidspider

Senior Member
There is warning of this happening to "some" users in the readme file. Did I you read it? Well you can fix that
Run the following commands in terminal and reboot


Or

Try this:
Download Disable Service from the Play Store and install it
Open the app and click on "System" to show system apps list
Scroll down to find "Google Play Store" and click on it
Enable "DailyHygiene$DailyHygieneService" (which will be in red, since this is the service that the detach module disables)
Reboot and profit!


Instructions originally posted by @shadowstep

Edit: guess the first one doesn't work anymore. And there is a new app for the second one. Check a couple posts down.


Not had any luck with these, what readme file?
 

The Analog Kid

Senior Member
Dec 5, 2013
835
164
Don't find that post and really don't understand if I have created Branded account for a reason why should I now merge it with my original account?:rolleyes:
It's also in the OP (FAQ)...


Sent from my Moto Z2 Play using XDA Labs
 

Attachments

  • Screenshot_20181231020240.jpg
    Screenshot_20181231020240.jpg
    85.8 KB · Views: 792

bamn

Senior Member
Jul 23, 2010
207
74
Don't know if feature request are appreciated, but I would love to be able to cast YouTube to my Chromecast audio.
I would definitely buy you a cup of coffee for trying!

Happy new year all!
 

TheAnanyo

Member
Sep 4, 2017
6
1
Issues after Pie

After the pie update on my OnePlus 5t, there are a couple issues I'm facing.

1. The word "swipe" shows up above the play button for some reason.
https://imgur.com/a/k13APKk

2. If I go in PiP mode and then go fullscreen, the video suggestions that you can pull up in fullscreen mode (idk what they're called) don't work.

All the settings are as they were in Oreo.
 
Last edited:

mrsubway

Senior Member
Dec 3, 2009
1,021
372
Bronx, NY
Hey guys. I may have discovered something. I switched back to the rooted version and, of course, was seeing updates in the Play Store. I flashed an old detach zip I had, and it worked for a few hours, but then YouTube reappeared. Anyhow, I cleared my cache and art last night. I do it every so often. Now, YouTube is gone from the Play Store and hasn't returned yet! Weird. I'll update if it comes back. I'm on Oreo 8.0, rooted.
 

Wikdclown

Senior Member
Dec 20, 2013
163
53
plus.google.com
Did you enable the option to force VP9? From what I've heard, the processor change in the Mi Box 4 led to the loss of VP9 hardware decoding

Enabled it and the video still went pink and green but at least it didn't lock up anymore. After some tinkering I found it was because I had set the video resolution to higher than the MI box was set, after putting them both on same resolution all videos play perfectly now.
 
  • Like
Reactions: sjamie

speedingcheetah

Senior Member
Feb 25, 2011
1,225
138
Equestria
That would be a nice feature to have by default depending on our phone screen size ratio. Newer phone is 18:9... Pinching to zoom manual is ok but imaging doing it for every video or when switching from portrait to landscape mode; you have to pinch to zoom again, every time. Is there no auto "fit to screen" option Vanced can implement?

Yea. I would think an option to always force "fit to Screen" would be easier to implement a , Play to external player app, feature, like Emby has. Where it will stream the video to say, MX Video Player Pro, that has plenty of video resizing options, among other things.
 

andronikal659

Senior Member
Sep 28, 2011
707
116
Montreal
Yea. I would think an option to always force "fit to Screen" would be easier to implement a , Play to external player app, feature, like Emby has. Where it will stream the video to say, MX Video Player Pro, that has plenty of video resizing options, among other things.
Yep, the Samsung video player too but it doesn't remember the settings. You have to set it every time you launch. I still think it's feasible on YouTube vanced since it remembers all other settings. This, can be done when app is launch or all videos.
 

psolord

Senior Member
Oct 1, 2012
68
8
I don't follow, what exactly do you want us to do? We provide all the architectures that Google themselves does (armeabi-v7a, arm64-v8a, x86, x86_64).

You have already done a GREAT job. There's no question about that.

It's just that I tried the v7a version on my 32bits OS Android mini PC and it was considerably slower compared to the standard version, which was already installed.

Therefore I assumed that v8a 32bits and v7a are not the same thing due to neon not being propery used? I am not sure. Just the link I gave earlier from wikipedia.

However, if you know for a fact that Google provides these exact versions, then I cannot dispute it.

I found a 64bit rom for my box anyway, so all is good now. I installed the 64bit version of vanced.

Keep up the good work and happy New Year to everyone at the team and at the forum.
 
Last edited:
  • Like
Reactions: sjamie

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Following the question of a member, there have been 6 posts going off-topic regarding a question that could have been answered by searching the thread in the first place.
    Do you see where I am getting at?
    Not answering the question led to more clutter, which is against the rules as well.

    You either ignore the post, answer it properly or report it if you deem it necessary, then a Moderator will take a look at it.

    Please keep that in mind and let's get back on topic, shall we?

    Good day 😊
    3
    3
    (Resolved) - [New behavior observed - Automatic inplace video play]

    I am running non-root Vanced app v16.20.35 on Android 11 on my smartphone.

    Since yesterday I have noticed a new behavior in the app and that is it automatically starts playing the video inplace. Once the video is finished the screen is automatically refreshed and the top most video on the screen starts playing inplace. Kindly see the attached image and the circled part. That equalizer type graphics was not there earlier. Also the video time now goes to zero.

    Does anyone know is this something youtube introduced recently. Do note that the feature may be experimental and may not be available everywhere. I do not have YouTube app on my smartphone (disabled) to test it on my own.

    When you open the app for the first time, everything is fine. As soon as you touch the screen for scrolling or anything else then usually the middle video (sometimes it is topmost video, I guess it depends on the focus) automatically starts playing inplace. I could not find any new setting to control it.

    The current way to stop it when the video starts playing inplace, then click it. It opens up like it used to do. Then stop it and minimize it if you want to browse/scroll the videos above or below this video on the page you are coming from. Or scroll down the see the videos available on the current page. Now the videos will not play inplace.

    Please do let me know if you need more information.
    The issue is resolved now. I have found the setting to stop this inplace video play.

    The setting is present in YouTube settings>General>muted playback on home and feeds

    For some reasons I have set this option to "always on" and forgotten about it and hence video was being played without sound automatically.

    Thanks 🙏
    3
    Can confirm, it's definitely more laggy and has stronger appetite now
    Hey vanced has been consuming more power then normal YouTube app has anyone noticed that
    Please be aware that there are root and non-root YT version (you should have seen that when installing), with different architecture.
    Comments without specifying what do you talk about are pretty much useless.
    Also, if non-root version consumpts too much power, take attention does the app consumpts or MicroG.
    Btw, it's already observed and commented, take time to read the thread back and/or use search
    2
    the battery drain issue seems came back on Youtube v16.20.35 on my Note20 Ultra (Android 11).

    could you please check?
  • 1630
    ‼️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

    543

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