yashsingh1/xdaforums huggingface dataset:
[Magisk] AndyDesire:
Still no luck after multiple attempts on the Samsung. I have noticed though that "debloat" is not working on system apps like the google apps as I thought I would disable play and vendor etc and see if I at least get a screen icon from YTV. But nope, then I check task manager and the play store etc are all running, even though they still show as debloated :confused:

I have now tried on a different phone, a Homtom Zoji Z33. Results are the same with debloat not actually working but appearing to be successful. But I have progressed a little further now on this second device. So will try these same methods on the TabA Galaxy later.

It is only Android 8.1.0 but I am seeing the comments in https://xdaforums.com/apps/magisk/module-terminal-debloater-debloat-t3584163 referencing version 10.

Also my system does not have the /data/india/india.img some mention as a possible solution to rename to allow debloat to work.

I have also tried disabling by root uninstaller (mobizsystems version).

I can disable play and vending successfully with this app and they are not running after a reboot.

So this works where Magisk debloat is not working.

So this seems to be something deeper than just YT and YTV and relate to Magisk installs somehow being blocked or crippled I guess.

Anyhow, with google play and vending disabled, YTV has installed and the icon is there after the reboot.

So it must involve those two programs monitoring that is stopping the YTV install working (even though it appears to)

Running it of course then does not work as it says: "YouTube won't run without Google Play services, which are not supported by your device."

Installing the saved apks from "root uninstaller" for play services vending and play store then enable YTV to work.

So to summarise:

1. Restore all system apps debloated using debloat "r"estore option

2. uninstall all modules from Magisk including debloat

3. Reboot

4. Using "root uninstaller" uninstall

a) Play Services

b) Play Store

c) YouTube

5. Reboot

6. Using Magisk, install YTV

7. Reboot

8. Confirm that there is a YTV icon

(If there is no YTV icon at this stage it has failed)

9. If there is an icon it should run but give error: "YouTube won't run without Google Play services, which are not supported by your device."

10. Go to "root uninstaller" and restore the two play apps:

a) Play Services

b) Play Store

11. Reboot

12. YTV should be working

I tried the same on the Samsung Tab A 8 SM-Y355T running Android 5.0.2 but it failed at #8

I then tried instead:

Above 1-5

6. Copy these two files to /sdcard/Downloads

a) ytva-universal-installer-v5.1.zip

b) Youtube_14.21.54-1421542400_API19(arm64-v8a)(nodpi)(vBlack-v2.0.9)-vanced.apk

7. Restart into TWRP Recovery

8. Install from /sdcard/Downloads:

ytva-universal-installer-v5.1.zip

9. Reboot to system

10. Confirm that there is a YTV icon

(If there is no YTV icon at this stage it has failed)

This also failed.

I wonder then what other service I should try disabling on the Android?

Or if there is a manual process of deleting certain files/folders before trying the install?

Thanks
[Magisk] p30pr0:
hello!

i'm having problem with youtube vanced (with and without microG).

Trying to describe problem as much i can: everything works, login and videos, and background play. But after 10-15 minutes, sometimes 20 minutes, app stops playing music/video on background. On lock screen must click manually play, sometimes this wont work too, must open the app.

Because im new to yt vanced, is there a fix or what should i do? Battery optimizer is off for those apps, youtube original app is disabled, phone huawei p30 pro..
[Magisk] brainmaster:
It's because YouTube gets battery optimized from system and system shuts it down when it's playing in background...
[Magisk] DiamondJohn:
Battery optimisations do not protect it from the LMK. Try setting the OOM to -17 (ie invisible to LMK) and see if that helps in identifying the issue.
[Magisk] p30pr0:
Forgot to mention that im using non root version. Where can i set OOM/LMK to - 17? Years ago i was heavy Android user with always rooted devices, custom roms and so on, but now pretty much has changed and i've forgotten knowledge ?
[Magisk] DiamondJohn:
Are you using the non-root because you do not have root? I have always been rooted, so do not know or think that a non root user can set the OOM of an app (maybe possibly itself)

Another possibility (again I do not know if its available for non-root, but maybe) is to test by adjusting to more relaxed LMK values.
[Magisk] Wixcee:
I use 14.21.54 and there is no update in magisk. But when i open up YT Vanced, it always says at the bottom that I should update my youtube app. I use Detach module so there is no update in play store but app it self says I need to update.
[Magisk] garylawwd:
That's Google trying to get you to update to the normal version.

