yashsingh1/xdaforums huggingface dataset:
[Magisk] Timmmmaaahh!:
There is a function within Vanced (search for detach in this thread) but a more dedicated thread has some interesting developments in that area: https://xdaforums.com/android/software-hacking/mod-detach-market-links-theme-ready-apps-t3447494
[Magisk] astracd:
https://drive.google.com/drive/folders/1x67EYgPeLLSVzRfZyeLRCeWmbF-fUggd

this google drive link is provided through https://vanced.app/APKs?type=ROOT

Download ytva-universal-installer-v4.1.zip and ytva_only_detach_from_playstore.plz

Open magisk / modules + to add new module

Go to downloads and install ytva-universal-installer-v4.1.zip

Reboot...

Wait for min and go into play-store there should not be new updates required for YT.

Note you still need to disable auto updates on play store, as for me sometimes updates go through, but others report it do not.
[Magisk] macauf:
Hi there. I use Soundhound which has an option to link to youtube for preview music videos. My current phone setting has disabled the original youtube app and make Vanced the default. But when everytime I use Soundhound to connect Vanced, it always show error message. But for FB or Chrome that links to Youtube, it will auto connect to Vanced and works perfectly. Is there a way to tackle it? Thanks.
[Magisk] J_M_V_S:
It's working fine for me. Make sure you're using the Magisk version.
[Magisk] SecretPotatoChip:
Youtube Vanced won't stay signed in on my galaxy tab s4. It will stay signed in for an hour or so and then it won't. I have to uninstall and reinstall micro g to get it to work, but that doesn't actually fix it. I've never had this issue before.

I am running 8.1 oreo with the December security patch. I am non rooted. I've tried uninstalling and reinstalling it, doing the same with micro g, and multiple restarts, but to no avail.

Any help would be much appreciated.

EDIT: I FIXED IT. The solution was to give micro g permissions. My tab s4 did not allow any permissions to micro g by default. Enabling the permissions seemed to have fixed the issue.
[Magisk] catharsis724:
Anyone having trouble today getting the app to load at all after launching? Seems like it is incapable of sending and receiving data. Has been working fine earlier this week.
[Magisk] :
No problemes here.
[Magisk] pedro1977:
Didn't work for me, there was no option to stop updates but it was disabled anyhow. In the end it updated it without permission. Why isn't there a version of vanced that can be installed as a non system app?? Atleast then we could uninstall the system version, install the vanced version and it wouldn't show as it would be classed as a non system side loaded app which wouldn't appear in the list.
[Magisk] astracd:
You can install non root app and it will be there all the time
[Magisk] pedro1977:
Microg doesn't work on mine says app not installed.

Update solved had ogyt version installed on here from before.
[Magisk] astracd:
Micro g usually need to be installed after installation of the non root app.
[Magisk] N1NJATH3ORY:
i was having the same problem, it would not install. So what i did i removed all the YouTube Vanced modules from Magisk then rebooted into twrp recovery flashed https://drive.google.com/drive/folde...LRCeWmbF-fUggd this google drive link is provided through https://vanced.app/APKs?type=ROOT rebooted its working as i tried about 3 times it would not install make sure you have no Magisk YouTube module installed as it won’t work if you have!
[Magisk] yashau:
Ok I'm at the end of my wits here. I'm running an hourly detach script and YouTube is nowhere to be found in the Play Store library tab but it STILL managed to update itself overnight. How is everyone else tackling this problem?
[Magisk] VincentJoshuaET:
The stock detach script from the module zip works perfectly for me. All I had to do is create the enable_detach file in /cache.
[Magisk] DiamondJohn:
turn off automatic updates for youtube. Even if you have the detach running every hour, that still means that there is up to an hour window in which it could reattach and do an update.
[Magisk] grossdm:
I've installed the root version by flashing from TWRP. The TWRP log suggests that it succeeds.

After rebooting, I have no new app.

I've seen references to "enabling the app" - please, could someone tell me what this means and how to do it?

It's so frustrating doing endless searching only to find instructions to "do this" with no suggestion of how or what "do this" means.

:confused:

TIA,

Doug
[Magisk] sotosgolf:
I took two logs but i don't really know what to do with the info.

I was getting continuous errors on the first one while the phone was violently stuttering.

On the second one i had a FC of the app.

Update:

My problems were ROM-related. The module is working great.
[Magisk] Jackaroop:
I install the module via TWRP. After that I go to the play store and uninstall or disable YouTube. Then Vanced appears in my app drawer, only showing once I disable/downgrade to factory version of YouTube.
[Magisk] grossdm:
I started by removing the official YouTube app.

I don't think the installation instructions were very clear.

E.g., get the installer file from this link - then you find a shared Google Drive folder with many files. Which one or are all needed? In general, which files go in the root directory and which go on the download directory?

It appears that I now need to figure out the uninstall procedure for Vanced, reinstall official YouTube, reinstall Vanced, and THEN remove official YouTube - did I understand correctly?

---------- Post added at 07:55 PM ---------- Previous post was at 07:45 PM ----------

This is exactly what I tried, *except* "Enable YT app".

What on earth does this mean?

Step 1 is completely remove official YouTube app - done.

After flash installing Vanced, what/how/where do I "Enable" "YT app"?

Do I do a clean install of the official YouTube app after installing Vanced??? :confused:
[Magisk] astracd:
You don't remove it completely. Official app disabled , then Vanced installed , then enable YT under apps as it show disabled.
[Magisk] grossdm:
I have a working theory for my installation trouble.

I may have taken step 4 https://vanced.app/APKs?type=ROOT to mean more than was intended.

At step 4, I removed YouTube from my phone. Gone. Zip. No manner if YouTube apk file installed anywhere in the system.

It seems that Vance (is there a Vance?) wants rooted users to keep YouTube installed as a system app but to ask Android to "turn off" the app, which removes updates and flags the factory apk as disabled.

Having left YouTube installed as a system app, (again my working theory) we are provided zip files to allow a "flash" installation of Vance as a system app (as opposed to just directly installing it as a system app, which rooted phones can do).

I have yet to reinstall factory YouTube as a system app and proceed with flashing.

I'm left to wonder about contention between both apps/packages installed with the same name.

Also, I am curious how updates to Vance are provided.

Hmm. I hope this post isn't just a useless "brain dump" with no benefit or questions that others might answer.

Here goes... :silly:
[Magisk] grossdm:
Having already removed YouTube completely, I found a version on apkmirror roughly close to what the factory version (probably) was. I installed it, converted it to a system app, and used system app settings to "turn off" YouTube.

I use TWRP to flash ytva, wiped the cache dir and cleaned dalvic cache.

Back in system app settings I "turned on" YouTube (which still displayed the low version number that I installed as a replacement for the factory version).

When I started YouTube, it just displayed a message that I needed to update to a newer version. I.e., it refused to run.

Is this expected?

What should I do now?

Should I allow Google Play to update YouTube?

TIA,

Doug
[Magisk] garylawwd:
You don't need youtube installed at all.

When you flash the module it installs youtube vanced apk. That's all you have to do.
[Magisk] grossdm:
That's the first thing I did.

It appeared to flash successfully (log inside TWRP), and in /system/app/ a "YouTube" subdir was created containing an apk with (IIRC) the name YouTube.apk. It seemed odd that it was in a subdir, but I'd never done this before.

There was no YouTube or other app listed as installed after booting from the flash.

This began my (increasingly lengthy) struggle to get ytva installed *and* working.

At the moment, I have recovered from a nandroid backup the earliest YouTube apk that I know to have been installed. I installed this and converted to a system app. I allowed Google Play to update to the latest version.

I have just now done the "turn off" step and am ready to flash again.

If you are correct about not needing YouTube installed at all, do you have any ideas or suggestions about my apparent failed install on my first attempt?

TIA

P.S.

If we're looking at a root install via flash, what's the point of keeping the original apk installed - as per the official instructions?
[Magisk] DiamondJohn:
If your apps are not in sub directories, then chances are you are running a pretty old version of android. It may help others help you if you make that clear; if you haven't already.
[Magisk] ArkAngel06:
I have a OnePlus 6, and I can't find YouTube Vanced in the Magisk Module Repo. I even downloaded the zip manually from the repo, but when I try to install it via Magisk, it says this is not a valid module.

Any ideas?
[Magisk] OronDF343:
What version of Magisk do you have? You may need to update to 18. Also make sure the Magisk Manager app is up to date
[Magisk] dante`afk:
Hello,

I have a OP6T, downloaded youtube vanced through magisk but I cannot find it anywhere? I Have magisk version v18.0. magisk manager is version 6.1.0

Thanks
[Magisk] Portgas D. Ace:
Did you uninstall any official Youtube apps before installing Youtube Vanced?
[Magisk] dante`afk:
I have not, will do that now.

