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

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

Search This thread

madbat99

Senior Member
Mar 1, 2014
5,538
3,287
Video looping isn't working. I have latest magisk version on oneplus 5t
You mean Auto repeat? I've never heard "video looping". Try the search function of this thread. And, did you turn on auto repeat in Vanced settings-misc

---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------

Didn't you say that it's not working for you?
And you said it is working for you. Hence his comment "maybe it's not a problem that we all find".
 
Last edited:

j-a-d-z

Senior Member
Oct 30, 2013
553
278
Google Pixel 4a 5G
Google Pixel 5
I just checked the websites and the new version is back up again (v13.23.58), but the MD5 hashes are different from the ones of the previously uploaded v13.23.58, which means that the ones that are available for download now are indeed newer. :)
You are right.

Old version: old style minimized video does not work

New version: old style minimized video does work

Nexus 5X with stock rom, june 2018 update
 
  • Like
Reactions: nick491

Marvino.

Senior Member
Nov 7, 2014
374
199
Egypt
Samsung Galaxy Note 3
I ran across the same issue and this zip file saved me..

Flash this Zip on TWRP from this post.. and that's all you have to do to detach Youtube.

All thanks to @edzamber
Flashed that zip and now all the installed apps from store have been detached. How can I revert the changes?

Sent from my Galaxy Note 3 using XDA Labs
 

Attachments

  • Screenshot_20180620-203356.png
    Screenshot_20180620-203356.png
    43.5 KB · Views: 781
  • Screenshot_20180620-203402.png
    Screenshot_20180620-203402.png
    36.3 KB · Views: 781
Last edited:

laura almeida

Senior Member
Jun 30, 2013
1,053
3,086
Toronto
Flashed that zip and now all the installed apps from store have been detached. How can I revert the changes?
Run the following commands in terminal and reboot
Code:
su
 
pm enable 'com.android.vending/com.google.android.finsky.dailyhygiene.DailyHygiene$DailyHygieneService'
 
pm enable 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene$DailyHygieneService'
 
am startservice 'com.android.vending/com.google.android.finsky.dailyhygiene.DailyHygiene$DailyHygieneService'
 
am startservice 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene$DailyHygieneService'
 

madbat99

Senior Member
Mar 1, 2014
5,538
3,287
Flashed that zip and now all the installed apps from store have been detached. How can I revert the changes?
That's why that isn't recommended by op. That's also why detach isn't automatically included in the magisk repo version any longer, and why it takes special steps to detach now. Because that happens to some people. And if you have to jump through some hoops to detach, you likely know how to undo it if you get this problem. But since someone posted a nifty flashable zip, now we see users with this issue. Great...

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: ninja'd by @laura almeida
Lol
Also 1 upped me for simplicity (her method doesn't require an app install... Unless you don't have a terminal app. Lol)
 
Last edited:

Marvino.

Senior Member
Nov 7, 2014
374
199
Egypt
Samsung Galaxy Note 3
Run the following commands in terminal and reboot


That's why that isn't recommended by op. That's also why detach isn't automatically included in the magisk repo version, and why it takes special steps to detach now. Because that happens to some people. And if you have to jump through some hoops to detach, you likely know how to undo it if you get this problem. But since someone posted a nifty flashable zip, now we see users with this issue. Great...

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: ninja'd by @laura almeida
Lol
Also 1 upped me for simplicity (her method doesn't require an app install... Unless you don't have a terminal app. Lol)
Lol. Thank you guys a million for being so helpful. I followed the procedure of madbat99 and upon enabling the service it rained updates before I even reboot! That's clearly my fault for not reading. Since I'm back to square zero now can someone instruct me to the proper way on how to get it detached solely? Thanks a lot.

Sent from my Galaxy Note 3 using XDA Labs
 

[email protected]

Senior Member
Dec 16, 2012
585
220
Bangalore
Flashed that zip and now all the installed apps from store have been detached. How can I revert the changes?

