yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Collserra:
Would it be possible to get a version of this that doesn't include YouTube's new "double tap to rewind/fast forward" feature? That was the primary reason I ended up here. I figure nobody would've included that in a repack like this yet.
[Android Apps and Games] f4n471c:
Suddenly I get adds again. Just like some others reported. Did not change anything. No update also. Tried to uninstall the patched app and re-install the latest again, but still I get unskippable adds now :(.

Does anyone have a solution for this? If link to other thread you can also pm me if it is not OK to do so in this thread.
[Android Apps and Games] ΦDroid:
Clean ROM flash solves it for a while, but that is a temporary solution.
[Android Apps and Games] shawndak:
Also have ads now. I did notice the playstore updated a few days ago. Hope we can solve the ads soon!
[Android Apps and Games] swat4samp:
Just a suggestion, use adaway along with this module. It might stop ads which can't be skipped but no guarantees. I use adaway with youtube adaway and i get few ads which can be skipped after 5 seconds, so no big deal.
[Android Apps and Games] kyzn:
Well, Google ad sense found me. It's only ever Netflix ad though. So it's not so bad. This is the first time since I used this apk did I see ads pop up again.
[Android Apps and Games] f4n471c:
Ad away does not help for YouTube at all. The 5 second ads are normal.

I must say I only got the ads after I updated my ad away. So actually it is working against this app I would say.
[Android Apps and Games] Sam Nakamura:
Even its the fifth time to say that but I have no ads whatsoever here and I use YouTube every day and the installer workes every time (sticking strictly to the instructions) and I regularly clean flash, using only nougat based roms so far.

Just to point out that it's actually working damn good and as expected...
[Android Apps and Games] AndreAkaNick:
I just installed the normal YouTube. Can't use this one atm. At least I can skip these 2min+ ads with the normal one.

Dont think this is region based cause I'm seeing lots of english Ads, like, 80% of them aren't in my language (I'm from Brazil btw).

Clean flashed a 7.1.1 RR rom 3 days ago and it was fine untill yesterday night.

No autoupdate, permissions are right, tried cleaning app data and I have plenty of space on my phone, just in case someone say this is the cause of the issue.
[Android Apps and Games] ZRK_NanDRD:
New RR 7.1.1 Official build up (2 Feb 17) maybe updating rom might revert it back to working, I'm not sure myself, but it might help

as you're using the unofficial build (31 Jan 17 by non)
[Android Apps and Games] mbc663:
I feel like we're the only two who follow this thread that it still works flawlessly for.
[Android Apps and Games] helandortega:
100% working on my end. Thanks OP! ☺️
[Android Apps and Games] fatguy666:
Changed ROM again, couldn't get it to work again.

Deleting folder /data/app/com.google.android.youtube-1 has done the trick, the no ads :D
[Android Apps and Games] Nothex:
Thank you for the suggestion, but Unfortunately, MiXplorer did not help the situation. Maybe it will help if I can see what's causing the force closes. How do you capture a log for a force closing app?
[Android Apps and Games] Timmmmaaahh!:
Easiest method is using an app like LogCat. It doesn't need a USB connection with the PC. If you're trying to capture logs of (re)boot issues, you'll need to do so via an adb command line.
[Android Apps and Games] f4n471c:
The problem using the zip flash is for me, it deletes the data folder but does not create a new one. That's the same for manually removing the data folder and manually installing the app. It only works when I install YouTube via playstore, then uninstall without removing data and the manually installing the patched app. But still then I get random unskippable ads unfortunately. Running fulmics Rom btw.
[Android Apps and Games] Birki96:
Not working at all for my S7 Edge with Nougat. No matter what i do it wont display in the app drawer.
[Android Apps and Games] kos25k:
also never seen a single add here.Xperia Z3 tablet 5.1.1 lollipop,always installing with the initial way,not the installer and solid explorer if this matters...
[Android Apps and Games] Nothex:
OK, got me a log ?. Here it is-

https://drive.google.com/file/d/0B7dn3WqIDWiUNm9EZUpSSmhIWmM/view?usp=drivesdk

Looks like it says "02-04 09:49:34.104 E/AndroidRuntime(22668): java.lang.RuntimeException: Unable to create application com.google.android.apps.youtube.app.YouTubeApplication: java.lang.IllegalArgumentException: There is no GcmTaskService component registered within this package. Have you extended GcmTaskService correctly?"

What does all that mean? Is it the same reason your YouTube was crashing? Thanks for helping btw ?
[Android Apps and Games] linsalata28:
Is the one posted in the link From The OP the most up to date YouTube app?

---------- Post added at 03:56 PM ---------- Previous post was at 03:55 PM ----------

Oh and thanks for this. Peas awesome not having to deal with those passkey ads.
[Android Apps and Games] j-a-d-z:
No. 12.03.57 is up to date. http://www.apkmirror.com/apk/google-inc/youtube/youtube-12-03-57-release/
[Android Apps and Games] xk0niR:
Did you disable services or broadcasts using MyAndroidtools (or similiar app)?
[Android Apps and Games] Nothex:
I have YouTube Greenified... I have two wake up paths cut off.
[Android Apps and Games] nydmt:
Lmao I have no clue what to say... installed via the zip in the OP again, and I haven't seen any ads. Yesterday, did a clean flash of PixelROM 7.0, installed via zip again and haven't seen ads since. Dunno how to explain this lol
[Android Apps and Games] Nothex:
Wow! Turns out that was the problem... Re-attached the wake up cutoffs, and what do you know! No force closes. ? Thank you for helping me solve this problem!!!!

? just surprised that this was what was doing it. I thought it would only disable notifications, etc.

---------- Post added at 06:42 AM ---------- Previous post was at 06:40 AM ----------

Turns out it was fc'ing because I had two wake up paths cut off in greenify. Surprised that this is what was doing it, but happy to have it fixed! Thanks for helping me out!!! ????
[Android Apps and Games] manojtpoulose:
Accidentally updated YouTube. And after that unskipable adds are coming I reinstalled patched YouTube but still showing adds. Any workarounds ?
[Android Apps and Games] Sam Nakamura:
Have you manually deleted the updated YouTube app?

If you don't know the directories you can use system app remover from play store..

Then reinstall with installer
[Android Apps and Games] loveaddicated:
Is it possible to play in background in YouTube video? If no than Plz Dev aad it in your next build .. Anyway thanks
[Android Apps and Games] ash123456678:
I randomly started receiving ads without updating anything at all. I tried clearing cache and data for YouTube and didn't make any difference but I tried clearing cache for Google search app and the ads seem to have stopped. Tried 10+ videos and skipped to different points in each without any ads. Try it and see if it works for you guys too ;)
[Android Apps and Games] Frances91:
Not top sure, but AFAIK Xda enforces adherence to Google policy on YouTube background play and downloading. You'd see specific mention of that in all Xda devs developed apps as well. The most that I've seen allowed is stuff that apps like flytube do by letting you have the youtube video play via a small overlay window.

In absence of Xposed for nougat, I got around getting bg play by patching youtube with an app that gets users banned and threads closed on XDA by even so much as a mention of it. But that shouldn't stop from googling to get lucky with patching youtube for bg support. ;)
[Android Apps and Games] Sam Nakamura:
No, that's a paid service by youtube and therfore won't be implemented...

But if you're on nougat you have multi window view anyways :)
[Android Apps and Games] Timmmmaaahh!:
Hats off to [MENTION=6397398]Frances91[/MENTION] as winner of the most-creative-dodgy-quote-of-the-day award! =D

I don't believe background playback if forbidden though as there are apps developed/promoted on this platform that enable this feature. One of them was linked in this thread just recently..

Edit: yep, post #1021

Sizzled with Bacon
[Android Apps and Games] bokkoman:
Hi there. I'm trying to install this youtube ad free. I downloaded the installer and the 480dpi version. But it doesn't seem to work? When I installed it in twrp and reboot, youtube isn't installed at all. I see it in the system folder though.

I'm using a oneplus 3 with nougat.
[Android Apps and Games] Ibuprophen:
If you read the OP carefully, you'll see the following statement:

"This installer is not a complete flashable zip file!

It still requires the APK file to be in /sdcard/Download."

It looks like you flashed the installer assuming that it does it all...
[Android Apps and Games] Sam Nakamura:
Have you placed the modified YouTube apk in the correct directory? (sdcard/downloads)

Uninstalled official youtube?
[Android Apps and Games] bokkoman:
Yes, like I said: I downloaded the installer and the 480dpi apk arm64. So 2 files in the download folder. And run the installer thru twrp.

I tried the nodpi version as well. Nothing is working.
[Android Apps and Games] Ibuprophen:
Please disregard my last post. I have a feeling that I know what you mean based on your question...

If that individual did, in fact, do either of those things you asked...

1) Placed that apk file in the download directory...

AND/OR

2) If YouTube was previously installed and had not uninstalled it...

