yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] UserNamist:
Hey people. I hate asking for help but I've been going crazy trying to install this thing but haven't been successful.

Basically, I just updated my Xiaomi Mi4 to Oreo 8.1 (Resurrection Remix), and one of the issues with this custom ROM is that I can't install Magisk on it (which is how I previously installed and used Youtube-Vanced).

I thought, okay, I'm familiar with copy pasting to system/app and changing file/folder attributes, this should be easy. It wasn't.

After installing it and setting the apk's attributes to 644, folder to 755, and rebooting, it appears in my launcher normally, but EVERY time i try to launch it, it crashes.

On the first try after a reboot, it SOMETIMES gets to the first screen (where you see the changelog or whatever) and THEN crashes. But mostly it crashes immediately.

Also, after a failed attempt, I get two persistent notifications: "Looking for incomplete downloads" from Youtube, and "Youtube is using battery" from android system. These notifications alternate until I reboot the phone.

Please help. Here's my logcat https://pastebin.com/rdqL2u2X :good:
[Android Apps and Games] shouren04:
Do you have the YouTube xposed module installed? If yes uninstall it.

Also from the Vanced YouTube.apk, extract the lib folder & place it system/app/YouTube. Inside the lib folder rename the arm64-v8a folder to arm64. Set permissions for the lib & arm64 folders to 755. Set permissions for all the files inside the lib/arm64 folder to 644. Reboot.

Edit: oops not sure if your phone is arm or arm64 so rename that folder accordingly.
[Android Apps and Games] UserNamist:
I had it installed, but I uninstalled it quickly (it caused my playstore youtube app to crash.. similarly to how Vanced is behaving now ?)

Could it have somehow not been fully removed?

Just tried this. Problem persists. ☹

Yeah, the Mi4 is actually just "arm" haha
[Android Apps and Games] shouren04:
Just wondering cause when I looked at your logcat it showed something about youtube & xposed as well as not being able to find the lib folder. So maybe the xposed module is still installed? YT Vanced will still work without the lib folder but some features like 360 viewing will cause crashes without it.

Only thing I can think of is looking for anything left over from when you uninstalled the original YT. You did uninstall the original one & reboot before installing YT Vance, yes?

On my phone original YT was not installed in system/app or system/priv-app. Mine was in data/app. I would say make sure there are not any folders for YT in system/app, system/priv-app, & data/app, if there is, delete, reboot, then try to install again. I assume you probably already did this?
[Android Apps and Games] UserNamist:
Well xposed for Oreo is still in beta. . . That could be the problem, or it might not. I'll never know cause I just tried the easy way (nonroot version + microG) and it works just fine for now. Thanks anyway for your help :good:
[Android Apps and Games] shouren04:
:good:
[Android Apps and Games] exodius48:
Does possible to make this app can download video?

---------- Post added at 01:32 PM ---------- Previous post was at 01:25 PM ----------

What the error code did you have after unsuccessfully install magisk?

I think the culprit is:

03-12 01:40:21.423 W/YouTube (13440): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/YouTube/YouTube.apk"],nativeLibraryDirectories=[/system/app/YouTube/lib/arm, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]] couldn't find "libcronet.66.0.3343.0.so"

There is no "libcronet.66.0.3343.0.so" library in arm folder. :confused:
[Android Apps and Games] Sin Sentimiento:
I have a question, I am a root user and I installed through MAGISK, everything works fine, but I have noticed that others get the option to download the video that you are watching, but I do not get that option. Do I have to activate something or what do I have to do?
[Android Apps and Games] shouren04:
You have to move to a different country. ;)

Answer is in post #2. It's also been asked & answered so many times. If you search this thread with the word "download" you'll find multiple pages with the answer.
[Android Apps and Games] Sin Sentimiento:
do you mean this?
[Android Apps and Games] shouren04:
That's part of it.
[Android Apps and Games] jed84:
Just wonder, if there is any advantage of using YouTubeVanced Magisk version over the regular apk file for non-rooted devices?

Also, is there a way to prevent Google Play Store from displaying any updates of YouTube app?
[Android Apps and Games] garylawwd:
The magisk version disconnects the app from play store without having to do anything other than flash the module
[Android Apps and Games] jed84:
And that's a weird thing as I installed YTvanced by using Magisk and Play Store keeps trying to update an app.

