yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] pearljohn:
Hope that it's possible one day.

Well done for what you've done already.

Amazing. Thanks so much for all you do.
[Android Apps and Games] FragmentsOfLife:
It wasn't working for me with the initial set of instructions. However, I changed the permissions of the apk to 644 and rebooted, and it fixed the issue.
[Android Apps and Games] greves1:
Hi, this is really great. Does anyone know how to make this into a flashable zip?

Also, can someone please explain the difference between the two dpi versions.

Thanks to the dev and anyone who can help making a zip. I'm not so confident about changing permissions and all...
[Android Apps and Games] Jakeroxs:
Would this work on a Nexus Player? I'm not sure if it's a separate app entirely but I could extract and upload it if you want to take a look at it. Getting really tired of seeing the guy hit an invisible bongo while almost hitting a girl and her mom haha.
[Android Apps and Games] Jaizu:
755 for folder and 644 for apk, same as others apks. Working pefectly on my old cm12.1, thanks a lot!
[Android Apps and Games] James_Ward01:
This is really cool. I hope you figure out a way to make it work without root, I know OGMods was able to make his modded YouTube work without root so it's possible.
[Android Apps and Games] TJ446:
Brilliant! Very nice job!!
[Android Apps and Games] T-Flip:
Works wonderful! Is there a way to reset to the default comments layout instead of this one?
[Android Apps and Games] wanam:
It's a server side feature.

[MENTION=4898097]arter97[/MENTION] Did you try to inject the modified dex and resources into the original apk, you should keep the same signature this way, unless you changes the manifest.
[Android Apps and Games] Mesmurized:
Thanks. Never installed YouTube because of the ads.

Is there a way to modify the "no-dpi" version to match my device "Nexus 5x" ? I only see a no-dpi and a 480dpi version on the site.
[Android Apps and Games] jimbomodder:
Anyway to modify it so it includes background play too?

Sent from my GT-I9505
[Android Apps and Games] arter97:
That's exactly what I've done and it's why it's only installable on /system.

Normal app installation checks every file's signature, thus fails on classes.dex and other resources.
[Android Apps and Games] zocex:
it didnt work for me. is it because i am in nougat?
[Android Apps and Games] Lownita:
Yes.
[Android Apps and Games] derdjango:
You ducking genius.
[Android Apps and Games] OliviaRodin:
This helps us a lot, but root phone is really dangerous, if you can make it work without root permission that will be great!
[Android Apps and Games] shubby:
Use mi file explorer
[Android Apps and Games] andre0005:
That allows me to create a flashable zip with the correct permissions? Can't find the option.
[Android Apps and Games] shubby:
No no it make it easy to make folder it.and flashable zip is not more suitable method bcos of the fact that it is different for different type of processor (arm,arm64 ect ) but i think ill try to make one(if i have time :p) and if i get permission from dev then ill post it
[Android Apps and Games] andre0005:
Thank you for trying to help. But like i said - i'm already doing this (with solid explorer).

I'm just looking for a way to do it during the update process in recovery.

Right now i flash the update, boot the phone, move youtube to system, change permissions, reboot.

If i could figure out how to create a flashable zip with the correct permissions i could just flash the zip right after the update and be done for the day.
[Android Apps and Games] shubby:
So u can do a patch which require a pico or som other gapps which do not hav YouTube

Then on ur current rom use tibu or zip me app and create a update zip for YouTube(moded one) and thats it untill u r jumping to different Android version ie 7.0 to 7.1 vice versa use this method for the time being :fingers-crossed:
[Android Apps and Games] andre0005:
That's a good idea. Just did what you suggested. Will try if it works tommorow morning. Thank you!
[Android Apps and Games] hafiz.hasan:
Thank u sir..all working well on op3 crdroid cm14.1 ROM..?
[Android Apps and Games] Thebear j koss:
Grab a flashable zip that you already used and works on your device, say like a Team Blackout YouTube zip, and just replace this apk with the 1 in the zip. Flash and profit. Just make sure apk is named exactly the same. Most likely YouTube.apk.
[Android Apps and Games] andre0005:
Don't i need to set custom permissions (755) in the script for the application to work correctly?

Edit: Doesn't work. App crashes when starting a video. Permissions are wrong.