Would that individual make the following statement?

I believe that this individual had

1) Already uninstalled or didn't have it installed in the first place or it would reflect being installed and would then be asking a question similar to it working but, ads are still present.

AND/OR

2) May have or had forgotten to, in fact, place the apk file in the sdcard/downloads directory (this is the default directory for apps, like the browser, downloads in to).

BUT, I did notice that the original OP wasn't specifically clear regarding the renaming of the apk file when/right after the apk file is placed in the sdcard/downloads directory. It really should be pointed out that the downloaded ad free YouTube apk file needs to be named (confirm/verify and rename it if it is not) to "YouTube.apk".
[Android Apps and Games] bokkoman:
When I install it with the installer, the log tells me it found the apk (either 480dpi or nodpi version, but not both in the download folder at the same time) and installed it.

I reboot and youtube is just not present. I do find it in the system/apps folder.

So I dunno what to do. Maybe wrong dpi? Maybe nougat?
[Android Apps and Games] Sam Nakamura:
Well, could be understood as redundant questioning but maybe I misunderstood, had in mind he meant the adfree YouTube wasn't installed.. Pardon me :)

Just trying to understand where the OP says anything about renaming the apk, I never did that and I'm a lucky one without issues, ever :good:

and how should the installer pick always the newest version when everything is named YouTube.apk?