edit - works now thanks. but seems a bit on the slower side than original youtube? also is it posisble to download?
[Magisk] Ixioon:
no you can't you need youtube premium for that
[Magisk] guest4711:
I use NewPipe (A free lightweight YouTube frontend for Android.) - https://f-droid.org/app/org.schabi.newpipe - for downloads.
[Magisk] Beakhole:
I use YouTube-DL in Termux to download YouTube videos. The normal way of downloading YouTube videos with youtube-dl is just by typing the command followed by the video url. But I just discovered this guide that makes it even easier to download them. You supposedly can just "share to" Termux from the YouTube app which will automatically download the video. I'm gonna give that a try and see if it works because that's just freakin awesome if it does.
[Magisk] lord_emperor:
I'm having the issue with the app not showing up after installation.

The situation is, I uninstalled Magisk 18 and re-installed Magist 17.3 today to resolve periodic SafetyNet issues. My YouTube official app has been completely uninstalled via TitaniumBackup since forever. I installed Youtube Vanced from the Magisk repo and it doesn't show up.

I've reinstalled multiple times. Installed the official Youtube app from the play store, tried Vanced with and without the official app installed. Nothing makes the shortcut show up.

I even went so far as to manually delete the app folders prior to reinstalling. Before and after I see the same:

The Internal Memory:/android/data/com.google.android.youtube directory is empty of files but has a /files and /cache directories in it.

The Root: /system/app/youtube directory has files in it, including a YouTube.apk created today.

Edit: Actually, I was able to launch YouTube Vanced through the play store and this realized that a generic android icon app named "com.googl..." is the Vanced shortcut. So it's "working" now.

Is there an easy way to create a legitimate shortcut with proper icon and name?
[Magisk] IODroids:
Appl is installed but cannot locate on device.

Default youtube app is still visible and working?
[Magisk] Portgas D. Ace:
Uninstall original Youtube app first.
[Magisk] garylawwd:
What he said above

Or just uninstall updates to YouTube if it is installed as a system app
[Magisk] coeptisr:
Hi guys, when I try to move new yt app(14.04..) systemm\app or using with some other apps(app2sd etc. ), com.youtube folder... disapper. Yt app deleted from my phone. And other note for that When I try lucky patcher for system app, lucky patcher doesn't seem. I can't see in app list. Any suggest?
[Magisk] PratikJain4:
Guy, anyone using the method "enable_detach" to detach YouTube from Play Store.. Did you find that some or all of your google play purchases have been missing ? I can confirm this was true in my case. On the same ROM , when I had that file present in /cache , it used to somehow kill the play store application and probably due to this, the purchases went missing. Now that I have removed that file, I no longer face this issue since last few days.
[Magisk] PesSarmiento:
Hey did you find a solution, how you fix the problem.. I installed the latest version and can't cast to Nvidia shield TV.
[Magisk] nohart:
No I still have to open the YouTube app on the shield first. Then go to my phone open YouTube and then I can cast to YouTube. The Nvidia Shield never shows up as a selection.

YouTube does not show up as a selection unless I first open YouTube on the shield.

The stock YouTube app works correctly.
[Magisk] Antoine164:
YouTube Vanced is crashing here after updating magisk to 18.1

Are you having the same problem?

Tried reinstalling YouTube Vanced, disabling Vanced detach, format cache and dalvik cache.. Nothing worked.

Here's the log. It's related to notification. About that, I have no notification of YouTube Vanced in the notification bar. Are you having the same problem?

https://del.dog/icoweriguy.sql

As you can see here I have a strange name for the app too and no icon.

https://image.noelshack.com/fichiers/2019/06/2/1549392711-screenshot-l-interface-20190205-195046.png

And when I disable all notifications of YouTube Vanced app as you can see in this screenshot, it's working, no crash and I can play video in the background. Strange issue related to notification.

https://image.noelshack.com/fichiers/2019/06/2/1549393152-screenshot-param-tres-20190205-195824.png
[Magisk] madbat99:
Do you have a substratum theme enabled?
[Magisk] Kglim:
Thank you for your great work sir!!!

