yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Valkyrie743:
I can't get this to work anymore.

On Google pixel XL (Verizon) I'm rooted and unlocked bootloader never had issues before. Updated to the latest version and now I get ads in videos. No ads in layout though.

If I log out I get no ads at all. So is there a new check now ? If the app see you're logged in and not a youtube red sub they play ads?

Has anyone got this to work or anyone have the apk from the last release ? (64bit arm no dpi).
[Android Apps and Games] Siddk007:
Suddenly today, ads started appearing without skip option. All was well till yesterday. Made no changes to app or rom. Using the latest arm64 version
[Android Apps and Games] Dream Reality Syndrome:
I must donate for this, app works marvelously!
[Android Apps and Games] xRedDroidx:
Yeah same here same version, I just updated it but no luck :-/
[Android Apps and Games] steve4982:
Just tested the new version and I get advertisements so using the old one for now as no advertisements with this version :)
[Android Apps and Games] xRedDroidx:
Jesus i hope op fix this soon, are ADS always been so annoying? They are everywhere and you can't skip them. How can people not have an ad blocker?
[Android Apps and Games] Atento:
I didn't know about this thread.

Everything is working flawlessly.

Thank you for sharing it.
[Android Apps and Games] C_Karhu:
Is it the same problem with IPhone? Do they have the same amount of ads as android has everywhere? I have never owned an Apple product, but I know that android NEEDS to be rooted to be usable! I can't understand those who accept all the ads!?
[Android Apps and Games] Timmmmaaahh!:
iWhat?? ?

Apple does not condone their iSheep to deviate from the (ad infested) norm so they are indoctrinated with it. In the end, iSheep don't consider it as a nuisance but rather as a feature. Ad = good! One cannot miss what one does not have or understand, no one can be told what the Matrix is...

Sizzled with Bacon ?
[Android Apps and Games] VanAndel:
Can somebody share an older ARM64 no dpi version of the app where the ads are still blocked? I unfortunately upgraded and now have ads.... Brrrrrrr!

Thanks in advance guys!
[Android Apps and Games] fake2die:
What are u talking about?

