yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] update.freak:
YouTube Vanced disappears after a restart.

YouTube Vanced is installed with Vanced Manager.

With TeMeFI it is hidden from the Playstore to prevent updates.

Is there already a solution for this?

Device: Samsung Galaxy S7

ROM: Stock ROM, Android 8.0

Vanced Manager: 2.0.0

YouTube Vanced: 15.43.32

Root: Magisk 20.4 with Magisk Manager 8.0.3
[Android Apps and Games] zgfg:
There was a lot of discussion already about, you can scroll back and read and follow solutions
[Android Apps and Games] Kuroi_Mato_O:
Vanced manager crashing after trying to open it after the last update. I still could use youtube vanced, but not the manager. I tried to delete everything and do a fresh install, and now I stuck with no youtube and manager that still crashing on startup.

---------- Post added at 04:09 PM ---------- Previous post was at 04:02 PM ----------

Oh my specs are: xiaomi redmi note 3 pro, miui global 10.2 | stable 10.2.1.0, android 6.0.1
[Android Apps and Games] TioCareca:
No, because it's a split apk, so only with manager...
[Android Apps and Games] sjamie:
THIS is the million dollar question! Even when I uninstalled the latest version and reinstalled the old v14 which used to work flawlessly, video ads now appear in the recommendations. Is this simply a server side ad injection by Google that we can't block or am I doing something wrong?
[Android Apps and Games] zgfg:
@,Qamarfk can still install root version without Vanced Manager:

- Download and install split YT 15.43.32 (it must contain base.apk) from ApkMirror by using ApkMirror Installer

- Unzip the attached data.zip and copy/merge adb folder over /data/adb (you must not have adb folder in adb)

- Go to /data/adb/service.d and give chmode 744 to vanced.sh

- Reboot
[Android Apps and Games] Lord Onurcan:
Vanced Manager crashes after the latest update.

Device: Samsung Galaxy E7 - SM-E700F - Android 5.1.1 Stock rom
[Android Apps and Games] stasiof:
Seems soon will be update.
[Android Apps and Games] DiamondJohn:
I am using the old root version before all the split apk shenanigans. I have noticed that google have become VERY aggressive with ad based results injected into the expected search reults.
[Android Apps and Games] wodgey:
I can't assist in providing you the apk. Sorry.

I'm replying purely to ask why you don't want vanced manager?

I've used it before to install the app I wanted and then uninstalled vanced manager, leaving yt vanced installed and working as you'd expect.

Doing this, I had YouTube installed on my device without having the manager installed anymore.

I'm curious as to what you think is wrong with doing it this way
[Android Apps and Games] ipdev:
Black GitHub - Link

Dark GitHub - Link

Originally downloaded using Vanced Manager.

Cheers. :cowboy:
[Android Apps and Games] harry31j97:
I am unable to view or download videos in the app after latest update (non root version on oneplus 6t, India). I know download is a premium feature but i used to be able to do that before this with ytva. I am also unable to downgrade with vanced manager, it says files corrupted and same files when opened with SAI says already newer version installed. I am hesitant to uninstall reinstall completely since I have a lot of downloaded videos previously and don't want to re-download. So is this to do with new version or Google server side problem? Please help.
[Android Apps and Games] KaMyKaSii:
You're right, thanks for letting me know. I updated the modules to search for the lib subdirectory
[Android Apps and Games] SourPower:
How can I find the latest magisk version please? I don't want to install 2 other apps .....
[Android Apps and Games] zgfg:
https://github.com/topjohnwu/Magisk/blob/master/README.MD

And there is XDA thread for Magisk
[Android Apps and Games] Lanex777:
Has anyone managed to make root vanced work on vanilla q rom with gapps installed separately?
[Android Apps and Games] Iantuition:
I had the Magisk module at first, and installed Vanced Manager and updated, then after that uninstalled it and the Magisk module and followed every instruction in here trying to get it to stop disappearing at boot (put in a new Vanced.sh, edited the old one, etc.). It STILL won't stop.

Has anyone actually solved this, or should I just go back to the old Magisk module which worked fine aside from being old, despite apparently now being "nonsense" and "useless"?
[Android Apps and Games] alok932:
It stops for me as well but starts working in sometime. Not sure how but i just visit play services details in all apps and i also visit the youtube listing on playstore.

