yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ipdev:
To manually uninstall Vanced YouTube is what zgfg noted back in Post 19,423 - Link

Note: You need root access.

Remove (delete) the /data/adb/Vanced directory.

Remove (delete) the /data/adb/post-fs-data/vanced.sh file.

Remove (delete) the /data/adb/service.d/vanced.sh file.

Disable any Magisk module you might be using for Vanced.

Reboot the device.

You will now have just the regular YouTube running.

From there you can uninstall YouTube just like any other app.

Note: If you have YouTube as a system app, you will only be able to uninstall the updates.

Normally it is not a problem to have an older version in system.​

Clean up fragments of incorrectly removed builds.

Check in /data/app/ to see if there are any other YouTube directories and then just remove (delete) them.

From a shell or terminal app, (with root access) you can find them by using something like this.

find /data/app/ -name 'com.google.android.youtube*'

Once cleaned up, you can install the version of YouTube you want from APKMirror or another safe source.

Make sure the version you install is the same version as the Vanced modified version you are using.

Note:

The new root method started back here.

Post 16,361 - Link

My original test.

Post 16,381 - Link

Note: The "boring story." was figuring out the proper security, owner and group per device.

The problem was just replacing the base.apk file with the patched one did not work on quite a few devices.

Even if you figured out and adjusted the securities, owner and group per device.

Sometimes it would still be removed on boot.

By using a mount overlay.

The original base.apk is found on boot and passes verification check.

The modified base.apk is overlayed before the app is loaded.

Timing makes a big difference on when the mount overlay happens.

Sometimes just a tenth of a second (early or late) can allow the original to load or be removed.​

I had one device (OnePlus 6T) that had an issue with the (older) Vanced overlay scripts.

For quite some time now (almost a year :unsure:), the current Vanced mounting scripts have been working for me on every device.

So I normally just install the root version using the Vanced Manager. 🙃

Cheers. :cowboy:
[Android Apps and Games] zgfg:
Please understand again that Vanced 16.29.39 requires the same YouTube version 16.29.39 (and the sane holds for any other Vanced version)

You cannot mix, installing one version of YouTube and the other version of Vanced root

In my last yesterday post I added EDIT section, describing you how to manually overwrite official YT base.apk with the Vanced (aka patched) base.apk.

Of course, again and again, it requires that you first install that SAME YouTube split app version 16.29.39

If all that is too complicated, why don't you install non-root Vanced - it is much easier to install (you actually don't need official YT at all or you can have differnt or latest YT version in parallel), but you will be bothered with certain MicroG issues

If you mix different versions of YT and Vanced root - sorry, I will not further follow your posts and waste my time trying to help you. If you want somebody to help you, then follow EXACTLY as you were guided. Otherwise, bye - sorry and play on your own

---

Edit:

How Vanced root version works:

You install official split YT v16 29.39. It is installed to /data/app/... and as the split attribute says, installation consists of several apk files (go into that folder and study its content, that's nwhy I did provide my screenshots yesterday).

One of those apk files is base.apk

Vanced had took that exact the same base.apk (from that v16 29.38 of YT) and they patched with their changes. Their patched base.apk (file has the same name) is bigger.

Then, by Vanced Manager or by the module version you tried, you (attempt to) mount that Vanced base.apk over the original YT base.apk to unleash the Vanced changes and add-ons.

(That is the reason you must have EXACTLY THE SAME version of YT and Vanced)

For some reasons (?!) that mounting of Vanced base.apk over the original base apk did not work for you and in my last answer yesterday I described you how to HARD COPY that Vanced base.apk over the original YT base.apk

On the other side, Vanced non-root installs the full-blown application. However, it has different package name and therefore it can coexist with YT (same or different version) or even without YT.

Since it is a separate app, it must use its own mechanism to log-in to YouTube service and for that reason it installs MicroG
[Android Apps and Games] Au5t1n:
When I had mentioned this:

I was using 14.21.54 prior to troubleshooting with you two but I've finally been able to get it to work.

I had uninstalled YouTube v14.21.54 as a system app by using Titanium Backup and then followed these steps after uninstalling the Magisk module as well:

but I had also found and deleted another Vanced script possibly within the data or data/app directory, I cannot remember exactly.

I then rebooted after deleting all scripts and the Vanced folder. After boot, reinstalled YouTube v16.29.39 - build - 01.54.00 and then installed Vanced via Vanced Manager. After Vanced Manager finished installation, I was able to get into Vanced Settings within the app.

It's now working.

I had to install via Vanced Manager rather than using Magisk. This had worked for me.

Thank you both @ipdev & @zgfg

🍻
[Android Apps and Games] zgfg:
Ok, good, so it works for you. Make sure t

Ok, good, so it works for you. Make sure to disable Auto-update for YT in GPlay, and better to detach YT (search in this thread for TeMeFl app)
[Android Apps and Games] Au5t1n:
Will do @zgfg 😎
[Android Apps and Games] jacobyo7:
Should I be worried about YT Music Vanced stopping working when this update roll out ? It is pretty big changes, I hope vanced still work the same after or an update is pushed before the big roll out, I really love YT Music and don't want to go back to spotify
[Android Apps and Games] Au5t1n:
Hey @ipdev & @zgfg GPlay had updated my YouTube but I've discovered something.

I tried to just reinstall v16.29.39 but Vanced features and settings would not work.

I then tried the following steps

Uninstalled Vanced & YouTube

Rebooted

Reinstalled Vanced via Vanced Manager

Reinstalled YouTube

Vanced did not work.

Uninstalled Vanced & Youtube

Reinstalled YouTube

Reinstalled Vanced via Magisk

Did not work

Rebooted

Started YouTube

Vanced did not work

Uninstalled Vanced via Magisk

Deleted folders & scripts

Installed Vanced via Vanced Manager

Did not work

Rebooted

Vanced worked

🤷
[Android Apps and Games] zgfg:
That's why is important to detach to prevent issues

Also, if using module version for Vanced, it is easier to downgrade YT in case of being upgraded by GPlay - would be enough:

- disable module

- reboot

- uninstall YT

- reinstall old YT

- emable modul

- reboot
[Android Apps and Games] Philnicolls89:
This may also have been your issue, i could be wrong but I think that after uninstalling both vanced and stock youtube, you need to install youtube BEFORE installing vanced.
[Android Apps and Games] zgfg:
Yes, because Vanced script searches for the official YT /data/adb folder at the time of instslling from Vanced Manager.

If it doesn't exist or if you later reinstall YT, it will be different path than what Vanced Manager puts into the script.

And on every reboot, that script will fail to execute mounting bcs looking to the wrong path

Module version implements smarter logic: Its script searches on every reboot, right before mounting - hence if you later reinstall YT to the new folder, script will find it

@Au5t1n - that's why I suggested you previously to go for the module, but now when it works for you, better don't change
[Android Apps and Games] TinySoul:
Anyone suffering from continuous non-stop notifications of already read notifications?

Unsubscribing a channel doesn't help. The only way to stop these is to totally disable notification for the Vanced app.

Running latest Vanced(non-root) and MicroG on Android 11.

Thanks 🙏
[Android Apps and Games] reza6621:
Hello, please help me installing latest version of YT Vanced. Tried to install it via Vanced manager root method but failed. The reason i'm choosing root version is because i don't want to install microG/additional apps.

My phone is Xperia XZ running LineageOS 15.1.

EDIT:

I manage to make it work what i did:

- tried to install directly via Vanced manager, failed but stock YT version 16.29.39 installed somehow

- installed YT Vanced(vanced split apk from some website) wasn't able to login

- replacing data/app/com.youtubexxx/base.apk with Vanced base.apk (i forgot which one i used cause i downloade from many source)

- reboot, stock Youtube become Youtube Vanced, everything works fine and then i proceed to uninstall the other YT vanced that's not working.

Sorry if i don't make any sense
[Android Apps and Games] ipdev:
As zgfg pointed out.

When you install YouTube using Vanced Manager it hard codes the YouTube path into the vanced mount script.

This is done to prevent the Vanced modified apk file from being overlayed on the wrong YouTube version.

Example.

Someone updates YouTube from PlayStore.

Mounts Vanced v16.29.39 over stock v16.40.32, then opens YouTube.

Normally YouTube will crash (Force Close) or it might soft reboot the device.​

--

To explain the mechanics of what happens when you install Vanced root using Vanced Manager.

You can select the current (or older) Vanced version to install.

Installs stock YouTube.

Installs the corresponding version of Vanced modified base.apk in /data/adb/Vanced.

Creates an early boot script in /data/adb/post-fs-data.

This script is used for timing.​

Creates the late boot script in /data/adb/service.d.

This is the mount (overlay) script.​

Executes the mount to overlay the vanced version over stock version.

Some devices and/or roms this does not always work and a reboot is necessary.​

On boot.

The early script runs and looks for a specific condition in the boot process.

The late script starts and waits for the early script to find the correct condition before mounting Vanced over stock.

Hope it helps more than confuse. 🙃

Cheers. :cowboy:
[Android Apps and Games] Au5t1n:
I may have mixed that step by mistake when I said I installed Vanced before YouTube. I've unlinked YouTube from GPlay now to avoid any further problems. Just found it weird how those steps seemed to get it to work for me.
[Android Apps and Games] scuzzo500:
I'm getting an error when I try to install vanced.

VMNetTools: Fetching using URL: https://api.vancedapp.com/api/v1

VMC: Generated new token: cwkweWXWSzerDvkTMDtmM9:APA91bHulUMWys-Mc0Ax6Fvqfg2ugUs6V5HDSZFdv8KBC3AH5FQiz8yQgP1kw2sHj1xcvDGT446R3LgrZk647YXSnTqtnwEeCRGYLc4gdxtGQ0DkeNSFL1VO8GhC3VvIlT0ctdRHNYNf

VMInstall: Checking stock version

VMInstall: Installing stock

VMInstall: installing split apk files: [dark.apk, dpi.apk, stock.apk, split_config.arm64_v8a.apk, split_config.en.apk]

VMInstall: installing APK: dpi.apk

VMInstall: Error: Unable to open file: /data/local/tmp/dpi.apk

VMInstall: Checking stock version

VMInstall: Installing stock

VMInstall: installing split apk files: [split_config.en.apk, dark.apk, stock.apk, split_config.arm64_v8a.apk, dpi.apk]

I've tried rebooting, uninstalling both vanced manager and YouTube and reinstalling. And manually downloading older versions but I'm not getting anywhere. Can anyone point me in the right direction to solve this?
[Android Apps and Games] stasiof:
Release Vanced Manager 2.6.1 · TeamVanced/VancedManager

Added Android 12 support Added a confirmation dialog for uninstalling Fixed a bug with the save button going offscreen when the versions list was too large Removed all Crowdin libraries (didn't fun...

github.com
[Android Apps and Games] Nibras2311:
Hello ...I've been using Vanced since quite some time and a while ago I noticed a very welcome feature which changed the muted playback on feed to have the two features that was needed ...the seek and unmute were added to the playback on feed ...it made the YouTube Vanced so much better ..but now again that feature has disappeared ...can you please bring it back
[Android Apps and Games] D-Mak:
I can't install it...
[Android Apps and Games] TurricanM3:
i have the exact same error since yesterday... ?
[Android Apps and Games] TioCareca:
For those of you who updated to latest manager release v2.6.1 and facing errors while installing root variant. Please downgrade back to an older build(V2.6.0).

Please tap on "Cancel" button when the update popup appears on that old version.

A suitable fix will be made soon.

NOTE: Please do NOT update to latest manager yet!

Link to downgrade: https://github.com/YTVanced/VancedManager/releases/download/v2.6.0/manager.apk
[Android Apps and Games] D-Mak:
In their Telegram they give a solution.
[Android Apps and Games] zgfg:
I have updated with no problem to the Vanced Manager 2.6.1 but it still shows Vanced YT 16.29.39 as latest - hence I don't really see any use of updating VM now
[Android Apps and Games] Lughnasadh:
Yes, only the Manager was updated, not YouTube version. The new update brings Android 12 support, among a few other things (aside from that bug already discussed 🙃).
[Android Apps and Games] Au5t1n:
@zgfg After performing these steps to get Vanced working, Vanced features are no longer working. When I start YouTube, I see the Vanced logo but cannot go into Vanced settings. Features no longer work for any apparent reason. No automatic update has occurred.

Vanced hasn't been stable for me.
[Android Apps and Games] zgfg:
Since you had it working, you should keep it as that (and/or now, reinstall the same way). Seems they will release next version in the near future anyway
[Android Apps and Games] Au5t1n:
It only worked for a day. Hopefully an update fixes it. I'm willing to provide logs if necessary 📄

Edit:

Removed Vanced within Vanced Manager

Rebooted

Reinstalled Vanced within Vanced Manager

Now it works

2nd edit: Doesn't work again. Version 16.29.39
[Android Apps and Games] Gourcuff14:
Request for this question to be asked again. Nobody answered.

Can YouTube Vance bypass age restriction?
[Android Apps and Games] TioCareca:
no it won't bypass age restrictions nor download videos....
[Android Apps and Games] G1ML1:
Does any1 have this bug? Notifcation screen keeps multipliing videos and refresh animation loops for half circle
[Android Apps and Games] eu7tFeTyT7vfPy:
Age restriction can be bypassed by a VPN or by getting the url and putting "nsfw" ahead of "youtube" in the url link. It redirects you to a site that lets you access the video.
[Android Apps and Games] eu7tFeTyT7vfPy:
Thx!
[Android Apps and Games] Gourcuff14:
Are there any plans to make it modification feature?

Is that any location within VPN? And is it supported by all VPNs?
[Android Apps and Games] eu7tFeTyT7vfPy:
Switch to a country that doesn't require that age verification bull****, it works for me but it's not always consistent. I've used both Nord and Windscribe but I suggest TorGuard. Method that works the most is to do the URL thing I mentioned.
[Android Apps and Games] Maru1:
Is there anything new regarding the broken Chromecast function? It has been broken for so long and not fixed 😔
[Android Apps and Games] Gourcuff14:
I have PIA VPN. It has geo locations renamed streaming servers. It still isn't working. I am not logged into YouTube. According to Google that is a no-no https://support.google.com/youtube/...v&visit_id=637694918192089273-1540917227&rd=1 but then that is the point, I want to browser freely.
[Android Apps and Games] agraceful:
It's a micro g issue, not a vanced issue

Absolutely not. That breaks EU law and vanced wants nothing to do with that.

Also I'm THAT agraceful from the telegram group, just checking things here to see if they're congested since TG is currently locked still. Don't forget to check the troubleshooting guide for any issues!
[Android Apps and Games] Deanro:
Hi guys. I have the non-root version. I have 2 issues:

1) Unable to hide the ad. See it circled in red in the screen shot below

2) Unable to set a custom default resolution. It always reverts back to 360 and I want it at 480 always.