When u go to [MENTION=4898097]arter97[/MENTION] web,,u can download whichever version u want..
[Android Apps and Games] xRedDroidx:
Dude read more carefully, he's asking for a version, if exist, that still have ads blocked. He's not asking where to find all the versions of the app.
[Android Apps and Games] Dinesh6252:
Ads started to show, pl help. :(
[Android Apps and Games] SchusterIX:
This doesn't install (and never has for me) on the OnePlus 3T. It makes a couple of folders, and doesn't install the APK.
[Android Apps and Games] same974:
You can find the previous version on :

http://www.arter97.com/browse/youtube/adaway/zz__old__zz/arm64/
[Android Apps and Games] Bazcraig:
This has been working for me flawlessly for months, but the last few days I cant stop the app store auto updating the YouTube app. I am able to get a few hours after flashing before Youtube updates and I get ads again. Is anyone else experiencing?
[Android Apps and Games] VanAndel:
Thanks for the link. However 12.19. 56 is the oldest version I can find there and that one doesn't block th3 ads unfortunately! Anyone with an older, still working version?
[Android Apps and Games] keen36:
As i already briefly mentioned, the no subfolder way is the old way. Refer to this:

"Lollipop brought major changes in Android structure. In KitKat there were not subfolders under system/app and system/priv-app. In KitKat these folders contain only the apk files while now in Lollipop you will find subfolders. They have the same name with the apk files that are located in these folders. Some apk folders also include Ã¢??libÃ¢?Â and Ã¢??armÃ¢?Â subfolders. So this is a bit confusing and some people arenÃ¢??t able to set the right permissions."

http://dorylabs.com/set-right-permissions-folders-apks-libs/

Edit because I know that someone will mention this: yes, the old way also still works but it's probably a good idea to get used to the new one
[Android Apps and Games] oldswag789:
thanks guys
[Android Apps and Games] TheUndertaker21:
YouTube is being updated :(

How to stop it?

I even detached it from the store still updated
[Android Apps and Games] nigelhealy:
Disable update.

Play Stor. Youtube, top right corner 3 dots, untick auto-update.
[Android Apps and Games] DreamFX:
Delete
[Android Apps and Games] keen36:
Attached is the script I used on a cm14.1-based ROM on my 32 bit device. I just copied and modified the hosts file backup script which was already in the addon.d folder. It will probably work on lower cm versions, too (correct me if I am wrong here). It will definitely not work on arm64 devices, you must correct the paths between the two "EOF" lines if you are using arm64. I had to zip it because xda does not allow the attachment of shell scripts. Do not flash this in recovery, instead extract the .sh file and put it in /system/addon.d/

If you already have a file there starting with the number 94, rename the script to a different number (91-99) and edit the reference to 94 in the beginning of the script to reflect that change.

Not responsible for thermonuclear war etc. yaddayadda

EDIT:

I forgot to mention, set the permissions of the script to 755 to make it executable. I think this will be set automatically anyway, but better safe than sorry.
[Android Apps and Games] kalapapa:
[MENTION=4898097]arter97[/MENTION]

New version of YouTube is rolling out

Thanks for all your hard work

https://goo.gl/PcdSsZ
[Android Apps and Games] Mkkt Bkkt:
I don't know if I'm allowed to request this but is there a way to make the app always uses 720p or 1080p videos? my phone resolution is 480p but I can view 720p movies using HW acceleration without any problem, I wish if you can unlock 720p or higher :-/.

To for all work you have done.
[Android Apps and Games] Pjerisimo:
Why would you watch videos with higher than your phones native resolution?
[Android Apps and Games] Mkkt Bkkt:
Because it's look nicer on the movies I watched.
[Android Apps and Games] RikuKawai:
Any way to install this on /data instead of /system?

I only have ~3MB free on /system so there's no way I can fit this.
[Android Apps and Games] Sheetzie03:
Don't understand how that's at all possible
[Android Apps and Games] shubby:
Repartition ur device then
[Android Apps and Games] RikuKawai:
It's downscaling from a higher resolution and higher bitrate video, so it will look less compressed.

Um yeah, it doesn't work like that, especially not with a locked bootloader.

The two times I tried repartitioning android devices I ended up with a bricked Nexus 7 and almost bricked my phone.
[Android Apps and Games] keen36:
maybe you can remove some other system apps and reinstall them as user apps?
[Android Apps and Games] RikuKawai:
I'm already running absolute minimal gapps, and I had to remove several AOSP apps and replace them with third party alternatives. My phone originally released with Android 2.3, so there's not very much breathing room when it's running Android 7.1.

Would it work properly if I placed it on /data and symlinked it?
[Android Apps and Games] keen36:
that is absolutely incredible :D which phone if i may ask?

i do not see why symlinking shouldn't work, but i have never tried such a thing, only linking stuff to data back on my old phone
[Android Apps and Games] RikuKawai:
Motorola Droid 4, it's in my signature.

I'll give symlinking a try.
[Android Apps and Games] marcof93:
You can use 3c toolbox to unlink YouTube app from che google play.
[Android Apps and Games] keen36:
Does that survive a reboot? Because you can also unlink with titanium backup but after a reboot it's linked again
[Android Apps and Games] millbag:
As of 2nd of August, I'm now receiving ads in full during video on the 12.27.53 and the old 12.19.56. Also, there is no skip button :crying: Strange that this happens periodically almost once a month for this year, but then disappears the next day. This time, not so. I didn't make any changes or modification to android. The weirdest part though is how I've read in the past that "logging out" of your youtube account eliminates ads. Sure enough, log out on 12.19.56 and I go back to the same videos as before, no ads and it goes right past the yellow markers where an ad would be. The current 12.27.53 has inconsistent results when logged out. Already used your installer to reinstall fresh multiple times to no success.

Hopefully my experiment there gives some clue to the puzzle. 5 to 6 one minute ads in a 15 min video with another one at the start and end of every video is really discouraging on android, thanks to youtube. Haven't seen a youtube ad on PC in probably a decade =/
[Android Apps and Games] Segnale007:
[MENTION=4898097]arter97[/MENTION] I have been using your modded youtube app for awhile and it is amazing.

However, I am trying to block youtube ads at home and LAN wide for those who don't have a rooted android phone or don't have an Android phone to begin with. Would you mind helping me with the blocked domains list you are using with your app?

Thanks
[Android Apps and Games] ascendant512:
I'm not an expert, but I'm pretty sure there is no blocked domains list. It's supposed to be a patch to not try and load the ads in the first place.
[Android Apps and Games] s.pwyll:
Using Adaway and visiting YouTube in the Firefox browser still works to not see the ads. It's not as elegant as arter97's work, but it's what I was doing once I had to give up Xposed for the V20 before I found out he'd made a "non-Xposed" version. I'll install a fixed apk if Google hasn't figured out a way to shut arter97's brilliant work down completely, but until then I'm back to browsing the "desktop site" with Firefox and clicking on the full-screen view.
[Android Apps and Games] DanteGR:
I have auto updates set to off in play store and it never downloaded something automatically. Did you check that option?
[Android Apps and Games] mackeftw1:
Hope he gets time to update this, best thing ever. :)
[Android Apps and Games] specialex:
using YT adaway from OP still showing ads at the beginning and somtimes middle of a video

then I install iYTB "vanced" version, no more ads!

you must choose 64bit apk if you have 64bit device, don't install x86_g4 version on it, it will still showing ads

original Thread

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
[Android Apps and Games] elkolodj:
This worked perfectly for me, thanks!
[Android Apps and Games] kekistaneerefugee:
To everyone looking for a working version just use the magisk module for iYTBP here-

https://xdaforums.com/apps/magisk/module-iytbp-magisk-t3619705

I tried all of the arter97 apks, all of the iYTBP apks, and the xposed module and this is the only working method for me and all of my devices.
[Android Apps and Games] Netsab:
Does it block ads?

[Edit] Yes it does... Written on title thread
[Android Apps and Games] mackeftw1:
Worked like a charm, thank you. Now it's bearable to watch youtube again. :)
[Android Apps and Games] baxtex:
For the last 10 days i've been seeing ads on the 20 July version of this. Damn youtube is unusable with ads :D
[Android Apps and Games] xRedDroidx:
Finally time to use YT app again!

Yeah I admire people that can stand all these ads, after the 16748 time I saw that stupid amazon app and clash royale ads i just got crazy [emoji43]
[Android Apps and Games] nitrous²:
If none of these apps work, there's still [MENTION=5253144]cygery[/MENTION] AdSkip. It's available on XDA Labs app store.
[Android Apps and Games] abemore:
Thanks!

arter97's mod stopped working for me. This Magisk module works great AND it includes background playback!

For anyone moving to this Magisk module, don't forget to delete arter97's​ yt.sh script in /system/addon.d
[Android Apps and Games] baxtex:
Hmm this is really weird. As I said I'm using the version from 20 July(currently latest with adblock enabled) but I'm still seeing ads. However today when I opened the app I have this new bottom navbar category called "shared"(not sure of the english translation here) so the app have somehow updated itself even though I have turned autoupdating off. And if I got to the Play store and look I can still manually update the youitube app... really weird.
[Android Apps and Games] Brds7t7:
The shared functionality is a server-side update. Even if you're using an older version it will still appear without you updating the app.
[Android Apps and Games] magician369:
I have the adfree youtube app from this thread. If i want to install the module do I have to roll back to the original youtube app and then do the Magisk methode ?
[Android Apps and Games] Mogetto:
Working fine for me ! Thank ;)
[Android Apps and Games] dylan159:
came here just to say that i have too ads with the latest version, although way less than they should.
[Android Apps and Games] de4thscythell:
Same here. I still have ads with the latest version
[Android Apps and Games] marcof93:
No to reboot, but it will survive till a reboot, titanium will survive only for 2-3 minutes.
[Android Apps and Games] keen36:
I just set the app to not auto update in the play store. That way I do not have to remember to unlink it after every boot.
[Android Apps and Games] ChongoDroid:
Upscaling
[Android Apps and Games] marcof93:
I just discovered that also titanium will survive till reboot (don't know why previously not), you can set tasks in Titanium and you can set to auto unlink Youtube app at a specific time, unfortunatelly we can't set the task at boot, don't know if it's possible with Tasker or something similar. Incredible that with root we can't handle this.
[Android Apps and Games] shubby:
Try this gapps it can work and is half the regular pico size (83.5 mb) and hit thanx button ;) cos i did lot of searching for u kawai- kun

