yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] rehansekas:
youtube won't run without Google Play services, which are not supported by your devic

hello, i'm having trouble "youtube won't run without Google Play services, which are not supported by your device". I used Last Vanced Youtube (Root Version) and also installed it in Vanced Manager. I am using android 11, but if I use youtube vanced android 10 (and earlier) it works fine, I have tried all custom rom android 11, but it all has the same problem. Does Youtube Vanced support android 11? Help me.
[Android Apps and Games] waqar bukhari:
Hello Friends, I am facing a problem with YouTube Vanced. I have installed latest versions of MicroG and YouTube Vanced from Vanced Manager.

When I open YouTube Vanced it says, "You're Offline. Explore Downloads."

I have tried reinstalling app but it works only for first time only. In YouTube Vanced when I click my account icon on right top corner, then add account and press the back button to come back in YouTube vanced, YouTube starts working again.

Sorry for my bad English. I hope you understand my problem.
[Android Apps and Games] zgfg:
Instead of turning off MIUI Optimizations, try to install with turning on Install via USB (also in Developer options) - as on the screenshot

It works fine for Vanced root version (hence you can try for non-root)

The benefit is that you don't loose permissions for apps (as you do when you change MIUI Optimizations)

Btw, on Xiaomi.eu (Mi 9T, 12.0.6, A10), I don't have MIUI Optimizations options switch (however, there was the switch when I used the stock EEA MIUI 12, also A10 but there I also insralled Vanced root by leaving MIUI Optimizations on, and only switching Install via USB on)
[Android Apps and Games] Iantuition:
I am now trying to install 15.38.35 and it is failing because "user tried to downgrade the package. Uninstall updates from stock YouTube app, then try again."

The problem is there are no updates to uninstall because I uninstalled YouTube as a system app long ago. *blink*

Can anyone help?
[Android Apps and Games] zgfg:
Scroll back just few posts (6 hours ago), same Q/A aboout downgrading stock YT
[Android Apps and Games] zioloiso:
Thx for the solution. Works, i clear data, unistal, install and works.

Wysłane z mojego HD1903 przy użyciu Tapatalka
[Android Apps and Games] vhexs:
Thanks for the awesome app, I've been using it for a long time now!

Unfortunately I've come across an issue on Android 10 and 11 with the Picture-in-Picture feature. I'm using the non-root, black theme variant, version 15.43.32.

On Android 10 (Nokia 7 plus), pressing the home button (or using the home gesture) causes the video to simply flicker once in the corner of the display, as though PiP was launched, and then quickly disappear. Vanced also disappears from the app list. To view the video again, the app has to be reopened from the launcher. Then re-attempting to access the home screen allows PiP to work properly.

On Android 11 (Pixel 4a 5G), using the home gesture makes Vanced disappear immediately. It is also removed from the recent apps list. The only way to view the app again is to reopen it from the launcher. The super-weird thing is that the PiP window does pop up when the keyboard is opened! But when you try to move it away from the keyboard (so you can actually type), it very quickly flicks to the bottom of the screen and disappears again.

Clearing app data and cache don't help. Enabling screen overlay permission doesn't help either.

Neither behaviour occurs with the original YouTube app. If necessary I can grab a screen recording on either device for an example.
[Android Apps and Games] Iantuition:
well, I did that and it installed (along with a random duplicate version), but I rebooted and it went back to the stock icon and crashes upon opening, so I had to go in the Play Store and uninstall updates again. Auto-update is not enabled so it just reverted to the old Magisk version. UGH
[Android Apps and Games] zgfg:
Old Magisk version?

If you have any Magisk YT Vanced module, uninstall and reboot

There are have been posts about resolving a problem of reverting YT after rebooting - one was also linked in the same post I noted you in the previous answer - it instructs about removing duplicare installation of YT, removing previous Vanced YT remaining in Magisk folders at /data/adb, etc

Please consult previous posts and discussions
[Android Apps and Games] natong:
For MIUI and old school users, There are 2 methods:

A) You can install non-root split version (SAI) by adb command. You have to find some computer and download these 3 split apks version. http://www.mediafire.com/folder/vhgfebee9jiz9/Youtube.Vanced

adb devices

[COLOR="Silver"]adb uninstall com.vanced.android.youtube
adb uninstall com.mgoogle.android.gms[/COLOR]