Edit 2: Managed to get it right.
[Android Apps and Games] Phrodini:
Thanks.. Works
[Android Apps and Games] Bebout:
How do I check my DPI? I own the T-Mobile LG V10.
[Android Apps and Games] Thebear j koss:
Google is your friend. Google dpi for LG V10
[Android Apps and Games] _Kurosu_:
Unfortunately, my ROM comes with a yt app and /system is mounted ro. Seeing how difficult the update is for several people, flashable zip or exposed module seem imho the best option. Update zip may be simpler and I might try it when back in front of a PC.
[Android Apps and Games] keen36:
But if you can flash zips, can't you also replace the inbuilt app? What method are you using for installing zips?
[Android Apps and Games] _Kurosu_:
I'm just saying all this for user friendliness; of course I can paste command lines in a shell opened after booting into recovery. But doing so with only a tablet (is without a PC on the side, even if you needed it to root the device in the first place) is not convenient.

Note: I don't deny arter97's right to do whatever he wants. The last thing I'd want to see is my post causing trouble.

As it is, this patched app is a very cool thing. 1080p60 and adfree without need for exposed (which may not be available on all rooted devices) are great.
[Android Apps and Games] keen36:
Ah, I misunderstood! If you have it up and running, you could try the titanium backup method mentioned above to easily make a flashable zip :good:
[Android Apps and Games] _Kurosu_:
So I have missed that this is only adaway, and the vp9-patched version seems to be another apk. Would there be a way to have both?
[Android Apps and Games] ariefabuzaky:
I think dev already explain this in other page and latest youtube mod have both ability
[Android Apps and Games] _Kurosu_:
Found the relevant message from the author. So I guess I'm fine with the other version instead.

[MENTION=4898097]arter97[/MENTION] maybe the first post of the other thread could have this information added (plus adding a link to this thread). Thanks anyway
[Android Apps and Games] dedo1996:
[MENTION=4898097]arter97[/MENTION] hey man, could you please block the updates coming from play store?

Thanks for keeping youtube adaway alive!
[Android Apps and Games] Team MW KB:
I have read the OP and installed YouTube ad-free on my tablet. The tablet is WiFi only running Marshmallow. I have a S3(sprint sph 710) running a Touch Wiz rom. I am rooted and for the life of me can't get it to install. I am willing to take any help to get You Tube ad-free on my rooted phone. This is great on my tablet.
[Android Apps and Games] baxtex:
So I used this youtube version on my ASOP rom working just fine. I upgraded my rom and the youtube app uinstalled itself for some reason. Now I redownloaded the latest installer and youtube app and tried installing via recovery. I don't get any errors but when I reboot the phone there is no youtube. If I just try to install the apk, I get an error saying damaged package.
[Android Apps and Games] Cosalich:
Same here, installs without errors, youtube gone, apk damaged.
[Android Apps and Games] Timmmmaaahh!:
I'm not sure if I understand correctly but if you tap "Alles updaten" or "Update all" and you have automatic update disabled on one of those apps, it'll notify you and ask if you want to exclude it from the 'update all' process. If you do that, all apps will update except the one you excluded (YouTube in this case). And why not enabling auto update on all other apps? All apps stay up to date but YT will be ignored automatically. Handig ;)

Sizzled with Bacon ?
[Android Apps and Games] HTC-TVN:
Mmm, not working like that in my case.

When i globally say to not update automatically it will pop up at times telling me that there are so-and-so many updates to apps.

If i tap 'update all' it does exactly what it says... updates all, ignoring any additional settings per app (with me at least).

But if i have 'auto update' or 'auto update when on wifi' enabled globally (at least, that's what i think it says in english, i have dutch as default) and disable 'auto update' per apps it skips those apps.

Will try this for now and see how it rolls.

Thanks for the insight.

ON TOPIC:

12.16.55 still working nicely! Thanks [MENTION=4898097]arter97[/MENTION]
[Android Apps and Games] NeophyteGS2:
Just a quick heads up. If you're unrooted but have a custom recovery installed, update your YouTube app via the playstore, download the apk from the op and rename it to base.apk. then boot in to recovery and replace the apk in /data/app/com.google.android.youtube and chmod it to 644. Reboot and voila ;) [MENTION=4898097]arter97[/MENTION]
[Android Apps and Games] Sheetzie03:
Just do what every one else does Turn them off and auto update apps yourself It's not hard
[Android Apps and Games] dedo1996:
It's what i do actually, i made even a flashable zip, but i was wondering how to "unlink" app from play store.

"It's not hard"......
[Android Apps and Games] zelendel:
The only way is the break the signature. Which will cause it not to work.
[Android Apps and Games] laura almeida:
This works fine for me https://xdaforums.com/android/software-hacking/mod-detach-market-links-theme-ready-apps-t3447494
[Android Apps and Games] Zinvyre:
Hi, Currently having issues with the installer on my Moto G 3G, running stock 5.1.1 API22, I tried installing 320DPI with everything in the downloads folder; Script ran fine, no errors after rebooting however there was no app in my app drawer and youtube wasn't installed. I checked system/app/Youtube and the app was there with all the right permissisons. Then I tried manual install but had no luck with that either. Is there a way I can fix this; Any help is appreciated.

Thanks.
[Android Apps and Games] shawndak:
That's because any ROM update or install clears system partition. That's where this YouTube installs.
[Android Apps and Games] Timmmmaaahh!:
Eh.. 1) When the user indicate a ROM update? and 2) no it doesn't. Not on all ROMs at least. Dirty flashing leaves my (custom) system apps intact.
[Android Apps and Games] shawndak:
https://xdaforums.com/showpost.php?p=72191423&postcount=1985