https://www.androidfilehost.com/?fid=529152257862681499
[Android Apps and Games] RikuKawai:
That's actually bigger than the minimal gapps I installed using opengapps aroma. With no gapps I have 72MB free, I had to remove several AOSP apps, including all of the live wallpapers to have 4MB free, then 3MB free after installing the rest of BusyBox.

I'm going to try symlinking it from /data because I have over 1GB free there.
[Android Apps and Games] shubby:
:good:
[Android Apps and Games] mecharujirou:
The new youtube apps Nov update, kinda make crash. The adaway need to update though.
[Android Apps and Games] keen36:
You should not update this patched app. What's that about adaway?
[Android Apps and Games] Huey85:
latest version doesn't seem to work - ads still playing

EDIT: nvm, removed the app from system folder, recreated folder and copied it back in. working fine now. bit weird it wasnt working before.
[Android Apps and Games] ariefabuzaky:
Because you updated, uninstall the update
[Android Apps and Games] Sakti51:
Thank you! ?
[Android Apps and Games] pleasetouchmenot:
Thankyou! :victory:
[Android Apps and Games] KLit75:
Is it possible to also make an apk that supports background playback? I think Youtube red might have this feature?
[Android Apps and Games] cr4ck3dn:
I use application Black screen of life and works fine!

