yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ibuprophen:
I may be out in left field on this...

I completely understand what you're stating... I really do!

I'm very familiar with the YouTube Red. It's a very good app and does do what you're stating and more.

Though (according to the title) this thread is specific to accomplishing an "Ad-Free" YouTube app.

Now where I'm on left field with this is where a debate within this specific YouTube thread went from "Ad-Free" to "Video Downloads"?

I'm just curious about this completely in good faith...

Thanks a Bunch!

Peace and Love!

Peace and Love!

~Ringo Starr~

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

********************************************

**IF I WAS HELPFUL IN ANY WAY THEN**

**PLZ THANK ME WITH A THUMBS UP!**

********************************************
[Android Apps and Games] RawSlugs:
I did mention how "adfree doesn't help..." i was Trying to say, for downloading go elsewhere E.G. YouTube RED
[Android Apps and Games] Ibuprophen:
I understand that but, there's a difference between the removing of the ads and downloading the videos.

Peace and Love!

Peace and Love!

~Ringo Starr~

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

********************************************

**IF I WAS HELPFUL IN ANY WAY THEN**

**PLZ THANK ME WITH A THUMBS UP!**

********************************************
[Android Apps and Games] FlyingMachete:
Oh come'on Mary, just go grab some popcorns like the rest of us and enjoy.

Let's place our bets instead, which comics strip star u think it's gon' take this time?

Batman, The Matrix guy? I'd like to have'em listed. A "Judge Dredd" would be perfect!! :D
[Android Apps and Games] OfferedBison:
I flashed the installer in recovery, but it doesn't work.

Do you keep the youtube app then flash the zip?

The steps I used -

1. Uninstall youtube

2. Download the installer and apk

3. Flash installer in recovery
[Android Apps and Games] :
Matrix guy FTW.

Thread cleaned.

:good:
[Android Apps and Games] FlyingMachete:
That's my man!! :svetius::laugh:
[Android Apps and Games] :
I find your lack of star wars guy reference disturbing. :rolleyes:
[Android Apps and Games] RFrancis:
Is this working, I keep getting ads... Is the issue the server side tweaks that Google is doing ?
[Android Apps and Games] kos25k:
I get also some adds with original y.t and adaway xposed module..
[Android Apps and Games] Sam Nakamura:
It's a known issue, wanam already acknowledged it on his xposed adaway thread...
[Android Apps and Games] kos25k:
ok thanks,glad to hear!I just clarified this so dudes who use this modded y.t app,know that this is a general issue ?
[Android Apps and Games] FatalitySonic2:
Yeah, looks like the March security update got me as well. The ads came back. Worst, they're now all unskippable. Maybe Google did the same treatment as on Google Chrome Adblockers (in the US only).

I also know that wanam closed the YouTube AdAway thread because there was too many issues that he cannot reproduce but let the source code of the module available. Maybe if a developer work into it, it would fix the issues...
[Android Apps and Games] kesaras:
Yeah maybe they did that because I don't have any ads here (Greece). From the day I installed it I enjoy adfree youtube like I did with the Xposed module.
[Android Apps and Games] FatalitySonic2:
Well, in my Chrome, I have an Adblocker and it does its job (France here). So, yeah, as I said, when Google does its job, it's US first.
[Android Apps and Games] kesaras:
So I guess we should enjoy it while we can heh' :laugh:
[Android Apps and Games] AndroidHtc101:
It will soon be pushed to other countries, you can be assured of that.

But where there is a will there is a way!
[Android Apps and Games] Dante Enoshima:
Yup, here in Indonesia also already invaded by ads :crying:
[Android Apps and Games] krasCGQ:
Hmm... I'm still not getting ads at all...
[Android Apps and Games] Dante Enoshima:
but clean data + cache in settings solved it for me... so i guess i'll make a schedule about weekly YT data+cache clean
[Android Apps and Games] braindead444:
Alternative

When the ads start popping back up I have a routine that I run as a temporary fix until the apk is updated. First I try and freeze the play store using titanium back up pro which, I am purely guessing, stops google from tampering with the apk. If that fails I move on to uninstalling and reinstalling it all while the play store is still frozen. If that fails I just use a backup and switch over to OG YouTube which isn't all that bad and you get the benefit of downloading videos when using that apk. If you have root file explorer you can delete the folder that the app resides in which is basicly the same as uninstalling it through an app manager. Just remember this happens all the time because Google really cares about their money but we care about not having a garbage experience so just try what you can until a fix is released. :cyclops:
[Android Apps and Games] erikasnoske:
How to remove ads (workaround)