adb install-multiple -r dark.apk split_config.arm64_v8a.apk split_config.en.apk
adb install -r microg.apk

B) You can install non-root non-split version (SAP) like v14.xx.xx in the past. I recommend apk from mr. Kirlif'. He is the creator of Split APKs Packer (SAP). I don't know how he built x86_64 version. Since it doesn't have in manager.apk http://www.mediafire.com/folder/vhgfebee9jiz9/Youtube.Vanced
[Android Apps and Games] wodgey:
Odd. Then I don't know. It's where it's been on two redmi note 8T's and another mi 10 5g.

Perhaps the pixies stole it ? ?
[Android Apps and Games] bartleby999:
It may be because of your custom rom being locked out of GApps? You may want to look at this thread...

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228
[Android Apps and Games] Iantuition:
I had it uninstalled (the Magisk version). The instructions I found when scrolling back after you said so said to install it and then install a new version over it.

Previously, I had the Magisk version and uninstalled it, did all the deletions and it STILL disappears upon reboot, which is how we got to my first post on this page. :(
[Android Apps and Games] denzel09:
Last microg vanced version is not installing together standard microg, but huawei users like me without google services need both mircog, standard and vanced. So please fix this.
[Android Apps and Games] Thebear j koss:
And you are doing something wrong. I read your original post and the few afterwards, and they are all over the place. Do you have stock youtube installed anywhere, as a system app or a data app? What magisk mod are you flashing, a YT Vanced magisk mod? A detach magisk mod? A different magisk mod? Do you have root?

Sent from my OnePlus 7T using Thebear Blue XDA Labs
[Android Apps and Games] zgfg:
Sorry, I cannot help you. Im user just like you and the others. I've hanged the ROM three times in the last couple of weeks, reinstalled Magisk and Vanced YT couple more times and I NEVER EVER had a problem with loosing the root Vanced YT upon reboot

There are like half a dozen posts (over the last month or more)) addressing how to fix it (by different authors, from different angles but all sharing the same essential points). You could take a time to read, study and experiment. More you learn about, you will better understand how and why and hopefully you will succeed (then you can provide a better guide, helping to others who still have the same problem)

Btw, I would expect a decisive Q&A help from the Vanced team (and finally a fix in Vanced Manager to do a proper uninstallation, because remainings from uninstallation are also one cause for the problem)
[Android Apps and Games] Trashking:
Same issue.
[Android Apps and Games] pycxe-01:
Yes, I can confirm that upon uninstalling Vanced Manager & YouTube Vanced + Music there were remnants in /data/app & /data/adb that had to be cleaned i.e. deleted manually from within TWRP.

P.S.- I had to uninstall the Vanced Manager, etc. because YouTube + Music kept disappearing after reboot. Whereas, Lucky Patcher + YouTube Vanced rooted .apk downloaded & installed manually as system app worked for me.
[Android Apps and Games] biperva:
can i use with android 4.0.3 version? I can't use google play store on my device.
[Android Apps and Games] TheViciousGames:
If you use rooted Vanced,don't forget to disable auto updates,Google's Youtube will force uninstall Vanced.
[Android Apps and Games] DiamondJohn:
I am running a newer version of Android. however, Vanced is based off of YT from the play-store, so if that does not run, chances are vanced would not run either. However, you do have the option of running a previous version of vanced, which would be based on a previous version of YouTube, which may run.

Eve\n better is to detach YouTube from he play-store. I think when the play-store is updated, you lose your setting of turning off auto-updates, and so VYT will also be updated.
[Android Apps and Games] pycxe-01:
Yes, indeed: I'm using rooted YouTube Vanced installed through Lucky Patcher & Magisk v20.4 modules, including Detach v4.2 module... Nonetheless, roughly once per day the Play Store forces YouTube update onto my system thus replacing YouTube Vanced. Therefore, every time that happens I've got to manually uninstall YouTube updates reverting to YouTube Vanced & flash Detach v4.2 module from Magisk + reboot. ?
[Android Apps and Games] zgfg:
I don't have YT detached, just disabled autoupdate for YT, Playstore sends me notifications that YT and two more apps I similarly keep on an older versions wait for update, but Playstore NEVER updates without my consent (hence, only if I, by mistake confirmed the updates)

