yashsingh1/xdaforums huggingface dataset:
[Magisk] tsiftsism:
Unfortunately switching storage permission to on didn't help.

YouTube Vanced keeps asking me to log in every one per day!!!!
[Magisk] Dude_Virus:
Same here, not sure what is wrong but the vanced app just keep crashing. If I reboot the phone then it works if I open the app immediately after booting up but then starts crashing. If I open the app few minutes after booting up then it just keeps crashing. Have uninstalled and reinstalled the app from magisk module. Cleared cache etc but no luck.
[Magisk] catman51:
Just updated both files, now says I have no internet?
[Magisk] garylawwd:
Both files?

This is the magisk module thread
[Magisk] catman51:
Yes I know. I just uninstalled MicroG, and reinstalled and it seems to have worked.
[Magisk] garylawwd:
Your on the wrong thread this is the magisk thread.

You wont find help for non root here just magisk.

Ask here https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757/page1076
[Magisk] catman51:
Oh, sorry.
[Magisk] Dude_Virus:
I got it working using the below steps. Hope it works for you.

I deleted the module and rebooted.

Installed the youtube app from playstore.

Then cleared the storage and disabled the app.

Rebooted the phone.

Downloaded the vanced module from magisk (not the black themed one)

Rebooted to recovery.

Flashed module via twrp.

Wiped cache and rebooted to system.

Went to defrost the app and noticed that the icon has changed from official to vanced.

After defrosting it is working, no app crash.

Have rebooted 3 times post that and it still works.

Now since magisk 19.3 is available will flash that and see what happens.
[Magisk] _f0xx:
Thank you for typing all that out. I have the stock recovery still (for OTAs), but it might be time to get TWRP going again. I had my OP3 running it and enjoyed the convenience and versatility.

