yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kyzn:
Just to be clear, did you disable auto update in PlayStore for YouTube? Because Google just pushed a new update.
[Android Apps and Games] thepolish:
100% clear - disabled that update. I'm sitting here messing with everything now trying an old version, as well as trying to set that 644 on the apk (saw it reading though the thread). So far 3 installs/uninstalls (2 latest and now the older version) first video I select plays an ad - usually amazon but this time for a mobile game - and every few videos I'll get another ad - so for sure they're getting through on all versions for me.

Also deleted folder in system and started from scratch - no dice.

I'm don't know what else I could do on my end -
[Android Apps and Games] multi_rom_user:
Don't quote me for this, but you may need to grab the adaway app and download the host file from it. I alaways use it myself. Also, I've read that the permissions should be set to 755 for the app to function properly. You might give one of these methods a whirl.
[Android Apps and Games] thepolish:
I do have that installed and just updated the app with f droid then newest host files... Is there a quick way for me to log what's going on in the background I can look at?
[Android Apps and Games] JonathanRAZ:
Ok i am saying this and anyone can test once i had it installed but decided to install adaway and started getting youtube ads i deleted hosts and all from adaway but still kept getting ads so if someone has that issue of ads maybe its an adblocker you have that is messing around with this no ad youtube just my 5 cents
[Android Apps and Games] thepolish:
I removed adaway and youtube, rebooted, then reinstalled per this thread latest arm-32 480dpi - ad on 3rd video.

IIRC this patch is less using a host file and more something else to do with magic.
[Android Apps and Games] JonathanRAZ:
Yeah you might try factory reset i mean that was the only way i got it fixed forgot to mention it
[Android Apps and Games] vishal1404:
So while using this modded apk didn't any1 notice the slow speeds?...... Videos are taking way too long to buffer and I could barely watch the HD videos.... Whereas on original app it works perfectly
[Android Apps and Games] Sheetzie03:
No
[Android Apps and Games] kyzn:
Also no.
[Android Apps and Games] refthemc:
I kept trying over and over to get this to work on a N6 with root and could not lol. Thanks again though op appreciate the effort
[Android Apps and Games] ecsnead69:
Thanks, there's been several updates so I just wanted to make sure
[Android Apps and Games] Mar-cel:
Yes 12.01.55 is the latest version
[Android Apps and Games] kos25k:
at least can anyone ensure us if we can except something new?or someone is working on it?thanks.
[Android Apps and Games] kyzn:
Read this.
[Android Apps and Games] kos25k:
ok thanks.lets hope hope work is on progress! ?
[Android Apps and Games] _moelle:
damn! am i the only one who cant install that great mod? no matter what i do, it allways shows "app seems to be damaged" (after a few seconds of installing normal via package installer )

m8 - android 7.1.1. ( tried on multiple roms ) - any help?

even tried to decompile and recompile it myself ...but it wont recompile so far for me because of some missing ressources.
[Android Apps and Games] JRJ442:
Did you read the OP? All the information is there. It doesn't install like a normal apk. Download the apk, and the installer zip. Reboot to recovery and flash the zip. The zip will put the apk in system apps where it needs to be to function properly.
[Android Apps and Games] D-m-x:
Lol, I wonder how long you need to figure it out.

Hint: Read the first post
[Android Apps and Games] _moelle:
i m not that silly...yeah sorry just wanted to add this to my post ....ofcourse i tried the installer...but after successfull installation via recovery....i ll boot up to the rom but there is no youtube installed. so the installer seems not to work proper.

do i need to give the downloaded version of youtube some special name so that the installscript recognize it inside of downloads?

Edit: okay i made myself an own installer zip witch got the apk included ...that one works....so nevermind.

Edit² : ...so after i managed to install it ...it works great! thank you for this really handy mod! - just something i got on my mind......the way you "hacked the ads.....would that way even make backgroundplayback possible? i have no clue if that both parts are similar related to their required additions, a modder has to do....or if that are completely different things. - i know backgroundplayback could be made "available" with the help of some little yellow app :P ...but i dont really want to install or use that app, but havent found any other way to archive bg playback with the stock yt apk.
[Android Apps and Games] :
How'd you make an installer apk? It's not working on my GS7.
[Android Apps and Games] JohnCorleone:
I just downloaded the apk, renamed it "YouTube.apk" then used Root Explorer to copy then overwrote the original in the System/app folder. I then changed the permissions and rebooted. It actually shows as the out of the box version not ever updated. There is a new version in Play Store but I leave auto update off and it's never a problem. The screenshot shows how 644 permissions look...
[Android Apps and Games] Sheetzie03:
The way I find out what the latest version is, I click the link in the description, and see if there is more updated version. It just seems way easier that way than to make a post and wait for a response.

