yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] BaTarrY:
The last time I got ads is cuz play services got an update so I had to downgrade it and it worked.

To prevent auto update I opted-out of beta channel (and followed it in apkmirror with pushbullet).

The stable version (even after a few updates) works great and no ads.

My guess because it is beta so they played a bit with it and it broke something that the mod use to prevent ads and by trying to force it the mod , it shows ads insted of blocking them.

P.S is it important to mention that it never showed a notification that it was updated, I only know that because I'm using an app called "play services info" that shows a notification when play services version is Changed and when (with other stuff about play services too), and that can explain why suddenly people get ads without doin anything or "updating" anything (or they think..)
[Android Apps and Games] Sam Nakamura:
That's actually very interesting and a good observation :good: the role of play service is not really clear even it was suspected before by [MENTION=3279788]ZaneZam[/MENTION] that this critical element of Google's setup plays a major role in providing ads to the users, to my knowledge play service gets updated in background without any notification, so this is likely a reason why people experience the sudden ad issue even they actually didn't change anything, we also don't know what happens on the server side as some further suspecting a location based background or most likely a mix of different methods as it was also observed that for some ads only appear when they're logged in to their account, like the account got red flagged, as ads where somehow tied to their account...
[Android Apps and Games] BaTarrY:
We should incourge people to use apps like play services info so they would know when play services version changed (updated or downgraded).