I am using latest version from vanced manager and magisk 21.1
[Android Apps and Games] 6pounder:
I get ads on Chromecast too
[Android Apps and Games] Kuchayhilal:
Swipe to seek not working in last few updates, was working fully fine before; now i need to clear YouTube app data everytime ???
[Android Apps and Games] oroboros74:
I didn't even know they're a swipe to seek on here!
[Android Apps and Games] sjamie:
Confirmed not working. YouTubeSwipeToSeek is an Xposed mod that was working with YouTube Vanced in previous builds but is not working on the latest 13.12.60 build. Considering Swipe to Seek is not a Vanced feature, the devs will have no interest in trying to make it work again.
[Android Apps and Games] Kuchayhilal:
It's something great, i hope Vanced devs will make it default in upcoming updates.
[Android Apps and Games] lcrponte:
[MENTION=8799457]Kuchayhilal[/MENTION] https://github.com/blueberry6401/xposed_youtube-swipe-to-seek/issues/38

You have to ask for the mod to be updated, not Vanced. So... I guess that you're requesting a feature, right?
[Android Apps and Games] Kuchayhilal:
Yes of course, by default i will be something really amazing.
[Android Apps and Games] madbat99:
Your SS says it all. Armeabi - v7a API 23 (so min API 21).
[Android Apps and Games] Onelas:
Is it possible to add options similar to what og had? Like swipe to seek,swipe to change volume/brightness
[Android Apps and Games] Bajanman:
Same here zero issues on my note 8 using this app. So all the problems I see posted here just baffles me tbh...:confused:
[Android Apps and Games] Bajanman:
[MENTION=5752019]madbat99[/MENTION]

I see you still here putting in work like usual.:good:

Keep it up!:cool:
[Android Apps and Games] robalm:
Youtube is not bug free.

Play a video in background - when it go to next video - you will see a bug.

But it's youtube that is responsible for it, started in 13.10.55.

People says "it works perfect" but have not tested out everything.
[Android Apps and Games] sjamie:
What bug do you see?
[Android Apps and Games] Bajanman:
Okay I just tried what you said and I didn't get NO bug you speak of. Video continued to the next one while playing in the background.

Maybe you can lmk what I'm suppose to be looking for.:cool:

Or a log would help even more!
[Android Apps and Games] mbapril14:
Is there an option to hide the image posting from feed?

This thing's really irritating me :eek:
[Android Apps and Games] robalm:
You will see a neverending loading bellow.

It have been reported before and dev's knows about it. https://xdaforums.com/showpost.php?p=76039818&postcount=1188
[Android Apps and Games] iamdrdrb:
watch history not working on latest update! pls fix asap
[Android Apps and Games] Razerman:
It's working just fine! pls read F.A.Q asap.
[Android Apps and Games] Bajanman:
Okay not getting this in my end. And I noticed you're using an emulator which sometimes cause problems. Check out MEmu if you want something a little better.

Hummm? Lol what I found here→

You can always tell which ones just pop in with questions but skip right over the Op. Then wonder why stuff don't work right. Smh
[Android Apps and Games] iamdrdrb:
I don't use adblocker
[Android Apps and Games] yametekudasai:
Hi thanks for the youtube music however we cant download musics over data. Im hoping you can fix this in the future updates :)
[Android Apps and Games] Qamarfk:
Can you please send me those split apks.

Ya i know its split apk, but it can be installed using split apk installer.

---------- Post added at 03:04 PM ---------- Previous post was at 03:00 PM ----------

The version available at apkmirror is for non root, root version 15.43.32 is not available anywhere

---------- Post added at 03:18 PM ---------- Previous post was at 03:04 PM ----------

Can you please provide me all 3 files for root version of it 14.43.32

Base.apk

split_config.arm64_v8a.apk

split_config.en.apk

If any link available to download latest root version please provide, or you can make backup of your own installed app.

Thanks alot for your help
[Android Apps and Games] mtpx7:
Does anyone have the feeling of lagginess when scrolling the responses to comments in the non-root version?
[Android Apps and Games] stasiof:
Vanced Manager 2.0.1.....

Fixed issues with Android 5 and 6

Fixed various crashes

Improved performance
[Android Apps and Games] mrjuniork:
You forgot something...:p
[Android Apps and Games] zgfg:
I didn't download from ApkMirror but got it installed by Vanced Manager

As wrote you in the previous answer, you need to download and install yourself the split YT 15.43.32. Giving you my copy of YT installation from /data/app will not work