---------- Post added at 08:22 AM ---------- Previous post was at 08:19 AM ----------

No need for installer IMO

I couldnt be more easy my man.

Remove original YouTube app/make sure its completely gone

DL the apk

Create a folder named YouTube in system/app

Move the apk inside that folder

Set permissions like another user showed in the screenshot

Reboot

Done
[Android Apps and Games] :
Didn't work for me.

---------- Post added at 08:31 AM ---------- Previous post was at 08:30 AM ----------

Are those permissions for the apk files or the folder or both. Thanks.
[Android Apps and Games] JohnCorleone:
Those are the permissions for the apk inside the folder. I just open the folder and overwrite the original version. I don't change the folder at all. I didn't need to.
[Android Apps and Games] :
That worked. Thanks!
[Android Apps and Games] Sheetzie03:
Gotta do it right for it to work
[Android Apps and Games] :
Yeah I figured out how. Created a new folder in system/apps/ and called it YouTube. Changed its permissions to drwxr-xr-x, copied the apk into the folder and gave it the 644 permissions from the user who posted the screenshot. Rebooted and it was there.
[Android Apps and Games] _moelle:
i just took some random zip installer like for example sony walkman zip...removed the walkman and put in the youtube folder with app included.

u can even use the app zipme to create such easy installers.

or, as all the others allready said, just push it via root explorer and reboot.

i m actually allways too lazy to do it via root explorer (even if its not more work lol ) ...replacing the content of a zip and flash it just feels quicker for me :P
[Android Apps and Games] penciluser:
This worked for me after updating my YouTube app by mistake and reinstalling the zip didn't work. So I did this. No ads!
[Android Apps and Games] awyeahh1:
arter patch no longer works for me, I didn't even update YouTube. auto update is unchecked. all permissions granted. ads all over the place.. wtf?

Beamed from my Nexus 6 using Tapatalk.
[Android Apps and Games] dinkoh:
Same here. Used to get non skippable ads. Now I haven't come across any.
[Android Apps and Games] awyeahh1:
it doesn't work. I did exactly what you wrote. still ads.

Beamed from my Nexus 6 using Tapatalk.

---------- Post added at 06:25 PM ---------- Previous post was at 06:23 PM ----------

looks like it stopped working all together. all permissions granted.. nada. ads all over the place

Beamed from my Nexus 6 using Tapatalk.
[Android Apps and Games] elkadeho:
Just can say it again: make a full backup with TWRP, full wipe and then just restore. Sounds silly but worked for me... I restored my backup and: no ads!!
[Android Apps and Games] awyeahh1:
meh, I don't think it will work, Google is too smart for that, it's a hit or miss from what I can see, I'm not going to bother,

Beamed from my Nexus 6 using Tapatalk.
[Android Apps and Games] elkadeho:
Just can say it worked for me several times. And yes: it sounds stupid!

I noticed it as I wanted to install a different ROM once the ads appeared, but as the ISO was corrupted I had to restore... And sure enough, ads were gone.
[Android Apps and Games] murok9042:
I am using Resurrection Remix N with 400 dpi as current pixel density.

Which apk should I take? I tried no dpi apk but after flashing I get message to update youtube in the play store.

Or is it possible to create a YouTube apk with 400dpi?

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] abeloman:
Choose NODpi

Edit: and yeah, YT is always pushing updates, but OP clearly won't be updating at the same time that PS

Enviado desde mi Moto G mediante Tapatalk
[Android Apps and Games] nigelhealy:
You're constantly going to have the update requests so just get used to ignoring them, ensure the autoupdate is unticked in play store and if you do update-all it will offer to skip YT. So just get used to it.

The dev is not going to instant custom mod every 32bit and 64bit for all dpi so just learn to ignore.

Change comes from within.