This app use light sensor and when you put phone in pocket or close lid , it's closing display.

If not working go to settings and select "Compatibility mode".

OK, I don't understand how to install this.

I downloaded YouTube arm 32 version , created folder with permissions , moved apk downloaded to created folder, set permissions to apk, restart. Where is YouTube shortcut??

I clicked to install apk from created folder but app not installing, " application not installed" error.

Help!!
[Android Apps and Games] shubby:
Replace this apk with privious one and reboot

It wont install like normal apk even over its previous mod version
[Android Apps and Games] shivamtj:
Not able to install on Android 7.1 ..showing corrupt msg
[Android Apps and Games] shubby:
Don't install just make folder ,give permission copy apk in the folder and reboot it wont get installed as normal apk
[Android Apps and Games] marcof93:
x86 is discontinued?
[Android Apps and Games] tuan1990:
X86?
[Android Apps and Games] kos25k:
thanks!!i have some questions.

1)will xposed modules youtube background playback,youtube swipe to seek and one tap youtube xposed work with it?

2)will exo player port be supported?
[Android Apps and Games] Naggie:
Any idea wath DPI version I should take for a Sony Xperia Z2 Tablet? As far as I can tell it has a DPI around 360, so should i choose the 320DPI, 480DPI og the NoDPI version?
[Android Apps and Games] :
install nodpi
[Android Apps and Games] Naggie:
Okay, thanks :)
[Android Apps and Games] milan187:
Thank you sir for the update. Works great on the Pixel. If you could ever add background playback I will never need xposed.

---------- Post added at 06:11 PM ---------- Previous post was at 06:09 PM ----------

Why do you need this app of you already have xposed?
[Android Apps and Games] kos25k:
cause unfortunatelly youtube adaway module doesn't work most of times...
[Android Apps and Games] milan187:
I see. I can't remember having that issue. I don't see why this app would not work with xposed. Won't mess anything up to try.
[Android Apps and Games] Phrodini:
I could say that the module always works for me,then again I do use ogyoube along with the adaway . I never had any issues and I only update the mod never YouTube app . This works on 7 and 7.1 on my moto g with no issues too.
[Android Apps and Games] kos25k:
og youtube also doesn't work right most of times.when in background with screen off..after a while it stops playing.in stock youtube app with y.t background playback xposed module also the same.(in LP.In KK works fine)but i finally made it work also on LP with editing xml and porting exo player in youtube app.Now also the loading is 3 times faster and streaming is smooth as never before..
[Android Apps and Games] Phrodini:
Glad you got it working. Version 2 of ogyoutube at one point the background playback just stopped working, that was the only issue. The newer version works, I'm using the rooted YouTube app. Everything is working.
[Android Apps and Games] stinger4321:
I couldnt get this running on a rooted pixel xl . Previously worked on my N6. The pixel had youtube already installed.. i disabled and removed from system folder. Then copied the arm64 from here.. no shortcut upon bootup.. ideas?
[Android Apps and Games] Bionic Toad:
OnePlus 3t

Hey. I just rooted my phone today, and I was unable to uninstall Youtube. I am on Marshmellow. I used a root access uninstaller and still it said failed to uninstall YouTube. I did finally manage to break it, and then I did not have a system/apps folder? There was one called system apps, but I was unable to see or write a folder to it? I am using FX editor, idk maybe that is the problem? Just a little confused, pardon the noobiness.
[Android Apps and Games] stinger4321:
I use solid explorer pro which does just about anything and can gain root access to system files. Make sure your under root directory system\apps\YouTube replace apk in there with modified
[Android Apps and Games] Bionic Toad:
Root>System>App