And ofc that ApkMirror does not provide Vanced 'root' version to download, they only have the regular YT version as on the Playstore (but you cannot download apk files and per versions from Playstore)

Once you install the regular YT 15.43.32 split version yourself (from ApkMirror or anywhere else), you will then turn it to Vanced root version by using Vanced base.apk and the script as instructed in the previous answer

You can also find split installation apk files (for the regular YT, given version) on downzen, and use adb install-multiple command to install the split apk files (google for more info if needed)

Edit:

Sorry, but to simplify, better install Vanced Manager and then from Manager install the root YT: Manager will take care for you to first install the split YT, then their add-ons to mount the modified base.apk over the standard one (they mount only that single apk from the split installation).

Btw, their base.apk is not properly signed to be installed directly. Instead and again, you must install as they do, first the regular YT (proper version number) and then the script that will mount their modified base.apk every time on reboot

At the end, you can uninstall Manager if you don't like it (?), Vanced YT will remain installed
[Android Apps and Games] Abdullah5490:
Sorry if discussed previously, but YT vance latest version is showing (you are offline), if i open the app after few hours. My phones has build-in battery saving features, but both yt vance and microg is allowed to run freely. Still wondering which component is causing this problem.

The only fix in this situation is to run the latest package again to perform a reinstal over, it start working again till the next close.

Any idea? This is not an issue with official yt app.
[Android Apps and Games] Qamarfk:
Ok thanks alot for your kind help,

Actually i am using xiaomi.eu, in this rom i can completely uninstall stock youtube app, I was wondering why can't I install YouTube vanced in place of original stock app, which can even open my links from chrome also without having root.

Offcourse root is needed to replace stop youtube but in my case its xiaomi eu which gives me option to uninstall stock app
[Android Apps and Games] PRDR:
Thanks [MENTION=7280276]ipdev[/MENTION] , it worked great! Both Vanced YT & Vanced YT Music have survived several reboots so far.

I was wondering what will happen when Vanced Manager updates these apps, or when Manager itself gets updated, will we have to edit the scripts again?
[Android Apps and Games] zgfg:
Actually, that line in their original form (and Vanced team didn't fix it in Manager v2.1) makes nothing.

Condition 1 != 1 is false from the beginning, hence the wanted sleep 1 command is never executed

Also, Manager v2.1 still does not delete vanced.sh script and the modified base.apk when uninstalling root Vanced YT - still causing the same issues with orphant /data/app/com.google.android.youtube* folders and problems with dissapearing the Vanced YT on reboot
[Android Apps and Games] knojap:
Reboot fix doesn't work. After a reboot i got just the regular youtube app?
[Android Apps and Games] Gleniu:
No problem, glad I could help :) Please, take a look once again at your v1.2.3 modules, because there are some leftovers in the last two lines of scripts, in every approach, for example copy/paste from the standard approach module:

#!/system/bin/sh
MODDIR=${0%/*}
SDK=$(getprop ro.build.version.sdk)

#Waiting for the system boot to complete so that Android does not uninstall YouTube because of certificate verification failure
while [ "$(getprop sys.boot_completed)" != 1 ]
do sleep 1
done
#Determining the YouTube/YouTube Music installation path based on the Android version
if [ "$SDK" -le "29" ]; then
YtVideoPath="$(dirname $(readlink -fn /data/app/com.google.android.youtube-*/lib))"
YtMusicPath="$(dirname $(readlink -fn /data/app/com.google.android.apps.youtube.music-*/lib))"
else
YtVideoPath="$(dirname $(readlink -fn /data/app/*/com.google.android.youtube-*/lib))"
YtMusicPath="$(dirname $(readlink -fn /data/app/*/com.google.android.apps.youtube.music-*/lib))"
fi
#Mounting Vanced apk(s) if the path has been determined correctly or skipping if not found
if [ -n $YtVideoPath ]; then
mount -o bind /data/adb/Vanced/base.apk "$YtVideoPath"/base.apk
fi
if [ -n $YtMusicPath ]; then
mount -o bind /data/adb/Music/base.apk "$YtMusicPath"/base.apk
fi
[B][COLOR="Red"]unt -o bind /data/adb/Music/base.apk "$YtMusicPath"/base.apk
fi[/COLOR][/B]

Probably it doesn't affect functionality at all, but I thought you may want to keep the script clean and tidy :)
[Android Apps and Games] KaMyKaSii:
Fixed ??

Thank you again
[Android Apps and Games] ipdev:
Just updating Vanced manager, no.