Is there anything I can do to fix it?
[Android Apps and Games] garylawwd:
Did you flash Kevin's magisk module or zanezams from the magisk repo? Whichever one you used try the other one maybe that will sort your issue
[Android Apps and Games] jed84:
It's the latest YouTube vanced on magisk repo by team vanced. 13.0.7.55. Is it the correct one?
[Android Apps and Games] mitchdickson:
Did you follow directions from the OP re detaching from play store?
[Android Apps and Games] garylawwd:
Go to the gdrive page mentioned in the op and download the magisk file for your device and flash that. Delete your old files before flashing though
[Android Apps and Games] EoneRizuwan:
Yeah thanks, but I've tried it. Uninstall youtube app, flash latest Magisk modules successfully and reboot. But still no vanced youtube installed. Probably Magisk problem, but no problem with other modules and Vanced Youtube is showing installed on Magisk.
[Android Apps and Games] rippledrums:
Hmm don't know then as I prefer using the root version via TWRP.
[Android Apps and Games] EoneRizuwan:
Thanks for the help anyway. I don't know if I should post here or on Magisk but I'm attaching some logs and screenshot hopefully some one can figured it out.

I want to try the root via twrp one but it's more comfortable to check with magisk if there is new version instead to check the thread or the website.
[Android Apps and Games] sjamie:
Not sure why you and some others are getting ads all of a sudden but it seems most of you are using the Vanced magisk module. Try flashing the root version in TWRP and see if you still get ads. This is the method I've always used and my device remains ad-free.
[Android Apps and Games] Eleo:
Magisk version doesn't have ads. I use it.
[Android Apps and Games] sjamie:
Ok, cool. Just wondering why various people have recently started reporting seeing ads. Maybe they all have updated to the official YouTube app unknowingly? ?
[Android Apps and Games] thedicemaster:
it's a well known issue that some ads aren't being blocked, these are account or region specific ads that never appeared for the developers of this mod.

they don't get the ads, so they can't see what they need to block.
[Android Apps and Games] WatskeBart:
I cheered too soon :(

I have multiple account on my phone and removed my main account and re-added this again.

I thought it worked, because there were no more autoplay previews (autoplay on home) anymore. But I got unusual video suggestions by Youtube and when I checked further I noticed that YT had selected the wrong account, which doesn't autoplay previews (autoplay on home). When I selected my main account again, the autoplay previews were back :(

What I also tried is this:

Remove YT Vanced + reboot

Install normal YT from Playstore

Check autoplay on home setting in normal YT app and disabled this (hoping it will stick on my account)

Installed YT Vanced again + reboot

When I select my main account in YT Vanced the autoplay previews are back again and YT Vanced doesn't give me the option to disable autoplay on home, it only gives me the option autoplay on next

Any other ideas of what I can try? I never had this issue in the previous version of YT Vanced :eek:
[Android Apps and Games] SOCOM-HERO:
OP6 Pie user here, seems the latest pie update messed up the pinch to zoom fullscreen feature on Vanced where the video fills the whole screen including notch and the status bar and nav buttons never go away. Can only be fixed via workaround via tasker app, which I don't have or value enough to pay for it for a one-off feature.

Notch & pie support coming?
[Android Apps and Games] cark32:
Okay, what else should I add? I got a Moto E4 with 7.1.1 and it's the plain version. I'm not rooted or have magisk installed. I installed MicroG before Vanced, and then installed Vanced. Any other info I should post? Just to know.
[Android Apps and Games] unconfuse:
I have an ad as the first video in my feed too. Definitely using vanced magisk. Going to remove it and try via twrp and see what happens. Also, there are two Google accounts on my phone. I'm curious if you have more than one?
[Android Apps and Games] sjamie:
Yes, I also have 2 regular Google accounts on my phone.
[Android Apps and Games] chooks06:
If using non root VYT, then signing in using microg will create another Google account. This one will be with the blue background logo. The other is the one used to sign in to the device Google account, etc.
[Android Apps and Games] KnifeFed:
This works fine for me.
[Android Apps and Games] EoneRizuwan:
I don't know what I've done, probably after reboot again last night. Now yt vanced is appeared on my apps and everything working fine nows.
[Android Apps and Games] davidred7697:
Hi. I can't seem to find the Magisk module from the "downloads" option in the left pane. When I search "Vanced", all I get is a module related to some sort of theme. Even scrolling through the entire list, there is no youtube Vanced to be seen. Am I missing something? I know in Xposed, I had to change "stable" modules to "experimental" to see all of them but I see no such option in magisk.

Edit: there are no available magisk downloads in the official website. How can I install this?
[Android Apps and Games] Spannaa:
Magisk Manager 6.0.0 > Downloads > Scroll to the very bottom of the long list > go up one/two > YouTube Vanced
[Android Apps and Games] Eleo:
No problem here.

Please report with as much info as possible for easier and faster troubleshoot (for your sake, not ours).
[Android Apps and Games] ivivaitylin:
I've got 3 google accounts on my phone fwiw, only ever used one for youtube though.

I can definitely confirm that I'm running Vanced though; going into settings shows the 'vanced settings' option and notes that I'm running build 13.37.52-Build-01.25.01. Plus all the vanced features such as PIP, playing in the background/while the screen is off are working fine.

I could try turning on the debug logging if that could somehow help figure out the cause?
[Android Apps and Games] tinOFbeer:
From a few versions I have a problem with opening links placed in the description of the movie. Sometimes they open normally, but often, after clicking on them, I get a message that the YouTube application has been stopped.

OP3 Stock OOS 5.0.5 (and earlier too)

Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
[Android Apps and Games] Eleo:
Please provide youtube app crash logs when that happens.
[Android Apps and Games] tinOFbeer:
There is no Report option in the message, only open the application again, how else can I get a log? Maby full logcat (logcat -d > logcat.txt) ?

Wysłane z mojego ONEPLUS A3003 przy użyciu Tapatalka
[Android Apps and Games] Eleo:
Use matlog. Procedure explained below (recreate youtube crash event):

1. Install MatLog app from playstore.

2. Start logging by openning app (it automatically starts, if not, press "play" button on top)

3. Now try replicate the event (do the steps that lead to FC)

4. Return back to matlog app.

5. Press "pause" button on top. Please dont wait too much, because it records about 20-100 lines per second. If it takes 1 minute, it may file up to 5000 lines, which will be hard for us to read and diagnose)

