yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] henningsieh:
Same here and for me since months! :( I try and tried every combination of magisk(zip) and/or root(apk) versions, I did it via TWRP and/or MagiskManager app, I tried config-file and/or *plz-files, etc... it's a never-ending and recurring pray and hope process on every reboot. :-/

And - to be honest, I still don't get the difference between these 2 detach variations:

# Detach Youtube from playstore to disable update notifications
# NOTE: use this in combination with apk install if u want both
# modules get installed at the same time.
# possible values: YES/NO
DETACH="YES"

# Detach Youtube from playstore to disable update notifications
# possible values: YES/NO
DETACHONLY="NO"

What does "in combination with apk install" mean? Because: detaching is only needed in combination with a YT-vanced.apk installed, obviously!? So, what is done by DETACHONLY? Or - in other words: what SHOULD be done by it, if detaching WOULD work in a reproducible and reliable way?

So, in the end it's random. Sometimes YT stays updatable and sometimes it gets detached... absolutely weired! :confused:

Thanks you all!
[Android Apps and Games] adek89:
ok, so on the browser for pc I turned off ad blockana youtube and it is the same with and in the app and pc information about movies that were watched and yet there is still a number of notifications from the channel: /

Wysłane z mojego SM-A530F przy użyciu Tapatalka
[Android Apps and Games] madbat99:
Not on your PC, I meant if you're using an ad blocker on your phone (like AdAway) you need to white list s.youtube.com.

And like I said if you are using a brand account on YouTube ( this is likely if you have more than one YouTube account) you'll need to merge the accounts to have your history working properly. This is a limitation of micro G
[Android Apps and Games] v.konvict:
Use non root version with microg....
[Android Apps and Games] ZeeHanzo:
Hi guys. I totally cannot get history to work. Is this a known issue ?

I also have the play store update problem.

Should I take a logcat?

Edit:

Im using the root option.

I have turned off adaway.
[Android Apps and Games] introvertme:
I Will re-download the app and try it.
[Android Apps and Games] Saswata Chakraborty:
I wish I am wrong, but whenever I use Youtube Vanced (rooted and non rooted both), videos take more time to start and rhey buffer too often. But as soon as I revert back to original Youtube app, videos start playing as soon as I touch and no buffer at all (even if I watch a 2 hours movie at 720p). Please don't say there is something wrong with my device or internet connection. Because everything is fine and I know what I have observed. I think the reason videos take time to load is probably because of the way the app was patched to block ads.
[Android Apps and Games] marciozomb13:
All you need is read the OP or make a quick search.
[Android Apps and Games] madbat99:
And you didn't even read two or three posts up. If you're using a brand account you'll have to merge your accounts. Meaning you have more than one YouTube account.
[Android Apps and Games] Razerman:
I just tested and there is absolutely no difference in load up or buffering times for me. If it was about ads patch, I would think it happens to everyone.

What I think is more likely is that you messed with the settings and had no idea what you were doing (exoplayer and buffer settings perhaps?).

Delete the app data, don't change a single settings and see if the problem persist.
[Android Apps and Games] PistolSlap:
Massive battery usage

Hello, this is a great version of YouTube, but I've found that it uses 3x as much battery as the factory YouTube app. Usually in a cycle during which I watch a couple hours of YouTube, the stock app takes maybe 25% of the drain, but with vanced it takes much more -- this last time it took 66% of the battery drain. It's a great app but ****, I can't use it if it's such a hog :(
[Android Apps and Games] DiamondJohn:
I am not doubting what you say, but simply a random thought.

Any chance that because its such a great alternative to youtube, you are actually using it more?;) I use youtube rarely, so have no idea about battery consumption of either.

Also, with background play, I would assume it could consume more battery than the standard youtube without it.

---------- Post added at 06:01 PM ---------- Previous post was at 05:43 PM ----------

from my understanding, its not weird, but simply because Google have a background process to "clean" and "correct" issues with the play store apps. ie it has a process that will re-attach YouTube in the background ie fix the problem on your behalf.

Part of the script to detach YouTube tries to disable this process, but there is obviously something else "correcting" that as well. I use a boot script partially based off the magisk module, and I kanged the line

pm disable 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene$DailyHygieneService'

I wonder what would happen if the service was frozen, and restarted at will....

If this "Finsky" process issues a public intent an app could register for, running the detach script on each intent *could* put a pretty big bar on its resolve.

Maybe even scheduling the detach script at regular intervals would greatly reduce YouTube from Appearing. As I said, I use a boot script instead of the Magisk module, and if I go into the playstore at the end of the day, and YouTube has magically re-appeared, I re-run that one boot script, and it will be gone from the list of PlayStore updates. Allowing me to then accept all app updates in bulk.
[Android Apps and Games] PistolSlap:
Well it's great in the sense that it blocks ads (which I previously used an xposed module for with the stock YT) and it has swipe controls for brightness and volume, which the stock app doesn't have. (Also allows me to use a fully black interface which should theoretically consume less battery, but the vast majority of time is spent in full-screen where that becomes moot.) The added functionality doesn't cause me to watch more, it simply improves the interface. One thing I noticed is that the battery drain graph has a steeper slope during the times I'm not using it, compared to the stock app, so I suspect it is demanding power in the background, even when I'm not technically using background playback (which the stock app had as well, hacked enabled by xposed). So the culprit it seems is that vanced is drawing power when it's not being used.

I'm going to run some tests as follows: first, from a full charge, I'll open the app, start a video, stop it as usual, and minimize it with the home key, then turn the screen off and keep it in standby for a couple of hours before making note of the battery utilization. Secondly, I'll do the same thing, except I'll force quit it before putting the phone in standby. If there's a difference it means vanced is leeching power inappropriately. :/ I'll report back.
[Android Apps and Games] CoreyNewhard:
Nevermind, it starts crashing randomly
[Android Apps and Games] DiamondJohn:
Brilliant! testing! :highfive:

One system I have found which I think will be absolutely invaluable to testing any power consumption is...hmmm let me go find it... https://xdaforums.com/showpost.php?p=77731268&postcount=34856

I cant believe this process is such a well kept secret. You will be shocked about just how much info is being collected, and can be reported on, visually & interactively. Its all web hosted and interactive. If anything, its simply soooo much info its overwhelming. It helped me get my idle battery consumption from 5% / hour down to <0.7% /hour.

I also use dumpsys deviceidle (but thats more about dozing not during use) and battery stats (gives a list of what happened at each battery %) , but they are only part of what is included in the above.

I use an app i built to not have to type stuff: https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260 You can find the dumpsys commands under "Dynamic Lists">"DumpSys Calls" But thats only a very small part of whats in the above. It also lets you reset your battery stats anytime, which may help get a staring point.

Now, if only I used my phone to watch more youtube...
[Android Apps and Games] madbat99:
Was that an entire battery cycle down to zero? Because if it was only say 25% of your battery and you spent that watching YouTube, wouldn't the percentage be higher even though it didn't actually use more battery?
[Android Apps and Games] Venom0642:
Not sure how that's possible i use YouTube Vanced and definitely it does not drain my battery, been using YouTube Vanced for almost 2 years and never had any battery drain from it, so not sure how he says his battery is being drained by YouTube Vanced .

Here's battery life from yesterday on my AT&T Note9 used YouTube Vanced over 2hrs and got Outstanding battery life, no battery drain.
[Android Apps and Games] m00h:
I have a rooted phone with magisk. Is there advantage of using the root version instead of the nonroot version?

I find the nonroot version more convenient, because it's a separate app and doesn't interfere with the stock app (and Google Play Store isn't trying to forcefully update it).
[Android Apps and Games] PistolSlap:
Of course it was a full battery drain, the problem I'm having is that the battery rapidly drains, haha. ? It would be pretty absurd to flip out at 75%. And in order to increase validity of any tests I do, I would have to do them more than once. I don't believe the tests are that flawed; the one I suggested would definitively indicate a difference between the app running in the background vs force quit. If the phone is in standby the whole time then the processes using the battery should be static; a full drain in that case is unnecessary since the circumstance is kept the same and I'm looking at the proportion of the total in the same time period under the same circumstances.

Depending on how that went I could also test to see if the app ran heavier during use by starting from full, watching an hour long video on full-screen at Max brightness, then reverting to the stock app and doing the same thing with the same video (from full) and seeing how the two usages compare. Since it's the same video, the screen usage should be the same, and any difference in the proportion of the YouTube app used should be down to that app's performance.

I think these tests are reasoned out okay, but if you can improve on them please do feel free to suggest and explain changes. :)

---------- Post added at 02:10 PM ---------- Previous post was at 02:03 PM ----------

I'll try these out, thanks. :) it will probably take me a few days to run through these different things, since they'll take time to set up and complete and I also have to Life haha

---------- Post added at 02:15 PM ---------- Previous post was at 02:11 PM ----------

That's good you get such good use out of it but it's pretty irrelevant tbh. :/ every make of phone is different and if it can be shown that my phone is using too much it's irrelevant if yours isn't lol ?
[Android Apps and Games] Wenro:
I might try this... Usually I can't really be without my phone for that long, I barely sleep 2/3rds of that! But this method sure seems interesting!
[Android Apps and Games] lcrponte:
Actually what's irrelevant is your problem. It's the first time that I've seen someone complaining about it and a proper search would show you that. It's only on your end, right? No one is going to able to help you unless you've messed up with Vanced settings.
[Android Apps and Games] AbhishekS:
For the AMOLED black variant, is 13.37.52 the latest version of Vanced available as of now?
[Android Apps and Games] Grumpy Cat:
Have you tried checking the website?
[Android Apps and Games] Signup:
Set as default

Hi, can we set it as default app instead of regular YouTube?
[Android Apps and Games] Wenro:
It kinda becomes your default app since you're removing the "original" one and replacing with this.
[Android Apps and Games] madbat99:
Sure. In your system settings. Set defaults, set default links for it to open.
[Android Apps and Games] Stewartisme:
I had posted this a while ago but is there any chance you would ever add a popout window option for marshmallow users like in NewPipe?
[Android Apps and Games] rypz79:
[MENTION=8983809]TeamVanced[/MENTION] can you please write the latest stable version on the thread title? We are now at [13.37.52]

It will help me check for updates from time to time.

TnxAloT

:)
[Android Apps and Games] shaqman89:
Isn't it easily viewable in their site already? Not against the idea, but the current way isn't that hard.
[Android Apps and Games] Signup:
Thank you Bro, got it and set it as a default app :)
[Android Apps and Games] Emu:
There is a toggle for VP9. Can we have a toggle to force MP4/AVC video?
[Android Apps and Games] calchung:
I experienced the detach problem in Android O only, never happened before in Android N or M. Youtube Vanced or iYTBP worked perfectly in detaching Play store.