Hi all,

So basically after you install this ad-free youtube APK, download Touch VPN from Google Play. Then open it, select "Czech Republic" from the list and click "Connect".

Open YouTube app and enjoy videos without ads. :o ;)

Anyway, this is my favorite VPN, because it is fast and always work + have Chrome extension for desktop :) I personally live in Lithuania and I don't see ads here as well, but on my work we are "based" in UK, so ads pop up for UK YouTube users :)
[Android Apps and Games] 000zui:
Here in Switzerland, no ads at all ?

HTC 10 # rooted # S-OFF # Android N # fw 2.41.401.4 # LeeDroid ROM
[Android Apps and Games] shubby:
No ads in India :)
[Android Apps and Games] Schrotty35:
Have ads in Austria.
[Android Apps and Games] garthybarthy:
No ads here in the UK.
[Android Apps and Games] furkaan28:
I dont know if this helps but when i clean flash a rom and install this app there is no single ad.. Sometimes with dirty flash i think there were ads.. Maybe just bad luck haha but now everything works, thanks arter
[Android Apps and Games] test00za:
Which app should I use for Note 5 , please ?

Thanks
[Android Apps and Games] braindead444:
One odd thing I have noticed that I think is contributing to the new wave of ads is the new folders that are in the same folder as the apk. I have since deleted mine and forgot to take a screenshot of them but they are !lib, YouTube, and Youtube! (the exclamation marks are probably in the right spot but I can't remember). To fix the issue I put the phone into airplane mode and used Titanium Backup to freeze the playstore and google play service. I also deleted the entire YouTube folder using a root explorer. After I did all that I flashed the installer.zip and booted back into the OS. I then went back into the YouTube folder and found that the three random folders came back and I deleted them. Once that was done I have yet to see any adds. I have also not turned the playstore back on yet so I may try that later and see if google is pushing these sneaky folders.
[Android Apps and Games] mbc663:
You're the man! Thanks ;] Taking the "-v8" off the end of the folder name was the fix. Working perfectly now.

Thank you again! :good::good::good:
[Android Apps and Games] keen36:
That is good to hear c:
[Android Apps and Games] t0per666:
Awesome work! Working great in cm14.1 i can now watch videos in YT wihout annoying ads lol. Nougat has no xpose framework for now so this is very useful! Thank!
[Android Apps and Games] Crazy-Silver:
Anyone have a flashable zip of nodpi version? I have to do the procedure every time that I update my Rom.
[Android Apps and Games] Mar-cel:
[MENTION=4898097]arter97[/MENTION]

I have made a flashable zip for me, can I share in this thread?
[Android Apps and Games] Midomad:
I hope!

For arm64 too?
[Android Apps and Games] Mar-cel:
yes for arm64 too
[Android Apps and Games] Midomad:
As [MENTION=4898097]arter97[/MENTION] is busy now i think it's ok to share it.
[Android Apps and Games] Mar-cel:
Here you go [emoji4]

https://www.dropbox.com/sh/ugc4na61cysncjv/AADPPaiXYe0BVHGTQE1qKytXa?dl=0
[Android Apps and Games] Midomad:
What youtube version did you use the last one or the one from op?

And do we need to uninstall youtube first or just flash the zip?
[Android Apps and Games] Mar-cel:
YouTube 11.39.56

Just flash the zip
[Android Apps and Games] Midomad:
I don't know but I hope you can update youtube version as well.

Anyway thanks for the zip method will try and let you know ;)
[Android Apps and Games] nydmt:
Thank god I found this! My youtube red trial expires in 2 days...
[Android Apps and Games] mbc663:
Havent flashed but just looking through the zip...where are the lib files?
[Android Apps and Games] PaulaTheKoala:
Followed the steps, after the reboot it didn't show YouTube at all, got it working by using Lucky Patcher and installing as system app.
[Android Apps and Games] frigidazzi:
Has anyone got this working on a nexus player running 7.0? Keeps erroring on me.
[Android Apps and Games] abalam:
This is sooooo good. Running it on 7.1
[Android Apps and Games] D-m-x:
I agree, this seems to be very solid. Thanks!

Just a shame that Google is updating every other day...

