yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] cross1989:
When I install Vanced youtube non root version, on huawei mate 10 pro running 9.0 android... I get "error occurred while initializing the youtube player" from my other apps that use youtube to play video, example my cinema app to play movie trailer. when I uninstall Vanced youtube everything works normal. Also, the Vanced youtube works perfectly, just seem like other apps can use it to play youtube video they advertise on their app.

Is there a fix??
[Android Apps and Games] marciozomb13:
Use root version, the other apps are trying to get the original YouTube package name but non root version have a different name. If this path is hard coded, won't work.
[Android Apps and Games] Condor:
Hi! Not entirely sure where I should post this, but I've become unable to login in Vanced anymore as of recently. I've taken a logcat and briefly looked at it, but can't really see why Google is failing to login. Any clues?

Trimmed logcat (grep mgoogle.android) can be found here: https://clbin.com/79xEV

Thanks!
[Android Apps and Games] Condor:
Seems like it's just timing out...

Trimmed logcat of the entire login flow: https://clbin.com/Ifxg5
[Android Apps and Games] Kevro_86:
Guys, I think the chromecast workaround (due to Microg issue) may be coming to an end. When I click the cast icon in Vanced, it doesn't even see or recognize my 2 chromecast devices, but it sees 3 other non-google casting devices (Roku, Onkyo, etc). However, when I click the cast icon from the stock YouTube app, it sees all of my casting devices.

Is anyone else experiencing this, or did I screw up some setting and not realize it?

Thanks
[Android Apps and Games] garylawwd:
There was a workaround mentioned here before.

Start casting from the regular YouTube app and then open vanced and casting will continue for you
[Android Apps and Games] Kevro_86:
Right, what I was trying to say is that the workaround is not working for me, because Vanced does not pick up or "see" my 2 Google Chromecast devices anymore. I've been using the workaround for months, until the past few days, as it's a no-go. I am on Vanced 14.10.53
[Android Apps and Games] garylawwd:
Ohhh apologies I misunderstood.

Im sorry but I am of little help to you now because I dont use Chromecast but im sure the devs will sort it and if not some other kind soul might be able to help you a bit
[Android Apps and Games] cross1989:
I am not rooted...
[Android Apps and Games] bafforosso:
Then the solution* is to keep original YouTube app installed alongside the Vanced non-root one, so your external apps you get an error from will find the app with the right package name - original YouTube - and play their video in it, and for your other YouTube needs (without ads) you can still use Vanced YouTube non-root.

*or root your device
[Android Apps and Games] Ravi_sh594:
I have the same issue..not able to sign in...using bootleger custom rom...
[Android Apps and Games] Young dev:
Log in issues.

When I changed my gg pass, I can't sign anymore. I tried to read my account but it doesn't work. I can't even delete both micrg and utube vanced

on my xiaomi phone.
[Android Apps and Games] demon2112:
anyone have an workaround for the app to work when 2step authentication from Google is enabled?
[Android Apps and Games] myTouch 4g HELP:
1. Are there any features not in the non-root version?

2. I don't know if it's a feature or a bug but when I set a play speed and autoplay advances to the next video, only when in the background, it keeps the set play speed over the preferred play speed. This is very useful because i have the preferred play speed 2x but I set it to 1x when listening to music. If it's a bug please make it a setting to keep set speed until the current video is dismissed for example clicking on related video keeps 1x but swiping down to dismiss video resets it to 2x.

3. I often change the play speed. Could you please add a "Swipe with two finger up/down" option to adjust play speed?

4. Is there a way to reset all YouTube watch history. I'm not logged in but if I watch random video about X topic then I keep getting recommendations for X. So I clear app data every month. is there a way to do this without losing all my settings? Thanks so much!
[Android Apps and Games] whatsisnametake2:
vanced non root now struggling to see my Chromecast. I have to delete data on the app now every time for it to see my Chromecast again.
[Android Apps and Games] Dario35:
Hi, the app send me an error "could not be accessed" delete your account
[Android Apps and Games] Lasius_N:
Well, certainly can't argue with that..
[Android Apps and Games] cross1989:
well, actually it just happen with vanced installed...I uninstalled vanced and the same thing occurred....my apps cant open youtube to play their video...i uninstalled original and reinstalled, works perfectly for a few minutes all apps are able to open their videos in youtube and when I wait a few minutes to check if everything is working. The apps are not able to open youtube to play their videos... the error occurred while initializing the youtube player....so now i am thinking something to do with huawei mate 10 pro....
[Android Apps and Games] XDA Report Error:
Qual é o motivo do não aparecimento da opção pular de música quando um vídeo é reproduzido em segundo plano (com a tela desbloqueada), más já com a tela bloqueada essa opção funciona normalmente!
[Android Apps and Games] NeleRS:
It's telling me "Couldn't sign in. Try removing and re-adding your account on this device." What's going on here guys?