Read his post.

Dirty flashing removes all of my extra system apps.
[Android Apps and Games] Sheetzie03:
If it's so easy like you say, then shouldn't you be able to do it yourself? Rather than asking the dev?
[Android Apps and Games] marriusf81:
I'm having the same problem. Any advice is welcomed. Thanks.
[Android Apps and Games] martinklaus:
12.17.54 ist now online. I completely not understanding how YouTube update works. They changes things but not display it instantly. How has the new app layout with navigation on the buttom? Can I switch back?
[Android Apps and Games] BaTarrY:
Uoi must have used the a version that species a dpi.

Try to use nodpi version.
[Android Apps and Games] ahmed_ais:
Pardon to everyone and I know this is an old release (around 18th February 2017) but is it possible that anybody still have this version? I couldn't find it on arter's site anymore.

Thanks

EDIT: never mind, I found it on the web.
[Android Apps and Games] martinklaus:
I have the nodpi version and Everything is working. Only one problem is that I'm alone with this new design. All my friends has the old design.
[Android Apps and Games] kesaras:
Just clear app's cache and data and the old one will come back
[Android Apps and Games] TomeG2kc:
Me too, it's promising for future

Wysłane z mojego HUAWEI NXT-AL10 przy użyciu Tapatalka
[Android Apps and Games] shirogeek:
Ads came back for me yesterday... Is it normal ?
[Android Apps and Games] Abdo2:
Gr8 job works like a charm

Thanks a lot
[Android Apps and Games] SVR:
Yes most of the ads are removed from main launch screen & playing page etc but some ads play without skip button. So unfortunate.
[Android Apps and Games] krasCGQ:
No, since this involves modifications to system partition.
[Android Apps and Games] nikhilsnigam:
I think yes If you have your bootloader unlocked, sure you can.
[Android Apps and Games] krasCGQ:
You can visit your device sub-forum for more complete details about your device, including the bootloader.
[Android Apps and Games] rizwan.mahai:
Excellent on Moto G3 AOSP 7.1.1

I think it worked, I just played a video and there wasn't any ad.

Uninstalled the stock apk, placed the provided apk in downloads folder in internal memory, and then flashed the zip file. Damn that was easy.

I used a nodpi apk, I hope in future play store won't ask me to update.:good::good:
[Android Apps and Games] OfferedBison:
It needs to be rooted, says so in OP. You also don't need a unlocked bootloader. I have a locked bootloader, but my device got rooted through a eng boot img.

Right now I have no ads on my s7 :)
[Android Apps and Games] nikhilsnigam:
nope... need not be rooted.

Things work differently with samsung phones unlike other oems. As a matter of fact if you are rooted means your bootloader is unlocked.
[Android Apps and Games] OfferedBison:
"Unfortunately, this requires root :/"

This is stated in op and I can ensure you that my bootloader is locked, but I still have root. If you want to confirm this check the s7 root threads. :)
[Android Apps and Games] nikhilsnigam:
Yeah I know whats written in OP. But it doesn't apply to all devices(except samsung).
[Android Apps and Games] OfferedBison:
Since this method involves modifications in the system partition, you just need root. :)
[Android Apps and Games] nikhilsnigam:
Dude. End this here. It works for you with root. Works for me with or without root.

Purpose served. Cheers.
[Android Apps and Games] OfferedBison:
Alright then........
[Android Apps and Games] contentryder:
Sup guys...wondering if yall run into the same issue as I am.

Galaxy Tab S2 SM-T810 here with root on Nougat

-With TWRP, installed the installer and it found the adaway nodpi arm64 latest in downloads folder.