Interestingly, I tried uninstalling the module through Magisk again (I don't know that I had tried that on 19.3 yet..), allowed the reboot. I noticed that I had no YouTube at all at this point (was previously an OxygenOS system app as far as I know, so I guess I somehow removed it completely). I then installed it from the Play store, then opened it (not sure if this was an important step), then uninstalled it from Settings.

I re-installed Vanced from the Magisk repo (not black version) and after a reboot it seems to be working!

I've closed and opened it several times, and it works after additional reboots.

I'm not 100% what the magic was, but I think I either had a corrupt download or was missing files of some sort. Uninstalling YouTube all the way (I thought I had previously) and reinstalling Vanced seemed to do the trick.

Thank you for encouraging me to try again. It seems that the 15th time is the charm.
[Magisk] m0ppY:
I updated Magisk to 19.3 and I had an update for Vanced to 14.21.54. I tried to open YouTube but it kept crashing. I uninstalled the magisk module and then installed MicroG and then vanced but still the same

I tried to install the original YouTube app but if I tried to open it, it would crash too. Any Ideas?
[Magisk] _f0xx:
I'm not using microg anywhere on my phone, so I can't confirm it works with the magisk module.

What I'd suggest is you completely uninstall YouTube (any and all versions) if you can. Delete cache and files for the app and then uninstall it. Uninstall microg. Try YouTube from play store.

If that works, uninstall YouTube and try the magisk module again. Maybe that will do it for you.

If not, grab a logcat and post it with all the info about your phone, room, app versions, etc. The more info you provide, the more likely someone here will help you.
[Magisk] Aaagogo:
i have a question regarding Vanced, i have it up and running via Magisk on my redmi note 7, and now there is a prompt from google play store on updating youtube...

since i have "auto-update" turned off prior to flashing Vanced, i'm wondering if i should update from playstore?

cheers
[Magisk] Dude_Virus:
Dont do it... Its a trap.. ?
[Magisk] Aaagogo:
i knew it was a trap... THOSE BASTARDS KILLED KENNY :eek:
[Magisk] _f0xx:
When you install Vanced through Magisk, it replaces the stock app. The play store will see it as the normal YouTube app and try to update it. What would happen is that your Vanced version would be replaced by the latest play store version.

There are ways to "detatch" it from the play store which would stop this behaviour, but from what I've seen it may not be worth the bother. I just live with seeing that notification from time to time.
[Magisk] Aaagogo:
read a couple hundred pages of 2 threads, found this, give this a shot, i tried it and it works.

https://xdaforums.com/showpost.php?p=77514778&postcount=4959

i started with step 3 since i had flashed/installed Vanced.

voila, playstore no longer shows update for youtube
[Magisk] andreacos92:
With latest version YouTube asks me the permission for using microphone (for the voice search), but in the list of available permissions in YouTube app info there are only Storage, Contacts, Camera... not Microphone.

Any idea?
[Magisk] DiamondJohn:
A stab in the dark, but are you certain its youtube that is asking for the permission, and not the keyboard that is displayed while it is shown over youtube?
[Magisk] andreacos92:
mmm... pretty sure. Look at this recording.

https://drive.google.com/file/d/1gs1tca2LKm23LHC_lnSnKs6uJGjcS1Uw/view?usp=drivesdk
[Magisk] kutangman:
i just installed vanced and microg

and whenever i tap on the account it always say "please check your network connection" eventhought i can browse and play youtube freely
[Magisk] DiamondJohn:
Yep, your right. It would seem that its a missing permission in Vanced.

I installed google play version of YouTube and compared the permission screen from both, and it is clear that vanced is missing the permission.

Vanced:

Google YouTube:

I also ran a logcat, and there was a permission failure coming from YouTube (ie Vanced) when the voice search was pressed.

On my daily, I haven't used it for a while, but I had the app "Google Voice Search" installed, and had always use that. It is no longer available on the playstore, and it now fails. Obviously I have not used it recently as it has been discontinued:https://www.androidpolice.com/2018/...s-voice-search-completely-switches-assistant/

The screen shots below simply show how it now fails:mad:

If they wanted to, they could of kept this great little app working, and not having to install google assistant or such, which still did not add the functionality of this little app.:mad::mad::crying:
[Magisk] andreacos92:
Interesting, maybe it can be fixed in a future release of the module.

However, on my end, I think I found a workaround.

First, I uninstalled Vanced Magisk module and let the app update through PlayStore. So I can give permission for microphone for YouTube. Then I uninstalled YouTube update from app info and come back to the default system app, and then I reflashed Vanced module, hoping the permission would remain.

Unfortunately this was not the case, because the stock system app was an old version, that probably doesn't require microphone permission. :rolleyes:

So I "updated" the default system app, I installed YouTube 14.20.54 from apkmirror (that it's just a bit older than the actual version of Vanced module), then I converted it to system app. This version asks for microphone permission, so I could give it to the app, and then I reflashed Vanced module (actually 14.21.54).

Now in the app info there is not microphone permission (there are only the same 3: Camera, Contacts, Storage), but voice search now works flawlessly, maybe it keeps the old permission I gave to system app :)
[Magisk] rp4k:
Is there a way to also enable youtubeTV or is that not possible. I am just curious.
[Magisk] andreacos92:
Is there a way to remove lockscreen album art while listening to music? Keeping the notification with music control of course :)
[Magisk] Aaagogo:
does vanced have a seperate app icon? after installing, i use the regular youtube app icon, but settings show vanced installed.
[Magisk] lokesh ganesh:
Go to security and privacy and click settings next to screen lock then disable display cover art
[Magisk] andreacos92:
My OS (Oxygen OS beta) doesn't have that option. From what I know, Android stock doesn't have that.
[Magisk] kunaldas65:
if not there mean you can't control it
[Magisk] andreacos92:
Well, there are apps (like Google Play Music) that can disable the lockscreen album art.

So maybe it can be done for other apps too.
[Magisk] lokesh ganesh:
Oxygen os does not have that feature.

If you are rooted use xposed module gravity box
[Magisk] andreacos92:
Xposed breaks SafetyNet unfortunately.

Anyway, I can live with the album art in the lockscreen too, but it would be nice if it can be removed with an option inside YouTube ;)
[Magisk] ldeveraux:
edXposed keeps SafetyNet intact, check it out.:good:
[Magisk] garylawwd:
Edxposed can break magisk modules also though.

MagiskHidePropsConfig module is known to break/bootloop if edxposed is installed as it changes the boot process and does some funky things.

Its early days for edxposed at the moment so maybe in future updates these issues maybe resolved
[Magisk] ldeveraux:
Do whatever you'd like, seems to be working fine on my end. I only have ~5 Magisk modules though. :confused:
[Magisk] rp4k:
Edxposed doesn't break my safteynet on my s10+ and I dont hide anything in magiskhide expect the default.
[Magisk] SOCOM-HERO:
How can I roll back one version using Magisk?
[Magisk] rp4k:
Roll what back. Please be more specific
[Magisk] lokesh ganesh:
I think he means the version of YouTube vanced
[Magisk] rp4k:
Ah maybe well if that then you really should be not downloading and installing directly I always select download and save the file just for this emergency. I create my own backups. And btw the old version that I am using works still just fine no issues as long as you dont update youtube.
[Magisk] andreacos92:
I installed EdXposed and GB for Pie, but it doesn't have the option for hiding the album art in lockscreen :confused: where is it?