Is it possible or do u know how to put a detach script specifically for Youtube in Tasker? So I can set it to run the script a few times a day automatically.
[Android Apps and Games] DiamondJohn:
I do not and have never used Tasker, and am only going off the assumption you can schedule a user script to be run at regular intervals. I have used CROND in the past, which is explicitly a base system / utilitarian level scheduler. PS: I experienced the update issues with Nougat, but only started using Vanced since Nougat.

As for the script, the one I use is very dependent on many includes and logging directories etc etc etc I have pre-setup on my device, so it would take some re-work to enable it for general use.

Also, I do not use the Magisk module for detatching youtube, but, from my understanding, it may actually include the script which can be scheduled, "in plain sight".

I do use Viper Magisk module, and for that one, I see there is a Viper specific script in the location

/sbin/.core/img/VIPER4AndroidFX/service.sh

For Viper, it only needs to run once at boot to be enabled and stay enabled, however, if you can find a similar script for Vanced, *maybe* scheduling that Vanced specific script to run at time intervals, may reduce the occurrence of YouTube being re-enabled for an update. As I think I stated before, if an intent by "Finsky" can be found and subscribed to, and then running the script based on the "fixing" having occurred, then that would be a lot better, but the above may be a reasonable starting point. Remember, when I manually run my script after seeing youtube has an update, Youtube disappears from the update list.