Same on another phone, and the third I previously had where I kept an ancient YT version from the time of Vanced Magisk module from Repo, for two years - and Playstore did not update it

I.e., I really don't have a problem that Playstore would auto-update any app if that app was disabled from auto-update (and I don't have any problem with Vanced dissapearing). I must only take care that I don't manually push or confirm YT update in Playstore. Maybe the problems with Playstore updating apps that are disabled from auto-update come from certain (custom) ROMs or, not-stock GAPPs or something

PS: I had YT detached by TelMeFl for couple of weeks, but upon Factory resetting and switching to a different firmware I concluded that I don't need to bother with detaching, I'm happy with just the disabled auto-update
[Android Apps and Games] TheIntruder:
I detached with adb commands very simple no root needed I have updated roms and not seen the official app since.. The simple ways are the best sometimes no app needed to do it..
[Android Apps and Games] pycxe-01:
Would you please share those adb commands with the rest of us? Do we need Terminal Emulator for such? Or will connecting to laptop & running adb there do just fine?
[Android Apps and Games] TheIntruder:
Turn on usb debugging

Make sure you obviously have adb setup

No need to boot to recovery or bootloader

Plug in usb

adb shell

pm uninstall -k --user 0 com.google.android.youtube

Tested on a Samsung galaxy Tab 5e (stock) also OnePlus 5t stock and running PA

Sorted.....
[Android Apps and Games] pycxe-01:
Yes, that good old YT Vanced v14 module from Magisk Repo worked just fine & I had never had unexpected update problems with it... But, let's face it v14 is a bit outdated compared to YouTube v15 nowadays! I only wish that I would find a permanent way to get this latest YT Vanced v15 detached from the Play Store! ?

P.S.- To those who have noticed some ads in YT Vanced next to comments module or under video description... Try enabling https filtering for Google Play services... It helped in my case for both old YT Vanced v14 & new YT Vanced v15.
[Android Apps and Games] clouds5:
Filtering https, could you maybe share how to do that? :)
[Android Apps and Games] zgfg:
This is not detaching. When you install Vanced YT root version, Playstore would show that you again have YT app installed, an older version, asking you to update

This thing (uninstalling YT app by ADB for default user) may work for you if you use Vanced non-root version because the Vanced non-root version is not recognized by Playstore as the YT app (hence you have disabled YT and you use Vanced non-root but Playstore is not bothered with the Vanced non-root)

Detaching is something completely different (you can google about, look to the previous posts here about detaching, read in TeMeFl thread) - that you do have certain app installed like YT (Chrome, GBoard, whatever) but that Playstore does not list that app as installled (and does not bother you to update when Playstore shows that newer version is available)

And again, Vanced root version is recognized / it counts as the official YouTube app for Playstore - only Vanced non-root does not (and one can even uninstall YT from Settings/Apps if it allows him, and install Vanced non-root and Playstore will not show that YT is installled)

If you do your 'detaching' (which is not detaching) upon installing Vanced root, you would disable Vanced root

If you do your 'detaching' before installing Vanced root, then Playstore would again show YT as installled once you install Vanced root - hence that 'detaching' does not help for Vanced root
[Android Apps and Games] pycxe-01:
Yes, this adb method does not detach but rather uninstalls the rooted YouTube Vanced as system app entirely from your system. In order to reinstall the rooted YouTube Vanced I had to disable & delete Lucky Patcher Magisk modules + reboot multiple times + re-enable Lucky Patcher Magisk modules, install YT Vanced from LP as system app all over again + flash Detach v4.2 to hide YT Vanced from Play Store. Rather bothersome, but it was worth a shot! ?

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

It does not "detach" but rather uninstalls YT Vanced entirely from /dada/data i.e. as system app & breaks the Lucky Patcher installation set up. You can't simply reinstall YT Vanced from Lucky Patcher after that... It doesn't work... Instead you've got do clean/delete all the Lucky Patcher Magisk modules & start your installation process all over again from scratch...
[Android Apps and Games] denzel09:
Last microg vanced version cannot be installed together standard microg, but huawei users like me without google services need both mircog, standard and vanced. So please fix this.