Here's my report:

1. YouTube Vanced version... 16.29.39

2. Download link used... Website

3. Installation method... regular

4. Device... Huawei mate 20 x

5. ROM... None

6. Any applied Substratum overlays... No

7. Logs... None

8. A brief description of the issue... Se above

9. Any installed mods to the system... None

Hope you can help!
[Android Apps and Games] Maru1:
I'm aware, that doesn't answer my question though.
[Android Apps and Games] rambomhtri:
You mean the Chromecast icon to send a YT video to a TV doesn't work because it says something about updating the Google Services?
[Android Apps and Games] Maru1:
yes, exactly, bug is unfixed for a few months by now
[Android Apps and Games] rambomhtri:
Yeah, I think it's general and it was introduced in a microG update. For now you must use the official original YouTube app from PlayStore if you want to use that button. Not a big deal really.
[Android Apps and Games] Maru1:
It's actually a Google/YouTube update and microG hasn't been updated for a long time to match up and fix this.
[Android Apps and Games] Sir_gpm:
I downloaded the latest manager. And remove the non root version of Vanced and music. Now installed both root from manager and this is what I got. Looks like stock but is not, look for those in Google play and looks like stock is installed. Is that ok?.
[Android Apps and Games] zgfg:
It cannot be judged from the screenshot

