yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Timmmmaaahh!:
Oh, snap! You're using API16.. That's KitKat or so, right? That would explain it, the 'skip update' is probably only available on newer Android versions or even just Nougat. What device is that?

This may be useful for you: https://xdaforums.com/android/software-hacking/mod-detach-market-links-theme-ready-apps-t3447494
[Android Apps and Games] jsbthree:
Oh, this could explain it. I use nougat. Oneplus 5 Device ;)
[Android Apps and Games] dillalade:
Worked a charm 2nd time around.

So this is what I did:

1. Uninstalled YouTube as I had no such disable option.

2. Applied the arm64 via magisk v12

3. Rebooted.

4. Voila.

This is one major breakthrough given no Xposed with Nougat (Sony XZ.)

Is this all I need to do to keep this from updating etc (please see screenshot) or do I do anything further?

Thank you to all involved in this development
[Android Apps and Games] Timmmmaaahh!:
Hah, yeah.. minAPI21(arm64-v8a)(480dpi) would be the correct version for you. Damn that [MENTION=3279788]ZaneZam[/MENTION] and his most elaborated support! :p

Hey ZZ, what's API26 for, Oreo?
[Android Apps and Games] Gigobaito:
Yeah, API26 is for Android "O"
[Android Apps and Games] ZaneZam:
yes it's for the round cakes :)
[Android Apps and Games] lastfugi1979:
Ad's still playing in youtube

I am still getting the annoying Ads in youtube after installing the mod. I can get the background playback to work perfectly though and theme (black) version of YT mod.

OnePlus 3T - Resurrection Remix 5.8.3 (Nougat 7.1.2) - Rooted.

Any suggestions?

---------- Post added at 03:37 PM ---------- Previous post was at 03:34 PM ----------

I am getting the ad's too , but BG playback is fine (Black themed). Oneplus 3T Rooted with Resurrection Remix Cust ROM.

---------- Post added at 03:44 PM ---------- Previous post was at 03:37 PM ----------

Same here.. only BG playback works, Ad's still seep in.
[Android Apps and Games] Borfas:
thank, i see. and version YTB ? whichever ?
[Android Apps and Games] :
arm64
[Android Apps and Games] Borfas:
thank thank :o:good:
[Android Apps and Games] Ainsley Harriott:
Modded recovery zip just creates 3 folders on system app YouTube,YouTube.apk!,same with lower letters and YouTube isn't installed?
[Android Apps and Games] ALPHAWolf96:
Thanks to laura, zanezam and all the other guys who have helped in creating and updating the app. Now I don't even care for Xposed on nougat anymore ?

So I downloaded the youtube_12.23.60-1223602300_minAPI16(armeabi-v7a)(nodpi)-adaway-backgroundplayback.apk and made it a system app. Background playback works great but ads are back after some time with banners and shopping ads. There's also an update on play store for version 12.23.60 which is strange but I've disabled it. Anyway, thanks a lot guys for the app!
[Android Apps and Games] MCFADONNA:
Make sure before you turn off the auto update and app permission for play store before you run the YouTube app

---------- Post added at 11:07 AM ---------- Previous post was at 11:04 AM ----------

Start over uninstall the YouTube app . Reinstall and turn off the play store auto update . Turn off the play store app permission in the security settings
[Android Apps and Games] MCFADONNA:
I was working on this all day yesterday . The ads stopped when I turned these off before using the YouTube app
[Android Apps and Games] jack allen:
How do i get to disable them please i want to try this for myself
[Android Apps and Games] MCFADONNA:
Settings > security and fingerprint> apps with usage access . I uninstalled YouTube then cleared cache in twrp . Rebooted twrp installed the YouTube app . Turned off the settings I just showed you then opened YouTube. Been working ever since on my op5
[Android Apps and Games] jack allen:
What no ads in youtube now
[Android Apps and Games] MCFADONNA:
No more ads . I am using magisk 13 with the YouTube module

---------- Post added at 11:32 AM ---------- Previous post was at 11:29 AM ----------

Before no matter how many times I uninstalled reinstalled, did a clean room flash whatever I was getting ads until I did what I just showed you.. now no more ads
[Android Apps and Games] jack allen:
Yeah this is the trouble im having lol and i dont use magisk as not sure about it, is it the new xposed??
[Android Apps and Games] MCFADONNA:
Just a different root. I use magisk as oppose to super su . You can use magisk to install mods. I tried it the way you are doing it for my 3t and op5 I could never get it to work
[Android Apps and Games] jack allen:
Ah righto, sweet i think ill give magisk a go then i always used xposed and was gutted when the note 7 ports came out on android 7.0. Thank you for the advise and understanding bro
[Android Apps and Games] BoboBrazil:
12.25.52 up on apkmirror [MENTION=3279788]ZaneZam[/MENTION] [MENTION=5331708]laura almeida[/MENTION]

Now with more ads :P
[Android Apps and Games] Croozy:
It`s really a lot of ads with all new versions of [MENTION=3279788]ZaneZam[/MENTION]

waiting for new version
[Android Apps and Games] Emenaria:
I'm using v12.23.60v3 with Magisk v12.0. Has no ads at all.
[Android Apps and Games] Croozy:
i`m try this version too, but ads are still all time.
[Android Apps and Games] ZaneZam:
thx for headsup, new version already in test but with troubles....

....so it takes a bit ;)

lucky u are, would yoda say! :)

ok guys we have to sort out and differentiate: when u say u got "ads" then there are two possibilites the UI ads and the unskippable video ads.

the ui ads are nuked so far (and again already with new version old and new UI layout) i guess the ones with full UI ads everywhere were gifted by a "silent" update, eh? ;)

and the second, the video ads were we CAN'T do anything against yet. so if u got video ads already with iYTBP u most probably will have them too on every new version till this is "fixed".

so u only can try some of the mentioned workarounds here in the thread to maybe nuke them (for some time at least).

as suspected it seems so that some accounts (ads only when logged in) get "red-flagged" and then are blessed with unskippable vids (but that also not constantly and always).

we will see if it's possible to nuke that mechanism but for now the ones with ads have to live with them or logout from account, as bummerish as this sounds. ;)
[Android Apps and Games] Croozy:
Oh god. Yes, I mean about full UI ads, yes. It`s really terrible, in Russia, at least. I think in Russia MOST stupid directors make full UI ads.

I beg you, please really make resolve for this trouble ):crying:
[Android Apps and Games] Razerman:
Can't debug where these ads come from since I don't get them myself. If anyone who is getting them could take a snapshot with the Layout Inspector while those ads are in the screen (pause video if possible). And share that *.li file, it could possibly point us in the right direction of finding out where they come from and how to skip them.

1. Just download Android Studio (version 2.3.3) and create a new project, doesn't really matter which name or settings.

2. Connect your phone to your PC and make sure adb connection works (You will see if it doesn't later :P).

3. Go to Tools -> Android -> Layout Inspector

[IMG="Layout Inspector"]https://i.gyazo.com/d95255dac8f1dd4c7d84db4f4cd9b5ee.png[/IMG]

4. Choose the correct application from the menu that pops up (Correct youtube app, depending on if you have multiple), and make sure "Show all processes" is ticked so that you see it.

[IMG="Processes"]https://i.gyazo.com/22081cadd8b85a3670c84f038eb2f1a3.png[/IMG]

5. It should now capture the layout (If there is another window asking about which activity, I'm pretty sure the WatchWhile is the correct one but you can test it yourself as well).

[IMG="Captured"]https://i.gyazo.com/9415b7bca6aecf107609e0220789c863.png[/IMG]

6. Now share the *.li file which you captured and maybe it could help us figure out where the ads come from.

[IMG="Show file"]https://i.gyazo.com/c4852219348a84b400b836523ded6eaf.png[/IMG]
[Android Apps and Games] Croozy:
I`m sorry, I do not have ane PC around 100 km. Only after 2nd august.
[Android Apps and Games] vikasb32:
Sorry this Q already asked i can't save youtube video offline saving videos not working(given all permission).using Magisk version any solution for that?
[Android Apps and Games] Timmmmaaahh!:
I'm really sorry I can't be of any assistance, devs... Your versions have been nothing but purely awesome to me! Still not a single ad.
[Android Apps and Games] Bobthahog:
+1
[Android Apps and Games] DEVILOPS 007:
+2

---------- Post added at 01:30 PM ---------- Previous post was at 01:24 PM ----------

I feel like the people working on these youtube mods ( [MENTION=3279788]ZaneZam[/MENTION] [MENTION=4085448]Master_T[/MENTION] [MENTION=8043063]Anova's Origin[/MENTION] [MENTION=5331708] laura almeida[/MENTION] [MENTION=4714254]Razerman[/MENTION] aren't really getting enough appreciation. If you look back the last the last 100 or so pages it is just bug reports with no information to help like logs. I haven't had any of these issues and just want to say I really appreciate the great work you do and thanks for making youtube great again! What's the point of this post? Just to show that I and many other people appreciate your work even if it doesn't seem like it all the time as you seem to get pestered with unhelpful information all too much. Have a great day guys.:)
[Android Apps and Games] laura almeida:
Well said..!! You missed [MENTION=4714254]Razerman[/MENTION]
[Android Apps and Games] ZaneZam:
Thank u very much, and just for the record lately we also got [MENTION=4714254]Razerman[/MENTION] on board with some pretty neat methods (as u can see above *g*) he was so kind to share his knowledge and this is helping a lot, thx to him also (credits are following with next update) ;) btw. and indirectly because of him we have a working new version in test already so stay tuned. :good:
[Android Apps and Games] DEVILOPS 007:
My bad:)

---------- Post added at 01:48 PM ---------- Previous post was at 01:48 PM ----------

Sounds great, looking forward to it.:)
[Android Apps and Games] aviseknandi:
I am also having the issue mentioned by [MENTION=4075919]vikasb32[/MENTION]

When ever I try to save a video to offline it won't save. The app won't work. I have to clear data to make it work again.

Any help guys ?
[Android Apps and Games] ZaneZam:
actually this feature is broked due to the mod (afaik) so i even wonder that u can fix that via clearing data. thats new info for me.
[Android Apps and Games] aviseknandi:
[MENTION=826733]zena[/MENTION]zam Ya the app stops working but if you clear data then you can use app again but can't save offline video
[Android Apps and Games] ZaneZam:
ok i see. so yah it's still broken after that.
[Android Apps and Games] aviseknandi:
[MENTION=3279788]ZaneZam[/MENTION] ya and so can't save any video offline..

Any new version coming ?
[Android Apps and Games] Bobthahog:
[MENTION=3279788]ZaneZam[/MENTION] just commented on that on page before this about new version. I can't provide any info on bugs because every time I have installed this mod it works exactly like it's supposed to. Much thanks to the developers.
[Android Apps and Games] MCFADONNA:
Same here using magisk 13
[Android Apps and Games] Xellotath:
I will be sure to do this as soon as they start appearing again.
[Android Apps and Games] :
Hi. How my YouTube still show ads. How to get off this type of ads.TQ
[Android Apps and Games] senur3:
I started getting ads today, have been using it for a week
[Android Apps and Games] dillalade:
Snap

2 days, so far so awesome!
[Android Apps and Games] RcK17:
Try clearing app data.
[Android Apps and Games] saabsaviorlee:
I was losing my mind for a couple days with the ads. Some combination of disabling, uninstalling, and re-installing has gotten me back to no ads. I'm using iYTBP 12.17.54-121754340_minAPI(arm64-v8a)(nodpi) on a Pixel XL, rooted with SuperSU, using the copy to /system/apps/YouTube/ method, ensuring play store auto update is unchecked. Thanks so much to the devs! I was using arters original versions but I love the background feature now! Can't go back. Background and ads were only xposed modules I missed.
[Android Apps and Games] Magz Heaven:
How did you solved it?

El Psy Congroo
[Android Apps and Games] saabsaviorlee:
I'm not quite sure, I was installing via TWRP, via copy into root, clearing data, disabling, uninstalling, using titanium to uninstall, using Android to uninstall/disable, anything I could until this stuck. I dunno if it's dependant on the version, but this iYTBP 12.17.54 seems to work for me. Maybe find that same version and work on installing just that version however many ways and hope it sticks? Wish I could be more help.
[Android Apps and Games] Megahound:
Installed everything perfectly but Youtube 12.23.60(nodpi) app is just not working

I'm using stock Android marshmallow v
[Android Apps and Games] ZaneZam:
v12.25.52

Hi Guys,

i've just uploaded this:

youtube_12.25.52-1225522300_minAPI16(armeabi-v7a)(nodpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225522310_minAPI16(armeabi-v7a)(160dpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225522330_minAPI16(armeabi-v7a)(320dpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225522340_minAPI16(armeabi-v7a)(480dpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225523300_minAPI21(armeabi-v7a)(nodpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225523340_minAPI21(armeabi-v7a)(480dpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225523400_minAPI21(arm64-v8a)(nodpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225523430_minAPI21(arm64-v8a)(320dpi)-adaway-backgroundplayback.apk

youtube_12.25.52-1225523440_minAPI21(arm64-v8a)(480dpi)-adaway-backgroundplayback.apk

NON-ROOT: YouTube_v12.25.52(nodpi).apk

NO THEMED VERSIONS YET - NEEDS REWORK FOR THIS VERSION - IF U MISS IT USE v12.23.60

more infos in second post...

Have fun!

ZZ
[Android Apps and Games] DEVILOPS 007:
Great work as always [MENTION=3279788]ZaneZam[/MENTION] but I'll wait for the themed version.:good:
[Android Apps and Games] Magz Heaven:
[MENTION=3279788]ZaneZam[/MENTION] I have a question. You uploaded only the apk, with no additional libs folder and such. How to use this as magisk mod? Everytime I tried to install the apk, it fails. I dunno what to do

Edit: Okay, read the OP, got it, but I still want to use magisk for this. I cant find the latest one.

Also, will installing it as system app breaks safetynet when using magisk? Jeez, I hope it wont.

El Psy Congroo
[Android Apps and Games] laura almeida:
Maybe this time you can actually read the OP and see how to install the root version. If those instructions are too much for you, you can always install non root version by just tapping on apk and installing it like you install any other app
[Android Apps and Games] Magz Heaven:
Yeah. I already read it. Missed those *spoilers*. Anyway, may I ask if installing it as system app breaks safetynet, since there's no magisk mod for it yet?

El Psy Congroo
[Android Apps and Games] ZaneZam:
Yes, and it's not guaranteed that u don't break it with magisk module too when u use it. At least that's what I read recently dunno maybe these problems are gone with magisk 13 beta. Anyway u have to wait till the modules are done ;)
[Android Apps and Games] DEVILOPS 007:
Can I ask, is there any benefit to using the magisk version? The app doesn't break safetynet but is there something I have missed that you get from the magisk version or is it just that people like systemless mods with magisk? Thanks.
[Android Apps and Games] laura almeida:
Just open the magisk zip file and replace the youtube apk with the latest one and flash the zip.

There is no change with the libs.

So you are all good to go.

---------- Post added at 10:13 AM ---------- Previous post was at 10:09 AM ----------

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900/post72870181
[Android Apps and Games] Magz Heaven:
Thanks guys. Appreciate it. :)

El Psy Congroo
[Android Apps and Games] DEVILOPS 007:
I need to get in the habit of searching the thread first before asking. Anyways, thanks a lot for the answer.:good: Also thanks zanezam for actually making the post explaining it.
[Android Apps and Games] TomiLynch:
Does this new release include [MENTION=4714254]Razerman[/MENTION] 's fix for stock motorola compatibility?

Thanks for your hard work, guys!! You've truly changed my youtube experience.

I'm on magisk 12.21.57 and haven't experienced any adds so i'm sticking with it for a while.
[Android Apps and Games] johnnyman25:
Can I replace my stock youtube app with the modded black themed? I have root.

Thank you very much.

Sent from my Black Leather Htc 10
[Android Apps and Games] Viima:
I'm really really grateful for this, although I had to break my head a little to make it work...

I'm running a MediaTek device with MIUI 7 port based on KK 4.4.2 (armv7). That means no magisk module for me (and no xPosed as well, in stock rom had no problems but with this ROM I couldn't make it work -there's a fix for Miui 7 based kk somewhere here, but had no effect-) and some extra difficulties due to the "special" Miui roms' characteristics. So I've tried the manual version (in /system/app, in /system/priv-app, and so on), the flashable zip, installing-uninstalling, new "cleaner" flash of the rom and others, with no success whatsoever...

In the end what I did was put it in system/app WITHOUT the folder and whitout changing permissions (rwxrwxrwx). And that was the only way in which has finally worked!

So, I'm just sharing my experience as maybe someone can benefit from it (it was quite easy in the end, but I've spent a couple of days running around and reading everything in the thread with the hope I could find a fix).

Read/learn/repeat or whatever...

So, huge thanks to everyone involved in this Mod and to everyone who has written in this thread! You all make life better!

By the way, the app works just great, background playing excellent and no ads for me!

- off topic: if someone knows how can I make xPosed work on my device would be great! (There's a couple modules that makes my life easier) -
[Android Apps and Games] DEVILOPS 007:
If you're on nougat then you cant use xposed for now.
[Android Apps and Games] Viima:
[MENTION=7494055]DEVILOPS 007[/MENTION] I know and my base version is KitKat, as I've said. But thanks anyway!
[Android Apps and Games] laura almeida:
ehm.. about that..

[MENTION=4714254]Razerman[/MENTION] 's fix is not exactly a fix. I will tell you why.

Stock Motorola FC on non rooted version because it seems like stock Motorola ROMs can't handle sqlite codes. Specifically this part of the YouTube AdAway xposed module.

[MENTION=4714254]Razerman[/MENTION] never added the YouTube AdAway xposed module in his mod. so, no FC on his mod.

If I do the same and remove the YouTube AdAway module from my mods then there will be no FC on Motorola stock ROMs.

The strange part is there are no video ads on his version as well. Only the static ads exist which can be removed using xml mods.

So, I was wondering why there are no ads without the adaway module. At first I thought it was due to microG setup.

But I was wrong. [MENTION=3279788]ZaneZam[/MENTION] tested this with the root version without adaway module & microG AND THERE ARE NO VIDEO ADS.

On the other hand, some people on here are reporting ads with versions which includes all kinds of adblocking mods.

I have no idea what's going on here.

My question is, what should I do ?

Should I remove adaway module and only keep the xml mods so that non root version will work on all stock phones ?

or

Should I keep adaway module and forget about Motorola users ?

In both cases i cant guarantee that there won't be any ads.

---------- Post added at 07:21 PM ---------- Previous post was at 07:16 PM ----------

Now about the themed versions.

Google has changed a lot of layouts. these changes doesn't have any real effects on the front end. but it breaks my theme

So I have to redo the theme from scratch again (AAAAHHAHHAHAH)

I am working on it, just wait. I will release it when it is ready!!
[Android Apps and Games] Anova's Origin:
Updated Magisk modules are in the third post.
[Android Apps and Games] TomiLynch:
If you're asking us, since you can't guarantee no adds in both cases and Razerman's version seems to be working fine, i think it would be interesting to try that and see how it works for the rest here.
[Android Apps and Games] laura almeida:
Yes, I could only add the xml mods and it seems like ads are blocked for now. But if that is the case then why does adaway module even exist ?
[Android Apps and Games] sebastassara:
Youtube is crashing after flash the module, i think that newest version has more ads. maybe need to make new module
[Android Apps and Games] Anova's Origin:
Which CPU architecture are you using and are you themeing YouTube with substatum? The arm64 version is working fine on my end and I haven't seen any ads yet.
[Android Apps and Games] Razerman:
[MENTION=5331708]laura almeida[/MENTION] [MENTION=8039910]TomiLynch[/MENTION]

My guess for video ads not showing is the background playback. It's for YouTube Red subscribers only, right? And they don't have ads? Anyways, don't know and it doesn't really matter if the ads keep away :D But if it is because of that, the reason for AdAway module would be that the ads can be removed from the versions without Background Playback.

But I might have found a way to make background playback have on/off switch ;) If someone wants to give it a shot (arm64-v8a only for now):

[IMG="Background Playback menu"]https://i.gyazo.com/45eba466123a6609f5d4c73b5cec2f6b.png[/IMG]

xDark_12.25.52-1225523400_minAPI21(arm64-v8a)(nodpi).apk
[Android Apps and Games] laura almeida:
If that was the case then [MENTION=4085448]Master_T[/MENTION] didn't had to build a separate ad free version in the OP. The very background playback mod will be enough to block ads.
[Android Apps and Games] TomiLynch:
Darn! That sounds nice and I'd be happy to test it, but I'm on a Nexus 5 so can't use arm64 version.
[Android Apps and Games] Razerman:
Can't build one just now as I'm not home but you could download the arm variant and add the (arm-v7a?) library folder to my mod with for example 7zip and then re-sign the apk to make it work on arm as well.
[Android Apps and Games] TomiLynch:
You are talking to me chinese, lol.

I'm sort of new to all this and would love to try and learn, but i'm working on a hard final project for the university and haven't got much free time to read and learn right now. At least not till after next week.
[Android Apps and Games] Razerman:
I'll build you one when I get home 2-3 hours maybe... And make a picture instructions ;)
[Android Apps and Games] TomiLynch:
Thank you, don't rush. I really appreciate your effort!!
[Android Apps and Games] Jô$èph D:
I'm still getting ads
[Android Apps and Games] IonutGherman:
Visual bug in liked videos. Ss attached. Non root version, 12.23.60, black grey
[Android Apps and Games] Jô$èph D:
I'm not getting it in liked vids just other vids
[Android Apps and Games] Razerman:
[MENTION=8039910]TomiLynch[/MENTION]

Here are the downloads for the test versions:

12.25.52_minAPI21;

armeabi-v7a: https://goo.gl/q975rw

arm64-v8a: https://goo.gl/ataCXh

armeabi-v7a & arm64-v8a combined: https://goo.gl/QsJKPv

I'll got to find some good place to put my tutorial on, don't like placing multiple pictures in a row on threads :/.

Edit: Added the tutorial to github pages: https://razer2015.github.io/Android-Tutorials/apk-library-adding
[Android Apps and Games] laura almeida:
Noooooo

I am sorry.

The libcronet file has been bumped from v60.0 to v61.0

All libs are in the libs folder inside the apk file.

Just pull it out and replace them with the libs folder in magisk.

Once again I am sorry for misinforming
[Android Apps and Games] Schrotty35:
I have a Moto G5+. Which version i need for this Phone?