You can still use the app just ignore that message it's not a big deal
[Magisk] Wixcee:
But is there any updated version of vanced? Or, are they going to update it ? :D
[Magisk] garylawwd:
No there is no update yet.

The devs are working on it but Google have completely changed everything in their code so the developers of vanced mentioned they have to completely re-write all there mods as none of them work or they crash on the latest version.

That's a hell of a lot of work for them so patience is key here.

Plus in newer versions of the APK nothing has really changed so why work on something for a long time for absolutely nothing only to get rid of a message on first launch. It's a bit counter productive.

Just give them time people always think they give up just coz it's not updated in a few months and then they surprise everyone with a great update.

Hope that helps. Wishing you a happy Christmas and a very happy new year :svetius:
[Magisk] Wixcee:
Thanks for the answers. They could update their thread by mesdage that they are working on it or something like that. That way maybe people would ask less.. :D still, they did really good job, and for free!
[Magisk] absoluthamm:
Just did a factory reset of my Pixel 2XL and am reinstalling all of my mods, got to reinstalling Youtube Vanced and whenever I try to open it, I just get a force close and the popup of "Youtube Keeps Stopping". The initial screen with the icon in the middle shows up, then it closes. Any tips?

I have tried uninstalling through Magisk twice now and the same thing is happening. I have obviously uninstalled the prior, official version of Youtube, so that's not causing anything. I have tried clearing storage and cache, nothing. The only other modules I have installed so far are V4A, substratum, systemless hosts for Adaway and Audio Mod Library(all of which I had before too without any issues).
[Magisk] DiamondJohn:
logcat?
[Magisk] Timmmmaaahh!:
Here's a crazy idea: remove the Vanced module, reboot, install official YouTube (that's right, from Play Store), then flash Vanced module again and reboot again. What does that do?

Wrapped with delicious Fajita [emoji896]
[Magisk] vegh_mark97:
When I flashed Youtube Vanced through Magisk while having the official app, it literally did nothing.

(It did no [noticable?] modifications to the official app, nor installed the modded one.)

But the idea is great ?
[Magisk] Timmmmaaahh!:
Ah well, worth a shot. It worked for others before, can't work for anyone I guess. That's strange though as it should've made changes. Perhaps disabling it first (if it's a system app) is needed as it then downgrades first. Try the root method now?

Wrapped with delicious Fajita [emoji896]
[Magisk] ms.journie:
I had the same issue until..... I went into Google Play store, searched YouTube and then clicked uninstall. Apparently I must've updated YouTube. One that was one I went to check if YouTube vanced was installed and there it was! Try that and see if this helps
[Magisk] valeriee:
Can someone help please? I have vanced installed but it is not showing in the app drawer. I can't disable the auto updates feature in the app store either as the option is not there? If I install the youtube app from the playstore the app just uninstalls itself very shortly after being installed... So strange. Any help is appreciated!
[Magisk] DiamondJohn:
I am assuming you are running the root version.

Do you have have any OAT directories/files under /system/app/YouTube? I do not think you should for VancedYT. And this "app_chimera" is also suspicious.

Have you tried wiping your dalvik-cache?
[Magisk] nmo_O:
This question is somewhat connected to this thread, but also a general query. I'm not sure when Google changed this, but the tick box to stop automatic updates on an app in Google Play is no longer what it used to be. Now it's the opposite.. the tick box is there to activate (not disable) automatic updates.

How do people work around forcing automatic updates to stop on a single app and not on their entire app library?
[Magisk] absoluthamm:
Figured out what it was, it was a substratum theme that was causing the crashes. The odd thing is that I had the same theme installed before wiping and it wasn't causing any issues. Either way, I disabled the theme for Youtube and it started working :D. Thanks for looking through for me!
[Magisk] urbex:
I too had issues with Vanced via Magisk, on both my current Pixel 3a running official Android 10 OTA (as I need dual SIM support on this phone), and my Moto Z2 Force running LOS16. In both cases, installing the Magisk module appeared to do absolutely nothing at all, regardless of the several different ways I tried doing it suggested here, and I ended up just installing the APK version on both without issue.
[Magisk] bob8490:
Just an FYI for posterity: I had the same issue on my Pixel 3a running Android 10 (QQ1A.200105.002) rooted with Magisk. After installing "YouTube Vanced black themed - Magisk Repo", it would work for a few minutes, but then very quickly would stop. Opening it would result in an immediate crash, with the message "YouTube keeps closing".