6. Go to 3dot menu of app, select "file", then select "save". It may ask permission to write, grant it. It will save with date and time, click ok.

7. The logs will be saved in Internal/matlog/saved logs folder. Please upload it to any storage site (dropbox, google drive and etc) via share the download link or just upload into your post in XDA.​

Or if you have any FC dump log folder (e.g. on Samsung devices it is in data/system/dropbox folder, where all FC and ANR logs are being stored) share the FC log directly from there.
[Android Apps and Games] unconfuse:
I've reverted back to 13.28.54. The ad does not exist on first load and my feed seems more like I expect it to look. Aside from the top ad the newer versions would show many videos that I've already watched. The YouTube team must be experimenting again.
[Android Apps and Games] ivivaitylin:
That version will remove the ads? I guess it's just a case of downloading it from the website, deleting the old version through magisk, then manually installing the new(old?) one though magisk again?

Thanks!
[Android Apps and Games] Fun_GKC:
Get java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted error when open the app.
[Android Apps and Games] unconfuse:
It removed the ads for me.

I skipped magisk and used the twrp installer. Remove from magisk, grab the version from vanced website appropriate for your device, and flash the installer in twrp. All that's required of the installer is the app exist in downloads. Remove any other vanced apks in the downloads folder to avoid confusion.

If you would like to change versions you can simply replace the apk in downloads and flash again in twrp. At least... I didn't run into any issues while testing.
[Android Apps and Games] sliperhr:
well for me i like to sign out to watch some off the reconmended video from the previous video that i watch,ex if i watch an old linus tech tips video,mybe in a few days,a new upload will come out and i can watch it without even subscribing,so yeah thats my reason needing the sign out button
[Android Apps and Games] Sneakdovi:
I'm on s7edge with latest version of YouTube vanced and magisk. Why is 4k60fps laggy?
[Android Apps and Games] Grumpy Cat:
Because your phone can't handle it.
[Android Apps and Games] SOCOM-HERO:
How did you get it to work on OP6 stable Pie. I came from 5.1.11 (Oreo rooted) using magisk version of vanced, took the upgrade correctly, and this is one of the only issues I'm encountering.
[Android Apps and Games] Anessen97:
Does anybody know how to manually install the ROOT version?
[Android Apps and Games] KnifeFed:
I'm using the latest non-root version.
[Android Apps and Games] Rkr87:
No matter what I do I can't get this to work since upgrading Magisk to 17.1.