Gesendet von meinem Nexus 6P mit Tapatalk
[Android Apps and Games] Johnny Wong:
Yup, thank you for your work. I finally gave in and went with Red because I'm now locked and stock thanks to Google and Android Pay.
[Android Apps and Games] abalam:
Now I do not use exposed anymore.This was the only reason for a adfree youtube. My Nougat with Nitrogen ROM is a daily for me. How we can donate?????
[Android Apps and Games] foxsprout:
I installed the zip in recovery, placed in the same folder as the APK (media/0/Download/). Showed as success, and app showed as 'not installed' (missing in app drawer, not listed in 'Apps' in settings, shows 'Install' button on Play Store) but the weird thing is that I see the APK in /system/app/Youtube/. Am I missing something here?
[Android Apps and Games] srg84:
Same Here
[Android Apps and Games] gnan10:
You would have chosen wrong arm version.

Choose the correct one .it will work
[Android Apps and Games] FlyingMachete:
To mistake it with an arm, one must be wickedly mounted...

Girls might appreciate tho.

Sorry. Had to. :crying:
[Android Apps and Games] gnan10:
What exactly you are trying to say?
[Android Apps and Games] Valkyrie743:
I'm seeing ads now and was not a day ago. ?? App didn't update at all. What's causing this. I already tried reinstalling and still getting ads
[Android Apps and Games] Bearthquake:
New adds not blocked yet maybe?
[Android Apps and Games] foxsprout:
OP3T OOS 4.0.3 (7.0-based), used arm64 nodpi and 480dpi. Same outcome. Any idea?
[Android Apps and Games] rickysidhu_:
My patched apk was working fine for a while, but now all of a sudden the app keeps crashing as soon as it's opened. Only workaround is to clear data and leave the app in multitasking.

Anyone know of a fix for this?

- I have a Google Pixel XL with the latest apk in the link in the OP, as of this posting

- apk is in system/app/YouTube

- Folder permissions are 755 and apk is 644

- Flashed the zip after placing the apk in that location and after setting those permissions

Sorry if this has already been asked and answered, and thanks in advance to anyone who can provide some assistance:)
[Android Apps and Games] RawSlugs:
Don't think the issue with some having ads is with the country. I'm in US (as some are saying that's who has ads) and I only get ads periodically...
[Android Apps and Games] gnan10:
Did you check the file and folder permissions?
[Android Apps and Games] foxsprout:
Same, 0644 for the APK and 0755 for folders. Though there's symlink folder inside /system/app/Youtube/lib/ named arm64 with 0777, and other folder called arm64-v8a (see attached). Might that be the cause?
[Android Apps and Games] eprst:
I'm in the same boat. Tried renaming the APK, placing it in /system/app, /system/priv-app - no luck.

I can see that installer picks it up from Downloads and unpacks the libs into /system/app/YouTube, but the app still doesn't get installed.
[Android Apps and Games] foxsprout:
Are you using the same device?
[Android Apps and Games] zelendel:
I had the same issue for a while. Looks like they are starting to verify apps through play services to prevent the running of modded apps.

I was able to flash a themed gapps package and replace the apk with this one and it is working for now but I am not counting on it staying that way.
[Android Apps and Games] Tommydorns:
I am in the US and I am still getting no video ads with the last version. I don't use it but a couple of times a day. I really hope development will continue. I have the latest Play Services installed too for my device.
[Android Apps and Games] zelendel:
So am I. I don't think it is location based at all. I think they are using something else as I can get ads all of a sudden but if I reflash my rom and gapps then I am ad free for a while again.
[Android Apps and Games] hshah:
I tried using the installer but the app wasn't there. I copied it manually to /system/app/YouTube and that seemed to work.
[Android Apps and Games] Tommydorns:
Only thing I've done different is I took the edited smali files out of the modded YouTube and put them in a themed YouTube (same version number)
[Android Apps and Games] eprst:
Almost. 3T A3000, OOS 4.0.3
[Android Apps and Games] elkadeho:
Just follow instructions on startpost. DL both the APK and the installer zip and go flash. Bare in mind it might not work properly as YouTube is lately screwing the blocker... But try, it's worth it

Pura vida
[Android Apps and Games] neteater:
:p:p:p
[Android Apps and Games] JojoHunter05:
great mod, fully work om mi5 android 6
[Android Apps and Games] landroid2000:
I've followed the instructions in the original post, but it doesn't seem to be working. I'm running OnePlus 3T with android 7.0 if that helps.
[Android Apps and Games] TheChuckster:
Any way to have it play in the background?
[Android Apps and Games] Samg381:
The APK is no longer working. Google Pixel XL, nodpi. Chmod 644 on the APK and 755 on the folder.
[Android Apps and Games] j-a-d-z:
What?
[Android Apps and Games] revamper:
Ads aren't getting blocked for me anymore. Anyone else experiencing this?
[Android Apps and Games] Protossgp32:
Hi there,

I'm trying to install this patched APK through the installer.zip from my recovery but it always returns me an error.

My device is a Samsung Galaxy Tab 2 10.1 flashed with CyanogenMod 13 (Android 6.0.1), obviously rooted and I'm using the cyanogenmod recovery to flash it. I've put both files on /sdcard/Download, then select "Apply update" --> "choose from emulated" --> /0/Download/arter97-youtube-installer.zip, but it always aborts the installation saying "E: footer is wrong" and "E: signature verification failed"

I can't either install the APK with the system installer. What can I do?

Thanks!
[Android Apps and Games] murok9042:
[MENTION=1692648]iandroid[/MENTION]2000

I am running on Nougat, too. This method works for me.

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] mbc663:
I haven't seen ads in a very long time but now realized that any video i watch in the app does not show up in my watch history. Only videos that show up in my watch history are ones i cast to my TV or watch on PC. Also, two days ago it stopped showing which subscriptions have new content. It used to have a blue dot on the right hand side of the subscription name on the list letting you know a new video was posted. I haven't changed anything at all and tried wiping the app data. It's almost as if I'm offline or something. Anyone else seeing these issues?
[Android Apps and Games] krasCGQ:
Hi, there; use TWRP.
[Android Apps and Games] Hubi97:
There's an adfree version, too: https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
[Android Apps and Games] KenjiHannya:
Now I will wait :D