I just did a full wipe last night of a Nexus 7 and the nano gapps and manually added YT and yes I see the update nag, but so what.
[Android Apps and Games] Sam Nakamura:
I run RR N with 400dpi too and was always good with 480dpi version.. Actually you should pick the closest or slightly higher when no exact match is possible, see here:

http://www.apkmirror.com/faq/

On 11th paragraph
[Android Apps and Games] AndroidHtc101:
Guys I think you must try and understand, ads on YouTube are not an exact science...

There are many factors why ads may or may not be blocked on YouTube.

Location your in. I think a very important factor.

YouTube own ads algorithm their side.

Wether or not your running adaway with latest updated hosts.

What rom your running.

Which device you have.

What version of Android your on.

Clearing YouTube cache and data.

Correctly applying the right permissions and placement of the apk as stated by the 1st thread.

As you can see there are many variables in blocking ads. Sometimes it's a lot of trial and error.
[Android Apps and Games] murok9042:
Ok huge thanks for all of you... I will stay on the nodpi apk ?

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] Nex23:
Just an update:

Version 12.01.55 working perfectly on N5x w. 7.1.1. No ads.
[Android Apps and Games] Sheetzie03:
Yep as simple as it can get really

And you should only have to set permissions of the actual apk, not the folder you created, that should automatically be set to what its suppose to be.

And Again as far as it not working or ads getting through, this has always worked for me from the first day iv found it.

If it has to do with something YouTube changed in the algorithm, then all of us would be seeing them, and that's not happening. Either people are doing something wrong or it could have something to do with which device you have. You wouldnt think that would matter, but what else could it be. For example, If u have 100 ppl using the same version, and small % are saying ads are getting through but most are saying its working as it should, what sense does that make? It doesn't. If it was a change YT made, this would happen to all of us, but its not. So those ppl are either doing something wrong, or maybe its the device the person is using(but u wouldn't think that would be it bec it shouldnt matter what device you have)

Thanks again to the op
[Android Apps and Games] kyzn:
Or it could be location based. Last week I got a Netflix ad on every video I've watched after months of using the patched app. No amount of clearing the app cache/data or reinstalling fixed it.

After a clean ROM flash over the weekend, I'm ad free again. I've routed my YouTube traffic back through my AdBlock. Hopefully, it'll help some.
[Android Apps and Games] JRJ442:
I started getting bunches of ads on my 6p too. I tried that updating through the play store trick. Then uninstalled the update, then I removed the folder I created in System/Priv-apps because I always just put it there rather than system/apps. I also went into SDCARD/Android/data and deleted the com.google.android.youtube folder. There were a ton of cache files in there. I'm not sure if they have anything to do with ads or not. Then I rebooted to recovery and stuck the YouTube folder back in Priv-apps and set permissions. Rebooted and so far I haven't had any ads for 2 days. I was getting unskipable ads before every video suddenly. So far so good now.
[Android Apps and Games] Dante Enoshima:
mine's kinda a suprise to me :p few days ago, i'm also got the unskippable ads, but yesterday, after i clean the system and youtube's cache using AIO toolbox, it's totally ad free again... maybe just a simple cache clean is the solution ( at least for me ) :)
[Android Apps and Games] dinkoh:
Besides using the temporarily fix with "detach from Market" option from TIB, is there a way to permanently disable auto-updates. Reading from other posts, there isn't?
[Android Apps and Games] JRJ442:
Yeah that's the only way I know of to do it. I set a schedule up to do it twice a day in TiBu for me. The apk can't be resigned to my knowledge.
[Android Apps and Games] PowerHero:
[MENTION=4898097]arter97[/MENTION] the youtube adaway xposed module is updated
[Android Apps and Games] Midomad:
From the changelog, so i guess ads should be gone now.

And users are confirming that there is no more ads with the last youtube version [emoji111]
[Android Apps and Games] kos25k:
I updated only this time through playstore,updated also adaway module..not a single add yet.this is the reason I am impassioned with android ?
[Android Apps and Games] PowerHero:
Yes no single ads with wanam's module also new (not yet) patched app should so
[Android Apps and Games] nicesoni_ash:
Sign the app with a different key and install, playstore won't ask to update it. I still have quickpic old version on my phone. I think it was the media key I signed on my phone with zipsigner app or try different keys.

Edit :