Previously I've always used the Magisk module repo to install but currently when I do so it confirms it successfully installed but won't display the YouTube app in my drawer (or list of installed apps).

I've tried installing an older version of the Magisk Vanced module, installed the root version via TWRP, I've tried installed the official YouTube app as a system app prior to installing the Magisk module, none of which worked.

I even tried installing the non-root version, which gave me the app but as I run my phone on MigroG anyway I couldn't install the MicroG apk due to conflicting package names, meaning I can't sign in on the non-root version.

Anyone have any suggestions? I'm running Magisk 17.1 and MigroG 2.4-126.
[Android Apps and Games] bohemist:
Have you recently updated the official YouTube app?

Try to remove the recent update of the official YT app by disabling it in the Apps list. It will notify you that you YT will default to its previous version.

Once you've done it, reinstall YTVanced via Magisk.

This is what I did several times already and it works every time. Hopefully, it will work for you, too.
[Android Apps and Games] unconfuse:
Sounds like you have more than one YouTube installed. Remove magisk and Google play version. If the one in Google store doesn't let you uninstall completely, you can downgrade then disable. If you've side loaded any other version get rid of that too. Reboot and see if you still have any version of YouTube left. You shouldn't. I'm not exactly sure why you need microG. Are you not running Google services? Make sure any microG is uninstalled. You'll have to go through your app list in settings and remove. The magisk installer should work fine. Don't install anything else. The twrp installer is another option as well (choose one or the other). Using the installer file and the appropriate apk for your device it should remove youtube from the normal spots and install the apk. There's directions in the op I believe or in my post a page back.

Edit:

Make sure you've disabled auto updates in the play store.

---------- Post added at 12:58 AM ---------- Previous post was at 12:55 AM ----------

It's in the op or from me a page back. Check my post above this one if you have similar issues to theirs.
[Android Apps and Games] Rkr87:
I don't have any version of YT currently installed.

Initially I didn't have any version of the official YouTube app installed as I run MicroG (ie I don't use GApps package). When I started experiencing issues updating Vanced I then tried to install the official version (the same version available in Vanced) as a system app, and install the Magisk module over it.

I've already tried everything you both suggested.

Edit: no I don't use Google Services, MicroG is a full replacement for it. This hasn't been an issue in the past, I've only experienced issues with Vanced since upgrading Magisk to 17.1.
[Android Apps and Games] The Analog Kid:
New report: currently on 13.37.52 armeabiV7a, nodpi, root version with still non working swipe controls. Since there's a handy double tap feature, swipe controls lack might not result as important, However, I wanted to point out that said issue remains, at least on my particular Moto device, since the previous version update...
[Android Apps and Games] WinJunkie:
How can I disable the update notification?

How can I change the app name to just be "youtube"? I tried a couple of ways editing the apk but then it can't connect to anything and thinks it's offline?

An option for these two options in vanced would be great if devs thinks there a good idea?
[Android Apps and Games] leo221:
i would love to have 2.5x and 3x speed.
[Android Apps and Games] WannbeD3belop3r:
Bug!

When you go into Pip mode, then come back to app and go to landscape, the status bar becomes solid and comes into video. Android pie, OnePlus 6. Workaround: when in Pip tap audio mode then click notification to go into app, everything thing will work fine.
[Android Apps and Games] ivivaitylin:
Well, just checked the Vanced site, firstly tried to download the 13.28.54 magisk version just because that's what I've used previously, but it's just throwing a 'No data available in table' error when I look for any version to download there.

I can't install the root version right now as twrp wasn't properly available for my phone when I was rooting, so I've not actually got a custom recovery at the moment. Will look into it this evening, unless someone has the magisk version available!
[Android Apps and Games] djedjy:
https://drive.google.com/file/d/1ljSSoVLG0Col05sAnRHg-EdcEkvyZp7b/view?usp=drivesdk

Does someone maybe know why those buttons don't work in this minimized (notifications) mode.