https://xdaforums.com/showpost.php?p=83988983&postcount=22
[Android Apps and Games] DiamondJohn:
ummm... its well documented in this thread, that those using sudohide or TeMeFI have had success.
[Android Apps and Games] celestialspring:
I observed this behaviour today on my phone. The download+premium prompt.
[Android Apps and Games] Cnunez0602:
Random videos, mostly kids content

, are appearing in my watch history. I have locked my account down and no device that I have not approved has access to my account.

What is going on?!
[Android Apps and Games] Iantuition:
answering questions in order:

Yes, as a data app per this post.

The latest Magisk mod, 14.21.54.

I'm not sure what you mean by detached or different.

Of course I have root, or I wouldn't be able to install Magisk mods...

Currently the app keeps being replaced with the stock version even without rebooting despite auto-update being turned off BUT I think autoupdate is turned on in my work profile. Gonna see what happens when I turn it off.

EDIT: turned it off. Reinstalled 15.38.35 over it using VM. Rebooted. Vanced icon changed to stock icon as soon as I unlocked the phone, then the app kept crashing upon opening. Uninstalling updates fixes this, but this returns the app to 14.21.54.

You're lucky, because quite a lot of users have, to the point of any post in the godforsaken Telegram with the word "reboot" in it receiving an automatic bot response of "Use non-root version".

I have certainly been reading and studying and experimenting and I'm confused and without even a halfway dependable YouTube app which is bad. One says uninstall the Magisk mod, another says install it. (I legit posted thinking "THAT can't be it.") One says clearing out the /data/* folders should fix it, and it doesn't. One says installing an old version should work, and it doesn't. I'm lost, and I only post when I'm lost and confused and need help. Isn't that what we're supposed to do?
[Android Apps and Games] Thebear j koss:
Uninstall everything youtube related. Delete from system. Uninstall updates. Wipe any and all versions of any and all YouTube from your device, including any folders and/or anything youtube associated. Delete/uninstall all YouTube vanced on your device from magisk mods to data, to anything associated with YouTube vanced, music, or micro G. Reboot your device. Triple check there is nothing on your device containing YouTube or YouTube vanced. Reboot and clear cache. Again check there is nothing on your device youtube or YouTube vanced related. Now, go download the vanced updater. Open the updater. Choose not rooted. Install latest micro G. Now install latest YouTube vanced. Open YouTube vanced, sign in using micro G. Profit. No need for YouTube. Don't install YouTube. Don't update YouTube. Only update vanced thru vanced manager.

Thebear's 1+7T
[Android Apps and Games] Iantuition:
so for some reason, the YouTube Music folder in /data/app will not delete. (YouTube Music is not installed.) In it is a "base.apk" bearing a Vanced logo.

I had also had a weird issue with Vanced Music not actually being Vanced beyond the icon. Ughhhhhhh
[Android Apps and Games] pycxe-01:
Yes, I had this issue too. Try deleting it from TWRP: Advanced -> File Manager -> /data/app & delete what you don't need there.
[Android Apps and Games] bartleby999:
Did you try this way?

https://xdaforums.com/showpost.php?p=83855303&postcount=17387

That worked perfectly for me. Do not use Vanced Manager, use SAI to install or it will not work.

Ensure any files for YouTube are deleted prior to installing with SAI. Use TWRP File Manager if you cannot delete folders with a root explorer.
[Android Apps and Games] x_orange90_x:
Thanks for the reply. I just tried what you said and YouTube still won't connect.. Just have the astronaut image. It's like it doesn't even try to connect. Almost immediately upon launching the app the error comes up. Pressing Retry almost instantly returns the error again. And yes, it does this on WiFi and Data both.
[Android Apps and Games] Typhoon_Master:
hey I want to install the root verison via the manager.app, but unfortunately the install process in the app stucks at "Please Wait" ...

# adb logcat | grep manager