---------- Post added at 10:37 PM ---------- Previous post was at 10:30 PM ----------

No, we had here some guys already with a op3 on nougat and they succeeded.. So technically it's supposed to work, there is still the way to do it manually but it's little more complex.. You can search the thread, it's well explained

I would start from scratch by deleting all youtube related content an reflash the installer with apk placed in the correct directory..
[Android Apps and Games] nigelhealy:
For phones with official ROMs like the Oneplus they come with Gapps (incl YouTube) installed in system, so you cannot uninstall it. You have to do these steps.. I just did this yesterday as I got a newly delivered OP3T with bundled Gapps (incl YouTube).

- FInd your DPI if you don't yet know it. In my case I installed DPI Checker and ran it and my OP3T was 480dpi

- download modified apk for your 32bit/64bit (I know mine was a 64bit platform) so in my case arm64 480dpi and leave it in the defaul /sdcard/Download

- download the script. You can leave in downloads or I move these type of recovery installs up a level so its one less step in recovery.

- go into play store, find youtube and untick auto update. Then you have to uninstall it to delete all the updates. This doesn't actually uninstall it, it leaves it back to stock with the youtube version in your ROM.

- go into system, apps, find youtube near bottom and then disable. This doesn't uninstall youtube either, it just stops looking for it.

- boot into recovery, run the script you downloaded.

- (not sure if its needed but I do anyway while in recovery) clear dalvik/cache

- reboot

- you will see youtube is missing in your draw, go into systems, apps, youtube and you see it is disabled, so enable it. This then finally makes it see the modified apk in system.

- you should then test youtube, it should be there, working ad-free.

To update you should not need to all the steps, as you've basically scrubbed the updates in all the steps, which if you omitted any of the steps by not reading slowly enough, you'll find problems, but if you did it exactly then the update steps are simpler as per the OP

- wait til something is broke, dont be an update junky you can skip versions til you hit a problem

- when you have a need to updated, then download the current apk

- recovery run the script

Custom ROMs have it easier as the /system usually doesnt have youtube.

If you update your ROM it then replaces the /system modified apk with stock of the version of the ROM so you may need do it all again from the top (although auto update should be disabled already. I often find a ROM upgrade causes me to need to do many steps again like install root, adaway, etc from scratch. Oneplus update ROMs very slowly so most of the time its just the OP's instructions for updates.
[Android Apps and Games] Ibuprophen:
When you look in the app drawer, can you see it as the very last app listed in there? That sometimes happens.

If it's not anywhere in the app drawer, you could try:

1) Manually copying the ad free YouTube.apk file and replace the one in the /system/app/YouTube directory then REMEMBER to restart your device and confirm that it took by looking in your app drawer (possibly the very last app at the end)

OR