I tried reinstalling, rebooting, disabling the official YouTube app, uninstalling the official YouTube app, all kinds of stuff. I either ended up with the same thing OR nothing at all (magisk says Vance installed, but the YouTube app is still stock.)

Eventually I installed "YouTube Vanced - Magisk Repo" (NOTE THE LACK OF "black themed" IN THE TITLE) from Magisk instead.. and it's been working fine.

The only difference seems to be that the "black themed" version is true black for OLED screens. Well.. and that it doesn't work.
[Magisk] kakabobo:
how to remove the orginal youtube preinstalled on pixel 3 ?

unable to delete from /system/product/apps folders
[Magisk] urbex:
You don't. Just uninstall updates, and/or disable it.
[Magisk] haaffizzzz:
Is there a fix to Youtube Vanced not syncing/ being able to log into google accounts ? I'm on Pocophone F1 Android 10, Magisk 20.3

UPDATE: Fixed I just had to reinstall the module lmao
[Magisk] rzr86:
sorry for that kind of question but i need to know

magisk is similar to xposed framework?

if not can i have both magisk and xposed framework installed?

i have already installed xposed framework

thanks in advance
[Magisk] Timmmmaaahh!:
I don't see how Xposed is relevant here..

In a way they are quite similar, yes. The most important difference to most users is that Xposed trips Big G's SafetyNet while Magisk knows how to stay hidden. Magisk does not alter system files as it redirects system changes elsewhere via the boot image. Of course, the bigger story is much more complex but I think that's what's most important to know.

Yes, they can exist simultaneously on the same system. In fact, Xposed can be a module of Magisk. I believe Xposed has been discontinued and a new fork, EdXposed, is now the new standard. It's been ages since I used anything related to Xposed as I find more than enough satisfaction with Magisk modules.

If you already installed Xposed, what root solution did you use to achieve that? Magisk?

Mind that this isn't the place to discuss the differences at great length so I would advise doing some research on your own, keeping the above in mind.

Wrapped with delicious Fajita [emoji896]
[Magisk] rzr86:
i know it is irrelevant to discuss that here

no i didn't use magisk for root

unfortunately i didn't catch you, i already took the answer i needed

thanks by the way for the info

note: the mods can remove my post above if they want
[Magisk] hellcat50:
you can alternatively clear the app data. No need to reinstall the module
[Magisk] hooddy:
Trying to disable stories and its wont works in any settings - on or off. I'm using latest one build. Advice me please how to disable stories coz its annoying.

And btw PiP is always enabled.
[Magisk] nmo_O:
Can someone please explain to me how they disable youtube app updates from installing? I'm talking about ONLY the youtube app, not all the apps on your phone.
[Magisk] guest4711:
How about "ignore updates" in playstore? Afair there should be such setting in the hamburger/3dots menu after selecting youtube in playstore.