Nevermind, this module worked https://xdaforums.com/xposed/modules/app-oreo-lock-screen-album-art-remover-t3868485
[Magisk] SOCOM-HERO:
Yes, this. I'm getting banner ads below the video in portrait mode on version 14.21.54. I can't find the magisk version before that one where I didn't have any issues... I could install via the root method, but that would be a bit of an extra step since I've got magisk.
[Magisk] rp4k:
But you are complaining in the magisk thread. The module in magisk has no issues.
[Magisk] SOCOM-HERO:
I know. I'm simply asking for a link to the previous magisk module so I can install that one which had no issues before. For some unknown reason, the latest version of the Vanced magisk module is showing these ads only on my device.
[Magisk] nugrohoz:
How to not showing up video thumbnail when minimizing youtube?
[Magisk] garylawwd:
Settings >> general >> picture in picture

disable that toggle
[Magisk] kevstan28:
Can someone help me ? after installing this tru magisk, YouTube doesn't show on app drawer and applist. i have the latest stable magisk and vanced
[Magisk] garylawwd:
Did you uninstall updates to YouTube before installing?

How did you install?

More info?
[Magisk] kevstan28:
I never update YouTube. It Happens After havoc os update ?
[Magisk] garylawwd:
Dude your making it impossible to help you.

Step by step how did you install?
[Magisk] kevstan28:
sorry, it's already installed before and i never update it on google play store. but after the os update, it's gone if i uninstall it on magisk YouTube app is visible. but when I install again the vanced. its again missing.
[Magisk] garylawwd:
Okay try this with vanced installed.

Go to app settings like in the screenshot and click disable and then re enable and check.

This uninstalls updates that the playstore may have done after the os update
[Magisk] garylawwd:
Sorry forgot screenshot
[Magisk] DiamondJohn:
The ROM install/update script should reinstall GApps (of which youtube is one), however as a stab in the dark, when you update/flash a new/updated ROM it overwrites your system partition which is where Youtube is installed.
[Magisk] update.freak:
in the new version of Magisk Manager (7.3.0) there is no item "YouTube Vanced - Magisk Repo" in the "Downloads"-section.

Will this be added?

EDIT: On settings, clear repo cache. This is a bug of MM v7.3
[Magisk] quyleanh:
How to prevent play store update youtube vanced? Thank you.
[Magisk] ZaneZam:
Try following : create a empty file called "enable_detach" in your /cache directory and reboot. After reboot app gets detached after 60 seconds. Note that the notification will still come up from time to time (as there is no 100% solution yet) but way not that often anymore, u will almost forget about it but only almost. If it appears again just wait for 1 or 2 mins (script runs in background) it will be gone again. [emoji6]

Gesendet von meinem ONEPLUS A6003 mit Tapatalk
[Magisk] mnsiw:
Thanks for sharing this workaround, worked with latest YouTube from APKMirror and Venced 14.21.54 :good:
[Magisk] yannahzinha:
Hello! I do not know what's happening but I can not make YouTube work properly. I installed it by downloading the module through Magisk and it seems to work fine initially. But out of nowhere it starts to crashe and force closes. Don't know what I'm doing wrong.

I have a Mi 8 with Miui.eu 10.3 and got the same error on Mi 8 Lite too.

Heres the log.

Any ideas?

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference

at android.app.ActivityThread.updateLocaleListFromAppContext(Unknown Source:4)

at android.app.ActivityThread.handleBindApplication(Unknown Source:775)

at android.app.ActivityThread.access$1200(Unknown Source:0)

at android.app.ActivityThread$H.handleMessage(Unknown Source:703)

at android.os.Handler.dispatchMessage(Unknown Source:21)

at android.os.Looper.loop(Unknown Source:208)

at android.app.ActivityThread.main(Unknown Source:107)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)