It's crashing it.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android Apps and Games] JRJ442:
I think trying that with YouTube breaks Google sign in. That's why Arter doesn't do it.
[Android Apps and Games] nicesoni_ash:
Tried now with couple of different keys and it made YouTube crash so I guess that's not feasable.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android Apps and Games] JRJ442:
Sorry for the off topic in the thread everyone....

I tried PM'ing you back but it says you have them turned off or I can't for some reason. Lol.
[Android Apps and Games] Ibuprophen:
YouTube is an app by Google. They created dependencies within it that is geared to preventing it from being resigned using a different key than theirs.

Hard to explain but, when it's resigned, it crashes because the signature key is used as part of launching the app and immediately crashes when it doesn't match their signature key.

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Android Apps and Games] cyan pac:
Ok let's just take the time to realize that a TWELVE minute ad is ridiculous. If anyone can beat that time i will applaud you.
[Android Apps and Games] luizinho123:
Works on Samsung mm stock rom ?
[Android Apps and Games] whitak3r:
I finally got it to work on Pixel XL rooted 7.1. I messed up my YouTube system app by removing it with Titanium. Deleted everything, started from scratch. Took the download from page 1(x64) and moved it into system_root/apps and renamed it to YouTube.apk and set file permissions per the screenshot someone posted on page 120. Disabled the YouTube app, it uninstalled updates and made it factory YouTube again. Restarted the phone and it works fine now. Took me forever to get it working cause I messed up bad from the start. If you follow the instructions it's easy. I wasn't able to get it working with the flashable zip, but I think it's because I messed up from the beginning.
[Android Apps and Games] 6:17:
If you are seeing ads again, make sure you didn't update it with it grouped into the update all like I did. If you can uninstall it from the play store, that means it has been updated. Uninstall it to remove the update, bit the ad free one will remain
[Android Apps and Games] kdogguk:
[MENTION=4898097]arter97[/MENTION]

You sir are a god among men.

The only reason I used Xposed was for YouTube ad removal.

Keep up all your hard work buddy :)
[Android Apps and Games] Dante Enoshima:
original Youtube just updated to 12.05.33, i guess Google is really trying to stop us blocking their ads :p
[Android Apps and Games] zelendel:
They will find away sooner or later or they will just start banning accounts. It is just a big cat and mouse game.
[Android Apps and Games] aer0zer0:
Works good here, made my own magisk templqte
[Android Apps and Games] i5lee8bit:
This. TO STOP THE APP FROM AUTO UPDATING (REQUIRES TIBU):

- If you have Titanium Backup, go to Menu -> Filters, hit [CREATE LABEL...] button and create a filter (i.e. YouTube Detach). [ADD/REMOVE ELEMENTS ...] and check YouTube. Save (green check mark top right).

- Back to main TiBu screen. Schedules tab, [ADD NEW SCHEDULE], change top option to "Detach user & system apps from Market", middle option (says "No filtering" by default) select the filter you created (again, i.e. YouTube Detach). Recommend leaving the schedule on for "Any" situation (on charging, usb, battery) obviously.

- Set your preferred time to run the task and make sure you select every day. Make sure you check the Enabled box after you create the schedule obviously.

** I, like JRJ442, also created 2 separate tasks, one runs at 6:00 AM and the other at 6:00 PM. You never know when the darn app will magically re-attach itself so it won't hurt being safe.

EDIT: I also use Tasker to clear the YouTube app data every 12 hours using Secure Settings. This way, every time I use YouTube, I can do the double tap to skip 10 seconds. =D

Of course you can also turn off auto-update within Play Store, but if you're like me and lots of other people, you may have a habit of hitting UPDATE ALL when there's a bunch of updates, then you would be beat again. If you have Titanium Backup, I highly recommend doing it like this. I haven't worried about any of the auto update problems since I started using this awesome mod several weeks ago.

Thanks a lot for your work Arter97 and wanam. Finding this app at the end of last year is what finally got me to upgrade my HTC 10 to Nougat haha.
[Android Apps and Games] gozzaa:
Thanks for that guide, didn't even know that tb has a schedule thingy
[Android Apps and Games] the_virus_ua:
I think they will not ban accounts cuz people can easily block ads when they are use PC :P

Google knew what people can't easily block ads in mobile YouTube app. In Android 4.4.4-->6.0.1 you can use Xposed framework module. But in 7.0.0+ we don't have Xposed framework :D