Sent from my Galaxy Note 3 using XDA Labs

The zip file Detaches only the Youtube app not all the Apps..however if you wanna revert the changes simply uncheck the Detach module from the Magisk Manager that should work I guess...But I haven't tested it
 

krabban

Senior Member
Feb 5, 2014
432
52
Umeå
Just bought galaxy s9 + and installed the non root version. Can Only play 1080 videos.

Since it was 3 years since I had an galaxy s7 . I had sat the screen resolution to 1080 , so found the problem :)

But when I watch either 1440 or 2160 the screen goes dim and bright ?
 
Last edited:

madbat99

Senior Member
Mar 1, 2014
5,538
3,287
Lol. Thank you guys a million for being so helpful. I followed the procedure of madbat99 and upon enabling the service it rained updates before I even reboot! That's clearly my fault for not reading. Since I'm back to square zero now can someone instruct me to the proper way on how to get it detached solely? Thanks a lot.
Not sure you can. For some reason, on some devices, it breaks the auto update in the playstore. Which affects all apps. You're better off just opening the playstore listing for YT, then tap the three dot menu in the upper right corner, and untick the box for auto update. Then YT won't auto update. For a few people it seems to re enable itself, but not for most. You should be all set.
 

Shantara123

Member
Apr 7, 2011
13
5
I have noticed that casting through Vanced app is limited to 1080p resolution. The same 4K videos could be cast at their native res through the official Youtube app. I've tried overriding device resolution checks and video quality in the settings but the issue still remains.

Is this caused by the use of a generic cast interface, not the Youtube-specific one? Any way around it?
 

Meat and GymMeat

New member
Jun 19, 2018
2
0
Hey !
My IYTBP crashes when I try to download a video.
1. I press on download button
2. It prompts me that I'm not premium then propose me to choose "free trial" or "not now".
3. Click "free trial"
4. Application crashes.
I read that someone had the same issue, and he is French, like me

I tried to start the trial from the YouTube on the computer but it requests me to give my credit card and I'm not willing to do so.

I'm on S7 EDGE 7.0
Iytbp: 12.49.55

Is there any workaround please ? :confused:
 

Team Vanced

Member
Mar 3, 2018
14
2,560
vancedapp.com
Hey !
My IYTBP crashes when I try to download a video.
1. I press on download button
2. It prompts me that I'm not premium then propose me to choose "free trial" or "not now".
3. Click "free trial"
4. Application crashes.
I read that someone had the same issue, and he is French, like me

I tried to start the trial from the YouTube on the computer but it requests me to give my credit card and I'm not willing to do so.

I'm on S7 EDGE 7.0
Iytbp: 12.49.55

Is there any workaround please ? :confused:

Very easy workaround, use the official youtube app or web browser to buy the youtube premium. And yes, it asks for the credit card, Vanced does not give you YouTube premium for free.
 

fayzan

Member
Oct 28, 2012
37
3
hello did you get to install the microG? I have my samsung note 8 of stock without root and I can not install it after giving the permission of third parties to be able to install applications.
Go to the settings apps and find any other micro g apps
I had the same issue I had previously installed the micro g app for another app uninstall all and then reinstall it from the website should be good
 

firozpatel

Senior Member
Oct 4, 2014
304
49
Hi guys

How do I get rid of YouTube update from the playstore? My phone is rooted with the latest magisk installed and the latest YouTube module

Any ideas, sorry if it's been answered before
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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
    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
    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
    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.
    2
    A moment ago and all of a sudden, Vanced non root version 16.02.35 lost connection with internet in my two devices, it says "You are offline. Check your connection"... but it's nothing wrong with my connection. Everyone else can watch native YouTube in home, me included. Is there someone else with the same issue?
    Microg issue.

    Force close Micro g. Clear cache and data.

    Hopefully should work.
  • 1638
    ‼️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

    545

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