Make sure that Google Play did not update to the newest versions - if it did, Vanced is gone.

That's why detaching (mentioned what/how several times here)

Run that YT. If Vanced, it will change the icon while starting.

Open a video and put to the background or turn off the screen - if it continues playing, it is Vanced, not official YT
[Android Apps and Games] TioCareca:
New update to Vanced Manager 2.6.2 has been released!

=====================

Changelog:

• Fixed root installer

• App now checks for Magisk and displays an error message if it's not detected

• Various optimisations

Changelog from v2.6.1:

• Added Android 12 support

• Added a confirmation dialog for uninstalling

• Fixed a bug with the save button going offscreen when the versions list was too large

• Removed all Crowdin libraries (didn't function correctly)

• Small optimizations

=====================
[Android Apps and Games] tiryaki_44:
Hello,

I have a root permission.

I have already open record the history.

But Youtube vanced don't record the history.

When i watch video by pc on chrome, history recording.

What is the problem?
[Android Apps and Games] TioCareca:
see in settings/history & privacy
[Android Apps and Games] agraceful:
It absolutely does. It's not a vanced issue, so address it with the devs that work on micro g. Your question lies with them.
[Android Apps and Games] the_poseidon:
on rooted version casting works ?
[Android Apps and Games] tiryaki_44:
It is my settings.
[Android Apps and Games] DiamondJohn:
I dont know your problem (as it works for me), however, another user a page or two back, suggested ensuring a specific youtube host should be in your whitelist in any host blocking you enable, for the history to work.
[Android Apps and Games] Philnicolls89:
Yes I had to whitelist s.youtube.com in adaway for history to work for me, root version.
[Android Apps and Games] tiryaki_44:
Yeah I found it.

I use Adaway and when I closed the Adaway, vanced started record the history.

Can u fix this?
[Android Apps and Games] zgfg:
Who, what to fix?!

You need to fix yourself, on your phone to put the particular site (it has been mentioned several times which one, read carefully) to the AdAway Whitelist

If YouTube (not Vanced) cannot access the YT server for history, history cannot work

Or find out in which of the host source you use in AdAway the site is blocked and then ask the maintainers of that hosts source to 'fix' - i e., to remove from the the hosts source.

But maintainers of that hosts source would say they block the site for privacy reasons (and those who want YT to record their history should whitelist the site or not to use their hosts source)

See the post right before your own:

Screenshots how to whitelist in AdAway are attached. Reboot to take in effect
[Android Apps and Games] nghiepduclub:
I use youtube vanced version 16.29.39 and VancedMicroG v0.2.22.212658 on tecno pova 2 run android 11, but youtube vanced disconnect internet when i login vancedmicrog , i detelect vancedmicrog , youtube vanced have internet

I hope everybody fix problem on tecno pova 2 ??? Thanks
[Android Apps and Games] Moibr5403:
I wish there was a lite version of youtube vanced where I didn't have the options: configuration, help and feedback, because youtube and youtube vanced literally keep crashing and closing when I spend 12 minutes watching videos and looking in the app, and I keep trying to find a version that's really lightweight for me to use on my Android 5.1, but there's just no youtube app where they've removed the settings and help and feedback, if there are ads I wouldn't mind, I just want to use a version that doesn't crash or close the app!
[Android Apps and Games] Moibr5403:
Mine is different, when I'm browsing the original youtube and youtube vanced, it only takes about 12 minutes and the application keeps crashing and closing.
[Android Apps and Games] TioCareca:
try youtube go
[Android Apps and Games] Moibr5403:
I've used it but the problem is that youtube go doesn't have a like or dislike button and doesn't even have comments, the youtube developers simply forgot or didn't even want to put these options on youtube go so I don't use it.
[Android Apps and Games] zgfg:
Suggestion:

To add checking if the installed YT version is the same as the Vanced version (swapping the official YT base.apk from one version with the

base.apk patched by Vanced from the other version would not work)

In case when e.g., some people (incidentally) update YT

Script service.sh, instead of existing code:

# Check if path exists
if [ ! -z "$YTPATH" ]
then
# Swap stock YouTube with Vanced YouTube.
su -c mount $MODDIR/base.apk $YTPATH/base.apk
fi

to use extended, with the version check:

VancedVer=16.29.39
YTVer=$(dumpsys package com.google.android.youtube | grep versionName)
YTVer=${YTVer##*=}

# Check if path exists and versions are same
if [ ! -z "$YTPATH" ] && [ $VancedVer = $YTVer ]
then
# Swap stock YouTube with Vanced YouTube.
su -c mount $MODDIR/base.apk $YTPATH/base.apk
fi
[Android Apps and Games] G1ML1:
Guys can you help, notif keep spamming and when i keep scrolling they multliply and refresh animation keeps loops infinite

Tried: reinstalling, installing old version, disabling blokada, rebooting phone

Root black latest version
[Android Apps and Games] daveout:
Just a small suggestion: make "tapping on seek bar" enabled by default. It greatly improves the user experience and less tech-savy users may be unaware of that option. Thanks.
[Android Apps and Games] DiamondJohn:
That sounds like a Google YoutTube feature request. If google dont have the feature, chances are Vanced wont have it, or add it.
[Android Apps and Games] auris1993:
Vanced have such feature, just by default it is disabled
[Android Apps and Games] DiamondJohn:
If the feature is already there I would also guess its a feature that is also available in Googles youtube?
[Android Apps and Games] daveout:
No, it's a Vanced-only feature. The thing is... 99% of media players have something similar to the "tap on the seekbar to go to a specific point of the video". It's something very intuitive and consistent among media player interfaces. But on google's youtube, the only way to move is to swipe left or right.

(P.S. For example, even on Google Photos, if you're watching a video there, you can tap on that video's seek bar to go to a specific point.)
[Android Apps and Games] Vitaliy W:
In YouTube Vanced in full screen mode, there is no way to add or remove a video from a playlist. Please add this feature.