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

Search This thread

sp0979

Senior Member
Jul 20, 2013
429
108
I'm getting fc during background play after 2 mins as soon as I turn screen off. Any solution please.

I'm using OnePlus 6.
It happens in Pie and Q.
Currently Using stock oxygen os 10.3.3 with xxx debloating. Magisk v20.4
Doesn't happen in Google YouTube or OGyoutube.
Using vanced black magisk 14.21.54
 
Last edited:

Aman Dewett

Senior Member
Jul 5, 2014
240
25
Kapurthala
Rooted installer error:

Device: Xiaomi POCO F1 | MIUI | Android 9 | Using ZipApkSource ApkSource implementation | SAI 3.12

APK file doesn't contain any certificates

Command: pm install-commit 1737797897
Exit code: 4
Out:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1737797897.tmp/69.apk: /data/app/vmdl1737797897.tmp/69.apk failed verification of META-INF/CERT.SF: Failed to verify signature: no verified SignerInfos]
=============
Err:


Helo please...
 

lilbrat

Senior Member
Jun 13, 2011
995
370
Amman
Rooted installer error:

Device: Xiaomi POCO F1 | MIUI | Android 9 | Using ZipApkSource ApkSource implementation | SAI 3.12

APK file doesn't contain any certificates

Command: pm install-commit 1737797897
Exit code: 4
Out:
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1737797897.tmp/69.apk: /data/app/vmdl1737797897.tmp/69.apk failed verification of META-INF/CERT.SF: Failed to verify signature: no verified SignerInfos]
=============
Err:


Helo please...

You might want to add what version your trying to install.. rooted or non rooted... Though I'd guess it's the rooted version , by chance did you disable the signature verification?
 

Eleo

Senior Member
Apr 16, 2012
16,229
14,425
Jena
I did it thought XXXXX
No you haven't (at least not successfully). Answer questions please:
https://forum.xda-developers.com/android/apps-games/app-youtube-vanced-edition-t3758757/post82023305
I'm getting fc during background play after 2 mins as soon as I turn screen off. Any solution please.

I'm using OnePlus 6. And it happened in Pie and Q.
Answer questions please:
https://forum.xda-developers.com/android/apps-games/app-youtube-vanced-edition-t3758757/post82023305

Sent from my Google Pixel 3a XL using XDA Labs
 

xda-yup

Member
Dec 8, 2019
18
12
Hi, love Vanced and trying to get root version running after magisk module died, but failing so posting error encountered using the template from here

0. No
1. Sharp Aquos S2 (SS2)
2. Android 10
3. Latest LOS 17.1 from here
4. YouTube_Vanced-v15.05.54-root-default-dark.apks - file sourced from Op link
5.a.1. Rooted with Magisk v20.4
5.a.2. Used Riru core + Xposed + CorePatch method as per Vanced telegram post and this xda OP.
5.a.3. Steps I performed:
-Uninstalled stock youtube app
-installed Riru – Core in Magisk
-installed EdXposed Manager from GitHub
-While in EdXposed Manager, downloaded latest canary build (SandHook-v0.5.0.0). Flashed downloaded zip in Magisk.
-Downloaded CorePatch 2.2 apk from https://www.lanzous.com/i7z2rqh . Installed apk. Toggled all options in the UI to ON. Rebooted
-In EdXposed Mgr, toggled both EdXposed Mgr and Corepatch to ON. Rebooted
-Downloaded SAI from xda OP link.
-Opened SAI -> Install APKs -> Select the downloaded Vanced apks -> Install. All default SAI settings
-Got this error: https://imgur.com/a/19DSJsl . Error message: APK file doesn't contain any certificates (writing so searchable)
-Due to above failure, retried with SAI root option ticked ON – got similar error: https://imgur.com/a/pXomIEn .
-Zero other errors were encountered during above process.
-Due to SAI error, then tried Xposed YAHFA-v0.5.0.0 instead of Sandhook. Same SAI error. Also tried ALPHA version instead of Canary - YAHFA-v0.4.6.2.4529, same SAI error.
Then while on Xposed YAHFA-v0.5.0.0 also tried to use older corepatch from this post https://forum.xda-developers.com/showpost.php?p=81890805&postcount=2 . Same error.