In expanded mode, in YouTube they work.
[Android Apps and Games] chooks06:
Just a guess - because it's background play?
[Android Apps and Games] djedjy:
And the reason why they wouldn't work in background play ?
[Android Apps and Games] nirogu325:
Because you're playing back a single video (not a playlist)?
[Android Apps and Games] chooks06:
Logical.
[Android Apps and Games] nirogu325:
Lmao just playing along.
[Android Apps and Games] djedjy:
Here is playing same song in app, there is next button, to play song next in suggestions. So why that next button doest work in background play ??
[Android Apps and Games] nirogu325:
It could be a YouTube (Google, not Vanced devs) bug. For those bugs all we've to do is wait for a new release...or you can use a previous release to confirm if it is a build specific issue.
[Android Apps and Games] djedjy:
That's why I asked, because I don't know is it Google or Vanced bug.

And it didn't work in previous versions either.
[Android Apps and Games] chooks06:
I'm using the non root version 13.37.52 and I get the same as what you described.
[Android Apps and Games] Eleo:
Not suggestions. That is not a playlist. Please open a playlist of videos and then try again. You will see it works. That was intended for PLAYLIST ONLY. Not for "suggestions". Please see attached screenshot.
[Android Apps and Games] djedjy:
That was my question, does it work with song only, not playlist. So it doesn't, OK, thanks.
[Android Apps and Games] bafforosso:
Try checking if you have latest version of Magisk (v17.1) and Magisk Manager (6.0.0) : One of the reason a module could be hidden in the Downloads section is if the module was updated to a new module template that require Magisk 17+ for example (then it would be hidden for lower versions).

---------- Post added at 15:54 ---------- Previous post was at 15:44 ----------

Find here instructions to install the Root version manually.
[Android Apps and Games] Eleo:
Easy. Collect songs, create your own playlist from already available music videos and then you can use that button

:o
[Android Apps and Games] Anessen97:
Thanks
[Android Apps and Games] EoneRizuwan:
I have the exact problem just before. Uninstall youtube app, install through magisk module successfully yet it not appeared on the app list. Unfortunately I'm not really sure what the fix is that it suddenly just appeared after a reboot (not the reboot after flashing modules).
[Android Apps and Games] kot2202:
Is it possible to change the ****ty grey color to old black?
[Android Apps and Games] thedicemaster:
install the black version.
[Android Apps and Games] Eleo:
Use vanced black:eek:
[Android Apps and Games] eddie2020:
Wanna ask, the micro g how to uninstall if we don't need it?
[Android Apps and Games] Tribes11:
Detach from playstore on latest YouTube vanced isn't working, why? On play store I keep getting the YouTube update on the list... :/ Even though detach is installed on magisk list..

Magisk installation btw with ytva installer v3.0 and use this settings plz
[Android Apps and Games] kot2202:
I'm using black version from magisk manager already
[Android Apps and Games] MoccaBullFlower:
Gents I'm also experiencing'' YouTube needs to auto update" or similar pop-up on some occasion when I open Vanced. Do you guys know how to get rid of it? Thanks
[Android Apps and Games] The Analog Kid:
Personally, just uninstalled it as any other app from a previous device I had...
[Android Apps and Games] Eleo:
Then your screen is not amoled. Because on my amoled screen the 'vanced black" has full black background when choosing black (dark) theme. Vanced normal on the other hand, has grey background when choosing black (dark) theme. To see that tjose are two different magisk modules, head to magisk manager downloads. As I already said, flr you to see black theme of "vanced black" as if it is dark theme of "vanced" you should eigher use "vanced" instead of "vanced black" or not have an amoled screen to see deep blacks.

Please be thorough and show your screenshots of installed magisk modules and enabled dark theme in both "settings/general" and "settings/vanced settings/layout settings". We cannot help you if we don't know what is wrong with your setup!
[Android Apps and Games] The Analog Kid:
In my experience, there's no need for amoled screens to use Vanced black...
[Android Apps and Games] mrsubway:
Just a friendly comment. My old HTC A9 finally retired to that big cellphone store in the sky. I got an LG V30, which I'm already fiercely in love with. I've been using the rooted Vanced for some time, but I've decided to give up root. Causes too many issues and I honestly don't need it. Installed non-root and MicroG, disabled stock AdTube, and it's flawless! Signed in with no issues. Good job as always fellas! ?