This can help them to know if it is the couse for the ads (if update and suddenly ads it's probably it)

The account thing can still be play services issue cuz most of the things there are not on when you are not logged-in a Google account.

+ Now we should tell people that got ads to try to downgrade play services and see if it works for some of them
[Android Apps and Games] foxsprout:
Oops. Delete
[Android Apps and Games] u7Xz:
I don't think that's just about Google Play Services because i don't use it and i have still ads in some video's. The interesting thing that i don't have ads in most (%90?) videos but there are some channels like this: [youtube]F8Ky87azo9Y[/youtube] (try it yourself, you should see an ad) this channel has ads in all videos. Really strange.
[Android Apps and Games] zelendel:
Guys keep in mind that there has been a huge todo with youtube as of late and ads are changing. This is do to ad companies not wanting their ads on videos with select content.

Mind you I cant be sure as I have not had a single ad in months. I also dont bother updating to the latest version of youtube just because it is there. If it is not broken then dont fix it right, I am still on 12.17.54 and since it has not given me a single ad I have no reason to update it. I also run a full ad blocker on my system which I am not sure if it helps or not but rather be safe then sorry as I dont do ads at all. A single ad will make me stop using an app right then and there and uninstall it.
[Android Apps and Games] BaTarrY:
Oops
[Android Apps and Games] BaTarrY:
Play services is a background service, you don't need to use it for it to work.

When you sign in to Google account it stored in that service, that's why when you clean data of play services it logs you out.

&

No ad. You can see the red progress bar is on the yellow label (ad label) , and no ads.
[Android Apps and Games] zelendel:
Same here. No ads at all
[Android Apps and Games] u7Xz:
Really strange. I told that i don't use Google Play Service i wanted to mean i use microg an unofficial way to use Google Services. Just tried the same video on my moms phone (official YouTube app has even ads in home section) it didn't appear there also. Maybe Google has a profile for every user and force ads there. Definitely something server side.
[Android Apps and Games] BaTarrY:
Have you tried to update your play services?

I'm using v11.0.55
[Android Apps and Games] zelendel:
Wow do you not know how to read? He stated he doesnt use playservices at all. He uses something else that allows him to use things like youtube without google play services anywhere on the device.
[Android Apps and Games] u7Xz:
My setup is a bit different. Someone else can try and tell us the result. But as i told i still thing thats something about server side updates and every user has another profile on YouTube. Really complex lol.
[Android Apps and Games] BaTarrY:
And still look at the photos, Google play is installed just out-dated
[Android Apps and Games] zelendel:
Again you can use it without the services that is the whole point of what he is using.

Go have a read about the project. What he is using is a hack for the services to make Google think it is installed.
[Android Apps and Games] u7Xz:
It should show like that. That's why i use it. If it would show there is no play services installed apps like Youtube, Drive etc. Would not work. The app is checking the same way how YouTube checks that i have services.
[Android Apps and Games] BaTarrY:
Edit:

I saw the above comment, ok so I didn't know that.

---------- Post added at 02:24 PM ---------- Previous post was at 02:19 PM ----------

Ok so micro is 3rd part edit-version of play services. Kinda.

Maby if they copied stuff from it (most likely), they copied from a version that do "block" this mod (like I said before they might have changed stuff that might interfere with the mod)
[Android Apps and Games] zelendel:
Pretty much yeah. It is a modded version meant to prevent many things like the pay services battery drain that some claim, as well as preventing some of the tracking from google.

I personally dont use it but many I know do use it.
[Android Apps and Games] BaTarrY:
So it is still possible it's play services problem

(Cause micro is based on play services).

And yes play services can use a lot of power because it's always on (in recent versions even when screen off , for smart Lock and Google Assistant), but magisk people built a bodule for it.

So if someone with microG wanna try , just report back - to check my theory.
[Android Apps and Games] zelendel:
That would explain why I never saw the drain as those have no use for me. I don't keep a lock on my device and Android assistant is not something I would ever use and even remove it from my device along with material design.
[Android Apps and Games] Professor Jones:
Hi,

I uninstalled youtube, installed the patched app through adb, and disabled automatic updates for youtube in the playstore. Still, my app somehow updated itself ! The ads came back and the layout changed, but I still retained the ability to keep videos running in the background. Has anyone experienced this ? How can I avoid this situation ?
[Android Apps and Games] ZaneZam:
v12.21.57 - complete!

Hi Guys,

rest of the variants are up, which are:

youtube_12.21.57-1221572320_minAPI16(armeabi-v7a)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572400_minAPI16(arm64-v8a)(nodpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572410_minAPI16(arm64-v8a)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572420_minAPI16(arm64-v8a)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572440_minAPI16(arm64-v8a)(480dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572700_minAPI16(x86)(nodpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572710_minAPI16(x86)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572720_minAPI16(x86)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572740_minAPI16(x86)(480dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572800_minAPI16(x86_64)(nodpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572810_minAPI16(x86_64)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572820_minAPI16(x86_64)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572830_minAPI16(x86_64)(320dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221572840_minAPI16(x86_64)(480dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573310_minAPI21(armeabi-v7a)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573410_minAPI21(arm64-v8a)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573420_minAPI21(arm64-v8a)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573430_minAPI21(arm64-v8a)(320dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573700_minAPI21(x86)(nodpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573710_minAPI21(x86)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573720_minAPI21(x86)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573730_minAPI21(x86)(320dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573740_minAPI21(x86)(480dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573800_minAPI21(x86_64)(nodpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573810_minAPI21(x86_64)(160dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573820_minAPI21(x86_64)(240dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573830_minAPI21(x86_64)(320dpi)-adaway-backgroundplayback.apk

youtube_12.21.57-1221573840_minAPI21(x86_64)(480dpi)-adaway-backgroundplayback.apk

plus funnily this one for O users (the only one atm on apkmirror before someone asks but it's a nodpi so...):

youtube_12.21.57-1221573401_minAPI26(arm64-v8a)(nodpi)-adaway-backgroundplayback.apk

available as always here:

https://www.mediafire.com/folder/773e97cz2ezx1/AddFree_Youtube_BackgroundPlay_Enabled

https://www.androidfilehost.com/?w=files&flid=170196

enjoy

ZZ
[Android Apps and Games] penciluser:
Can anyone make the magisk version?
[Android Apps and Games] Bobthahog:
There already is a module created. It's 10 pages back or so. For Magisk 12 anyway.
[Android Apps and Games] whitak3r:
Anyone else suddenly get ads back? Didn't have a problem for the last few weeks. I installed Nova Launcher Prime and now all of a sudden I have ads again. Is this just me? I don't see how Nova would have broken Youtube. The app is still the same version and I didn't update the app.
[Android Apps and Games] donny110:
There has been so much talk of this in the chat, I'm personally doubting if you used the search function.. 1 did you check your play store servives version? It might have been updated and seems to have effects on ads. Also have you tried signing out and seeing if it still gives ads. This has also been said a few times to work. Please troubleshoot and report if it works.
[Android Apps and Games] whitak3r:
Searching was the first thing I tried. I was just guessing that it might be a server side change since this was never a problem in the past. Just covering all my bases. I've used this for quite a while. Never had a single problem. The only change I made was installing Nova Prime, which I don't see what could be causing a problem there. I also uninstalled, and reinstalled the modded youtube version, set the folder/file properties like I always have, still getting ads. Installed this on many devices over the course of a while and it's never had any problems. I'm at work or I would check other devices. It's my guess that it's something on my side, since I did actually make a few changes on my phone. Installed the new Nova Beta and the Google Now Swipe activator.

App wasn't updated. Play store is just fine.

The strange thing is, Background play is still working, so I KNOW that it is still partially working. The app has the be the right modified one, as there is no problem there.

Edit: after going back through a couple pages it DOES look like people are having similar problems as me. Not everyone, but a few.
[Android Apps and Games] :
Anyone know how to install this with new magisk 13 beta without breaking safetynet?
[Android Apps and Games] Chrisaa63:
There was a new safety net update. It won't be hidden even using magisk 12.0. Sorry to say!
[Android Apps and Games] Geddd:
I've tried to search this thread about my problem but seems like no one else having the same problem. The app does not appear on my drawer after I reboot, I followed all the instructions. I'm using the arm version.
[Android Apps and Games] Chrisaa63:
Which method are you using to install?
[Android Apps and Games] donny110:
I assume you mean even using v13 (the current beta)? Just to try and avoid confusion..
[Android Apps and Games] whitak3r:
I had the same problem when I was installing on one of my devices. I found out that I was using the wrong version. As soon as I chose the right one it worked fine.
[Android Apps and Games] Geddd:
Pushing to system/app. By the way, I did not rename the apk, paste it in a folder as is.
[Android Apps and Games] Timmmmaaahh!:
No, I do believe [MENTION=4902117]Chrisaa63[/MENTION] meant v12 (hence the word 'even') as any version of Magisk is currently unable to work around SafetyNet. It sometimes works in core only mode but it's irregular. Google just patched a few loopholes and the Magisk dev already worked around them (but didn't release those yet!). The cat and mouse game continues...

Anyway, if anyone wants to avoid iYTBP interfering with Magisk, just do a manual install or use the modified arter flasher* (buried somewhere in this thread). If anyone is currently experimenting with v13, it's not a good idea to rely on modules.

Edit: *here it is.

Edit 2: To make this post complete, here's [MENTION=3279788]ZaneZam[/MENTION]'s versions and here's the mirror.
[Android Apps and Games] aser_elhbayeb:
This mod never failed me.

I appreciate the good work.
[Android Apps and Games] raynes32:
Tried installing the arm apk on my Galaxy S3 Mini using file explorer, would not install :/
[Android Apps and Games] TomiLynch:
You don't have to install the apk, just place it in the folder and give the write permissions as described in the OP.
[Android Apps and Games] whitak3r:
So it looks like the "Google now enabler" for the new beta of nova launcher breaks the ad blocking. Please let me know if I am wrong... Or why this even happens...

I downloaded the Google Now enabler for nova launcher, installed prime and then enabled the Now apk. It started working fine, but all of a sudden I had ads back. After I deleted my YouTube folder and reinstalled the modified YouTube, ads went away, but I lost my Google now swipe left thing for nova prime.

Someone please tell me I'm not insane.
[Android Apps and Games] Anova's Origin:
I've made a Magisk module for the ad-blocked arm64 version that includes the lib folders in the correct places/permissions to allow for 360 video playback.

Can be flashed in either TWRP or Magisk Manager. Still requires the manual removal of the original YouTube app prior to flashing though.

Tested and working on a OP3T.

Thanks to [MENTION=4025179]D-m-x[/MENTION] for the tip.

Edit: You do not have to completely delete your YouTube folder using a root-enabled app or through TWRP. Sinply go into Settings > App > YouTube and delete updates (restore to factory settings).

You can achieve this by disabling the app in settings. Make sure it's re-enabled afterwards though.

The link has been updated.

Thanks to [MENTION=5377398]TotallyAnxious[/MENTION] for the advice on altering the module configs.

https://drive.google.com/file/d/0B8lY7pYQ4GSzdWZDeGFEUFRUSjg/view?usp=sharing
[Android Apps and Games] serdotlinecho:
Just patch YouTube apk with lucky p*****r. Uninstall YouTube and download YouTube apk from apkmirror. Use custom patch from lucky p*****r, save video works for me. :D
[Android Apps and Games] ainurrofiq:
Okay thanks
[Android Apps and Games] TotallyAnxious:
Change /system/app/YouTube/youtube.apk to /system/app/YouTube in config.sh to be able to not need to remove the stock system apk. That function is made to replace entire folders, instead of the default merge them.
[Android Apps and Games] Chocklety Boyee:
What is the difference between normal.and magisk mod..i installed magisk version but dint notice any difference..evern in magisk manager ..:cowboy:
[Android Apps and Games] Anova's Origin:
There is no difference in the app itself if the normal version was installed correctly. It's just more convenient for three reasons:

1) Magisk is systemless, so you don't have to mess with your /system partition too much (beyond deleting the old YouTube app)

2) The Magisk module will set all the correct permissions automatically

3) The Magisk module will automatically move the lib folder to the correct location so 360 video playback does not cause the app to crash

I'm also following up on TotallyAnxious's advice on using Magisk to replace the stock YouTube folder so you don't have to delete it prior to flashing. Testing it at the moment.
[Android Apps and Games] FlyingMachete:
What if I told you, you can have a thread closed on XDA by mentioning this app?...

Make a little research, read around, and maybe edit your post. ;)

No offense, that's real. Cheers.
[Android Apps and Games] TotallyAnxious:
I can send you my personal magisk mod if you need it for reference, but it's really only that one change and you're good.
[Android Apps and Games] Anova's Origin:
Thanks for the offer. I've already made the change in the Magisk module, but I realized that the problem was elsewhere. Since YouTube is a system app, it saves updates in /data/app. As long as the updates are in there, it overrides the apk in /system/app. I'm trying to figure out how I can use the Magisk zip to delete the contents in the /data/app/com.google.android.youtube-1 while its installing the module so a second zip to remove the update data is not needed.

While Magisk can mount /data, it's unable to make any changes in there as it can with the /system partition.
[Android Apps and Games] TotallyAnxious:
Uninstall updates prior to installing?
[Android Apps and Games] Anova's Origin:
It'll be even easier if it's done automatically :D
[Android Apps and Games] TotallyAnxious:
Oh then just change the updatebinary in the zip to search and delete that folder if found.
[Android Apps and Games] Samg381:
No matter what patched APK I use, how I install it, or how many times I try, I can't get this crap to work. There's always an ad on some video. I'm following the directions to the dot, and the background playback patch is the only thing that seems to be working. I tried setting the file permissions and everything. I'm on a Google Pixel XL. Am I going insane or just doing something seriously wrong?
[Android Apps and Games] -4ndr01d-:
I download the magisk version from OP... allworks well. I now get update youtube app in play store. if i update. everything youtube goes back to the original app...if i uninstall updates, i have no ads and background play

is there an module that doesnt get updates from playstoer? i was under impression that it wouldnt prompt me for updates

EDIT: I did remove all youtube folders from /system and /data prior to flash
[Android Apps and Games] Hubi97:
should work too https://xdaforums.com/android/software-hacking/mod-detach-market-links-theme-ready-apps-t3447494
[Android Apps and Games] Younex:
Just have some patience. Ads are reappearing because Google is constantly changing​ and tweaking them server sidedly.

In my case I only get adds at the beginning of videos, especially non skippable​ ones (Google has been messing with these recently). All other forms of ads are still being blocked.

It shouldn't be long before we get a patched YT v12.09 :)
[Android Apps and Games] Stogie87:
Same problem here. I still get ads...
[Android Apps and Games] sjamie:
That's very interesting because I am getting zero ads thankfully. I hope Google doesn't mess with my setup. :cyclops:
[Android Apps and Games] D-m-x:
That seems to be also location dependant. I'm also starting to see ads on the main Page while I didn't the last few weeks/months

Gesendet von meinem Nexus 6P mit Tapatalk
[Android Apps and Games] Master_T:
This is the reason I initially didn't want to post an ad free version: you have to constantly keep it up to date because ad servers change all the time...
[Android Apps and Games] Anova's Origin:
I'm using the new Nova beta and Google Now companion app and ads are still being blocked in YouTube.
[Android Apps and Games] whitak3r:
Ok thank you. I must have done something wrong.
[Android Apps and Games] Bobthahog:
I am also using Nova companion app and my ads are still blocked also.
[Android Apps and Games] massalim:
Anyone using version 12.15.55 ? All 60fps videos are out of sync not sure if it's ROM issue or youtube ?
[Android Apps and Games] DEVILOPS 007:
There are newer versions...
[Android Apps and Games] massalim:
I tried newer versions they're all filled with ads
[Android Apps and Games] DEVILOPS 007:
Not for me. Which method did you use for installing it? I download the apk and flash the modified arters flashable installer and reboot and everything is good.
[Android Apps and Games] massalim:
I'm replacing apk in system/app. Modified flashable installer is zip file? Just flash it via twrp that's it?
[Android Apps and Games] DEVILOPS 007:
Just download this and the most recent version of the mod and make sure you pick the right dpi. Then make sure the youtube apk is in your download folder and the zip has a script that looks in there and for the mane layout and then simply flash the zip in recovery and it creates and places the apk and sets the permissions. Then just reboot and the app will be there with no ads and bgpb hopefully.
[Android Apps and Games] Timmmmaaahh!:
I don't know what it is, maybe the red bold text appears invisible to some, but that's exactly what you're doing wrong: replacing. As the OP states:
[Android Apps and Games] massalim:
I uninstalled existing YouTube and installed modded version, which is fully functional without ads only 60fps videos are out of sync
[Android Apps and Games] DEVILOPS 007:
I doubt that is because of the mod but I'll test it myself with and without the mod and see what happens.
[Android Apps and Games] massalim:
Just installed latest version 12.21.57 everything seems ok now with 60fps videos. I thought it was device/rom issue because of similar complaints at oneplus forums.
[Android Apps and Games] Dnilay88:
Thank you a lot! It fully works on my Android N.
[Android Apps and Games] ZaneZam:
hey guys,

i got one laggard for O users:

youtube_12.21.57-1221573441_minAPI26(arm64-v8a)(480dpi)-adaway-backgroundplayback.apk

uploaded.

https://www.androidfilehost.com/?w=files&flid=170196

https://www.mediafire.com/folder/773e97cz2ezx1/AddFree_Youtube_BackgroundPlay_Enabled

enjoy

ZZ
[Android Apps and Games] UserNamist:
Hey so does anyone know how to get the latest version working without breaking safety net? Magisk module maybe?
[Android Apps and Games] Younex:
YouTube 12.23.57 is up on apkmirror !
[Android Apps and Games] Midomad:
[MENTION=3279788]ZaneZam[/MENTION] Abracadabra !
[Android Apps and Games] ChazzMatt:
Thank you for telling me about the new Google Now Companion app for Nova launcher. Now I have Google Assistant and Google Now. I like having both.
[Android Apps and Games] tisoccerfan:
Major, major thanks. This works like a charm.
[Android Apps and Games] Albein:
Good! Installed on my zuk z1
[Android Apps and Games] Chrisaa63:
Try reading a few posts back before stating something that's already been stated.
[Android Apps and Games] BaTarrY:
Download the apk, leave it at downloads folder and flash arter installer
[Android Apps and Games] んなあああああああ:
Put the app into /system/app, set the permissions to 644, rebooted. The app does not appear in the drawer, and when I check the /system/app directory, it's not there anymore. I'm using the correct .apk (arm64) for my phone (OnePus 2). Any ideas?
[Android Apps and Games] TomiLynch:
Have you placed the apk in a folder with permissions set to 755, or simply put it lose in system/app?
[Android Apps and Games] Xellotath:
Great clear install instructions, worked no problems. thanks!
[Android Apps and Games] trancoss2:
Thanks f

Enviado desde mi SM-G955F mediante Tapatalk