I'd be interested to know how you go.
[Android Apps and Games] calchung:
Anyone tried this?

https://drive.google.com/file/d/1uea8FeiZexvcGlfGOpAQTwukQYs1dcM9/view?usp=drivesdk

Found it on Reddit

https://www.reddit.com/r/androidapps/comments/8rhhpz/steps_to_use_youtube_vanced_with_no_youtube/
[Android Apps and Games] Mrkblo:
Quick question: I'm using Vanced (installed via Magisk on a 9.0 custom rom that I've just installed). One little annoyance that i've been running into is that due to PIP, when I click the home button of my phone, instead of simply going to background now Vanced goes into PIP mode, so I have to close the PIP window (which will stop the video) and then press play on it on the notifications panel for it to start playing again in the background. Is there anyway I can make it work as it did on Nougat (where it would go straight to the background, without this PIP thing).

Thanks in advance for anyone that can help me out.
[Android Apps and Games] RipperFox:
The problem with the missing microphone permission still exists in 13.37.52 (installed from Magisk repo) - how can I circumvent this?
[Android Apps and Games] calchung:
Long press the Youtube icon on the homescreen n go to app information. At the bottom, there is a toggle for PIP.
[Android Apps and Games] Mrkblo:
Thank you so much, that's exactly what I wanted.
[Android Apps and Games] hamad138:
I want 1.40 update..
[Android Apps and Games] Grumpy Cat:
And I want the bugs and theme issues I've addressed many times to be fixed with each update but we can't always get what we want.
[Android Apps and Games] garylawwd:
Aswel as a bit of info if you hold the pip video and drag it to the bottom of the screen where it says "drop to dismiss" the audio will still play and it will not close. Just an added bit of info for you :svetius:
[Android Apps and Games] lcrponte:
Yes sir, right away sir!
[Android Apps and Games] Grumpy Cat:
Since he's demanding can I have a toilet made out of solid gold too? :laugh:
[Android Apps and Games] lcrponte:
Not without hamad138's consent. :cool:
[Android Apps and Games] Grumpy Cat:
Guess I'll have to settle for my jewel encrusted one instead. :V
[Android Apps and Games] madbat99:
I want to toss it in Scarlett Johansen tonight. Well the Magic 8 Ball says "not frickin likely".
[Android Apps and Games] Seif.Kemo:
im missing the feature that make me download any video with all qualities and formats .. anyone know why ?