The boot scripts are generated by Vanced manager when it installs the Vanced YT/YTM app(s).

Update/reinstall Vanced YT/YTM, yes you will have to edit the scripts again.

I am not sure but, I assume the service script was supposed to be linked with the post-fs-data script.

So the condition should be set by the post-fs-data script. (Not sure if it is/was ?)

There is no reason the Vanced script(s) and/or directory(s) can not be removed from /data/adb and should be included in the uninstall.

The orphan file(s)/directory(s) are due to the mount.

With a normal update, the new version becomes active and the older version is normally removed.

[ Save for some. Trichrome for example is not removed, a new version is added. ;) ]

With a mount, the lower [ /data/app/PathToFile/base.apk in this case ] is not directly accessible and can not be removed.

Since it was the active version on boot, it can not be unmounted and requires a reboot to be removed.

[ If the mount is still present after reboot, and it is not the active version, you can unmount the lower and then remove the whole orphan directory.

umount /data/app/PathToFile/base.apk; rm -rf /data/app/PathToFile ]

The easiest way would just remove the boot script(s) and reboot then remove the orphans.

To do it with Vanced manager, it would require a reboot and another one time (remove.sh) service.d script to remove the old install directory.

Something like this would work, if the original boot scripts are removed or pointed to a different lower directory.

The last line will delete the service.d remove script, as I noted, it is a one time script.

#!/system/bin/sh

# service.d Directory

SDIR=${0%/*}

rm -rf OldSh*t

rm $SDIR/remove.sh

Hope it helps more than confuse. :D

Cheers. :cowboy:
[Android Apps and Games] zgfg:
Vanced installs the vanced sh script to service.d, nor to post-fs-data.d, but it makes no difference regarding to uninstallation - they had to include in Vanced Manager into deleting root Vanced YT that Manager:

- unmounts base.apk and then uninstalls YT app

- deletes base.apk and vanced.sh from Magisk's /data/adb

Then, there would be no remnants /data/app/com google.android.youtube*/base.apk upon rebooting

Since they don't do it, procedure how to do it manually were already discussed, but these are all unnecessary complications for user to do

---

Btw, regarding to your yesterday's version of vanced.sh with dumpsys (to wait before mounting), the following version exploits the same idea a little bit different way

Here, combining also to auto-find the path where YT was installed (hence the script can completely replace the original vanced.sh that Vanced Manager installs, that comes with the 'hard-coded' path valid only for that phone/installation - something you previously proposed for the module but IMO a better, more clean/generic way regarding to Android versions now)

#!/system/bin/sh

PKG=com.google.android.youtube

YTP=''
while [ -z $YTP ]
do
YTP=$(pm list packages -f | grep "$PKG")
done

YTP=$(echo $YTP | sed 's!^package:!!' | sed "s!/base.apk=$PKG!!" | sed 's! !!g')

APK=base.apk
mount -o bind /data/adb/Vanced/$APK $YTP/$APK

exit
[Android Apps and Games] C_Karhu:
Thank you!

I also had this problem and couldn't figure it out! Thanks for the help! :D
[Android Apps and Games] crazy_dr0id:
Same issue here on latest version of nonroot and microg. Have wiped data and uninstalled both vanced and microg, downgraded stock yt, reinstalled Vance's and microg, tried both with notifications on stock yt enabled and disabled, removed and reset up account used for YouTube. Tried both dark and black vanced, same issue. Nothing is working for me on Canadian Samsung Galaxy S9+.
[Android Apps and Games] Thebear j koss:
Turn off battery optimization in system settings.

Sent from my OnePlus 7T using Thebear Blue XDA Labs
[Android Apps and Games] crazy_dr0id:
I have tried with both optimized and med power saving mode in device settings, issue persists. YouTube stock, vanced, and microg are already individually selected to not optimize.
[Android Apps and Games] Thebear j koss:
YouTube has to be disabled in system settings--> apps.

Sent from my OnePlus 7T using Thebear Blue XDA Labs
[Android Apps and Games] crazy_dr0id:
Tried that too, figured it had to be to avoid dual notifications. Disabled both the app a d issue persists. Disabled just the notifications, same. Enabled both. They're there only YouTube Notifications I'm getting. I'll try it again and triple check optimization settings in case I missed it in the reinstalls etc.

Thanks for the help :)
[Android Apps and Games] Thebear j koss:
Start from scratch. Disable YouTube altogether. Install micro G. Install YouTube vanced. Disable battery optimization. This has worked for me since the beginning.