11-25 18:09:50.739 735 759 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: unbindService is called for service : com.google.android.gms/.measurement.service.MeasurementBrokerService and for client com.vanced.manager
11-25 18:09:50.739 735 759 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: size of client connections for client: com.vanced.managerafter removal is 1
11-25 18:09:56.081 735 3882 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: bindService is called for service : com.google.android.gms/.measurement.service.MeasurementBrokerService and for client com.vanced.manager
11-25 18:09:56.081 735 3882 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: total connections for client : com.vanced.managerare :2
11-25 18:10:06.973 1215 1328 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.google.android.youtube flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemanager.impl.PackageMonitorReceiverImpl$RegisteredReceiver
11-25 18:10:12.086 735 759 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: unbindService is called for service : com.google.android.gms/.measurement.service.MeasurementBrokerService and for client com.vanced.manager
11-25 18:10:12.086 735 759 I /vendor/bin/hw/vendor.qti.hardware.servicetracker@1.1-service: size of client connections for client: com.vanced.managerafter removal is 1

can anyone help me here? signature verification is turned off already ... is there a way to debug this any further?

there are no apks for the current root version either, so that i could try installing it manually.
[Android Apps and Games] zgfg:
(At least) for Xiaomi phones you must enable Install via USB in Developer Options...
[Android Apps and Games] Typhoon_Master:
i do not have that option. maybe because its a "Android One" phone. so no MIUI.

note that the manager is installed, but the manager can not install the vanced app.

does someone know where the app is downloading the .app files?

//edit: i found it in /sdcard/Android/data/com.vanced.manager/files/vanced/root ... i will try to install it manually now.

//edit2: "Split APKs Installer" was also not able to install the apks.

APK-File is invalid (translated from german)

Command: pm install-commit
1666614489
Exit code: 4
Out:
Failure [INSTALL_FAILED_OINVALID_APK: Split null was defined multiple times]
=============
Err:
[Android Apps and Games] crazy_dr0id:
What's the [emoji3544] about??

are you installing microg first then vanced? if not then for each + manager apps: force stop, wipe cache, wipe data, and uninstall via settings>apps

For mine to work properly (notifications issue) I had to enable stock yt, update, close playstore, fc yt stock if option is there in settings>apps, wipe cache/data, disable again

Just to check...

Go to settings>accounts, remove gmail acct used for YouTube &/or yt brand account (so might have 2 to remove)

Probably a good idea to power cycle now.

Now dl vanced manager v2.0.1 from

https://vancedapp.com/

Install, open, set parameters

First dl microg & install I'm using 0.2.13.xxxx currently, can't speak for updated micro g 0.2.14.xxxx (which may resolve your issue itself but I've typed too much to quit now lol)

then without leaving manager app do and install PREVIOUS version first 15.40.x I believe?

Wait for manager to complete. Close.

Settings>apps> and disable battery optimization for all 3 under battery and allow background data use under mobile data.

Now finally launch vanced yt, attempt to sign in normally..m and if that doesn't work, close vanced completely, add acct via dev settings>accounts then relaunch vanced and attempt to sign in.

Hopefully it loads this time. If it does, and you want to test it, close out vanced yt, go to manager and update only vanced yt 15.43.32.

That with micro g 0.2.13 version fixed my issue with notifications. If you opted to use micro g 0.2.14 from the get go then this may all be irrelevant lol

TL;DR: clear everything incl acct used for YouTube, uninstall, update stock yt and disable, reboot, start from scratch with manager reinstall at link above

I tend to only get your connection issue when account data is corrupted either from microg install ooo or just because Google hates me updating vanced that day or when there was an update to install (back in the day).

Good luck! View attachment 5142271
[Android Apps and Games] xanthrax:
While on my main phone, everything runs fine on another device this "no connection ' issue gave me headaches as well. I have just installed micro only, no youtube vanced or Music, then added my account, then installed youtube and music, all good, also although that device is rooted I have used the non root variant, no Google account needed to be removed, hope it helps ?
[Android Apps and Games] YamiYukiSenpai:
Has anyone tried installing Vanced as root on Android 11?

On my Xperia Z5 Compact, it would uninstall every reboot
[Android Apps and Games] vprasad1:
Did this post help?
[Android Apps and Games] Iantuition:
Sorry for the sporadic replies but busy + depression

It seems that my storage is encrypted so TWRP cannot access it. UGH. (using an LG V40 which was hell to root and haven't bothered updating from 9.0)

It's just stuck there.

BUT! that method worked.

Now to try to fix Music, since Google Play Music is dead and holding my library hostage...
[Android Apps and Games] YamiYukiSenpai:
Unfortunately, no.

I only tried steps 1-8, though. I might try the rest, but I don't have time now.