From what I've found searching for this SAI error message, same issue as here and here
...the responses to those two users say that disabling signature verification did not work, so i assume that's what happened to me somehow. However I believe i did all the correct steps as i was careful and wrote each step down as i did it, and I tried a few combinations after first failure too. Anyway posting this here, if anyone can point out something I may have missed, awesome, otherwise I may try for non-root install instead, or try my luck with old Vanced 14.21.54.
 
Last edited:

Eleo

Senior Member
Apr 16, 2012
16,229
14,425
Jena
...
5.a.1. Rooted with Magisk v20.4
...
-Due to above failure, retried with SAI root option ticked ON
Three things to check:
- in corepatch you need this configuration (check attachment)
- check whether you have "sign apks" enabled in sai settings. It should be turned off. Root should be enabled in SAI settings
- try with canary magisk (i.e. latest alpha) from magisk canary channel

BTW, thanks for in depth report:cowboy:

Sent from my Google Pixel 3a XL using XDA Labs
 

Attachments

  • IMG_20200511_132745_403.jpg
    IMG_20200511_132745_403.jpg
    116.3 KB · Views: 1,588

whitehollow

Senior Member
Oct 14, 2010
147
10
Milano
When I try to download vanced they say the most simple thing is to Dow load via magisk manager but the app is not on the magisk . What happened to magisk app ? Why don't you include in the app a module to be invisible to play store? To download video I use snaptube , why is not o clouded in the app ?
 

thedicemaster

Senior Member
May 10, 2009
1,747
852
When I try to download vanced they say the most simple thing is to Dow load via magisk manager but the app is not on the magisk . What happened to magisk app ? Why don't you include in the app a module to be invisible to play store? To download video I use snaptube , why is not o clouded in the app ?

you're looking in the wrong place then.
magisk is no longer supported because due to changes in youtube's security a magisk version would become the most complicated to install.(basically requiring you to do the root version steps on top of the steps for installing the magisk version)
team vanced no longer advises anyone to install the magisk version.
however if you follow the instructions on vanced.app to the letter(make sure the instruction page is set to the right version) you should have no problems with the root or non-root version.

in some versions of vanced a file is included to hide vanced from the play store, but it's not always very reliable.
search the thread for "detach".

video downloading(other than the official feature for watching offline) is not supported because it would be supporting copyright infringement, and could get the developers of vanced in trouble with Google/YouTube and XDA.
 

TheIntruder

Senior Member
Jun 8, 2010
2,705
676
Bradford
Hi, love Vanced and trying to get root version running after magisk module died, but failing so posting error encountered using the template from here

0. No
1. Sharp Aquos S2 (SS2)
2. Android 10
3. Latest LOS 17.1 from here
4. YouTube_Vanced-v15.05.54-root-default-dark.apks - file sourced from Op link
5.a.1. Rooted with Magisk v20.4
5.a.2. Used Riru core + Xposed + CorePatch method as per Vanced telegram post and this xda OP.
5.a.3. Steps I performed:
-Uninstalled stock youtube app
-installed Riru – Core in Magisk
-installed EdXposed Manager from GitHub
-While in EdXposed Manager, downloaded latest canary build (SandHook-v0.5.0.0). Flashed downloaded zip in Magisk.
-Downloaded CorePatch 2.2 apk from https://www.lanzous.com/i7z2rqh . Installed apk. Toggled all options in the UI to ON. Rebooted
-In EdXposed Mgr, toggled both EdXposed Mgr and Corepatch to ON. Rebooted
-Downloaded SAI from xda OP link.
-Opened SAI -> Install APKs -> Select the downloaded Vanced apks -> Install. All default SAI settings
-Got this error: https://imgur.com/a/19DSJsl . Error message: APK file doesn't contain any certificates (writing so searchable)
-Due to above failure, retried with SAI root option ticked ON – got similar error: https://imgur.com/a/pXomIEn .
-Zero other errors were encountered during above process.
-Due to SAI error, then tried Xposed YAHFA-v0.5.0.0 instead of Sandhook. Same SAI error. Also tried ALPHA version instead of Canary - YAHFA-v0.4.6.2.4529, same SAI error.
Then while on Xposed YAHFA-v0.5.0.0 also tried to use older corepatch from this post https://forum.xda-developers.com/showpost.php?p=81890805&postcount=2 . Same error.