Btw Google sell YouTube Red option which give you legit AdBlock feature. That's why google adding to YouTube more and more ads.

---------- Post added at 09:15 AM ---------- Previous post was at 09:09 AM ----------

Twelve minutes of unskipable ad

That was hell :silly:
[Android Apps and Games] Dante Enoshima:
but yeah... with pretty much expensive for most people and i know some red's features that most of us won't use it or rarely use it, that's why people just gonna use free adblock, "why pay for it when you can have it with a way that doesn't cost any money ?"

edit : i'm may sound pretty rude, but that's the reason why people use adblock, because ads are unavoidable and annoying now
[Android Apps and Games] the_virus_ua:
Yes. AdBlock creator's say that, ~40% of ads now is not annoying.
[Android Apps and Games] mrk2815:
any new news on a new build for you tube ad away
[Android Apps and Games] arter97:
New 20 APKs posted(version 12.05.53).

Thanks to [MENTION=3562083]wanam[/MENTION]

Following the newly updated adaway module by [MENTION=3562083]wanam[/MENTION],

some major new changes has been made.

The exact way on how to block ads is a bit different from Xposed-way, but the final results should be similar.

I tested by start playing about 200 videos and no ads were shown.

http://www.arter97.com/browse/youtube/adaway/

Please let me know if you encounter any FCs.

And as always, please use the installer from the OP.
[Android Apps and Games] wowo213:
advertising continued to display only in a smaller amount,based on your edition apk removed completely advertisement

http://www49.zippyshare.com/v/nM7mpW0Z/file.html

Ver 12.05.53 arm64
[Android Apps and Games] arter97:
What did you change?
[Android Apps and Games] Anshul Rajput:
Hey can you also implement youtube background play xposed module in your app, as xposed is not working on nougat hence not able to get youtube background play.
[Android Apps and Games] murok9042:
[MENTION=4682034]Anshul Rajput[/MENTION]

Just use YouTube with mozilla Firefox for background playback

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] Timmmmaaahh!:
Flashed like a charm! No FC's here, been watching a few videos without any ads. Just uploaded a video as well, all running smooth. Many thanks!

Sizzled with Bacon
[Android Apps and Games] Dante Enoshima:
Nice update, [MENTION=4898097]arter97[/MENTION] . No FCs, no ads, just perfect. Hopefully, Google won't update the original Youtube soon :good::cool:
[Android Apps and Games] murok9042:
Just figured out even when cast youtube videos to my tv I get no ads with this patched apk on nougat.

On marshmallow with activated Xposed module youtube adaway I did get some ads during long videos by casting yt videos to my tv.

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] helandortega:
Works like a charm even after the latest update. Thanks a lot OP! ☺️
[Android Apps and Games] cyan pac:
Used no dpi on RR OnePlus 3. First time opening the app everything is fine. Any time after that I get a no connection error but clearly I have connection. Clearing the data fixes it until I close it and open it again. I saw someone say it was a selinux thing but I'm not sure. I heard from well known kernel devs that changing selinux to permissive is not safe. Although nothing's really "safe" anymore.

Anybody know of a fix?

Could it theming it with sub cause issues?
[Android Apps and Games] Regionella:
which apk will i download for my oneplus 3t?

http://arter97.com/browse/youtube/adaway/
[Android Apps and Games] Sam Nakamura:
Arm64, 480dpi
[Android Apps and Games] Regionella:
Thanks. But there is no 400dpi. 320dpi and 480dpi
[Android Apps and Games] AcmE85:
480 is the correct one for full HD devices.
[Android Apps and Games] Sam Nakamura:
Sry, that was a typo.. 480dpi of course :laugh:
[Android Apps and Games] anonimlers:
Thanks you so much!

My telephone is LG G3 D855 32 GB. Which one should I download?

http //www arter97 com/browse/youtube/adaway/
[Android Apps and Games] Regionella:
i downloaded apk and zip file to download folder.

i flashed zip file with twrp.

and now i can't see youtube or new youtube!

what can i do?
[Android Apps and Games] Ibuprophen:
According to the following link:

http://www.devicespecifications.com/en/model/6da82bff

You have the following:

SOC Instruction Set: ARMv7 = ARM

Display Resolution: 1080x1920 = 420DPI

All you need to do is Google it...

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...

*PLEASE SELECT/CLICK THE THANKS BUTTON/OPTION*