-Rebooted and youtube is uninstalled. Don't have it installed.

-Can redownload youtube in the google play store but ads still there.
[Android Apps and Games] nikhilsnigam:
are you sure tab S2 has 64bit processor?

Try with correct architecture and with actual dpi version. No issues here
[Android Apps and Games] contentryder:
I switched to an x86 version with no dpi and what do you know...It works now. Smh thanks!
[Android Apps and Games] elkadeho:
You really got to disable Autoupdate in Playstore and schedule TitaniumBackup twice a day to dispatch YouTube from Playstore. I got ads back only twice in month.... And only cos I updated YouTube accidentally... Should work for you too
[Android Apps and Games] shirogeek:
I did disable auto update. It was the first thing i did before. Now ads seem to have quieted down
[Android Apps and Games] Hutch MD:
Hi, I followed the instructions and flashed the installer and things worked great!

And then I realized that it tripped Safetynet. I'm trying to uninstall this Zip/Script, but no Root Explorer/Browser will let me delete the "97-yt.sh". (inside /system/addon.d/97-yt.sh). I couldn't change permissions on that file either, so I can't do anything.

If I can get some pointers on how to remove that script, that would be great!
[Android Apps and Games] matetoes:
Is there a way to get YouTube background playback along with this? I tried the lucky patcher custom patch, but it fails, and when I tested it, the audio instantly stops outside of the app. :/ Anyone have any ideas?

Thanks! :)
[Android Apps and Games] Hubi97:
https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
[Android Apps and Games] matetoes:
Thanks so much!! I'll try it out right now.
[Android Apps and Games] Hubi97:
Remember to install the latest version of ZaneZam. The other ones are a little bit outdated
[Android Apps and Games] matetoes:
Hmm... Ok ill do that. The official one works, but I might as well. Thank you!

EDIT: It worked. Just make sure to have the folder be 0755 and the app to be 0644 in permissions (I use root explorer)
[Android Apps and Games] asafegous:
[MENTION=4898097]arter97[/MENTION] I was hoping you could do me (and anyone else who may need this) a favor and mod this youtube apk for Android TV.

http://cloud.tapatalk.com/s/5917adc..._1.3.11-10311100_minAPI17(armeabi)(nodpi).apk
[Android Apps and Games] Trịnh Bình Nguyên:
My youtube autoupdate and now I'd removed official youtube, flash agianin but it doesn't exist in my phone :(. What should I do?
[Android Apps and Games] Rashidramzan:
Amazing
[Android Apps and Games] Samg381:
Still not working with pixel XL.
[Android Apps and Games] #problem:
Hi guys is it possible to sttop the ads, Im getting an unskippable one before every video i click.
[Android Apps and Games] TomeG2kc:
Unfortunately, after restart update info appear into Google Play.

Wysłane z mojego HUAWEI NXT-AL10 przy użyciu Tapatalka
[Android Apps and Games] arter97:
Version 12.17.54 is up.

This time, all apk files have been compressed to zip in order to reduce the actual download size.

You MUST extract the apk to /sdcard/Download before executing the installer.
[Android Apps and Games] kimikim0:
thank you sir :good:
[Android Apps and Games] nigelhealy:
Thanks for compressing to reduce download size. It did puzzle me the installer wasn't working.

Is there a way to update the installer so unzips in recovery? Just removes a step for us to remember.
[Android Apps and Games] Potato997:
Why be so lazy
[Android Apps and Games] nigelhealy:
why have a script then?
[Android Apps and Games] Potato997:
To install the add-on so the app can survive when updating the ROM :)
[Android Apps and Games] Proday:
Friends, I have a problem. At 1st, I have installed this youtube and all woarked flawlessy and witouth ad-s! Than I suddenly did update all app from play store and youtube got ads again. I tried again to install zip from twrp buth witouth sucess, no youtube app when reset phone after installing and enter app drawer. I have tried to install app from download folder but it is not possible. Any ideas how to solve this problem or i have to factory reset the phone. I'm using supermam rom.
[Android Apps and Games] Timmmmaaahh!:
You didn't need to install it again, you just had to remove the update (via Play Store > Uninstall updates). Now you're trying to install it while official YouTube already is installed. You can either try to uninstall the update again or, if that doesn't work, remove YouTube entirely and start over.
[Android Apps and Games] :
Google push update on same version of youtube

Hmmm....