OK I tried the Solid Explorer and I got to a directory with 'App' singular not 'Apps' plural as indicated? Assuming this is ok and where I am supposed to be, how do I uninstall youtube? I cannot do it from the play store or with a root access uninstaller, and I am afraid if I just delete it here I will break something (There is already a YouTube Folder with what I am assuming is the Ads version of YouTube). Should I simply delete this folder and add the .apk I downloaded when I recreate it? Just a little nervous.
[Android Apps and Games] stinger4321:
You can move it to another folder.. sdcard downloads folder is one. Also if you turn your phone side ways it will go split screen and you can simply drag the file to the new directory
[Android Apps and Games] Bionic Toad:
You Legend

Got it! The turn sideways for splitscreen was helpful. Simpler to just replace the apk in the existing folder since it already has the correct permissions I think. Anyway, no ads yet, I regret that I only have one thanks to give.
[Android Apps and Games] stinger4321:
Good to hear... Now if i could get mine to work....[emoji25]
[Android Apps and Games] milan187:
Works on my pixel. This what I did

Unistalled youtube updates.

I downloaded system app remover and removed youtube. Not sure of this was necessary.

There was still youtube.apk in /system/app/youtube. So I deleted it and pasted the modified youtube.apk.

I then made both the folder and youtube apk 777 app permission with solid explorer and rebooted. This always works for me.

Turn off auto-update for youtube as well.
[Android Apps and Games] stinger4321:
Thats what fixed it.. permissions 777...Thanks my nexus 6 i just left it as it was 775 and it worked
[Android Apps and Games] milan187:
Cool. I thought 777 was overkill but maybe not...
[Android Apps and Games] BrX91:
System apps should have chmod 644 and nothing more...
[Android Apps and Games] therighttime:
Hmm I can't write to /system/app because it says readonly file system. Even if I try and do it from terminal emulator as root. What am I doing wrong?
[Android Apps and Games] :
System partition is mounted as read only, with root you have to remount it with read write option, or use mixplorer which does this for you.
[Android Apps and Games] milan187:
777 still does not hurt anything.
[Android Apps and Games] tim455:
cool. thanks.
[Android Apps and Games] Shiva1633:
Where is the app link? :crying:
[Android Apps and Games] kyzn:
It's right in the first post.
[Android Apps and Games] Shiva1633:
App link me 2 3 folders hi 32 64 something

I. Have downloaded 32 wala but where to create the directory of YouTube I didn't understand

And main thing how to give 755 permission

M a newbie, I donno much abt

So help me
[Android Apps and Games] vishal1404:
Dude first of all this is an international forum so only English language is used

Second you need to know whether your device is 32bit or 64 bit and download the apk accordingly
[Android Apps and Games] Shiva1633:
Mine is 32bit and I have downloaded accordingly

But where to create that directory and how and how to give permission of 755

Guide me
[Android Apps and Games] kyzn:
If you would read the first few pages, the guide is already there. The thread is also pretty short. All you need to know has been discussed repeatedly. I personally have a guide I posted several pages back.
[Android Apps and Games] therighttime:
Thanks. When I try to cp the apk from downloads to /system/app/YouTube/ it now says there is no space left... I deleted the yt apk before and I thought it would make the space but /system will shows with 8kb left with df... The adventure continues :/
[Android Apps and Games] izou1838:
Enable BACKGROUND PLAY

Since this app doesn't have background play working install OGYoutube from here (the no root version) so you will have 2 YouTube apps on your phone but at least its a work around for now.

Any way you could MOD the OGYOUTUBE app? thanks!
[Android Apps and Games] harpin14789:
Wish that we had Xposed for nougat. Then we could have AdAway with background playback.

Is it possible to make a background playback module with magisk?
[Android Apps and Games] Sam Nakamura:
Hey, thanks for this great & working solution, only problem is that with the current update I no longer can comment on video, keyboard opens but no text window opens therfore writing a comment is impossible..

Can someone please confirm?

Any ideas?

TIA
[Android Apps and Games] D-m-x:
No, works for me. Maybe Clear App Data.
[Android Apps and Games] kapilathi:
App crashes with 360 video on OP3 running Android N beta

---------- Post added at 05:04 AM ---------- Previous post was at 05:04 AM ----------

Works for me
[Android Apps and Games] tonydd:
Sony Z3.... Perfect. Thanks
[Android Apps and Games] Sam Nakamura:
Strange, tried reinstalling but still the same bug.. Checked permissions on folder & app but problem persists.
[Android Apps and Games] mbc663:
If you are on an arm64 system, just name the folder "arm64" inside lib, not arm64-v4a