May i plz ask for the update of newer versions youtube??
[Magisk] Antoine164:
No substratum theme enabled, no. Substratum app is not even installed on my phone.
[Magisk] :
not opening on Redmi 3s (land) just crashing..
[Magisk] jacopastorius:
Hi all. I have s8+ rooted with magisk and downloaded vanced YouTube module. After flashing it did appear in the app menu but after some reboots it disappears and o cannot make it come back even after reflashing it. Any solutions? Thank you
[Magisk] Kglim:
Auto update from playstore?

Stop service from application menu?

Debloated from systemizer?

Hide from magisk?

I'm in the same environment as u and everything works fine to me
[Magisk] kot2202:
Anyone also has problems with background loop? if I hide the yt completly ( even the small window ) it stops repeating the video, not sure if my rom problem
[Magisk] heccubusxda:
Delete
[Magisk] Kglim:
Thank you for update to 14.0.6!

God bless u Dev!!
[Magisk] heccubusxda:
Having this same problem with missing icon/shortcut. At a loss of how to solve this issue :/
[Magisk] Antoine164:
Having a problem with icon too as you can see here

https://m.imgur.com/a/38fa108

Got an icon for YouTube Vanced in home desktop and in app drawer but no icon in recent panel and a package name instead of "YouTube Vanced". I have to disable all notification for YouTube Vanced to make sure that the app is working correctly. If notifications are enabled, it's crashing while playing a video.
[Magisk] Radioplayer1997:
So I have a problem that I have a question about, I have a oneplus 5 with RR 6.0. Magisk youtube vanced... For some reason 98% of the time when trying to watch a video with headphones, the video sound doesn't come threw my headphones. The video also becomes really choppy, like a frame a second choppy. But, when i unplug my headphones it takes a few seconds but kicks back into full frames and sound comes threw my speakers perfectly fine. I tired starting the video without head phones then plugging them in; same issue. I tried different versions from the rooted version and vanced black theme version on magisk; same issue. Any ideas?

Update: even the official app does it strangly... But when using a browser it's completely fine. Am I missing some needed Google thing?
[Magisk] dandud100:
Secret Menu

So i unlocked the Secret Menu but what exactly is unlocked i cant find anything new?
[Magisk] namezz:
Anyone having problems with playstore updating YouTube no matter what you do on android pie? The only thing that works is disabling and set back to original app which is YouTube vanced. But after a day it updates to regular YouTube again. On android 8 it was working perfect.

Obviously auto update in playstore is disabled.

Anyone got a clue?
[Magisk] fourthquadrant:
Can any one tell me how i can enable the microphone permission for youtube vanced?

The only permissions listed in the settings menu are storage,camera and contacts.
[Magisk] AL.XP15_:
How to turn off auto update from pkaystore?

I was flash this module but its auto update and become to youtube official

I was turn off auto update from playstore but still same issue

And it was three time from me

Sorry my englis very bad
[Magisk] ZaneZam:
put a empty file named "enable_detach" into your /cache directory and reboot your phone. 60 seconds after reboot the youtube app gets detached from playstore and the update should be removed from list

but NOTE: this only reduces the appearance of the update notification but it can't 100% remove it (technically not possible atm). if it still returns after putting the file and reboot then just

wait a bit and use your phone, in about 180 seconds youtube get's again detached. thats the default loop interval.
[Magisk] AL.XP15_:
Ok thanks for the help.

Hopefully developers can improve this module so that it can be permanent detached of Google PS :)
[Magisk] grossdm:
Yes, I'm running Android 4.4.3.

Sorry for the oversight.
[Magisk] shindiggity:
What do you set permissions at?
[Magisk] johnwaynegacy:
Hey, guys. Quick question.

When I turn off my screen, youtube background playback stops after a few minutes. Only when I turn the screen back on does it start working again. I assume it's a wake lock thing that I can probably set myself somehow. Not sure if or how though. Let me know if you have some information

My phone is an lgv20 on android 7.
[Magisk] ZaneZam:
doesn't matter, file has just to be there ;)

---------- Post added at 10:24 AM ---------- Previous post was at 10:17 AM ----------

this actually shouldn't be necessary but probably the battery optimization. look in your settings for a option "battery optimization" or similar and try to exclude youtube app, maybe that helps.
[Magisk] johnwaynegacy:
That seems to have worked. I will test it more thoroughly later, but so far, so good.
[Magisk] anttaz:
Exoplayer V2 has gone from playstore? How to obtain or is it built into android P?
[Magisk] D1stRU3T0R:
Is it just my or youtube vanced magisk doesn't work anymore?
[Magisk] dyingbread:
It works just fine in my phone and tablet
[Magisk] D1stRU3T0R:
For me it doesn't... Not even black themed which i always used.
[Magisk] s.i.t.h.l.o.r.d:
Never worked for me either. Installed the module but never got background payback etc.