(I don't own any device where play store is installed.)
[Magisk] nmo_O:
That option no longer exists there. Or rather it's been changed to the reversed.. now it says "enable auto updates" instead of "disable auto updates". I added a screenshot :)
[Magisk] guest4711:
So it should not be updated if switched off (as in your screenshot).
[Magisk] nmo_O:
Yeah, but it does. It updates automatically since the global setting is set to update all apps.
[Magisk] Timmmmaaahh!:
Not entirely correct. It should actually skip YT, even when global updates are enabled. And usually it does this correctly, at least on my end. But occasionally (monthly, if I had to guess) it does "forget" and updates anyway. When tapping the 'Update all' button it always asks if I want to skip apps with disabled auto updates (and tries pushing me to update anyway). This is an interesting train of thought. What if we disabled the global updates and manually enabled every app to auto update except YT? If that works, someone could make a script that automates this process. Just putting that out there. When I find some time, I'll at least try that myself!
[Magisk] Tigerevo:
I saw a question about this but it was in hacking section now can't find it . The person asked how to install Vanced after YouTube update ? Well I factory reset my phone for other reasons but vanced worked just fine . Oh I'm on j7 perx rooted magisk, have xposed installed . I noticed YouTube version was 13 ... so I updated to 15 ... now vanced didn't work . So I could not uninstall update in my app section . I used lucky patcher to uninstall you tube . .. then the vanced logo popped up . It didn't work . I reinstalled it using magisk , rebooted and now it's working fine . Hope that helps anyone out there . Oh and I love Vanced ! Thank you
[Magisk] Bramton1:
I use Titanium Backup for blocking updates (about the only thing I use it for anymore). Menu - - > Market Auto Updates - - > Search YouTube - - > remove the blue checkmark - - > click the green checkmark in the top right
[Magisk] DiamondJohn:
The techniques I have read on here are (there may be more, I use my own system, method 5):

1. Use the NON-Root version

2. Use the exposed module. It appears to be the only 100% fix for the root version

3. Use the detach script. Not 100%

4. Use all auto updates and turn auto updates off for YouTube. i think I have read that it fails now and then.

5. I personally use an SQL trigger, which duplicates the detach script effects, but does not run every minute, and will NEVER allow the YouTube record to exist, while the detach script could possibly allow the record to exist for 1 minute. Even with this, YouTube appears in the list, but killing PlayStore, and restarting it makes it go away allowing an Update ALL.

Do you know what TiTB is doing in the background?
[Magisk] xxTECRAxx:
I've had TB for 5-6 years and NEVER ONCE KNEW ABOUT THIS! THANK YOU! been using SD MAIN to freeze, export, delete, and manage the applications.
[Magisk] ldeveraux:
Was that a question or a dig at TB?:confused:
[Magisk] DiamondJohn:
Seriously, it was an honest question! Sorry, but I cant even see how it could be interpreted as a dig at TB:confused:
[Magisk] thx84:
This solution doesn't work for me, YouTube still shows up in the updates' list
[Magisk] ldeveraux:
Are you concerned about TB's background actions? I don't understand the point of your question. It does in the background exactly what every other app does in the background. Anything it can given the permissions you provide.
[Magisk] DiamondJohn:
I am not "concerned" or worried in anyway, I am only "curious". As a dev, I want to understand the technical details on "how". By understand that, it may be possible to see an adjustment to improve upon it.

It may or may not do things "exactly" the way "every other app does it". And there are not that many different ways currently, so if its something different, then thats more knowledge.

I mean, does it simply do the delete of the exact same records that the Magisk detach script does? If so, then THAT is simply the answer. If not, then I would simply like to know what it does. If it does the same method (ie delete) as the detach script, then it will fail exactly like the detach script. BUT, if it does something different....
[Magisk] haaffizzzz:
Is there a problem with YouTube Vanced ? Thumbnails aren't loading. ?
[Magisk] pykko:
Display bug in search results

I am using YouTube Vanced non-root black (latest version) on my Samsung Galaxy S7 (android 8).

This is how my search results display since yesterday. What can I do ?
[Magisk] forzalaquila:
Same for me

Inviato dal mio Z2 Plus utilizzando Tapatalk
[Magisk] Caniv:
Hey guys,

For some reason i can't get Vanced to work.

I have other Magisk modules that go work (call recording), so i assume the issue isn't work Magisk.

After installing the mod, i disabled updates in appstore, and disabled YouTube and enabled it, including a restart of course. The only thing i don't understand is how to uninstall app updates, like i did in my previous phone, which is why i disabled the app, hoping it would do the same.

Same issue as here, no option:

https://forums.oneplus.com/threads/uninstall-app-updates.1003506/

Can anyone assist me with this, please?

General info:

OP7 Pro

Oxygen OS 10.3.0.GM21AA

Magisk 20.3

Magisk Manager 7.5.1
[Magisk] doubledragon5:
You know what? I find odd, after uninstalling YouTube via titanium backup and root. . Then installing YouTube vanced. I find it strange that YouTube updated itself. Anyways to the normal YouTube. I even uncheck automatic updates. In settings up at the Play Store.
[Magisk] Caniv:
See you by any chance using OxygenOS as well?
[Magisk] doubledragon5:
Nope UN7 TW rom in the Sprint Fourms. I uninstalled it again via Titanium Back up and Root. The reinstalled Youtubevanced. We shall see how long it last.
[Magisk] Vaizen:
Trying to install the latest nonroot version with SAI and it always says that it can't be installed because it conflicts with another app with the same name.

Really strange because I've unistalled the previous version and rebooted with no luck.

I'm on Android 10 galaxy note 9 of course not rooted

[Edit] Problem solved. It should be stated in the instructions that you have to disable "sign apks.." in SAI options in order to install Vanced.

Thank you for the so long-awaited update
[Magisk] KevinX8:
Sad to announce this but YouTube has reached a stage where it seems impossible to create a magisk module out of the root apk so it's with great sadness that we must discontinue the magisk module as it serves no purpose anymore, for instructions on how to install the updated root version you can find them on the Vanced website Vanced.app, A mod can close this thread if they wish but we are going to discontinue the magisk module unless someone figures out a way of keeping it going :(
[Magisk] locolyric:
i will keep using my magisk youtube vance until end of life. :D
[Magisk] Timmmmaaahh!:
That's the spirit! lol...

Thank you, Kevin, for all the time and effort that has been put into this module. I've been a Vanced Magisk module user ever since it saw the light of day and I hate to resort to the other methods now. for me Magisk modules are the best way to tweak/add functionality to a device without having the downsides of (Ed)Xposed and retaining a high level of security. I do hope this'll be revived one day. With so much ingenuity around these parts, someone just has to find a solution! Perhaps sir [MENTION=4470081]topjohnwu[/MENTION] has a few tricks up his sleeve to breathe new life into projects like this.
[Magisk] XtraWater:
I updated successfully the root version. Since magisk module not longer will be supported, may I uninstall the magisk module without losing vanced app?
[Magisk] TNSMANI:
MOD EDIT:

Thread closed as per OP's post on pre-page.
[Magisk] Subray:
I think your not the first to say something about the history but again if I don't have the problem it may not be a mod problem.

My installation was as simple as not having YouTube installed.. Downloading the mod thru magisk manager. Afterwards I edit it to remove the x86 and arm folders since mine is arm64. Then just flash it thru magisk manager and reboot. Done.

Try wiping all youtube trace (titanium backup wipe and manually search data folder for any left overs) from your phone and install it like me.
[Magisk] LOCKhart:
You probably have two accounts. You have to merge them
[Magisk] Tautologica:
I got the history to work. I am pretty sure some wakelock block was causing this. I did not have 2 accounts that I could merge or anything like that.

I even went and uninstalled YT and all traces of it I could find and installed the official one from play store and even it had no working History. History was working in my phone and other devices but not in my tablet.

So I added to adblock whitelist the s.youtube.com and disabled all wakelock blockers and now the history works. I bet it was the wakelock blocks...

Cheers for tips guys.
[Magisk] flatpedals:
Could the app be signed with non-google keys or have its package name changed so it wouldn't pop up in Play Store update list?

I think this would also overcome the conflicts with the existing app when installing for some people.
[Magisk] KevinX8:
We have already done this, you can get it on the main thread, it is the non root version.
[Magisk] Jamalathbasha:
When is update coming?
[Magisk] Sytis:
When it's ready. No ETA requests please.
[Magisk] rooban90:
Updates were faster when m0yp was managing it. It is time for me to learn building iytbp magisk module myself [emoji848][emoji848]
[Magisk] garylawwd:
Have a bit of respect! If your not happy then go away somewhere else. These guys do this in there spare time and don't have to answer to ignorant people like you! If they wanted they could abandon this in the morning but they are constantly updating. And for you to say that especially this time of the year is huge disrespect! Go away and build the module yourself if your not happy but why leave such disrespectful comment at Xmas!!
[Magisk] KevinX8:
You do realise all m0yP did was copy our module change the name and post it right? So no, it has always been the same speed, also as I said before there are no plans to make a 12.48 update nothing of significance has been changed and we do not have time to make a new release every time Google edit a translation xml. I expect 13.0 to come out next month with huge changes, we will definitely look into making an update once that comes out
[Magisk] yung40oz84:
Ok so this module needs updated for magisk 14.6 apparently. It's the only module I could not install out of 5. I also tried the IYTB Vance universal installer and same result. It just fails. I tried to get a log in magisk and the log only said, copying zip to temp directory, installation failed, lol. Nice log :silly:
[Magisk] KevinX8:
The magisk module template has not been changed so I do not know why it would need to be updated, your issue can be resolved by just using twrp anyways.
[Magisk] ilal2ielli:
Updated to Magisk 14.6 Beta and have no issues with this module.