yashsingh1/xdaforums huggingface dataset:
[Magisk] jemshi101:
I'm aware of your background and also that this is not your full time job. So does most of the people in this forum. I myself am a full time android developer and have been in XDA long enough to know how we move the community forward. I understand what Razerman said, no one wants to create something that they can't use. May be in future, the restriction might come off. may be we all can use it. I use VPN to access the service as well, depends on the person.

What initially meant to say, when i asked the question about vancing the YT Music app was to put forward a suggestion, as both the apps are similar, you guys could do it. Since you guys can't or won't, let it rest as it is.

Enjoy Vancing guys, Peace ✌
[Magisk] anttaz:
Ads are still playing for me using this module??
[Magisk] Didgeridoohan:
Likely solution:

Uninstall updates for the YouTube app, and disable auto-updates for it.
[Magisk] ek.dwivedi:
i got stuck at boot animation when i installed the youtube vanced zip in recovery. Prior to this i uninstalled the yt app. I also don't have a latest twrp backup and flashing the old backup will result in loss of data. So is there any way to solve this issue. I have wiped cache and dalvik cache
[Magisk] madbat99:
You posted the same thing in the main vanced thread. With no information. So which version are you trying to install? Root? Magisk?
[Magisk] ek.dwivedi:
I was trying to install the latest version (magisk) dunno what went wrong. The issue is solved btw and i do apologize for not providing all the info related
[Magisk] anttaz:
Already did
[Magisk] Didgeridoohan:
And you mean to say it's still not working as expected?

You're providing such a lack of details about what you've done, what you're trying to achieve, what's not working (if anything), what's working (if anything), that it's practically impossible to help (if that's what you want).
[Magisk] anttaz:
Device is OP3t on OOS OB27. Using official Magisk version 16.4.

First I went to settings, then apps, then selected youtube. I pressed the 3 dots top right and selected un install updates.

I then wiped youtube app cache followed by data. I then used TiBu to un install youtube. I rebooted phone, upon reboot I opened Magisk selected downloads and downloaded [Magisk]Youtube Vanced [Official] 3.18.54(b01.21.10) I then used reboot after installation.

Upon final reboot I went into TiBu and detached [Magisk]Youtube Vanced [Official] 3.18.54(b01.21.10) from playstore to disable it updating through playstore. I then opened [Magisk]Youtube Vanced [Official] 3.18.54(b01.21.10) and there video are ads at beginning before a video I selected plays and also video ads during selected videos playback?

How can the ads be blocked? Why am I facing this issue?
[Magisk] Tautologica:
Hey mate, did you find any workaround for this? I have the same situation.
[Magisk] pauljblo:
This app is working well for me I install it with the magisk manager.

Is it meant to be detached from play store as it seems to be attached?

I did try detaching it with titanium backup but it seems to reattach?
[Magisk] astracd:
with titanium backup it is until restart

Use this metode works perfect.
[Magisk] madbat99:
If you still have ads, Vanced is either not installed or yt has updated on your device. Do you have Vanced settings in your app? Settings-> vanced settings. It is not likely you are getting ads in Vanced YouTube.
[Magisk] anttaz:
Vanced settings are present and no updates installed see shots below also below no option remove app updates as no updates installed
[Magisk] Didgeridoohan:
If everything installs ok and you still see ads, you probably need to look for answers in the main Vanced thread instead.
[Magisk] Dhiru11:
Why only the magisk module is not updated by the developer.
[Magisk] Didgeridoohan:
From the module readme:

But, as far as I can tell, v13.18.54 is the current version, so the module is up to date (even though the OP of this thread hasn't been updated to reflect this). And even if it isn't yet, it won't stop working just because it's not on the latest version. Patience is a virtue... :good:
[Magisk] Dhiru11:
But the magisk version is still on 13.12.60. where as the root & unroot version is on 13.18.54.
[Magisk] Didgeridoohan:
I have the module installed from the Magisk repo, and it's on v13.18.54...
[Magisk] Flippiej:
I just checked and the Magisk version is also on 13.18.54 and it has been on higher versions than 13.12.60 for weeks. (I'm running 13.16.55 for a few weeks now and just got back from holiday)

You know you have to go to the downloads section within Magisk to check for updates?
[Magisk] fmonper1:
I just installed the app from the Repo but theres no youtube app on my phone after reinstalling
[Magisk] madbat99:
Reinstalling? Reinstalling what? Stock YT? Vanced? You said you installed, and no app after re installing? See the confusion? You need to be clear and concise in order to get help. Device info is also helpful.
[Magisk] djcoolguyno1:
Flashed it getting error force close on miui
[Magisk] mongkonsrisin:
Is it possible to change an app icon back to original ? I don't like that black-red Vanced's icon.
[Magisk] lakshya dahiya:
I can't log in with microg on latest
[Magisk] chlap:
I like new swipe control, but then cards are broken in fullscreen mode.
[Magisk] skttrbrain:
Nor me. Both microG and Vanced are updated to the latest, I've even uninstalled entirely and reinstalled both and still have the same problem.
[Magisk] Razerman:
So you think it's better that the cards will pop up every time you try to increase brightness or volume?
[Magisk] madbat99:
You shouldn't need microG with the magisk module.

---------- Post added at 03:21 PM ---------- Previous post was at 03:20 PM ----------

You too.

microG is only for the non root version.

This thread is for the official magisk module in the repo.

---------- Post added at 03:23 PM ---------- Previous post was at 03:21 PM ----------

If you use a 3rd party launcher (like Nova) yes, with an icon pack. Or change it to anything you want. The devs are not going to change it, and for good reason.
[Magisk] mongkonsrisin:
Thanks, but I use stock launcher , so I have no option. :crying:

P.S. Maybe , I need to modify APK file and change an icon.
[Magisk] madbat99:
You most certainly can. It's a bit advanced for some. But fun to try. Curiosity like that leads to great things. Something as small as wanting to change an icon, has led to people learning and creating their own mods eventually. That's usually how it starts, just a little curiosity, desire, and willingness to learn. Good luck!

That was a great response by the way.
[Magisk] j-a-d-z:
If you use an icon on homescreen to start YouTube Vanced you can change that icon also for the stock launcher.
[Magisk] El1ot:
How can i disable this weird scrolling when im watching a video?
[Magisk] Timmmmaaahh!:
How can we help you if you're not providing any relevant information? Weird scrolling? Device? Favourite colour? Installed version?
[Magisk] rafaelcxda:
Thanks!!!!
[Magisk] Guillosd:
Changing the volume is making the app go PIP mode.. any fix?
[Magisk] Cogor:
One question my English is not good but I read that is possible to hide YouTube app in Google Play so you don't update the app. How can I do it?

I mean here
[Magisk] sdamark:
Look at the Read Me file in the download. Working great for me.
[Magisk] davidzam:
You should just go to the 3 dot area on the top right on the menu in YouTube play store display... And select that you don't want that app to be updated. You can manage that in play store. Don't use any method from Vanced, (detach, attach blank file) or titanium backup detach, you'll find some very annoying bugs if you do.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] sdamark:
For you, maybe. Working great with detach file here.
[Magisk] davidzam:
Maybe it's a matter of the Android version that it's use. In on Android 6.0.1 and after using the detach file play store didn't update anymore and some apps when I applyed the updates manually gave me errors and didn't update at all. Have to to erase all data from the Google play store services, and put the attach file to se if it worked. It did. However, all the apps I have installed where not showed on the installed apps list, not even on the history of all apps installed in the past, in settings on my device, when trying to go to the app section to see if I could erase cache and stuff, always force closed, after that, I had to wait and check one by one on the store to see if an update was aviable to get the app showing again. Did that for two weeks, until I got them all back. Everything went back to normal then, but one thing it's missing still, I have the play store set to update automatically when I'm on a Wi-Fi connection, it's not working anymore, I have to check manually, then I see them and proceeded, that's why I do not recommend the use of detach file, the devs itself recommend it but at the same time, warn for the possible malfunction of play store if you do. Titanium appears to work, but after a reboot, everything is reversed so no changes are really made. That's the reason. So, setting the on play store to not perform any update its the best option, you can do this on every app independently I think, I wouldn't know, as I said before play store it's not working as it should be since then.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] sdamark:
Okay, well evidently your experience differs from mine. It is known different devices respond differently to the detach file included with the App. That's why it's not automatically loaded in the download. All I'm saying is try it and see if it works for you, as well as it works for me.

---------- Post added at 10:03 PM ---------- Previous post was at 09:58 PM ----------

Android 6.0??!!! You know we are on 8.1 right?.... How can you give advice when you are 2+ generations behind on Android versions??!!!
[Magisk] Didgeridoohan:
The only way I managed to restore normal functionality to my Play Store when I experienced that detach issue, was to uninstall updates for the Play Store. That way you can completely wipe any leftover issues from the detach feature.

I've experienced the detach issue on Android 8.0 and do recommend using the method describe by [MENTION=3943384]davidzam[/MENTION] instead. Why complicate things with a hacky script, just to not see that an update is available?
[Magisk] davidzam:
:) Yes sdamark, 6.0.1, limitations of my device, Samsung On5, there's no Rom developed for this devices that work, there's a nougat around here but it seems that nobody has given a try outside India, and mi device it´s to picky when it comes to try new firmwares, I almost brick it, thank God that Davey126 was around and led me to the right firmware... also on stock kernel… sigh… I give advise because it's an issue that occurs in any versión of android, you should check the telegram Vanced support group, it's fill whit issues due this particular point. On a side note, I wish I could win the OnePlus 6 that XDA is raffling… :rolleyes:

---------- Post added at 01:57 AM ---------- Previous post was at 01:43 AM ----------

Learn a lesson here Didgeridoohan, the hard way, unistalling all and updating again… :eek: thankfully, everything is working fine, no more auto updates, but when all needed updates are reach on all apps I hope that everything will be back to normal again. Thank you.
[Magisk] mbc07:
I'm also not using detach anymore. My results are slightly different, with detach enabled Play Store won't break (it still updates the apps automatically and YouTube doesn't appear in the update list) but I noticed Play Protect breaks then (it won't verify the apps automatically and you need to retry a manual verify 2 or 3 times before it actually manages to verify -- it shows "network timeout" on the first attempts). Uninstalling Play Store updates and letting the store update itself fixes the issue, but on next reboot, if detach is still enabled, the script will run and Play Protect will break again. After disabling detach script feature, never experienced the issue anymore...
[Magisk] davidzam:
Funny thing, when I check on memory if the detach or attach file where there, they disappeared, they where not there… so yes it´s better not to use the detach file, it will mess with your system, it's a relief that it's something "easy" to fix. But it lingers, like a malware... To bad, I remember that Didgeridoohan told us in the post not to do it… The Vanced devs advise against it too, so no more detach, at least for me.
[Magisk] mbc07:
It doesn't linger, the script is actually very simple and it's part of the Magisk module (so if you uninstall the module through Magisk Manager the detach script is also gone forever).

What it does is wait until the boot is complete and then check if enable_detach exists in /cache. If true, it'll wait 60 seconds, disable a service from the Play Store app (DailyHygieneService) and remove the row that references the YouTube app from two different Play Store databases (library.db and localappstate.db), that's all. The other check it does is for disable_detach, if it exists, the script will re-enable the DailyHygieneService from Play Store app then delete both enable_detach and disable_detach files from/cache (so in further boots the script will just exit without doing anything).

I used the detach script without issues for quite a while and only started having problems recently (which coincidentally matches the time I received a Play Store app update, if I remember correctly). My guess is that recent Play Store versions might have changed something on its databases structure and deleting the YouTube row messes them or the mentioned service (DailyHygieneService) now does something that's required for the auto-updates / Play Protect to work properly (after all this service never runs once you enable detach script).

And to finish, Google rolls Play Store updates in different variants and versions depending of the device model and Android version, that's my guess on why the script still works flawlessly for some but causes issues for others...
[Magisk] davidzam:
I see. Thanks for your thoroughly answer. Learning a lot today [emoji4]

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] mehrshad.shafaghi:
I have an ARM64 device but it detected and installed the ARM variant. Isn't there a way to install the ARM64 youtube variant?
[Magisk] madbat99:
Are you using magisk 16.4 beta? That's probably why
[Magisk] Cogor:
What is detach attach blank file? ?
[Magisk] Nevermindthelabel:
One of the detach options (wich I personally use with great success) is to create a blank fine in /cache called enable_detach. Some people have had issues with detaching, so if you try it just be aware something wonky may happen
[Magisk] iZLeeP:
There were two successive updates from Magisk repo, but the latter one automatically detached Youtube from the Play Store after a reboot. Anyone experienced the same thing?
[Magisk] WarriorMax:
I can't seem to get older minimised player working. Anyone else have the issue
[Magisk] mrjuniork:
Yes, same issue. New minimized is working but not the old way of minimizing.
[Magisk] ajomonjose4:
I can confirm this issue too
[Magisk] Antoine164:
Same thing here, it's very annoying.
[Magisk] Cogor:
Yes, me

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

It's not an issue. The latest YouTube official app deleted it
[Magisk] Didgeridoohan:
There was absolutely no change to the detach feature with the last couple of updates...

Are you guys sure it's just not a matter of the current Vanced app version matching the current YouTube app version so that it's not showing that there is an update? Is the app gone from the list of your installed apps in the Play Store? If it's still there, it hasn't been detached...
[Magisk] Antoine164:
Are you sure it's not an issue?

I attached a screen record to show you. When I reduce the video I'm playing on YouTube, it totally dissappear, I can still hear it but I can't go back to it.

No reduced playing at all.

https://drive.google.com/file/d/1U0OE5F9nOWdRyVveBjSRdIsb4juxKYaO/view?usp=drivesdk
[Magisk] Cogor:
I've looked again, the vanced version has not the same number version so as the play store one so... I don't really know if it's detached. And now I have that "mini" screen but with a different look
[Magisk] kaushikghosh:
Same here.
[Magisk] mehrshad.shafaghi:
No, I'm using Magisk v16.0 stable.
[Magisk] MrTissues:
I may be missing a setting but where can I do this (I am a Magisk user):

[Optional]Detach YouTube from playstore for magisk users

Thank you!
[Magisk] Didgeridoohan:
RTFM... :p

https://github.com/Magisk-Modules-Repo/iYTBP-Vanced-Magisk-Repo/blob/master/README.md
[Magisk] MrTissues:
Thank you, I didn't think to check the Github repo, I was checking the Top forum post. A link to that repo in the post maybe would be useful.
[Magisk] Didgeridoohan:
You don't even have to go to GitHub... The readme is always available through the Magisk Manager Downloads section for all modules from the repo. Just click the module name and/or description.
[Magisk] davidzam:
In response to izleep, I think that maybe it's more the fact that the Vanced app it's the same version as the YouTube app from play store. That's why we see it "up to date"

Enviado desde mi SM-G550T1 mediante Tapatalk

---------- Post added at 08:56 PM ---------- Previous post was at 08:51 PM ----------

Minimize screen it's working on new style and old style for me.

Enviado desde mi SM-G550T1 mediante Tapatalk

---------- Post added at 08:57 PM ---------- Previous post was at 08:56 PM ----------

It is.

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] iZLeeP:
Now that you mention it, after a reboot (which I didn't do after updating from the repo), the youtube app shows in the list of installed apps and no longer in the updates. Clearly, I missed it or just wasn't paying attention.
[Magisk] soapbox23:
Installed the latest magisk version (13.23.58) and I also face the issue of the old style window not working. Picture in picture also does not work. Reverted to previous version. Running on a Pixel 2 XL, Android P DP3
[Magisk] nohart:
Does anyone know why I can't cast to my Nvidia Shield? It only shows Roku. But in YouTube it shows both Roku and Shield.
[Magisk] iamMG:
Changelog suggests there are alpha stage features to control brightness and volume, though I am unable to make it work. Can someone please help me?
[Magisk] davidzam:
Dis you activate the feature in Vanced settings?
[Magisk] shashank017:
After latest version,In my case at first minimized video was working in new style but after some time it stopped working.that is after minimization video is totally gone,still can hear audio.
[Magisk] David B.:
Does using the Magisk module prevent the app from being overwritten when an update to the official YouTube app is pushed via the Play Store?
[Magisk] Didgeridoohan:
Not by itself. You have two options:

Disable auto-updates for Youtube in the Play Store (app Play Store page, 3-dot menu).

Use the detach feature, described in the module readme: https://github.com/Magisk-Modules-Repo/iYTBP-Vanced-Magisk-Repo/blob/master/README.md
[Magisk] Antoine164:
I have encounter the same problem, solved by going to Vanced settings - > disposition and enable everything there. Restart the app and now you will have new style minimized video.
[Magisk] shashank017:
There is no disposition option
[Magisk] madbat99:
I'm sure he means layout. English is likely not his native language.
[Magisk] Antoine164:
Exactly! ?
[Magisk] madbat99:
It's gone. As in, removed. Not an issue. You have to use the new one now. Poof, fixed

---------- Post added at 05:13 PM ---------- Previous post was at 05:11 PM ----------

Older one is gone. Move on.

---------- Post added at 05:13 PM ---------- Previous post was at 05:13 PM ----------

You too
[Magisk] j-a-d-z:
The root variant of 13.23.58 has been reuploaded today. Old 13.23.58: only new minimized functional, reuploaded 13.23.58: old minimized video is back working. Maybe the magisk variant will also be reuploaded?
[Magisk] WarriorMax:
Dude u r a genius for your suggestion... Thanks... :silly: JK...

Anyhow people are reporting the old version missing because the vanced options does provide you with the option to choose the older player which isn't working. Thats all..
[Magisk] madbat99:
I know, I was just trying to lighten the mood. Suggesting that it's not an emergency. The new style is fine, different yes, but fine. Lol

---------- Post added at 06:44 PM ---------- Previous post was at 06:42 PM ----------

You can always install the root version as a magisk module it's that important to have the old style. Or just sit tight and see.
[Magisk] shashank017:
Thanks for help.

I solved issue by just changing minimized video style to new from auto in, vanced settings>Layout.
[Magisk] j-a-d-z:
Magisk repo version has been updated today too and old style minimized works now. :good:
[Magisk] nohart:
Can anyone help me figure it why YouTube Vanced only shows Roku as a cast option? My YouTube app has always worked fine and shows both Roku and my Nvidia Shield. But the Vanced version won't show my Nvidia Shield as an option.
[Magisk] SpectraFun:
I can not detach. I have last magisk yt and detach file in same folder and install in twrp but in play store i see update for yt.
[Magisk] jsaxon2:
The enable_detach file should go in /cache
[Magisk] borisboing:
Wrong thread.
[Magisk] yung40oz84:
I don't have the knowledge to do so, but I was wondering if it's possible to make a magisk module that would place the enable_detach file in /cache on boot??? Dirty flash, I have to replace file every time, that's why I am asking if magisk would be able to automatically place that file there on every device boot? Just curious. Thanks!
[Magisk] DiamondJohn:
I have flashed the root version of YouTube Vanced, and as such, I get the update notification in the play store for youtube. However, I have applied the following; on Nougat, I think that different versions of Android may have different dB for playstore.

Of course, if you try this yourself, make a nandroid first, and try a couple of reboots to ensure it does stick; it has for me, for two reboots thus far;)

[B]su;[/B]

[COLOR="Green"]# delete library record[/COLOR]
[COLOR="Blue"]sqlite3 /data/data/com.android.vending/databases/library.db "SELECT * FROM ownership WHERE doc_id='com.google.android.youtube'";[/COLOR]
[B]sqlite3 /data/data/com.android.vending/databases/library.db "DELETE FROM ownership WHERE doc_id='com.google.android.youtube'";[/B]

[COLOR="green"]# update localappstate[/COLOR]
[COLOR="blue"]sqlite3 /data/data/com.android.vending/databases/localappstate.db "SELECT auto_update, * FROM appstate WHERE package_name='com.google.android.youtube'";[/COLOR]
[B]sqlite3 /data/data/com.android.vending/databases/localappstate.db "UPDATE appstate SET auto_update=0 WHERE package_name='com.google.android.youtube' AND auto_update<>0";[/B]

The GREEN lines are simply comments

The BLUE lines are for info purposes

the BLACK lines are the actual meat-&-potatoes

I think I might even add the above as part of my boot scripts, so as to re-disable updates on future flashes automatically. As I said, I have not tested the above on anything other than Nougat.
[Magisk] madbat99:
Not likely. Detach used to be included by default. It caused many users to have all auto updates in the playstore broken. So it was removed. That is actually in the read.me file in the module.
[Magisk] astracd:
simple way to do it...
[Magisk] David B.:
Did the latest update for YouTube get implemented in YouTube Vanced yet? I forgot to shut off Play Store updates and since it's a newer version, I cannot get the module to install the older version back on my phone.
[Magisk] davidzam:
It has. You must unistall all updates of YouTube then proceed with instalation of Vanced

Enviado desde mi SM-G550T1 mediante Tapatalk
[Magisk] David B.:
By uninstall, do you mean disable? That's the only option I have.