at com.android.internal.os.ZygoteInit.main(Unknown Source:274)
[Magisk] MrRubik20:
I can't get YouTube to stop overwriting my Vanced. I uninstalled all the YouTube updates, uninstalled Vanced, put that blank "enable_detach" file into the cache as it said to do, and I used the universal installer with the install via Magisk and detach Play Store .plz files. When it installs, it says that it successfully detached and everything seems to be fine. Then it'll overwrite it again. Can anyone tell me how to fix this, please? Also, I am on Lineage OS 16 for the Mi Mix 2, and right now it's a nightly ROM. Would the ROM updating every day be causing this? Any help you can provide is greatly appreciated. Thanks!
[Magisk] goporicky:
youtube vanced not working
[Magisk] nitramus:
Did you remove auto update in play store?

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

How do you expect to get any help with this.
[Magisk] MrRubik20:
Yes, I did. But now it isn't giving me the option to disable auto-update. Not sure what's going on.
[Magisk] nitramus:
You are contradicting yourself. You say yes you did then you done have the option.............. Which one is it.

Try clear storage/cashe on play store
[Magisk] fraz1776:
He's not contradicting himself, the same things happening to me.

Auto update was disabled then all of a sudden youtube updates itself and disable update is no longer an option.

I've completely uninstalled YouTube several times and flashed the vanced magisk module but the above-mentioned keeps on happening.
[Magisk] rp4k:
On my s10+

I am still using " YouTube_Vanced_black_themed_-_Magisk_Repo-v14.21.54(b01.40.20).zip" I made a backup just incase but no issues with this version. And no weird problems of YouTube autoupdating but I also have auto update disabled.
[Magisk] MrRubik20:
Exactly! Could you please let me know if you find a solution? I uninstalled everything YouTube/Vanced related and started all over, making sure that I had the required "enable_detach" file in my cache. Then I installed Vanced directly from the Magisk repo. So far, everything is holding. Will let you know if it sticks.
[Magisk] fraz1776:
I've done the same as you pretty much exept I detached from store through titanium backup.

Weirdly I went onto YouTube on the play store and the checkbox to disable updates was back so I've deselected it again. Went back in 10 kins ago and it's disappeared again.

We'll see what happens.
[Magisk] garylawwd:
https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757/post79166777
[Magisk] thespeed:
Great app, freshly installed my phone without the Youtube Vanced app but after 2 days i was so frustrated because of the ads and no background playback

So i unlocked, rooted and installed Magisk.

Would be great if there is an option to stream audio to a Chromecast audio.

I think this is normally only possible with a Youtube Red subscription.

Thanks for the great app.
[Magisk] Schroeder09:
See my last post. I uninstalled everything and did the exact opposite of what you did. I installed only the 12.45.56.zip through magisk. It wouldn't work through twrp. I didn't have to install the 8.1 installer zip either. Anyway, it's working now.
[Magisk] Spillunke:
Maybe i cant update the YT-app via twrp with your zip or in the ARM64 v12.45.56.zip is version 12.45.54.
[Magisk] martinklaus:
Not working for me, here is my log.

- Copying zip to temp directory

- Installing injected_YouTube_Background_Playback_Vanced_-_black_themed_Magisk_Repo-v12.45.56b012.zip

- Mounting /system, /vendor, /data, /cache

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

inflating: common/post-fs-data.sh

inflating: common/service.sh

inflating: common/system.prop

inflating: config.sh

inflating: module.prop

************************************************

* iYBP Vanced black themed Magisk Repo Version *

************************************************

******************************

Powered by Magisk (@topjohnwu)

******************************

- Creating /data/magisk_merge.img with size 128M

critical error: ext4_create_fs_aux_info: filesystem size too small

Creating filesystem with parameters:

Size: 134217728

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 1024

Label:

- Mounting /data/magisk_merge.img to /dev/magisk_merge

Cannot mount image!

! /data/magisk_merge.img mount failed...

Failed!

! Installation failed
[Magisk] Timmmmaaahh!:
If only Android was like Linux where one could capture logs of these events... Oh, snap! Android IS Linux! That means we can capture logs after all, hurray! :victory:

Since it wouldn't be relevant here I'm posting the technical details in the original thread here.
[Magisk] soder:
Haha, touché!
[Magisk] vincentallen2:
How do enable the PIP mode? It used to work when I used the non magisk version, but now that I'm using the magisk version, only the background audio plays when I press home. It's not enabling the minimized video on the home screen anymore
[Magisk] Francescoso:
when I restart the phone the module is removed and I have to download YouTube, uninstall the updates and reactivate the module. How can I keep it off whenever I turn off the phone?
[Magisk] kaushiknadig:
This I think is a Magisk Bug. What Magisk version do you have installed? This existed on Magisk 14.0. Update Magisk to latest beta 14.5 to get this fixed.
[Magisk] Subray:
Go to page 4 and read my post. It worked for me.
[Magisk] Roooohaaaan:
Flashed Successfully But There Is NO Youtube App On Drawer Even there is no module in magisk manager! Rebooted Couple Of Times Still Noting!

LOG Added!
[Magisk] Ygor Cortes:
I tried using the vanced installer, but then the YouTube app doesn't get actually installed. Maybe it has something to do with the fact that my rom/Gapps doesn't come with YouTube installed? Am I doing something wrong?

I installed it through TWRP btw, and although the module shows up in Magisk, there's no YouTube app in the drawer.
[Magisk] DaveX2012:
[MENTION=5168296]KevinX8[/MENTION] What's this? Every time I open YouTube app... It shows this url
[Magisk] KevinX8:
It's self explanatory, you are not using my module so I cannot help you, install mine first
[Magisk] keyboardtalk:
Followed these steps, flashed via twrp. The module shows up in magisk, but there is no youtube app in the drawer. Nexus 6P with 8.1

EDIT:

Followed the steps here: https://xdaforums.com/showpost.php?p=74714880&postcount=6195

ZaneZam's instructions above require downloading the "iYTBP-ARM64-BLACK-12.45.56.zip", but instead I downloaded the apk version of this. I flashed the vance installer zip, and that knew to find the apk file. I did not use the detach setting.
[Magisk] KevinX8:
Update:

Made the module more consistent with the one on the repo

Fixed a bug with the version code

Added http://iytbp.cf as a link to the website

If you already have the module installed there is no need to get this update, however if you want to use this update uninstall the old module first as this uses the same id as the one in the repo
[Magisk] yatie47:
I installed this fine and the icon is showing. Every time I open YouTube app it crashes. Any suggestions?
[Magisk] omijust4u:
Using Substratum? If yes then Disable it and see

One more thing also disable "Android System" Overlay.. for me that was cause for FS.
[Magisk] fightinfilipino:
hi all. got the module working fine, but i want to run the detach script now separately. anyone know how to do this? Magisk doesn't seem to want to let me flash the .plz file.
[Magisk] Sytis:
Because it is not meant to be flashed. Magisk only accepts .zip files. Get the universal installer with the plz file in one of the already mentioned directories and flash it. In your case use the detach_only one.
[Magisk] DaveX2012:
12.47.58
[Magisk] kamikaze702k:
Installing via magisk. Shows update on Google play, installing standalone apk, no update prompt in Google play.

Magisk version same signature as official??
[Magisk] garylawwd:
Yes magisk and root have same signature
[Magisk] coolkillermax:
is it necessary to remove magisk modules before install new rom

i using magisk module of this and i going to flash new rom and is it necessary need uninstall this module before flash new rom or just need clean flash (wipe system, data ,cache and dalvik) rom should be ok ?

Sent from my LeEco Le S3
[Magisk] guest4711:
Normally it's not necessary to uninstall any magisk module before flashing another ROM (as long as the new ROM is compatible to the modules).

tl;dr: No need to uninstall first.
[Magisk] kamikaze702k:
Annoying play store update keeps popping up, have gone for the non root version for now just to avoid the play store update
[Magisk] coolkillermax:
OK thanks...
[Magisk] matthew33:
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.??

cheers

Matt
[Magisk] guest4711:
Use an app like AppOpsX (ui for AppOpsService (permissions)) - https://f-droid.org/app/com.zzzmode.appopsx - to show all permissions and to toggle some one.
[Magisk] manish11165:
After Every reboot my Youtube vanced setting getting reset. latest yiutube vance from magisk.
[Magisk] matthew33:
Still cant see any permissions for mic.
[Magisk] guest4711:
Your screenshot shows the standard permissions displayed by settings -- apps -- youtube -- permissions, not the extended one displayed by appops, right?
[Magisk] matthew33:
Ive opened up all permissions and there is no mic permission option. Stock YouTube does and it works...but is full of ads.

Matthew
[Magisk] garylawwd:
Downgrade to an older version of vanced and give it mic permission and then update to the new one.

The option for mic permission disappears but the mic will remain working