Original YouTube app works fine as usual.
[Android Apps and Games] bsports666:
This app is great and working more than a year on my android. So I have question is also something like this available for windows?
[Android Apps and Games] garylawwd:
How is anybody to know when the only info you gave is it doesn't work.

Like what version of vanced are you using?

What version of android?

What device?

What firmware?

Any logs of the failed sign in?
[Android Apps and Games] thedicemaster:
did you try doing what the error says?

make sure you do it with the account with the blue logo.

there's no YouTube app for Windows, so there's nothing to mod.

you quoted the wrong post
[Android Apps and Games] SacredDeviL666:
Reminder for the one's who wants to post in their native language, kindly add an auto translate along with it for the rest to understand/help you accordingly.

Forum Rules :- https://xdaforums.com/announcement.php?a=81

Thanks

SacredDeviL666.
[Android Apps and Games] miquelet1981:
there is some kind of issue with microG...I am not able to log in with my google account anymore.

The problem started when I activated the new google security method. Then I turn back to the normal security method (password, period). But then youtube vanced starts with the issue. I delete the app, also deleted microG...and now I cannot add my account again. In my case, no error message. Basically it keeps "thinking", but nothing happens when I introduce my email and password. I uninstalled, installed, delete cache, reboot the device.....several times, and nothing worked for me. And I am sure that the problem is not my account, because I have tried with a different account, and same issue.
[Android Apps and Games] marcdw:
There are some posts on the same page as yours regarding casting. Best to check the thread first before posting. Is the workaround not working for you too? (Search for "workaround" if you didn't know there was one or peruse the last page or two).

LG G3 D851, Candy7 v6.0 ROM, Google free - no microG, MultiROM, XDA Legacy
[Android Apps and Games] whatsisnametake2:
this isn't the long standing Chromecast problem, this is new. Chromecast symbol no longer even shows up.
[Android Apps and Games] nikdim_03:
Help me?

Hello! I have recently updated Pixel Experience (9.0 Pie) ROM, and after that YouTube Vanced (Magisk Repo) stopped working. After clicking on the icon, the application runs less than one second and crashes (YouTube keeps stopping). I tried to install different Root versions, but all of them have the same error. Non-Root version works fine. After much anguish, I decided to make a Factory Reset, but it didn't help either. I've also cleared all the tails of YouTube App -- unsuccessfully. Help me please! :crying:
[Android Apps and Games] madbat99:
Are you using magisk 19? Try the new Vanced universal installer zip 5.1

But not if you're using magisk 18.1
[Android Apps and Games] nikdim_03:
Yes I am. I've even tried to install different versions of Magisk, it didn't work(
[Android Apps and Games] madbat99:
If your on magisk 18.1 you have to use the old installer, 4.2

Wait, do you have any themes installed?
[Android Apps and Games] Sman999:
Hi.. any one facing issue logging in android q beta 2? Non root version.
[Android Apps and Games] Bwyan Benton:
Yep. It's a known issue currently.
[Android Apps and Games] marcdw:
Oh, right. Sorry. So many weird things going on lately (casting, logging in, etc.). Google changes in its services & APIs, microG not caught up yet (problems for non-root Vanced), among other things. Headaches. [emoji856]

Essential PH-1, /e/ 0.5-n ROM, microG (NoGapps), XDA Legacy
[Android Apps and Games] DiamondJohn:
A couple of suggestions.

1. Get a logcat of the crash

2. Before you do a Factory Reset, wiping your Dalvick and cache may help
[Android Apps and Games] nikdim_03:
I'm on Magisk 19.0

No I don't have. I hope they'll fix this issue with new update. :fingers-crossed:
[Android Apps and Games] v24567:
I can't login with microg, it alway loading

android9 MiUI 10

redmi note 5.
[Android Apps and Games] xell75:
I have the same phone, same system and same problem.
[Android Apps and Games] phantombengi:
Yep, I can confirm this problem. Google found another way to kill the app...
[Android Apps and Games] madbat99:
You were the one with app only opening briefly, if at all, then crashing right?

Well, it's not an issue that many people are having, actually can't think of any right now.

If anyone else is having that issue, neither you nor any of them have provided any logs whatsoever. So there's no way for the vanced team to fix it.

It's likely something specific to your device or your setup, so how could an update fix that?

Nobody here is psychic that I know of. Including vanced team,. None of us or them has your device in their hands to see what the problem is being caused by.

So as you can see without logs there's no possible way for your issue to be even be known let alone fixed
[Android Apps and Games] nikdim_03:
Anyway, I can't fix the problem. I use the Non-Root version for now. Maybe I can fix the issue later.
[Android Apps and Games] madbat99:
Or, or, you could provide logs of the crash. Thereby helping the developers see it, and possibly fix it.

Win - Win. For you, and anyone else having the issue.

Grabbing logs is fairly easy. Let me know, or let anyone else know, if you need instructions on getting logs.

It's important enough to you to post about it ( in a development thread) so why not take the next step?

If your log led to a bug being squashed,..

Well that's the spirit of XDA.

No ill will intended, hope you didn't take it that way.
[Android Apps and Games] nikdim_03:
YASSSSSSS! I found the solution. A modified Google Play was installed on my phone. I have now updated to the latest version of firmware, and the mod Play Store has retired. Now YouTube Vanced Magisk Reppo is working perfectly! :victory:
[Android Apps and Games] brijesh287:
Is there any future risk of our google account getting banned by using Vanced version of YouTube? Like Whatsapp blocked accounts of users using GBWhatsapp.
[Android Apps and Games] Tyakrish:
After a reboot, YouTube Vanced, sometimes seems to lose its settings ... I set the background and the swipe up for volume and brightness toggles...

But sometimes after a reboot, its settings are lost...

Anyone facing this problem ?
[Android Apps and Games] mac-duff:
Hi everyone,

lately I updated from lineage OS 15.1 to 16.0 and since that, I am having trouble with automatic updates. I was using youtube Vanced before and never had a problem with the play store and detaching mode. However, since I am on 16.0 I can do whatever I want, the play store updates my youtube app. I usually use the uninstaller script with the detach config, I tried directly the version offered in magisk, I disabled the auto update function in the play store, I attached and detached it through Titanium Backup but out of nothing, google updates my youtube app. Is anybody facing a similar problem?

Thanks

md
[Android Apps and Games] DiamondJohn:
I have a spare phone running LOS 16, and I think I am seeing the exact opposite. However, I am in the process of testing a prototype of a new detach app, which I have configured for YouTube, so it may be working. Its hard to prove something will not happen, when it may of just not happened yet...:silly: I have my playstore set to Auto update apps over WiFI (which is always connected as its a spare I leave at home), and in the last 16hrs, plugged and unplugged from the charger, rebooted a few times at the start, Vanced has survived:victory: so far...:fingers-crossed:

I also have it running on my daily, which is set to manual updates of apps, and although it did appear once briefly, the next time I checked it was gone.:confused:

I am not running the detach script in Magisk or any boot script that mimics it.

Can anyone think of anything that normally triggers/pushes any detach process to fail? I have tried rebooting (without a detach process/script), opening the playstore and updating apps (on my manual update phone, that often triggered it appearing), plugging it in and out of a charger and now I am just going to leave them both on all night. Any other ideas?

Previously I found it was either a matter of time since reboot OR something was scheduled by google to clean up late at night just before my bedtime OR pressing the manual update all button made it appear, but luckily after the update all was triggered.
[Android Apps and Games] D1stRU3T0R:
Is it just me or youtube vanced magisk doesn't even work anymore since like a month? I'm using lucky patcher for it, buti liked youtube vanced alot...
[Android Apps and Games] nicklit:
Alter instructions?

Instructions for root installation are as follows:

1. Download the official installer found in downloads above

2. Select a suitable apk for your device (check your architecture using an app such as CPU-Z) and the secondary theme you want to. (All apks include the white theme)

3. Place the downloaded apk into /sdcard/Downloads or inside the installation zip

4. Uninstall all YouTube updates and disable auto-update in the playstore (If you are able to completely uninstall the youtube app do so)

5. Flash the installer in TWRP

6. Profit!

These instructions did not work on my pocophone F1. However, in step 3 if I placed the installer in the INTERNAL storage ie internal/Download, everything worked perfectly. Took me a while to figure this out.

Maybe the original instructions worked for you but I needed it in the internal storage.
[Android Apps and Games] Eleo:
Sdcard means internal. External sdcard is what you have confused it with. Internal storage of Android device is sdcard
[Android Apps and Games] nicklit:
Thanks for clearing up what is obvious to everyone but me :eek: :o
[Android Apps and Games] vaibhavnegi:
YouTube found a new way to display ad
[Android Apps and Games] Eleo:
Does not happen here. Could be smth regional. Youtube vanced non root latest. Stock pie AndroidOne firmware on Mi A1. No adblocker installed. No root/magisk installed.
[Android Apps and Games] vaibhavnegi:
Its happening in India. Magisk YouTube vanced, ad block, s7edge, pie.
[Android Apps and Games] Eleo:
Yup. Probably region-dependent as I presumed
[Android Apps and Games] AndrzejDwo:
The same in Poland. Latest root version. Samsung Galaxy s8 HadesRom. Unified hosts. Ads are displayed while using search.
[Android Apps and Games] GreatLordAnt:
Damn, that looks annoying mate.
[Android Apps and Games] crazy_dr0id:
For those seeing ads, this may be overly simplistic, but be sure to double check your app settings and ensure this feature is off. Sometimes the answer is easy. Hopefully this is the case for you. View attachment 4742792View attachment 4742793
[Android Apps and Games] latinohot:
Darn Google, completely block vanced from chromecast, I can see other cast devices like my ps4 or Samsung TV but not chromecast ultra
[Android Apps and Games] tamerh:
I hope Google will not block our accounts too
[Android Apps and Games] madbat99:
Right on. Good for you dude (or dudette) as the case may be. Sooo glad to here it.

And glad you didn't take anything I said the wrong way. Could have happened easily.

Last step

1.---

2.---

3.---

"

"

24.- (maybe more or less) PROFIT!

Always the last step on XDA

LoL
[Android Apps and Games] AndrzejDwo:
I have never used that feature and checked it - it's DISABLED. Weird stuff is going on lately. Google is messing up. Ads in search bar are showing randomly, they are not there all the time.

There is one more thing, background play is stopping sometimes. I know that it's not the Team V foult, and it's hard to find out why it's happening.

Cheers
[Android Apps and Games] Eleo:
All you can do is, start logging and record the time when background play stops. Then stop logging and read what the logs say at the time when background play stopped. That will be your reason. It does not stop background play on my device. Maybe because I just removed battery optimization from settings/apps menu.

Ads are turned off by default. Unless somebody enabled it manually, there is no reason for it to get enabled
[Android Apps and Games] AndrzejDwo:
The problem is that I never know when it's going to happen so it's hard to record a log. Battery optimization is off for vanced and it has permission to run in background.
[Android Apps and Games] Eleo:
Just start logging. It is never hard to record a log. If you are rooted, use matlog/catlog, if you are unrooted, use adb logging by connecting to PC.

Just so you know, as long as you don't provide logs, devs will have no idea how to fix the issue that happens on your device - ergo, no fix for you.
[Android Apps and Games] AndrzejDwo:
I'm absolutely aware of that and I'm not demanding from Devs to find the fix for me (without providing proper information). It's just a small report to point out that something is going on. I'll try to get the logs when it happens, not for me, not for fixing my own problem, but for all of us before Google stops the background playback permanently.

Cheers
[Android Apps and Games] DiamondJohn:
And to be extra clear, you do not need to know when its about to happen. Android is running the log in the background automatically.

So, as soon as it does happen, when you weren't expecting it, you are simply taking a snapshot of what has already been logged in the background, without you starting it. Its already there, ready to be saved off.

Another option to get a log is the app I built https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260 You can find logcats at "Logcat>Logcats>Logcat Default" then press the pencil icon to save it off.
[Android Apps and Games] AndrzejDwo:
I'm already using Your App but I didn't try android logging yet. Now I will and I will report back when I get something. Just have to wait until background playback stops again.

Cheers
[Android Apps and Games] Hippie459MN:
Im having a problem, I had to to a full wipe on my phone this morning and I reinstalled LineageOS 16.0 on my Samsung Galaxy S5 and then reinstalled Magisk 17.3 (I was having issues with v18.1 making my phone act weird so went back to 17.3) and this morning I went to reinstall the light version and noticed it was gone from the downloads under 17.3 so I reinstalled the black version and noticed it shows it was updated yesterday. Well, until this morning, the version I had installed for the last 2 or 3 weeks (Cant remember the version off hand to be honest) was working perfect, now, the latest available version just force closes when I try to open it and I keep getting popup saying YouTube has stopped and I can't get it to work for nothing. I have tried uninstalling it a few times with no go. Attached is the log I got if this helps any. I can't read these thing hardly so I dont really have a clue what im looking for. Everything else on my phone is working as it should though. Any help would be great.

EDIT: Installed official version from play store and it works just fine, install latest Vanced via Magisk 17.3 with Magisk Manager 6.1.0 (both black and regular version) and instant crash. Not sure if being on older version of Magisk is the issue or not.

EDIT: Just updated to Magisk 18.1 (Stable) and still same issue. Official YouTube app works perfect though and vanced just crashes right away.
[Android Apps and Games] Txnvxr:
Add a Feature

hi, I was wondering if it will be possible to add an equalizer built into the app to enhance audio quality?:fingers-crossed:?
[Android Apps and Games] Dante Enoshima:
Welp... if you're rooted and have Magisk, you could try some of EQ apps here on XDA ( y'know, the likes of V4A, Dolby, etc ).

Idk if that's possible, but imo, it's impossible. Google never implemented EQ to Youtube before, because why should they? Recent phones with stock rom usually have some kind of EQ. So Google have no need to add their own EQ to YT.
[Android Apps and Games] AndrzejDwo:
Hi again! I have already used search engine looking for "usage" and "ram" but I didn't find an answer. I'm a little bit afraid of asking here lately, don't want to be eaten... But the question is - what is your ram usage for vanced used in background? My is quite big I think, it's around 700MB. I have no idea what is the usage for standard YT. If that's normal - OK no problem, if you think it's a lot - what could be the reason.

Thanks in advance

Hope I didn't offend anyone...

Cheers
[Android Apps and Games] Txnvxr:
yes, some phones do have a built-in eq but it on most devices the eq only works in the music player not on other apps, if there was an equalizer section in the app that could allow the system eq to work on youtube that would be enough.
[Android Apps and Games] RyuukenZenkou:
Hi. Just wanted to notify that I can't install this app on Android Oreo GO version. Device Nokia 1.

Please fix it.

In other hand.. just wanted to congratulate the devs for making such awesome app. :highfive:
[Android Apps and Games] madbat99:
Which version are you trying to install? Root version? Non root? How are you trying to install it?
[Android Apps and Games] robalm:
Yes it's broken.
[Android Apps and Games] Razerman:
Naah, saw it the first time but haven't had time to check out what is wrong until now. The mod was applied correctly so the debugging process was a bit tricky but it seems like Google has made some changes server side so the mod needs another method to be patched. Hopefully fixed in the next version :good:
[Android Apps and Games] skiely666:
Hello, I did a quick search but couldn't find anything. I've installed this app via magisk repo & everything is working as should but I don't have the dark theme it's just black. Am I missing something or a setting? I've tried both modules in the repo but to the same end.

TIA

Edit: pixel XL Android P
[Android Apps and Games] arneldna:
I forgot to disable auto updates in Playstore, and my YouTube Vanced got updated. And now I have this Dark theme, with regular updates and it stays like this. Am I lucky?
[Android Apps and Games] mnbvc69:
why update not available through magisk module!
[Android Apps and Games] Timmmmaaahh!:
Is that a question or a complaint?

In case of question: click here (bottom of the post)

In case of complaint: click here
[Android Apps and Games] Razerman:
No, that's perfectly normal behavior since the Dark theme toggle is saved in the shared_prefs/youtube.xml. I've said many times that this mod uses the dark theme currently in development by Google as a base but I've done quite a lot of fixes to it. But you have now lost pretty much everything else (ExoPlayer V2 might be enabled in the background).