For patched ad free.

Tnx
[Android Apps and Games] RawSlugs:
YouTube red feature

He's asking for background playback but that's not for this thread ;)
[Android Apps and Games] ZRK_NanDRD:
If it's that then don't use it, find something which is not c*#p then
[Android Apps and Games] Sam Nakamura:
Don't double post your request!

You posted here and in a related thread the identical question, even to lazy to edit out the "background patch" and if you'd have searched just little you'd know that for some randomly ads appear, it's a known issue without fix yet..

Edit: watch your language, what you call crap here was hard work for others which they provide for free, no one forces you to use this "crap", right?

And let me mention that it works perfectly for me since day one.. The random ads issue applies only to some
[Android Apps and Games] erimin5:
not working for me suddenly either. :crying:
[Android Apps and Games] Cuttooth:
I have an shield k1 tablet running nougat 7.0.

When I flash this in TWRP, it appears to complete successfully. However, when I boot into my device YouTube is missing from the app drawer entirely.

Looking in /system/apps, I have a YouTube folder and a YouTube! Folder. Neither has an apk in it, just a 0 byte "lib" file.

I've tried manually copying the modified apk to the system app folder. The app doesn't appear in my app drawer. I even installed YouTube from the playstore and replaced the base.apk, but that only works until I reboot, then YouTube vanishes again.

It's a shame, because I'd really like to use this app. Does anyone have any ideas?

And before people ask, I used the 320dpi arm apk, which should be right for my system. I even tried the arm64 and same result.
[Android Apps and Games] D-m-x:
Just set the Permissions right on both the Folders and Files. I'm also using this on a K1 and it works flawlessly. You are right however, the zip won't work just doing it by hand.

Gesendet von meinem Nexus 6P mit Tapatalk
[Android Apps and Games] dinkoh:
I started to experience ads again. What I did was re-flash the installer zip again, and the ads went away. Another unintended consequences was that now I see YouTube app requesting to be updatedon the Play store. Its happened to me before, but all of a sudden, it went away. Who knows what's going on.
[Android Apps and Games] MathewST1:
Everybody who experiences issues and wants to know what is going on:

Google released a new update for the YouTube app. The patched YouTube app is seen no different by Android than the official, non-patched YouTube app. If you have automatic updates enabled, the play store will replace the patched YouTube with the non patched but newer version YouTube app. Once this happens the ads are back. Reinstalling the older but patched version will remove them again.

We'll have to wait until the updated YouTube also receives an adaway patch. Until then disable auto updates all together or disable auto updates for YouTube only. You can do this by going onto the YouTube page in the play store, hitting the menu button (3 vertical dots, usually on the top right) and unchecking auto-updates.
[Android Apps and Games] denthapw:
Remove it fully