Why my play store notified update for YouTube even on same version? Already clear data and cache for both play store and YouTube but still mentioned YouTube need to be update....crazy...
[Android Apps and Games] Potato997:
Just don't update it. YouTube push a new update daily but most of the time it will update only ads algorithm.
[Android Apps and Games] Proday:
You didn't understand me mate; after twrp zip install, I have totally loose app (can't do unninstall of update when I don't have app) , becouse of that I have try to instal it manually
[Android Apps and Games] Timmmmaaahh!:
You could check /system/app and /system/priv-app folders, remove any YouTube entries you find and flash the zip again with the latest apk in /downloads. I don't see why this wouldn't work in any case of problems...
[Android Apps and Games] :
Ads in video player

Still ads showing in video player video and skip button is not showing
[Android Apps and Games] MArtyChubbs:
Works great on Pixel XL. Have a great day!
[Android Apps and Games] Proday:
Well, no sucess eaven with this. I have deleted everything from youtube folder (2nd teame included main yt folder) and there is again no app :( After twrp zip installation, I can see new youtube folder in system/app with few files and folders in it, but in app drower (eaven settings/applications) youtube don't exist.
[Android Apps and Games] nikhilsnigam:
Are you sure you are downloading the correct architecture apk? if yes and nothing works for you then manually place apk in youtube folder set correct permissions. If it doesn't work even after this then there is something wrong on your side.
[Android Apps and Games] FatalitySonic2:
I was in this situation too. But after removing everything in the YouTube folder in /system/app, copying the downloaded apk into it and set the apk's permission to 0644, it reappeared after reboot. And I can confirm that I don't get ads. Good thing since before, I got invaded by 6 (false) ads for the same game. Hope this helps you.

EDIT: I've replied too late but nikhilsnigam is right.
[Android Apps and Games] Proday:
As I sad, app woarked flawlessly until I updated it from play store.

---------- Post added at 07:07 PM ---------- Previous post was at 06:53 PM ----------

Mate, if you have time, just tell me do I need to rename file from download when copy to system/apk/youtube. And how to make permission?

http://cloud.tapatalk.com/s/5919e3acc908d/Screenshot_20170515-191559.png?
[Android Apps and Games] shuli81:
Of course it won't work after updating from play store. That's to be expected.

You need a file manager that has root access and can modify permissions. (Eg. Amaze or MK explorer) go to /system/app/YouTube, delete any apk in there, copy over the apk from this thread to that directory and set permissions to 644(-rw-r--r--) then reboot. You can also disable updates to YT on the Play Store to prevent it from updating.
[Android Apps and Games] Proday:
One more time, it woarked after update but with ads. And tnx for explanations about permissions, I'll try again
[Android Apps and Games] FatalitySonic2:
(checking your picture) Looks like you're using ES File Explorer. I'll repeat what shuli81 said. Remove anything into the YouTube folder in /system/app. Copy the downloaded apk to that folder. And on the Properties of the copied apk, touch Change on the Permissions line and change to 0644... or if you can't enter a number, check everything in the Owner line (Read, Write, Execute) and on the Group and Others, only check Read. Reboot after these operations.
[Android Apps and Games] Proday:
[MENTION=7081348]FatalitySonic2[/MENTION] tnx for explanation. Just one more thing; should I unninstall youtube 1st or just to delete youtube content from folder and do the rest as you wrote?
[Android Apps and Games] FatalitySonic2:
If you updated from the Play Store, then uninstall it. After uninstalling it, follow the other steps I've told you.
[Android Apps and Games] Proday:
Finally it woark witouth ads as before, tnx man and all others which healped!
[Android Apps and Games] FatalitySonic2:
You're welcome.
[Android Apps and Games] AndroidHtc101:
That's what I luv about XDA, everyone takes time to help people out:)
[Android Apps and Games] :
Ads showing in every video

Still ads showing in video player video and skip button is not showing tell me the solution
[Android Apps and Games] Shyciii:
I have 428dpi. Which version can I use with no update message is google play.
[Android Apps and Games] MArtyChubbs:
Were you able to install the apk correctly and detailed throughout this thread? If so, go to the play store app and uninstall the recent update. That is the solution...

---------- Post added at 01:19 PM ---------- Previous post was at 01:16 PM ----------

What phone? 480 should be the right dpi.
[Android Apps and Games] Shyciii:
Huawei P9 with custom dpi value (428), because the original value is too large.
[Android Apps and Games] Devtick.:
I follow the instructions yet the YouTube app doesn't show up. It worked once but then play store auto updated the app. What to do? I'm on a S6 with nougat ROM.