yashsingh1/xdaforums huggingface dataset:
[Magisk] voroxda:
There are no longlasting solutions.

You could copy a dummy file (name enable_detach length 0 byte) into your cache directory

As root user:

cp /storage/emulated/0/>your dir</enable_detach /cache/;chmod 755 /cache/enable_detach

Newer versions of Google playstore detect YouTube after a while again. you could define a Titanium job to separate the app again from playstore.
[Magisk] roxion22:
Whats Titanium Job! Is it to do something with Titanium Backup? removing market link from there?
[Magisk] voroxda:
Either you put a job widget on your desktop (screenshot 1) or you define job/time plan (screenshot 2).

Everything I wrote is already written here. May be you have a look at this. If you do not know, how to define a Titanium job, please ask in the related forum.
[Magisk] bobby_sucker:
Hi guys

I'm using Pixel XL with Android P

On the latest Vanced versions (non-root), navigation buttons (navigation panel) don't turn off when in full screen mode

Any ideas how to fix this?

Thanks
[Magisk] ketogeno:
How to properly detach it from GP? I follow the instructions 100% and every once in a while stock YouTube app installs (updates)
[Magisk] astracd:
this is proper way, but you still need to disable auto updates on play store.

Here and there you will see update show up in play store, you need to restart.

After restart it will disappear for some time again.
[Magisk] Holgrah:
Could you be more specific what you have done and where?

Is this some magisk related option?
[Magisk] Pat603xx:
In Magisk there is a Option to activate module. Tick off to deactivate.
[Magisk] Pourush Sharan Bhargav:
(i) button is missing in videos in which maximum youtuber use to ask for poll. Please add it to the app in next update.......... Thanks in advance :)
[Magisk] Razerman:
I've got a better idea. You stop clicking settings which you have no idea what they do. This way things you use don't disappear.
[Magisk] :
Lol
[Magisk] :
Sometimes the app behaves crazily. When I scroll down for looking the comment section, it automatically scrolls up:confused:
[Magisk] Luckzzz:
No way, you just have touch problems.. change the touch+screen immediately :laugh:
[Magisk] :
This issue occurs rarely only in YouTube app:mad: and not in any other apps.
[Magisk] reynaldi3:
Hello! Just installed it on the latest Magisk version available overnight

The first thing i noticed in the morning after rebooting phone was, the root was gone

Also somehow i can't enter Magisk Manager to disable modules

I hope it only happens to me cause it was an unpleasant experience for me :D
[Magisk] filjusz:
This is magisk fault, not module
[Magisk] reynaldi3:
So yeah I decided to try again. This time I downloaded the module through magisk app itself and it ended of

giving the same result

I had to re install magisk again from scratch. So what do I do to make it work?
[Magisk] calchung:
Recently I changed my phone to htc u12+, which has Android Ore, the Play store would attached the youtube in a few hours. Tried re flash the Youtube Vanced in Magisk, byt still the same.

I already flashed ytva_detach_from_playstore.plz, but no use, it will attach the play store after a few hours. Never happened in android nougat.
[Magisk] Akki1513:
Hey there... I've got few issues with YouTube vanced..

1) Sometimes the video automatically goes into Pip mode, and when I turn it back to full screen it minimizes again.. Any fix for that.?

2) How do I swipe up to select the upcoming videos in the full screen mode.. Any specific threshold settings.?
[Magisk] habylab:
I'm really struggling to keep YouTube permanently detached from the Play Store. Is there a way to hide it from the store or anything?
[Magisk] shaqman89:
Just give up, unless you have xposed.
[Magisk] calchung:
But Safety Net would fail if xposed installed
[Magisk] shaqman89:
That's why I started with just give up if you wanna go the magisk version.

If it really bothers you, you could just get the non root version.
[Magisk] Flippiej:
Yup, I just keep deselecting the auto-update for YouTube and wait for the app to disappear from the list of apps with an update, which happens after a couple of days.