But then, I might be using it wrong/didn't set anything after installing through Magisk.
[Magisk] D1stRU3T0R:
It was working fine for me, until i changed my rom :/
[Magisk] dyingbread:
That means the problem is your rom not youtube vanced
[Magisk] D1stRU3T0R:
Not really, i changed my rom to the same one but updated +D basically clean OTA
[Magisk] Prof. Yaffle:
Working fine for me on my 6T and Nexus 7
[Magisk] Maaark132:
Youtube vanced for magisk is running great on my OP 6T, but is there also a youtube music vanced app? So I can use it with android auto?
[Magisk] c2781130:
When I changed the quality it crashed.

I am using 14.06.54 magisk version (download and install via magisk manager)
[Magisk] DanGLES3:
Try setting the preferred video quality to auto,it fixed it for me
[Magisk] Kylethedarkn:
Hey does anybody know if this module works on oreo (v8.0.0)? I have a Samsung J7 refine from boost mobile that I was able to root via oem unlocking and using odin to flash a new boot with magisk in it. So I tried installing the module with youtube updated and regular and it didn't do anything. I tried reverting youtube to factory defaults and it didn't work. Then I saw the developers recommend you just delete the youtube app as this will replace it, but I did that and nothing is there.
[Magisk] Nebrassy:
I'm getting this crash, wiped data, reinstalled, same thing

https://del.dog/okulogizuh.rb
[Magisk] auburn2eugene:
Hmmm. So I'm using an older version of this module, on an older magisk version, on an older Android version. The app works fine but I get a notification when I open it that I need to update YouTube. I came here to update to a newer version to kill that notification, but reading through the last few pages of comments, I'm thinking I need to just keep declining the update notification....

Everything works perfectly other than that notification every time I open it...

Are these issues just for new versions of Android?

Magisk version 6.1.0 (165)

Vanced version 13.43.50 (b01.26.00)

Android version 7.1.2

Will I be ok if I update, or should I just stick with what I have?
[Magisk] ZaneZam:
actually this Vanced version 14.06.54 (b01.30.10) is the very newest and yes the notification got "fixed" for newer versions only.

despite what u read u can really use the newest version it's working pretty well beside of some hickups which not everyone has (depends on the used yt settings) so its not that dramatic

oooor u wait a bit for a newer one which will (hopefully) fix all the crashes. its already in testing phase so if all goes well a release will come soon. ;)
[Magisk] auburn2eugene:
Actually I was looking at the wrong spot for my vanced version. The one I'm on is 13.43.50 (b01.26.00)

Thank you for the reply though!
[Magisk] chwiejak:
Hello,

How to disable background yt image on lock screen?
[Magisk] FReaX908:
Should be somewhere in your rom lockscreen settings. Not in yt settings.
[Magisk] Sachin ET:
I'm having an issue with 14.06.54 (Magisk) version of this app. The video resolution doesn't stick with "Preferred Video Quality" it goes back to 144p even with good Internet speeds. I prefer 480p in all versions but this one is not working. If it can be fixed please let me know.

Thanks.
[Magisk] Jonath198:
Preferred video quality is no longer being respected. Most videos are starting at 144p.
[Magisk] joeb690:
I experienced the same and updated to the latest beta and the selected quality is now being respected.
[Magisk] PesSarmiento:
I update to the latest version. Delete the app before installing the new one. Also I used clean master before installing the new app. And I still can't Cast. I tried casting to Google Chromecast and to NVidia shield TV and is not working. It shows the name of the device but when you try the cast to them nothing happens. Someone else with same issues. I'm using OnePlus 6T with Android 9 latest update. Some help?
[Magisk] ovilaro:
Vanced uninstall

Hi, please some advice would be much appreciated.

I installed vanced through twrp, but I cannot install the apk nor I managed to configure it. Is there any file to uninstall from twrp as well? Only thing found is a .plz file I dunno how to use.

Thanks in advance!
[Magisk] NegativeOne:
It seems like this module is broken. I noticed that updating it doesn't update the app. So I disabled the module and uninstalled the app, then re-installed it, and it didn't install youtube vanced.