this is not a youtube vanced feature ?
[Android Apps and Games] j-a-d-z:
Oooh, that's a bingo!
[Android Apps and Games] calchung:
May I ask if u r using Android O?

Does that boot script to disable finsky work for ur device?
[Android Apps and Games] DiamondJohn:
I am on Oreo, running Havoc-OS, personal build. With a personally created Doze profile which very very aggressively goes to doze.

However, just like the Magisk version, I only run it once on boot, so it will somehow be restarted by some other process. When I manually trigger the script, it re-hibernates (ie a force-stop) of finsky, but, after some time, it will be restarted, but normally I do this close to bedtime, so the morning reboot takes care of it again.

This action of it restarting, is the reason I suggested trying running the Magisk script at regular intervals.

---------- Post added at 06:19 PM ---------- Previous post was at 05:47 PM ----------

I personally use the following https://xdaforums.com/showthread.php?t=2137743 for downloads. I simply share from Vanced.
[Android Apps and Games] RFrancis:
Could you integrarte a way to only enable vp9 for videos played over the mobile network?

---------- Post added at 12:22 AM ---------- Previous post was at 12:21 AM ----------

Vp9
[Android Apps and Games] Cpt. Strawberry Crepe:
Why, what's wrong with having vp9 enabled all the time? Do you know what you're talking about or you just thought you are going to make a post to kill some minutes out of your life?
[Android Apps and Games] calchung:
Failed in Tasker trying to run the script
[Android Apps and Games] al52025:
Anyone else getting a network connection error? It won't load anything under vanced but the YouTube app is perfectly fine
[Android Apps and Games] DiamondJohn:
You obviously found the correct script. Try running it in a command shell / terminal window (as root), and post up the results/returned output. The screen shot looks like a logcat, and not the actual return from the script. Its missing stuff I would expect to see in the terminal window explaining what went wrong, and on which line. Personally the output in a terminal gives a much better clue as to what went wrong, and how to fix it. And just to assume the obvious, it was run as root, and the "shell" has been given root in Magisk.
[Android Apps and Games] calchung:
This is the run shell command I did in Tasker with Root
[Android Apps and Games] DiamondJohn:
I would need to see it run in a terminal, not in tasker. as I said before, I do not use tasker. A terminal window will not mess with the output, and I have no idea what tasker would do.