From what I've found searching for this SAI error message, same issue as here and here
...the responses to those two users say that disabling signature verification did not work, so i assume that's what happened to me somehow. However I believe i did all the correct steps as i was careful and wrote each step down as i did it, and I tried a few combinations after first failure too. Anyway posting this here, if anyone can point out something I may have missed, awesome, otherwise I may try for non-root install instead, or try my luck with old Vanced 14.21.54.
That's how to do a report, good man!
Others take note!!!
 

sp0979

Senior Member
Jul 20, 2013
429
108
Fc problem during background in 2 mins after screen off.

I'm using OnePlus 6.
It happens in Pie and Q.
Currently Using stock oxygen os 10.3.3 with xxx debloating. Magisk v20.4
Doesn't happen in Google YouTube or OGyoutube.
Using vanced black magisk 14.21.54
 

Eleo

Senior Member
Apr 16, 2012
16,229
14,425
Jena
Fc problem during background in 2 mins after screen off.

I'm using OnePlus 6.
It happens in Pie and Q.
Currently Using stock oxygen os 10.3.3 with xxx debloating. Magisk v20.4
Doesn't happen in Google YouTube or OGyoutube.
Using vanced black magisk 14.21.54
Enable background memory/battery usage for the app from your system. That is one of the main reasons why this app FCs in background. Most chinese devices (like OnePlus) have aggressive memory cleaner that removes apps from background to save battery/RAM. Check your device manufacturer to see how you can do it.

And you didn't provide any logs, so we cannot tell why or how it FCs. Please answer all parts if you want a real troubleshoot.

Cheers.

Sent from my Google Pixel 3a XL using XDA Labs
 
  • Like
Reactions: sp0979

nirogu325

Senior Member
Oct 15, 2010
3,553
1,880
Amazon Fire HD 8 and HD 10
Amazon Fire
Fc problem during background in 2 mins after screen off.

I'm using OnePlus 6.
It happens in Pie and Q.
Currently Using stock oxygen os 10.3.3 with xxx debloating. Magisk v20.4
Doesn't happen in Google YouTube or OGyoutube.
Using vanced black magisk 14.21.54
OP6 user here. Turn off Sleep Standby Optimization buried inside Battery at Settings (battery > battery optimization > tap on 3 dots icon in the upper right corner). Also turn off battery optimization individually for Vanced YouTube and (if you also have it) MicroG. It should read Don't Optimize for both apps. Reboot and enjoy.
 
  • Like
Reactions: sp0979

sp0979

Senior Member
Jul 20, 2013
429
108
OP6 user here. Turn off Sleep Standby Optimization buried inside Battery at Settings (battery > battery optimization > tap on 3 dots icon in the upper right corner). Also turn off battery optimization individually for Vanced YouTube and (if you also have it) MicroG. It should read Don't Optimize for both apps. Reboot and enjoy.
Thanks bro. But I knew that settings. Issue is Youtube vanced is not visible in battery optimization.
 

sp0979

Senior Member
Jul 20, 2013
429
108
Enable background memory/battery usage for the app from your system. That is one of the main reasons why this app FCs in background. Most chinese devices (like OnePlus) have aggressive memory cleaner that removes apps from background to save battery/RAM. Check your device manufacturer to see how you can do it.

And you didn't provide any logs, so we cannot tell why or how it FCs. Please answer all parts if you want a real troubleshoot.

Cheers.

Sent from my Google Pixel 3a XL using XDA Labs
I have checked already, background data is on.