Thebear's 1+7T
[Android Apps and Games] chrisnice906:
Here is my o.p.

Please help

https://xdaforums.com/apps/magisk/vanced-t4190061
[Android Apps and Games] crazy_dr0id:
I started from scratch, same issue no notifications. 3 should've came in but didn't.

Wiped data & Uninstalled both vanced and microg. Reinstalled microg and previous vanced yt, turned off battery optimization, signed in - getting vanced yt notifications again.

There's definitely something going on in the new version.

---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------

Settings > vanced settings > layout > turn off end screens (I think that's what you're referring to but it might be info cards)
[Android Apps and Games] Houndoom96:
Hello all. I previously had vanced youtube 15.05.54 (root). I followed the instructions using the new vanced manager with root to upgrade. Vanced manager did its thing, but I ended up with stock youtube instead of vanced youtube.

I decided to go back to v15.05.54 (download files from official vanced website) and used SAI to install. The install is successfull, but vanced youtube just gets stuck on the splash screen.

I tried clearing data from google play services and restarting, before installing the older version but it won't open anymore. Trying the manager again just installs stock youtube. Plus, the manager hangs on "please be patient" longest I've waited is 45 minutes.

I have rooted Samsung galaxy s8. YouTube is not part of my system apps
[Android Apps and Games] x_orange90_x:
I too am having problems with Vanced, but it's a network error instead. It started last Saturday when I opened the app and it said it couldn't connect. I checked to make sure the original YT app was still disabled and didn't update. Then I used Vanced Manager to update to the latest version but it's still not connecting. I also tried uninstalling through the manager, having it redownload and install again but still no go.

Screenshot is attached.

FWIW, using Non-root version on Galaxy A20 Android 10.
[Android Apps and Games] zgfg:
Disable adblocker, private DNS, firewall, anything like that and try again

For some reason Vanced Mngr cannot reach the server although you have Internet - it means that something blocks its access
[Android Apps and Games] TheViciousGames:
Thank you for creating this,amazing!
[Android Apps and Games] PhillyWonka:
Oneplus 7pro

Android 10

Rooted

Vance Manager

Vance magisk module 1.2.3

I did these steps in order

Deleted all necessary files. With youtube in folders

Data/data

Data/app

Data/adb vance folder

Data/adb/service.d vance.sh

Reboot

Confirm no youtube files installed or youtube data on my device

Installed

Installed vance Manager. Granted root. Installed latest version for YouTube only not music

After installation I try to open youtube and fails to open.

Am I missing a step or did I do something incorrectly.

Thanks in advance

Edit. I just went with i5lee8bit suggested on November 3rd. I also had swift theme outdated that was causing it to crash. All works great now. . So I'm thinking vance Manager probably worked for me but the swift theme was crashing.
[Android Apps and Games] Farkat:
Same problem. All above mentioned disabled, but YT manager still can't connect, YT & YTMusic works fine.
[Android Apps and Games] x_orange90_x:
Vanced Manager reaches the internet just fine, it's Vanced Youtube that isn't, but I'm guessing you mistyped that accidently? Anyway, yea that makes sense, however I don't have any of that stuff installed. The most recent thing I installed was Parler and that was actually Friday. I just uninstalled it but that wasn't it either. Are there any stock Android/Samsung/T-Mobile apps that may have updated recently and blocking the connection?

[MENTION=6099488]Farkat[/MENTION] that's interesting. Your YouTube works but the Manager doesn't. My Manager works but my YouTube doesn't.
[Android Apps and Games] rsngfrce:
I'm not exactly sure what you are referring to, but try going into Settings > Vanced Settings > Layout Settings and disable something there, probably End Screens or Info Cards. I have everything in that setting disabled except for Black Theme.
[Android Apps and Games] steve233:
Thank you for the app :)

Can you please add an possibility to disable Subtitles that would be veeeery nice.

I know (and tried) there a two ways to disable them, in the app (YouTube app and Vanced edition) and logging in over google settings website (desktop mode) but both fails, I get still subtitles.

*Google settings website = I added all kinds of languages that I look videos from. German, Englisch UK, US, CA and many more, but this doesn't help.

There is no way to get rid of that annoying subtitles even if i have set country language all to same country and watch video from same country, i have to disable subtitle for each video.

Hope you consider it, thanks