Actually, looking at the image, you are not running the Magisk script, but only a single step out of it, which ads a copy paste error possibility.
[Android Apps and Games] sbcontt:
I don't understand what you mean here. YouTube does not earn money by wasting our phone's battery or through eye contact. The premium thing is not available for the majority of users, so that is not an option either.

You may ask: what is the point of ads if the display is turned off? Well, what is the point of online ads to begin with? Online ad is nothing more than a virtual currency. Online ads only benefit middlemen like ad distribution networks. No sensible person (at least those who visit XDA forum) ever looks at a pop-up ad and goes: "That's an awesome product I must buy".

Those who invest in online ads assume that the number of clicks translates into profit. That has been disproven several times, but apparently companies still wanna waste money on it. That is not my problem.
[Android Apps and Games] RFrancis:
Ugh, just reading your comment gave me heartburn. What a useless response, I do know what I'm talking about get off.my back.
[Android Apps and Games] xell75:
Guys stop it, let us stay in peace here.
[Android Apps and Games] KevinX8:
Uh what would be the point of that? If your phone can do VP9 you should always use it. It's superior in literally every way.
[Android Apps and Games] otonieru:
using VP9 mean you can't emulate software based HDR,

if you own a phone which has a display panel that support HDR, i rather not using VP9 and getting HDR option.

at least thats one of the reason why some people might against using VP9 all the time :)
[Android Apps and Games] Timmmmaaahh!:
Maybe.. Maybe not.. Only a crash log (the purest proof there is in software) would tell us for sure. We all know we can't have enough of those ^_^
[Android Apps and Games] madbat99:
Looks like something may not have been wiped properly.

But the name of your app was an issue early on for Oreo users (weird names).
[Android Apps and Games] hauhauhau7:
Thanks a lot, i've been waiting for months [emoji4]

I'm using the unrooted version on my Moto Z Play.

Is there a way to check for updates from the app?

Could you please consider implementing swipe right-left (forward/rewind).

Also, the link in the Settings/Vanced settings/ Support links to the xda thread shows me an old thread.

THANKS A LOT. [emoji4]
[Android Apps and Games] ZeeJcG:
I installed the non root version since when Installing the root version, installation successful but app not found in launcher. I used the lastest apk though.
[Android Apps and Games] shegeloaf:
hey team vanced. I tried installing the latest on my s7 with s8port. It failed saying i have api25..

How do I install this app on api 25?
[Android Apps and Games] BeadyBead:
Download the apk and installer from op link and put app inside installer zip, just place it inside of it, not in a folder. Use an app like zarchiver so you don't have to upzip it.

Then flash in Magisk like normal. It should be there. Same thing happened to me.
[Android Apps and Games] madbat99:
Which version did you try to install? Install log? If you have the correct arch type, it should work. It's minimum api21. Meaning api25 is fine.
[Android Apps and Games] shegeloaf:
I have the correct arch type...

Youtube_13.07.55-1307553400_API21(arm64-v8a)(nodpi)(vBlack-v0.6)-vanced.apk

Thats what i tried to install.

.
[Android Apps and Games] madbat99:
Magisk? Root? Installer zip? What error did you get? Install log? Recovery log? It should install fine on api25, I'm using it now on api25.
[Android Apps and Games] shegeloaf:
Im using root version "ytva-universal-installer-v2.9.zip"

Sorry i do not know where the trwp log is.. ill post a screenshot.
[Android Apps and Games] shegeloaf:
I use ytva-universal-installer-v2.9.zip

Here is the screenshot.
[Android Apps and Games] DashWatson:
More features to add

Please add couple of more features in the upcoming versions if possible:

° Left side screen scroll for brightness up/down

° Right side screen scroll for volume up/down

° Picture in picture mode to pop out the video

I'm still using the old OGYouTube even after developer has discontinued support. If these features are implemented, I can finally ditch it and make the move to Vanced. Thank you for your hard work.
[Android Apps and Games] mnbvc69:
pls fix this! ?
[Android Apps and Games] Chamelleon:
Hi, I just installed version from Magisk repo and I have no extra app and my YT still looks the same. Magisk module is active and YT app was cleaned before installing module.