2) Retry the whole thing and keep in mind what the OP and what I had stated.
[Android Apps and Games] xk0niR:
I would not use this version here if you got an OP3T. Arter/OP has another youtube mod

Optimized for 64bit (another better video codec) and adaway.

Im not sure if its up to date but I would check it out :)
[Android Apps and Games] Midomad:
If you're talking about the modded 60fps version,

Oneplus 3T support 60fps,natively.

Youtube videos 1080p 60fps works on the stock version of the Play Store.

---------- Post added at 02:18 AM ---------- Previous post was at 02:13 AM ----------

The zip method doesn't work on OP3/OP3T at least for me and others users here...

Look for more info here.

https://xdaforums.com/showthread.php?p=70776144
[Android Apps and Games] faaaaq:
I was able to install this on my Nvidia Shield Android TV device, and it worked ad-free, but it was just a blown-up phone UI that was mostly unusable with the gamepad controller. Anyone know if the ad-blocking mod from this can be ported to the Leanback Youtube app? I did a search thru this thread and found a few other people asking the same but nobody answered any of them yes or no. OP, if you could manage this I would be VERY grateful, and would happily direct folks from the Shield forums to your work. Xposed did work previously for Shield users, but as most users are now on N, we are in search of another method..
[Android Apps and Games] shawndak:
Confirmed. Fully uninstall YouTube, delete YouTube-1 folder and reinstall app via .zip recovery script. Ads are blocked again!!
[Android Apps and Games] Sam Nakamura:
https://xdaforums.com/android/apps-games/app-patched-ad-free-youtube-apks-t3449312/post70774754 (+ following posts)

Here's one example of a op3 user who got it working, maybe he [MENTION=5314891]ELoTRIX[/MENTION] elaborate..
[Android Apps and Games] nigelhealy:
I also got it working on my OP3T, I did it yesterday, worked 1st time but I came to it wiser than average. Anyone finding problems either goofed or had a different history of their ROM upgrade, I took a fresh OP3T out of the packaging, let it do its ROM upgrade (to N which necessarily blocks xposed therefore this mod is v.useful) then I did unlock bootloader (which is a full wipe) then did recovery, supersu, boot, then the steps I typed a few posts back. Youtube works, ad-free. So anyone else must either have some unique problem with them having been on a different path to N, or they goofed in the steps. If anyone wants to challenge me, offer a YT link which doesnt work and I'll test and admit I'm wrong.

I use this modified apk on my Pixel C (N) and done on some custom ROM N Nexus 4, Nexus 5, Nexus 7 and so I'm quite well versed now.

It certainly is harder to get this apk to work on OnePlus due to it bundling a full gapps (bloatware!) but I typed the additional steps a few posts back so just read slowly do exactly and I'm confident you'll get to work.

---------- Post added at 09:59 PM ---------- Previous post was at 09:56 PM ----------

Correct the zip method if you literally just do the zip method won't work, because of reasons I wrote up and explained the added steps a few posts back. The problem isn't particularly totally unique to OP3/T but all platforms with a bloated large ROM which includes a lot of Gapps specifically YT.
[Android Apps and Games] sagrgar:
small dumb question

i shouldn't update it via playstore right?
[Android Apps and Games] nigelhealy:
Correct. Best is the very first step is Play store disable update first (top right untick) before all other steps. What happens later is when you do an update all in Play store its asks if you want to skip update.
[Android Apps and Games] xk0niR:
Its not about the FPS but the VP9 Codec.
[Android Apps and Games] deathbytalkshow:
I downloaded the latest 480dpi and installed open gapps thru aroma and excluded YouTube because crDroid wasn't seeing the folder I was creating.

I followed instructions as near as I can understand but I'm seeing ads still and I can't skip them. I looked for any other YouTube folders but can't find any. I cleared caches and data but still ads get thru.
[Android Apps and Games] Emenaria:
Thank you so much for this app. Since I'm on Android 7.0 Nougat, I can't use Xposed and YouTube Adaway module, but this app gets the job done and I really appreciate it.

Sent from my SM-G935F
[Android Apps and Games] zappomax:
I just upgraded my Mate 8 to Nougat and I flashed the modded Youtube app by TWRP as I've done before on Marshmallow but nothing...

After reboot no Youtube o my phone.

If I check in system/app I can see the Youtube folder and all the right stuff inside but the phone can't see the app.

So strange.