Don't know to create log cat hence didn't attach. If you can guide me on that, would be thankful
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Huawei P20 Pro - Android 9.1
    New version of YouTube Vanced (16.02.35) with new version of MicroG (0.2.18. 210390), not working. I can't sing in to my accounts.
    Perhaps you don't have a great singing voice? ^_^

    You'll have to give us some more information though. Which steps did you follow? Did you respect the order of installation (MicroG first)? Using Vanced Manager?
    4
    I'm rooted, do you mind share the TB method to detach? Thanks
    Titanium backup is incredibly outdated and 90% of the features no longer work.
    For best detaching results use this app
    Thread '[APP][TOOL] TeMeFI comprehensive system Administration' https://forum.xda-developers.com/t/app-tool-temefi-comprehensive-system-administration.3806260/
    3
    Jokes aside. v16 has had this issue of users not being able to sign in. Downgrading to 15.x solves the issue.
    Ah yes but the manager knows and guides the user through this; it's truly genius. Absolutely amazing how far a "silly" Xposed mod fork has come.
    2
    Anyone else using sudohide suddenly finding its not hiding YouTube/vanced from the play store anymore?
    Found a forked branch of the original sudohide and it's doing the job, just in case anyone else has the same issue

    2
  • 1600
    YouTube Vanced

    Vanced is a well known modded version of YouTube with many features such as adblocking and background playback, the full list can be found below:


    The one and only, official Vanced website There are other sites that are fake, contain ads (possibly even malware) and have older versions. Always check from the official site or from here at XDA.




    Read the first and second post before asking/posting anything.


    Features:
    • YouTube Vanced IS NOT YouTube Premium
    • Blocks all YouTube ADs (some options are togglable)
    • Background playback feature
    • Force VP9(or HDR) or vice versa
    • Override Max Resolution
    • Pinch to Zoom on all devices
    • Casting togglable (can be forced off)
    • Togglable Theme (White/Dark/Black)
    • PiP (Oreo Only)
    • Video window new or old style
    • Repeat video feature
    • Preffered Resolution & Speed feature
    • Swipe controls for Volume and Brightness
    • New Logo by @Logan

    Downloads:
    Vanced website (GDrive) (All versions)
    Alternative Mirrors: AFH (rarely updated) Mediafire (only the latest)

    Since YouTube v14.41.52, Google has moved to split APKs. The Android package installer doesn't support split apks yet, so we are using SAI as an Alternative apk installer.

    Installation Instructions:

    Non-Root:
    Steps:
    1. Download and Install microG Vanced (If you don't install microG, YouTube will crash on starup)
    2. Download latest version of YouTube Vanced
    3. Install Split APKs Installer (SAI) from Google Playstore
    4. Open Split APKs Installer (SAI) -> Install APKs -> Select the downloaded Vanced apks -> Install
    5. Done! Enjoy!

    For MIUI users, follow these instructions -> How to install v15 on MIUI

    Root:

    Since YouTube v14.41.52 Google has moved to the new APK Signature Scheme v3 and because of that it's impossible to mod system apps without disabling the android's system wide signature verification.

    THIS IS HIGHLY NOT RECOMMENDED. DO NOT DO THIS UNTLESS YOU DON'T REALLY CARE ABOUT SECURITY.

    Steps:
    1. Disable apk signature verification. (Don't ask us how to do it. we don't recommend doing it)
    2. Download latest version of YouTube Vanced
    3. Install Split APKs Installer (SAI) from Google Playstore
    4. Open Split APKs Installer (SAI) -> Install APKs -> Select the downloaded Vanced apks -> Install
    5. Done! Enjoy!

    Magisk:

    As we are disabling signature verfication, root version are installed to /data/app and /system/app. So magisk module is useless now and makes nonsense to us.
    Therefore, Magisk version is discontinued.


    Known bugs:
    1. What bugs? Never heard of them. :D
    2. Buying things within the nonroot version of the app causes crash. Likely due to MicroG but tbh, it's better this way for your security. Just use original youtube to buy the stuff you want.
    3. Ok, not really a bug but since people don't read it's experimental, ExoPlayer V2 might be causing crashes when coming back from background playback on some devices.
    4. Non-Root stuck on I Agree Page? -> https://forum.xda-developers.com/showpost.php?p=79419977&postcount=9772

    Old version info:

    Installation Instructions:NB!

    Non-root: Install the apk normally and install microg found in the download links above.

    Root:
    1. Download the official installer found in downloads above
    2. Select a suitable apk for your device (check your architecture using an app such as CPU-Z) and the secondary theme you want to. (All apks include the white theme)
    3. Place the downloaded apk into /sdcard/Downloads or inside the installation zip
    4. Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so)
    5. Flash the installer in TWRP
    6. Profit!
    Magisk:

    There are a total of 3 ways to install the module via magisk.
    The first and most simple way is to install it via the magisk repo and it is the recommended way.
    The second way is to place "Install via magisk.plz" or enable magisk install in the settings.sh from the root installer.
    The third and final way is to use the magisk modules provided on the Download Mirrors.
    Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so). Updated app will override the app installed in the system partition so even if the mod installation succeeds, you will not see it.


    Explanation of the (Ad)Vanced options of the official installer:
    Vanced makes use of both a settings.sh and plz files as parameters while installing.

    Using the settings.sh
    • SEARCHFOLDER - Path where to search for iYTBP Apk's (must be a subfolder on sdcard!)
    • MAGINSTALL - Use magisk installation instead of root installation. (Possible Values: YES/NO)
    • DETACH - Detach Youtube from playstore to disable update notifications. (Possible Values: YES/NO)
    • ATTACH - Attach Youtube to playstore if it was previously detached. (Possible Values: YES/NO)
    • UNINSTALL - Completely uninstall iYTBP: root version, magisk module and detach module (Possible Values: YES/NO)

    Using the plz files (Use only the ones you want)
    (All should be placed in /sdcard/Download/)
    • iYTBP_install_via_magisk.plz - Use magisk installation instead of root installation
    • iYTBP_detach_from_playstore.plz - Detach Youtube from playstore to disable update notifications.
    • iYTBP_attach_to_playstore.plz - Attach Youtube to playstore if it was previously detached.
    • iYTBP_uninstall.plz - Completely uninstall iYTBP: root version, magisk module and detach module.


    Thread Managed by @ZaneZam, @Razerman, @KevinX8 and @laura almeida
    Social links​
    540
    BUG Reports

    Steps to do before reporting a bug
    1. Do a search and see if it has already been reported
    2. Check that the bug is actually a Vanced bug and doesn't happen in the original YouTube.
    Steps to do when reporting a bug
    1. Make sure you are being enough descriptive of the problem.
    2. Take a logcat (Google search if you don't know how). Especially if the issue is a crash.
    3. Taking pictures of the problem doesn't hurt.
    4. If the report is vaque (missing information) it will most likely just be ignored. If you are not going to show any effort in resolving the problem, why should I?

    F.A.Q

    Q.Where did the normal(white) apk go??
    A.White is included in both versions choose the alternate theme you prefer for night time etc.

    Q. How to install updates ?
    A. Just download the latest apk and install as you previously did before.

    Q. Do I need to re-install detach script for every new YouTube Vanced update ?
    A. No!

    Q. Can I install this as I normally install any other apk ?
    A. Only the non root version.

    Q. Can I download videos with this ?
    A. No (and you never will)! but the official YouTube Offline Video feature is working in Supported countries.

    Q. Why is <xyz> variant not available to download ?
    A. We release 2 Unified builds of non root, one with the stock youtube theme and another with an amoled friendly theme. 8 root apks are provided, all of which are nodpi variants as google has become very aggressive in pushing updates that the only way to avoid it is using some form of detaching.

    Q. Installation successful but YouTube is not showing up in launcher, why ?
    A. You did not use the latest magisk version or installer. This only applied for Oreo.

    Q. Does 'Crop to fit' feature work for S8 and S8+ users ?
    A. Yes! It works on the rooted version but not in the non-root since the package name is changed. However, there is an alternative new Pinch to Zoom feature with basically the same functionality.

    Q. Is history working ?
    A. Yes! Make sure you whitelist *s.youtube.com in your adblocker. And non-root users need to check that they are not using a brand account due to MicroG bug. If you are, you need to merge the accounts to get the history working (YouTube Settings) Merging process will clean the current history.

    Q. Does PIP mode works ?
    A. Yes on Oreo Only!

    Q. When will you release the new version ?
    A. Usually within a couple of days after the official apk is available in apkmirror. But please don't ask for ETA!

    Q. Does background playback download video ?
    A. No, it does not. After going into background playback, you will only download audio so there will be much less data usage.

    Q. I can't login on Non-Root, I get stuck on the I agree page. What to do?
    A. For time being, use this workaround here.
    301
    Downloads:

    GDrive (All versions)
    Alternative Mirrors: AFH (rarely updated) Mediafire (only the latest)
    101
    New site up https://vanced.azurewebsites.net/ with latest version of YouTube as base (13.10). Includes some bugfixes and other changes detailed on discord. At the time of writing this post apkmirror lacks apks for arm so you will have to wait a while until it has them and then we will be able to make arm root builds.
    83
    New update is out v13.28.54 with following changes:
    - 13.28.53 Full width search bar fix
    - Translation support for more strings
    - HDR brightness bug fixed when using swipe controls
    - Auto repeat can now be linked to autoplay toggle
    - Top-Swipe paddig range added
    - Seek buttons fixed
    - COMPLETE REWORK of all mods for v13.27+ versions (many thx and all credits to @Razerman !!)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone