yashsingh1/xdaforums huggingface dataset:
[Magisk] garylawwd:
Works perfect for me and almost everyone else seeing as your the first to report such problems.

If your going to report a bug then follow the guide from the developers or it will more than likely just be ignored https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757/post75772883
[Magisk] NegativeOne:
Thanks. I'm glad it works for you. However, none of those steps or rules really apply. They are vague themselves.

I can't take a logcat of a module installation. The Magisk log reports no errors, I reboot, etc as recommended.

I'm running a 2016 pixel. Installing YT Vanced directly using the flashable installer seems to work. So, my conclusion is: It's the module.
[Magisk] yooooooz:
Support download youtube video.Please.
[Magisk] DiamondJohn:
use search, as it has been answered many many many times before.
[Magisk] madbat99:
Disabled the module and uninstalled the app? The module is the app. So how can it be uninstalled or updated separately? I'm not sure I understand your post at all.

If you installed the repo version, you have to update that way too. What app are you uninstalling? Vanced is in the module, heck it is the module. It's a system app installed systemless-ly.
[Magisk] tres_linguas:
I also want to permanently detach YT vanced from Playstore. Thx for your advice. One question: If I put such a file in /cache directory, how will it only affect YT vanced? :confused: won't it affect every app in general (I'm not an IT guy so I'm just using my normal logic, sorry if I'm wrong, just wondering because you're neither talking of a YT directory nor is it somewhere in the name of the detach file :))
[Magisk] madbat99:
Your conclusion is flawed. The module works fine. You need more detailed log. Full magisk log maybe. Module install log (not just the displayed output but an actual log)

---------- Post added at 07:32 PM ---------- Previous post was at 07:31 PM ----------

The module contains the script. The detach file only enables it.
[Magisk] NegativeOne:
No, friend. The module is an archive with a set of scripts and artifacts. One of the scripts installs the app (YTV). Because the module is not functioning as intended, disabling or uninstalling the module had left the outdated version of the YTV App on my phone, so I installed it, in the event that its presence would prevent the module from updating the app.

I'm not sure you understand the difference between containing something and being something, but I appreciate your post nonetheless.
[Magisk] madbat99:
The repo module is not likely going to leave the app behind. It's actually not possible. Maybe you used the installer zip and it installed the root version (system).

Of course I know the difference. (Seriously?) I was pointing out the unlikely-ness (-hood? Close enough) of it, that's all.

But the module installs, and uninstalls on all of my devices just fine. So it seems to be something in your setup or device.
[Magisk] garylawwd:
What are you talking about?

How is the app still there if you uninstall the module that actually makes zero sense.

How are you installing the module and an "App"?

You simply start off with no YouTube then flash the module, reboot and vanced is there.

Uninstalling the module should leave no traces of vanced especially not an app.

Did you have the root version installed and then tried to install with magisk or what did you do? If you flashed the root version stay with the root version or completely uninstall before trying the magisk version because you cant update one with the other installed (you cant have root and magisk versions installed)

You are literally the only person to have this issue so it is something that you are doing wrong.
[Magisk] sakis_the_fraud:
hello!

I have installed youtube vanced v13.28.54 and is working as it should.

How i should update the app?

If i search on the magisk repo, i don't find it any more but maybe that happens because i have it installed already.

I don't find any "update" buttons...
[Magisk] abeloman:
Seems he started with an updated YouTube app, I also tried to understand him, but it's pretty difficult to know what he did
[Magisk] ZaneZam:
as madbat already correctly explained und just to confirm as u quoted: the scripts is included in the vanced module and u just activate the detach function of it by putting that flag-file into /cache dir

and only that particular function, nothing more! well we never can be 100% sure that anything else on the system we don't know uses this file for something but the chances are near 0 that this is the case *g*.

nah seriously it doesn't affect your system in any other way then (hopefully!) detaching youtube from playstore. ;)
[Magisk] sami1337:
I had the same problem and i fixed it by removing youtube from magisk hide :D

Because i added official youtube app to magisk hide before so it's still there
[Magisk] labello29:
I follow speech .. but I'm sorry to say that enable detach does not work play store always detects youtube update
[Magisk] ZaneZam:
but u did reboot your phone? either u did not or the script doesn't get executed for some reason.

after putting the file enable_detach into /cache reboot and wait 60 seconds (the playstore update message is still there at that time)

after the 60 seconds youtube gets detached and message should be removed after that every 180 sec a check is made by the script and

detaches again if it is necessary. btw. u can see what the script is doing by checking the now available /cache/detach.log file. ;)
[Magisk] sakis_the_fraud:
eeeerm help anyone?
[Magisk] labello29:
you are actually restarting and enabling internet connection after 2 minutes disconnects from the play store
[Magisk] Avalon:
Not sure if it's just me or the ROM I'm on but after the latest update it seems that YouTube videos play accordingly except for the sound.

Once I tap on a video it gives me a split second of sound and then the sounds disappears while the video keeps playing. If I scroll the video it sometimes manages to get the sound working again but only with a lucky shot.

Another thing I noticed is that once I play videos with Vanced whilst being connected to Bluetooth it disconnects from Bluetooth the moment a video ends. I'm not sure what's causing this and I hope someone's able to help. I've attached a logcat in case that helps.

I'm using a Xiaomi mi mix running android P.
[Magisk] NegativeOne:
1. Happy phone with regular YouTube

2. Install magisk

3. Install ytv module. Now there are two apps. Ytv, and regular yt

4. Receive update in magisk for module

5. Module is a newer version, but ytv app is older version

6. Uninstall module, reboot.

7. Nothing changed from step 5

8. Uninstall leftover ytv app

9. Install module again

10. Yt is installed, but ytv is not

And if you're going to try to tell me again that the module IS the app, then you're wrong and need to actually look at the module files and read about how all of this works
[Magisk] :
This is mod is fantastic. Well done.

I didn't install custom Rom solely for Youtube Vanced, but if anyone did I would nod my head in agreement. Well done guys.
[Magisk] Dominius:
Hello, did you consider to add option to block album art lockscreen during background playback?
[Magisk] blockhead428:
I guess my last post didn't take, but can you not pinch to zoom on the floating window when you hit home while playing a video? I could on the regular YouTube app but this one will only let me move the window around. Is this a known issue or am I missing a setting somewhere?
[Magisk] Triviox:
The users that have Magisk like us, have modules/app to debloat the phone (and remove Official YT App); then, can you make a YTV version with DIFFERENT id that Official YT? With it, we never will have the "autoupdate problem", and can still update YTV in Magisk Repo.

Thanks.
[Magisk] DanGLES3:
If they change the Id (package name) them play services will stop working,that's the exact reason why the rootless version requires a modded microg to logging
[Magisk] Triviox:
Thanks for the clarification bro! Now i understand why use the same package name :) ..

Okey, then "enable_deteach" and pray hehe
[Magisk] madbat99:
Your step 3 shows an error. There should be no regular yt after installing the module. The module contains the ytv APK.

There is definitely a problem in your setup, or installation. I have never seen this problem.

The module should replace regular yt with vanced.

Why this is happening on your device? Well I'm sure I don't know, as I'm sure no one else does. None of us are psychic. Without install logs from either magisk or TWRP, no one can say what happens on your device.

I would recommend removing all traces of Vanced module and start over.

Are you by chance using one of the newer canary builds of magisk? They have removed the "image" and use another method.
[Magisk] NegativeOne:
That seems to be true for newer builds, but as an old user I can tell you it wasn't always the case. In fact ytv used to have a distinct name from yt.

And I did clear all traces, that was in my steps. What do you think I missed?
[Magisk] rakesh.aggarwal:
I am getting force close on youtube vanced after upgrading to any magisk version higher than 16.

Redmi Note 5 Vince,

Magisk 18.1

Android O 8.1

Miui 10.0.4.0

Magisk Logs……
[Magisk] Didgeridoohan:
The Magisk module has always replaced the stock YouTube. It systemlessly debloats the stock app and installs the Vanced version instead. If you're getting multiples of YouTube installed when using the Magisk module, something's wrong. Logs?

The Magisk log won't show anything having to do with the app force closing. You need a logcat for that...
[Magisk] wodgey:
Is it possible to use after install without magisk?

I love this app. I can listen type YouTube whist driving without having to have the screen enabled.

My phone cannot re-lock the bootloader whilst I have magisk installed. I installed vanced via twrp but my phone doesn't boot unless I have magisk installed.

Is there anything I can do or am I stuck with having my bootloader unlocked?
[Magisk] garylawwd:
Use the non root version from the main thread
[Magisk] adudyak:
Youtube was updated automatically and has removed vanced version yesterday.

I've removed module, installed it again, but stock Youtube is not replaced with Vanced version.

miui 10 global, magisk 18.1, vanced 14.10.53 black.
[Magisk] garylawwd:
Go into your main settings and click on apps. Find YouTube and click the 3 dots in the top right corner and uninstall updates and thats it
[Magisk] adudyak:
Thank you! I've also disabled youtube auto-update in Play Store to prevent this in future.
[Magisk] garylawwd:
Deleted

Double post for some weird reason
[Magisk] wodgey:
M'eh I was trying to avoid that as I've never managed to get microg working properly.

Thanks anyway
[Magisk] labello29:
file enable_detach

which permission it needs ?
[Magisk] madbat99:
It's a modified microG. It's only for Vanced and it doesn't need any tinkering at all. Just install it, then log in on Vanced.
[Magisk] ZaneZam:
yes exactly /cache/enable_detach

no specific permission it just has to be there

then reboot 60 sec after reboot look into /cache dir there should be a detach.log file then if all did go well. ;)
[Magisk] SteveYoungs:
I've stopped using this because I noticed that when Google reattaches it also resets the auto-update flag. And then it is only a matter of time before ytv gets overwritten in between detach script loop iterations.

So now I live with seeing YouTube in the list of apps ready for updates but my YouTube Vanced is never lost unless I do something stupid.
[Magisk] ZaneZam:
yah that can be if u did only disable youtube app auto-update. i never experienced this when disabling auto-update in general for all apps (which i anyway do since using android)

so i think disabling auto update + detaching is the only way to make it "water proof" (for now)
[Magisk] Assassin's Blood:
This is awesome. Thanks for this. That's it
[Magisk] adudyak:
Removed youtube completely, cleaned all traces, installed vanced mod via Magisk but app just blinks and does not start successfully(no errors or reports). In 1 out of 20 attempts it starts successfully.

What could be the cause?

Miui 10.2 global, Mi 6, Magisk 18.1.
[Magisk] DiamondJohn:
A logcat will help someone to help you.
[Magisk] adudyak:
I've installed non-root version, it works.
[Magisk] Triviox:
Someone tried this Magisk Module to detach?

https://github.com/Magisk-Modules-Repo/Detach

in FAQ i see:

"A: With a recent update of the Play Store, an unknow wakeloks refresh the SQL database file of the Play Store. To fix it, just install Terminal Emulator or Termux (or another terminal emulator app) and type:

su

Detach

(2 other options has been added into the menu but use them ONLY if you know what you want !)"

Then i make:

su

Detach

d (Instant Detach)

Now Store not show "update avaible", i'll check after some hours / days if still hidding.

EDIT: dont work, Youtube updated in the nigth :/
[Magisk] Washo4evr:
Hello,

Where is the Shield TV version please?

Thanks
[Magisk] astracd:
I have it on tablet, works good.
[Magisk] Eng.Raman:
Successfully installed x86 official module via magisk manager. :good:

Zenfone 2/ stock 6.0.1 / magisk 14.5.
[Magisk] mbc07:
Do you guys have plans to publish this into the Magisk Repo? This way we could get updates directly through Magisk Manager...
[Magisk] ZaneZam:
https://github.com/Magisk-Modules-Repo/iYTBP-Vanced-black-Magisk-Repo

https://github.com/Magisk-Modules-Repo/iYTBP-Vanced-Magisk-Repo

;)
[Magisk] t0per666:
I have no root arm64 installed the latest for non root the app is just keep on loading and doesnt display videos

Edit: nevermind it worked now after i re-enable the official yt app thanks!
[Magisk] KevinX8:
It's already there, just updates on the magisk repo take much longer as we must make combined arch zips but Google only releases x86	apks like a month after the other archs
[Magisk] aydinbahadir88:
Can I use YouTube on version 12.47.56 Update in Playstore ?
[Magisk] KevinX8:
No wait for the module to be updated, this is not xposed
[Magisk] aydinbahadir88:
Okey thanks :)
[Magisk] 64ashg:
So anyone still having trouble with the all not being listed? I uninstalled the magisk repo version as it was crashing and now using the installer and settings file i am unable to see the app anywhere. The detach magisk module has been installed.

No YouTube app preinstalled. Oreo oxygen os with magisk 14.5, using iYTBP-v12.45.54-b01.12.00-minAPI21-arm64-v8a-alldpi-black-v2.6-vanced.apk.

Installed the installer zip with magisk and detach module. Rebooted, nothing. Installed youtube from playstore and rebooted, no changes. Uninstalled youtube to see if the iytbp version lops up, no changes still.

Any help is appreciated.

The youtube folder in system app seems to be there with all files..

Edit resolved, reflashed rom and didn't remove youtube while debloating seemed to solve the issue..
[Magisk] TheUndertaker21:
I can't flash this on pixel 2 xl.

Got that error 1 Everytime.

Can't flash to recovery not. Magisk.

Anyone else? Thanks
[Magisk] jorgeenriqueruizflorez:
Just installed it this way, and everything is working perfectly.
[Magisk] Subray:
Not working in pixel 2xl.. There is a warning in OP first post..

Read it and use the mods he advises.
[Magisk] Velfess:
How to make this work without Google play services? I've installed MicroG, MicroG for YouTube Vanced and service framework but still get an error.

Edit: I needed 'Fake Store', now it works.
[Magisk] laura almeida:
Or else use non root version
[Magisk] WarriorMax:
Sometimes screen is black. No video playback... Never happened before with the unofficial version
[Magisk] Schroeder09:
I just updated to 8.1 final, installed twrp, installed magisk 14.5 (was on 14.0 with 5.4.3 manager on 8.0) , installed flash kernel 2.0, and there are some issues. When i try to open YouTube iytbp I can't. It crashes before opening with the message "waiting for wifi to download has stopped"or waiting for wifi to download keeps stopping."

I know this doesn't belong here, but maybe it's related. VIPER4android isn't working even tho my see Linux switch is on permissive.

What looks do you need to help me and how do I get em?
[Magisk] Schroeder09:
Is it best to delete everything trace of the Pp before attempting this? Titanium backup seems unable to remove YouTube. It's in my app list and even in titanium backup. Last time I deleted the last traces of the file in solid explorer. Then I installed the iytbp 12.45.56. then it worked great. I just tried flashing iytbp 12.45.56 64 black .zip and the 2.7 installer in twrp 3.1.1 beta 2. I received the error 1 and it failed.
[Magisk] Schroeder09:
Do these files have to remain in the sdcard/downloads? I put the 12.45.56 black.zip in an iytbp folder. The installer .zip is in there too. I put the detach.plz file in there too. All traces of youtube r off the phone. I booted into twrp. I tried flashing both zips. They both failed with the "error 1."

I have flash kernel 2.0, Oreo 8.1 final, twrp 3.1.1 beta 2, and magisk 14.5 with manager 4.5.3.

EDIT: I flashed the arm64 black 12.45.56.zip through magisk. The app seems to be working. Should it be? I had planned on flashing the installer .zip too. I extracted it, put the detach plz file in the installer folder, re-compressed it, but then it looked like twrp or magisk couldtnt see it anyway. I guess that means it's a good thing the normal install worked. Am I the only one who got it to work this simply though on 8.1?
[Magisk] soder:
My YouTube crashes when I try to upload a video. Common problem?

/Söder
[Magisk] j-a-d-z:
Had the same problem here on my N5X. Installed the module in magisk manager -> YouTube app renames to "waiting for WiFi to download" and keeps crashing. But had the same error before with older module variants of iYTBP and older magisk versions and also on nougat and oreo 8.0.

So I uninstalled the module in magisk manager and installed it again in TWRP. No problems anymore on my phone.
[Magisk] Project_WHaT:
I've downloaded the Vanced Magisk module, rebooted, but I can't find the Vanced version anywhere
[Magisk] DiamondJohn:
I dont personally use the Magisk module for vanced, but for other Magisk modules, they normally need to be switched on / enabled and then another reboot.
[Magisk] Project_WHaT:
it is enabled and I've rebooted several times now
[Magisk] XtraWater:
The very first time I had to install the module by twrp.
[Magisk] :
Filter feature in search is not working... I search anything and after filterimg, I don't see any changes in the search results..
[Magisk] bafforosso:
Isn't there the same behaviour in the OG YouTube app? If there is then it is a Google problem, not Vanced.
[Magisk] lazostat:
Why beta and stable have different versions and dates if the only difference is the amoled /black theme?
[Magisk] guest4711:
A new theme can introduce new errors. Starting with little annoyances like white text on white background, ending with FCs/traps caused by null pointer dereferences, divisions by zero and stuff like that.
[Magisk] VincentJoshuaET:
The universal installer doesn't detect Magisk 19, I want to install the detach module. Please update, thank you.
[Magisk] tlf55:
I second to that, didn't worked for me too
[Magisk] Tesla:
[MENTION=5168296]KevinX8[/MENTION]

Thank you for this. It's just what i want the app to be.
[Magisk] ZaneZam:
next version is already in work... at least whenever i can route time to it ;)
[Magisk] jorge artaza:
Push notifications not working on YouTube vanced

Hello I recently installed YouTube vanced and is a great app no ad's more features etc. I have a problem with the. The problem is the the app does not give me push notifications when new content is added. How can I fix it? Can anyone help?
[Magisk] Ps24u:
QFT. Please consider.
[Magisk] :
An Idea:

What if we could have an WhatsApp vanced module with extra features similar to GB WhatsApp and others :laugh:
[Magisk] Sachin ET:
Preferred video quality is still not respected. It stays in auto for every chosen resolution. Please fix this ASAP.
[Magisk] kunaldas65:
no problem here
[Magisk] iMystic:
Auto repeat in background was working for me but recently it has stopped working again. Not sure if I made any changes to my phone which would cause this. Using the pocophone F1 running Android 9 pie.
[Magisk] PesSarmiento:
So the cast feature works fine in rooted devices?
[Magisk] mjskraju:
For me YouTube Vanced quits immediately when I try to launch(nothing comes up on the screen). This is a new installation done from Magisk Manager itself. No other modules are installed or no adblocks being used. I'm using Magisk Manager 7.1.1 & Magisk 19.0. After trying to launch it multiple times, I got an option to copy the Crash Log URL(see attached screenshot) & also captured log using MatLog app. Logs points to a NullPointerException (for which I have googled it bit didn't get any thing pointing to it). MatLog log also points to an error that says can't find "/system/app/YouTube/Youtube.app", but it is there(see the attached screenshot). Tried uninstalling it & installing it again, bit same results.

Android Version: Pie with March Security patches.

ROM: POSP

Device: Xaiomi PocoPhone F1(berrylium).

Crash Log URL: https://del.dog/afevuxozay.cs
[Magisk] toffik325:
For everyone having troubles with detaching YouTube Vanced from your Play Store: go to "system/cache" and create "enable_detach" file, without any extension and content, just pure file. This will enable the script checking whether YouTube is attached and will detach if the answer is yes. Don't worry if you see the notification from Google Play that there is a new YouTube update, just wait up to 3 minutes until the script detach YT again. You can disable auto-updates in Google Play to make sure it won't get any updates during this time. I tried Detach module and Titanium and YT gets attached every time and only solution is to automatically check every few-minutes whether this is attached or not (which the enabled script does).

Edit: didn't see the answers :P anyway, maybe for someone new this answer will be more noticeable.
[Magisk] icsterm:
detach.log in /cache -> com.google.android.youtube not found

doesn't work because something has changed in newer gapps

Quote Github:

Detach/Attach app from Playstore: Due to multiple reported issues for some users (eg. apps auto update broken) and since update from 10.04.18 detaching is by default disabled. If u want to enable it u have to put a file (can be empty) called "enable_detach" into your /cache directory and reboot the phone. 60 seconds after reboot the app gets detached from playstore. If u want to disable detaching again put a file called "disable_detach" (can be empty) into /cache directory and reboot the phone like with detaching 60 seconds after reboot it gets attached to playstore again. WARNING: Due to the hacky nature of this method there might come up unexpected issues with the playstore and it's functions. So be warned and enable it at your own risk!

The non-root version is better in this aspect, lol.
[Magisk] stiggerby:
I read on here about using the xposed module sudohide to detach vanced from the play store and it works well.

I have tried using titanium, the enable_detach file and the magisk detach module but the update notification always came back.

Sorry for not mentioning the person who reported this method, couldn't find the post.
[Magisk] D1stRU3T0R:
Since some weeks, youtube vanced isn't working. Tried everything but failed to work. Somehow it worked once but idk why or how.
[Magisk] sizzlers:
I just reflashed Hades rom with it's inbuilt YouTube vanced and don't have update problems or anything . Pretty seamless
[Magisk] :
Good for you, but for which devices is this actually available? Not really a universal approach.
[Magisk] sizzlers:
Google Hades rom and your device and find out