Any hint?
[Android Apps and Games] zelendel:
Check the permissions. I could never get the zip to work right but doing it manually has never failed me.
[Android Apps and Games] zappomax:
I did it in twrp (chmod755), but nothing
[Android Apps and Games] nicesoni_ash:
that's for the YouTube folder, you need to set the permissions 644 for the apk too.
[Android Apps and Games] zappomax:
I did too but nothing...

My be have I to move in /system/priv-app folder?
[Android Apps and Games] zelendel:
I set the apk permissions to 677. And folder to 655. I use root Explorer to do it.

No, just follow the directions.
[Android Apps and Games] zappomax:
No way...:(
[Android Apps and Games] zelendel:
Are you still using the mate 8

Here are screen shot of my permissions
[Android Apps and Games] zappomax:
Yes sure. It's my only phone
[Android Apps and Games] zelendel:
Check the screen shots above. That combo has worked and never failed.
[Android Apps and Games] KalayZz:
Well thank you i've had the problem of updating for a couple weeks and your method solved.
[Android Apps and Games] Ibuprophen:
I, personally, have found that after the YouTube folder permissions are all set, the apk file in is copied in it, and a reboot is performed. The folder owner (which is named "ROOT") makes the appropriate changes to the permissions of the apk file itself.

I thought that this was happening so I tried a little test by setting the apk permissions to nothing as well as all options selected too and, after reboot, the folder owner always changes them to the appropriate permissions.

Just wanted to spread the word as it just might be happening to others and not even knowing it.
[Android Apps and Games] zappomax:
But nothing
[Android Apps and Games] venture87:
Can i please get a link to the apk
[Android Apps and Games] zelendel:
You rebooted right after setting them right? It could be the way honor changed the system to work. Like how they close all data connections with the screen off.
[Android Apps and Games] Jexx11:
Forgive me if this has been asked before in this thread, but I'm on mobile and search isn't cooperating today.

Does using this patched youtube apk break Android Pay? That may be a dumb question but since its messing with a system app I'm not sure.

Currently I'm system rooted with Xposed, but I want to move on to Nougat with systemless root and Magisk, and was hoping to get Android pay back again.
[Android Apps and Games] kryzeK:
Very strange, always worked. I have been using it for months. Today advertisements began to appear
[Android Apps and Games] zelendel:
You are fighting a dead battle. Soon android pay will not work at all if you are rooted or even have an unlocked bootloader. Plus that is worring about a lot for something that will most likely not be here in a few years. Android pay and things like that will not last long now that they are finding how insecure it really is. All mobile payments have been already blocked in my state and even the chiped cards have been recalled.
[Android Apps and Games] Jexx11:
Well regardless I have to drop Xposed anyway to upgrade to Nougat, because it won't be updated anytime soon unfortunately. Figured I might as well keep things systemless since it simplifies updating your ROM in the future.

I can get most of the functionality back I lose from Xposed with Magisk modules, but I haven't seen a working YouTube adblocker module yet.
[Android Apps and Games] zelendel:
Can't say anything about system less as I never found a use for it. My rom formats all partitions anyway on every single flash. It does it to prevent instability that comes from OTA and dirty flashing.

Yeah Google is patching every hole they find. Soo root will only be available on a very few select devices.

Also a s a fair warning to all. Google has every right to ban your accounts if they find your account using things like this. So please understand the risk.
[Android Apps and Games] aenmo:
This thing keep showing on my Nexus 5x after upgrading my android to 7.1.2b . What to do now ?
[Android Apps and Games] Sam Nakamura:
Here someone created a module for magisk but as I don't use it myself I cannot do anything more than pointing you there..

https://xdaforums.com/android/apps-games/app-patched-ad-free-youtube-apks-t3449312/post70413942
[Android Apps and Games] djcsurf:
Finally got my first unskipable ad today :p

Been working great up until this point, hopefully a fix will come up for future builds.
[Android Apps and Games] Atento:
Same behavior here.
[Android Apps and Games] zappomax:
I rebooted but my phone can't see any Youtube app installed.

Thx for the support but I give up
[Android Apps and Games] swat4samp:
Sorry for OT, can you please tell me which nav bar icons are those in ss? They look splendid :o
[Android Apps and Games] zelendel:
Those are my personal icons to work with DU smartbar. It allows you to use any icons you want. Just need to put them in the proper folder.
[Android Apps and Games] the_virus_ua:
Can OP please update APK to last official YouTube version plz?