Hello, i would like to know if there is a way to fully remove the installer and mainly this part: If the ROM is compatible, the installer will also install an addon.d script,

so that you won't have to run the installer again whenever you upgrade your ROM. I have lineageos which is pretty new rom and i think it has some problems with it.
[Android Apps and Games] Sam Nakamura:
Just install manually, search this thread it has been written about it 100th of times...
[Android Apps and Games] Origamiman72:
YouTube updated, but when I tried to reinstall there was no YouTube in my app drawer
[Android Apps and Games] KittySparkles:
The installer isn't giving me the app either. I checked in /system and the YouTube patched app is there but it's not giving me it in the app drawer to use
[Android Apps and Games] punkmonkey1984:
Same as me, deleted all traces of of YouTube and tried to. Reinstall, not appearing in app drawer.

It's in system/App/YouTube with correct permissions and folder permissions.

Correct apk which is arm64 v8a for Samsung s7 (exynos)
[Android Apps and Games] foxsprout:
I also got that. Google Play version was also not opening so I had to dirty flash to fix. Idk if there's any other fix.
[Android Apps and Games] denthapw:
I am sorry i did not make my self clear. What i said was i have flashed the installer but as the creator of the installer has mentioned, when flashing it, it leaves a script on the ROM(or something like that), so you do not have to flash it again and again after upgrafing the ROM. My request is to remove this "script" from my ROM. How do i do this?
[Android Apps and Games] Sam Nakamura:
Delete the content in this folder

/system/addon.d
[Android Apps and Games] andronikal659:
Arm64 is still 12.05.53? But YouTube in playstore 12.09.58 keep wanting to update? Is there no recent no ad YouTube?
[Android Apps and Games] mbc663:
It's updated when the dev has time and feels there is a significant enough change in the app to do so
[Android Apps and Games] Younex:
It's not some malicious spyware or anything it's just a text file that tells your phone something like "do not erase YouTube" so that when you flash a new ROM build it doesn't delete your Youtube app...

And the script is not on your ROM, it's on your system partition, you can delete it at anytime but it's not harmful. It's a very small file that does nothing on its own.
[Android Apps and Games] KittySparkles:
Nvm, got mine fixed. I wiped internal storage and reinstalled everything then flashed the installer and its working.
[Android Apps and Games] rodalpho:
Is it possible to make the same changes to the YouTube Leanback (androidTV) app? It has the same problem with 30-second long unskippable ads.
[Android Apps and Games] enzzo28:
I doesn't work on my OnePlus 3T after updating to 7.1.1

And started getting ads, so I decided to reflash the zip and download the apk again, but now YouTube doesn't even open.

How can I fix it? I already tried uninstalling YouTube and reinstalling it but didn't work either.

I was looking at a lot of comments in the post but I couldn't find a solution to uninstall the zip.

Can some help me with this?

Thanks...

Edited: I also noted that the youtube folder in systens/apps is empty after reinstalling the official app
[Android Apps and Games] abeloman:
Also having FC with previous version that had been working fine until now... Seems Google is pushing to update the app :/

Enviado desde mi Moto+G mediante Tapatalk
[Android Apps and Games] zelendel:
Yeah it's happening to many that have ads blocked and the only way to make it work is to wipe the apps data and cache each time you use it.

I think this maybe something Google is doing server side. Like if it can't push an ad then it causes the app the fc. If this is the case then it will be bad for people who don't like ads and good for those that use them.
[Android Apps and Games] punkmonkey1984:
Following this post (middle in screen shot) it works.

Well for me it did at latest.

Just turn updates off in playstore for YouTube.
[Android Apps and Games] kryzeK:
Lucky that 12.09 has not yet been modified, because Google has already updated to 12.10
[Android Apps and Games] vxkillswitchxv37:
I used your zip to flash youtube. And it was working great . i just noticed that i am starting to get ads again. I have not updated or installed anything new just started to see the ads this morning. Any ideas. Thanks.
[Android Apps and Games] Grander0:
Try clearing app data.
[Android Apps and Games] harpin14789:
Usually when I get ads, they go away automatically after a few days. Now this time it's been more than a few days so far.
[Android Apps and Games] Younex:
If you reinstall official app from Play store then of course the system/app/ folder will not contain it.

I suggest you try to install the app manually, using a root file manager to see if works.

Either the zip's addon doesn't survive OTAs or OnePlus has once again broken stuff in their software...