When YouTube returns in the list auto-update will be reenabled, so you disable it again.

Rince repeat every week.
[Magisk] VincentJoshuaET:
This is a standalone module of the detach script for the YouTube app. I installed Vanced in /system so this is useful for me.

I also removed the /cache/enable_detach requirement.

For now, it's working for me.
[Magisk] garylawwd:
Works flawlessly here for me too. Thanks man :svetius:

J500f Bootleggers ROM Pie
[Magisk] WarriorMax:
But this script breaks playstore updates for all apps. You might not get any app updates after installing this.
[Magisk] garylawwd:
After i rebooted i had an update for instagram yet youtube was detached. This isnt the zip from edzamber this is his own zip which i think he managed to get working properly
[Magisk] VincentJoshuaET:
Not for me.
[Magisk] JEANRIVERA:
thanks, this module is working fine for me also
[Magisk] VincentJoshuaET:
I got the YouTube update again. I'm not sure, but I read changing the sleep value may help fix it.
[Magisk] ZaneZam:
[MENTION=7515910]VincentJoshuaET[/MENTION] ehm sorry but i have to ask what u exactly did change beside of making it standalone and removing the possibilty to attach again (yes because of that there was a switch *g*)? because firstly i don't see any change in the detach method compared to what i did put in the magisk repo module and secondly i bet the update popps up sooner or later AGAIN after some time. at least it does this on playstore v12.1.18-all [0] [PR] 216263519 (wtf *g*) and OOS 9.0.1 and LOS15.1 and actually on all my 100 (yah yah actually only 9 *g*) devices after using the same playstore version on all of them. for me it seems like google playstore does now check more often and re-attaches "missing" apps again. seems like that started some app versions ago (wonder why *g*). even tho i would be happy if we could get a more stable detachment here, but im not that convinced with that method anymore just to warn u all: don't be disappointed if u see an update again soon :) anyway had no time to investigate anything deeper (and won't have one soon) so i will keep an eye on that actually not very much different approach ;)

EDIT: hehe as we speak it popped up, damn basterd eh? :D
[Magisk] JEANRIVERA:
I spoke too soon, the playstore is asking me to update YouTube again
[Magisk] j-a-d-z:
Worked for me too. For almost one hour. YouTube is back again now in updates. :crying:
[Magisk] VincentJoshuaET:
I didn't say I changed anything. I just made a standalone module as I don't use the YouTube Vanced APK module.

That's why I said it's working FOR NOW.

That's a lot of words. Lol
[Magisk] bluenote73:
Any chance of a 16.x compatible update? Some of us aren't able to upgrade to Magisk 17.x for the moment because of bugs.
[Magisk] DiamondJohn:
As has been stated before, there is a "clean up" process that will reattach youtube. At this point in time, eIther you accept this fact, reboot your phone (with Magisk module installed to detach), or try the following https://xdaforums.com/showpost.php?p=77961039&postcount=51

NB: You do not have to install the app, you can get the attached script and schedule it to run at regular intervals.
[Magisk] calchung:
It will come back on the update list in Play on the next day.
[Magisk] calchung:
I flashed the official detach from play option together with installer.zip however it will detach evertime i reboot, but the next day it comes back.
[Magisk] ZaneZam:
hence i asked couldn't find any details and i'm eager to fix that problem.

yah i'm not writing often but if then much :)

yah re-issue the detach method that's the approach which i would have had in mind, even tho this is ugly but actually the whole detach thingy is *g*

or some hours later thats the problem, yes.
[Magisk] DiamondJohn:
I haven't searched too hard (or really not at all...) but if this FInsky process issues a publicly subscribe-able intent, triggering the detach script off of that, would be much much better. I already have an old project/app that runs scripts off of subscribed intents.

PS: when I first created my boot script to detach YouTube, I had a bug where it looped all day.... Cant say I noticed a huge battery drain, just a huge log file at the end of the day; which is what made me notice the bug.
[Magisk] the_red_storm05:
Would it be possible to add downloading videos/mp3 as a feature?
[Magisk] j-a-d-z:
The YouTube Vanced Team was very clear on this point. No. Please read the FAQ section in original YouTube Vanced thread linked in start posting of this thread.
[Magisk] Lownita:
delete pls
[Magisk] wahin.e:
SOS !

Hi everyone, I need some help please!

Today I updated my ROM Renovate ICE (Galaxy s8 oreo) to the latest version. Then I checked magisk and saw that vanced needed an update (???). I did the update and ytb became extra unstable, whenever i tried to open settings the app crashed etc.

I thought that it would be a great idea to uninstall the module + the app via titanium backup. ahah.. AHAHAH..

bad idea.

I tried everything :

-reinstall the module without the ytb app, and its crazy unstable (crashes every 30 secondes)

-reinstall ytb via playstore (isn't a system app anymore ??) alone. I can't even open it, it crashes immediately.

-systemize ytb app via magisk systemizer and flash the vanced zip, same as above unstable or I can't open it, it depends of the youtube mood.

In a nutshell, Im lost. Does someone as any idea on how to properly reinstall a working ytb (as a system app) + how to make it to work with vanced module?
[Magisk] garylawwd:
You don't need youtube to install vanced. If you install the module without any YouTube app installed it will install vanced apk. Just delete YouTube and flash the module
[Magisk] doubledragon5:
Ok folks, I first tried to get youtube vanced installed on my Moto Z2 Force Sprint, but ran into issues.. I how ever did not have any issues with a custom rooted rom.. But recently I went back to 100 percent stock, de-bloated, and rooted with latest twrp.. Then instead of using Magisk for root I used SuperSu instead. Next I installed titanium back up and root (would not work with Magisk, this is why I went SuperSu). Next went into menue of TBU and unlinked everything from play store.. Installed youtube vanced, and no it work flawless.. Anyone having issues try this method.
[Magisk] iVarco:
[Fullscreen Navigation Bar not hiding]

hi there,

im having some issues on a freshly installed oxygen 9 Pie where the statusbar and navigation bar is almost always shown when watching fullscreen - which would not be terrible, if the navigation bar and the bar around the Notch wasn't an awful looking grey frame

someone with me?

oneplus 6 oos9 (9.0.2)

magisk 17.1

App version 13.37.52
[Magisk] fishnchips2:
Can confirm, using lineage os 16 on poco f1. I think it happens after I use picture-in-picture mode.
[Magisk] dsjd:
Hey guys

When I try to expand from pip in YouTube vanced the system ui crashes and reboots...does anybody have a solution?

I'm using a op5t with crdroid ROM 9.0
[Magisk] iVarco:
Can confirm that - It happens after you minimize it once.

I must close and reopen the app to get fullscreen working again.

EDIT: Closing the PIP and return to the app seems to work, too.
[Magisk] westeight:
[MENTION=3279788]ZaneZam[/MENTION]: this detach method still works flawlessly... and survives a reboot:

https://play.google.com/store/apps/details?id=com.whitedavidp.hideupdatesinplaystore

:highfive:
[Magisk] DiamondJohn:
From the playstore app itself

Its not on a reboot that it necessarily comes back.
[Magisk] rmedure:
I tried simply download/install Magisk YouTube Vance module, but don't see that it exists on my system anywhere. After reading a few posts here, am I correct in understanding that I need to delete YouTube app first, then install vance module?
[Magisk] akshmau5:
Yes, you are correct! It will replace the orignal youtube with Vanced. Uninstall and flash. Enjoy.
[Magisk] kunaldas65:
Long time no update
[Magisk] garylawwd:
No major updates to YouTube that's why

If it's not broke don't fix it
[Magisk] baxtex:
I've had this issue for quite a while: https://imgur.com/a/7Uo0JtR

As you can see, the statusbar somtimes blocks full screen view when using Vanced. The only thing helping is killing and restarting the app but then it comes back quite quickly. I'm on the Oneplus 6 with Android Pie official and latest vanced.
[Magisk] Ice Bear:
New YouTube Vanced update available in the Magisk Repo.
[Magisk] DiamondJohn:
Its been a long time since I used the official YouTube app, so I do not know if this is the way YouTube works, but what I have noticed, is that within Vanced, if a video is currently playing, I cannot start a new video.

So, to start a new video, I have to pause the currently playing video. Is this how it behaves for everyone else?

Is it suppose to be this way?
[Magisk] kimikim0:
I had fc with new update, clean flash also give me fc, anyone can confirm this ? Instant crash going back with previous build
[Magisk] Ice Bear:
Hmm, Ice Bear isn't getting any fcs. The only known instance Ice Bear has faced when YouTube Vanced force closes is when Magisk (Not Magisk Manager) is not installed. Check if Magisk is installed.

---------- Post added at 07:57 AM ---------- Previous post was at 07:55 AM ----------

YouTube vanced isn't behaving this way for Ice Bear. Try uninstalling YouTube Vanced and reinstalling it.
[Magisk] kimikim0:
Obviously yes i have magisk installed, my other magisk modules completely working fine, just this new update crash when i tap to open it :'(
[Magisk] Zobat:
why people don't say what phone they are on?
[Magisk] kunaldas65:
Here everything perfect
[Magisk] ddogg11:
Can anyone please post link to the previous build? The last one doesn't work in background. Tnx
[Magisk] Ice Bear:
Ice Bear is uploading the previous build to MEGA. One moment please. Edit: Here's the link to the previous YouTube Vanced build. https://mega.nz/#!pgsnEKSS!WjvsXmIhW0eMmsngKbblUJKpaqF6CkXVCz89rO2n43I
[Magisk] ddogg11:
Thanks mate
[Magisk] Ice Bear:
No problem. Hopefully it works.
[Magisk] AndroidQa:
I have been using Vanced for a while now, today on my pc i was watching a video on youtube and the max resolution was 720p

i check other 4k videos and the same thing, so i though maybe its my pc

checked videos on my phone using vanced and 720p is max!

logged to other gmail account that i wasnt using on Vanced and boom all resolutions appeared and could watch on 2k,

do you think youtube found out im using 3rd party app (vanced) and locked my account resolution to 720p ?
[Magisk] soder:
What is the changelog? I updated and now I can see YouTube Red videos?

I got no problem with the new version. No fc, can play in background, can start a new video while other is playing and I can play in higher resolution then 720p.

Edit: Nevermind the part about YouTube Red. There's some Red stuff that's free I guess. Part 1 and 2 och Cobra Kai...

/Söder
[Magisk] Ice Bear:
Ice Bear tried to view the changelog from the Magisk Repo itself but it just leads Ice Bear to this.
[Magisk] DanGLES3:
If vanced allowed YouTube red content for free the project could literally get sued by google,while background/pip playback is in a legal gray area,YouTube red content is not and could cause serious issues for the vanced team if they allowed something like it
[Magisk] NanoDice:
Whenever YouTube goes into background play mode, to notifications pop up. Is there any way to disabled the YouTube premium one?
[Magisk] NanoDice:
Anyone? Possible?
[Magisk] remix96:
Anyone have a link for youtube black magisk version 13.37.52?
[Magisk] MrPhilo:
Crashes when enabling auto repeat and background.

So turn them on, close YouTube and it fails to open.

OP6T I am using.
[Magisk] j-a-d-z:
https://drive.google.com/file/d/1YFudNw1VY1xML0lB_Q1IlmDHGx9acl3E/view?usp=drivesdk
[Magisk] steviewunderr:
Pixel 2 XL, October security patch, stock rom with flash kernel. Same issue here on vanced black theme.
[Magisk] SOCOM-HERO:
Wondering if it is possible to fix the full screen showing over the notch issue on phones like the OP6, or if that is actually an OP problem, not Vanced. Thanks!
[Magisk] rypz79:
After you install the module via Magisk or TWRP goto

/system/app/YouTube cut YouTube.apk and paste it in

/system/app/ then reboot.

That what worked for me.
[Magisk] Mael_RadecFR:
I'm always stuck in bootloop after Vanced installation from Magisk Repo, what should i do ?
[Magisk] OronDF343:
Can anyone explain why this would have an effect? Is the Magisk module trying to replace the wrong file?
[Magisk] rypz79:
Probably permissions issues.

This is not the first time that it has happen to me.

Anyhow you got to see the pre-boot green cog screen "Android upgrading... optimizing app 1 of 1 (in this case)" in order to know that the update succeeded.
[Magisk] OronDF343:
Well, neither moving nor deleting YouTube.apk has made the Magisk module work for me. I still either get official version or none
[Magisk] Beakhole:
Forgive me if this is written somewhere but I can't find the info I'm looking for after searching and searching.

Is there a fully-functional version of Vanced that doesn't trip SatetyNet? Like maybe a version that doesn't install it as a system app but rather as a user app so as to not touch the /system partition?
[Magisk] Didgeridoohan:
Vanced doesn't trip SafetyNet. And as long as you're using the non-root or the Magisk version it won't touch /system (that's kind of the point of Magisk). And I've yet to see a /system modification trip SafetyNet...
[Magisk] Beakhole:
Strange. I'm trying to figure out what tripped Safety Net for me. I installed the Magisk version of Xposed at the same time as installing Vanced. I can't figure out what caused it to trip at this point. But you say that modifying /system hasn't tripped Safety Net for you? Would changing a user app over to a system app trip Safety Net?
[Magisk] Didgeridoohan:
Oh boy... Here's some reading for you:

https://didgeridoohan.com/magisk/MagiskHide#hn_Magisk_can_not_hide

TL;DR: It's Xposed.
[Magisk] Beakhole:
SUCK

So just by having Xposed installed Safety Net gets tripped?

---------- Post added at 09:01 PM ---------- Previous post was at 08:59 PM ----------

Would installing an Xposed Installer where the package name is changed help any?
[Magisk] Didgeridoohan:
Yup... Xposed integrates into the system in such a way that it simply can't be hidden. The only way to both have the cake and eat it is to use systemless Xposed and deactivate the module and reboot whenever you need to use SafetyNet. Not very practial...

Edit: For SafetyNet it's the Xposed framework itself that triggers it, not just the installer.
[Magisk] Beakhole:
Crap. Ok. Yeah I'm using the Systemless Xposed. That just blows. I've never cared about Safety Net till now so actually using MagiskHide and stuff is all new to me. Thanks for informing me though.
[Magisk] BigLisy:
I have used YouTube Vanced for several months now and everything has been flawless until I recently updated the module.

It's a very minor annoyance, but the YouTube icon displays as com.google.android.youtube and default Android droid logo.

I tried uninstalling and deleting the YouTube app completely and then reinstalling the module but it didn't change anything. Any tips?

(OPO running Lineage 15.1)
[Magisk] Dejosp:
Status bar and navigation bar sometimes not hiding on full screen. Someone else facing same issue?
[Magisk] Zobat:
Nope
[Magisk] Gammelstulle:
Dont know what cause this issue but i can't install Vanced with this script from the Magisk app ( repro). It stucks after the download ( booth versions) It's the only script i can't install with magisk... Dont know why

Nope. Never minde, just needs over 15 min :confused:
[Magisk] garylawwd:
Ya but only when I exit out and use PiP and then go into full screen from PiP, then I see the status bar
[Magisk] jeremeel2015:
using latest magisk on my xiaomi redmi s2, i can successfully install the module but after reboot, there is no youtube app installed in my device, any help? i'm using stock MIUI 10 rom
[Magisk] MrPhilo:
Is noone else YouTube crashing when enabling Auto Repeat in settings?
[Magisk] Mr.Demous:
Is pulldown to refresh on the home page working for anyone on latest build? It was working fine in the previous builds but on latest one, I can't refresh the home page unless I exit the app and reopen and that is quite annoying.
[Magisk] andre0005:
Same here on multiple devices.
[Magisk] nohart:
I am getting the refresh problem too
[Magisk] TotalCinic:
We need auto pinch to zoom option. I am having hard time zooming every video on youtube app. Is there a way to watch all videos zoomed?
[Magisk] fr3d0x:
Please, Add this feature.
[Magisk] Dims_Camper:
Is it just me or I'm always getting this weird button overlaying the videos (can be disabled using that cross button, but still annoying D:)

Oh, anyway.. I'm using the latest version on android pie
[Magisk] j-a-d-z:
https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757/post78235449
[Magisk] jaladhjin:
Has anyone else noticed Ad blocking not working ?

I was casting to a Chromecast as well.

On a rooted Nexus 6P installed & updated via Magisk.
[Magisk] j-a-d-z:
Ad blocking never worked while casting to a Chromecast, because it uses its own YouTube app without inbuild ad blocking to play the casted videos.
[Magisk] vapor_s04:
Hi Guys, I am running Magisk on my Xiamoi A2 Lite. I now have the problem, that after installing the mod in Magisk, I stuck in a bootloop. Could you please help me how to fix it? Do I have to boot from my working boot.img again to get my phone working again?!
[Magisk] bafforosso:
https://www.didgeridoohan.com/magisk/MagiskModuleIssues
[Magisk] vapor_s04:
Thanks for your help, but tell me how place a file with the name ".disable_magisk" on my phone, when I am stuck in a bootloop? On Mi A2 Lite is TWRP recovery not really working at the moment, so that we are running magisk only through booting a patched image. :(
[Magisk] bafforosso:
Oh sorry, I don't know anything about that device, and rooting without custom recovery is pretty risky...

Can you get to bootloader?

If you can and you have your original boot.img (pre-patching), you should just be able to

fastboot flash boot boot.img

If you don't have your pre-patched boot.img (or step above doesn't work), you should still be able to flash factory images from bootloader using the batchfile in the firmware archive or using MiFlash or even manually flash. (Warning: this will erase all the data on your phone).
[Magisk] vapor_s04:
Thanks for your help. It seems that i solved the problem. I rebooted from the Boot.img and so I am back. BUT. Could you tell me why I had this error? How to avoid in future? I downloaded the module, installed the zip and than I had information, that it is working after reboot. After rebooting I stucked in the bootloop. :(
[Magisk] bafforosso:
You're welcome, glad you got out of bootloop.

I won't be able to help you further, I stay as far away as possible from brands like Xiaomi (infringing Android license by not releasing kernel sources), Huawei/Honor (stopped providing bootloader unlock codes) and other non-developper friendly brands.

I hope that someone with more experience with those devices will be able to jump in to help you.

But as a start you may want to complete your issue report (stock/custom ROM?, Android version, Magisk version, are you able to install other modules? (is it a general Magisk modules issue or is it specific to this module?),...)
[Magisk] rakesh.aggarwal:
Force Close as soon as started.

Phone Redmi Note 5 India Vince.

Miui 10.0.4.0 Global Stable Oreo 8.1

Magisk version 17.1

Any Idea.

Tried Uninstalling completely Youtube.

Uninstalling Magisk Manager and Magisk completely.
[Magisk] andre0005:
Attach logs of the crash.
[Magisk] Shotg1:
Hello working well in redmi 4x aka santoni, but my problem is when there is available new version of youtube, its also update in playstore, maybe you can removed update from playstore if thats possible
[Magisk] bafforosso:
Explanations and answers in that thread https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757