yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] j-a-d-z:
And you had both files in the folder "Download" of your internal memory?
[Android Apps and Games] MrMeeseeks:
Can someone explain why root is necessary if there are twrp flashable zips? I'm having the same problem as other users. If i flash the installer i just lose youtube and can't get it back without reflashing my rom and factory resetting but with root i got it to work. Would it be possible to flash it while rooted then unroot?
[Android Apps and Games] kyzn:
It's also on the first page of the thread only not in the OP.

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

I don't think so. That's Google service rejecting test key signed YouTube apks. Which is bypassed by having root in your system.

Or at least that's how I understand it.
[Android Apps and Games] memocatcher:
I'm using the black themed YouTube App from TeamBlackOut at the moment.

Sadly, it's with ads...

Is there a way to have a black themed YouTube WITHOUT ads?
[Android Apps and Games] ainurrofiq:
Swift black. Use this substratum theme
[Android Apps and Games] memocatcher:
Thank's but I'm using a Galaxy S7 and not wanna change to a aosp rom yet.
[Android Apps and Games] Joloxx9:
After flashing my app disappeared. How to fix?
[Android Apps and Games] Midomad:
The zip method is not working for every device,try the manual method.

Ps:This should be mentioned to OP.
[Android Apps and Games] Joloxx9:
Manual means system/app/youtube?
[Android Apps and Games] Midomad:
Yes,with right permissions.
[Android Apps and Games] Joloxx9:
777 should be fine? :)
[Android Apps and Games] Midomad:
755 to youtube folder and 644 to youtube apk.
[Android Apps and Games] aer0zer0:
Do you need a system/app/YouTube magisk module?
[Android Apps and Games] -yz-:
Yes, and still after flash it youtube gone.

And can you tell me way when I try to open new folder in system/app

Root explore fail to do that, or change the permissions.

Fail in system folder anything else good.
[Android Apps and Games] Joloxx9:
I have tried your module but I have problem with Magisk, it is not giving proper root to apps. Maybe I need to tick busybox in it or something
[Android Apps and Games] aer0zer0:
What version of magisk, what phone?
[Android Apps and Games] Joloxx9:
Latest magisk, OP3T. Have problem with removing system apps which are coming back after restart. Titanium show there is root but its not working. I think i should tick busybox in magisk
[Android Apps and Games] aer0zer0:
Try removing apps using a file manager?
[Android Apps and Games] Joloxx9:
Same thing, sometimes I get error in solid explorer. Just error cant remove app or move it. When I have removed magisk and flashed supersu I have No korę problems. Maybe thats because I didnt click on magisk busybox?
[Android Apps and Games] aer0zer0:
I recall reading somewhere that MAGISKSU has a bug, where it's not mounting partitions rw. I think that's your culprit. You run a custom rom?
[Android Apps and Games] Joloxx9:
Same on RR and stock. How to fix that bug?
[Android Apps and Games] aer0zer0:
Has to be fixed in magisk
[Android Apps and Games] Joloxx9:
Ehh so I will w8 :)
[Android Apps and Games] aer0zer0:
Do your debloat and app removal with built in SU in RR before installing magisk
[Android Apps and Games] Joloxx9:
But when I want to use your module its not working properly, on RR its fine, on Stock no. Now I stick with stock thats why cant use it.
[Android Apps and Games] aer0zer0:
Reinstall stock, install supersu, debloat and fix everything in magisksu, then uninstall supersu. Install Magisk and go from there.
[Android Apps and Games] Romsss92:
I m using g935f (Samsung S7 EDGE) phone and i have 640 dpi how can i install this version of youtube cause i m on 7.0 (nougat) and it s impossible to have xposed ... i try with no dpi versions but when i reboot nothing ...

Edit : my bad i retry with no dpi and it works sorry ...
[Android Apps and Games] andronikal659:
Do I have to download a new YouTube app in play store or here every flash?
[Android Apps and Games] AndroidHtc101:
From here. Read 1st post.
[Android Apps and Games] wasim9283:
I'm using OGyoutube as it gives download option, how can I use this mod with that moded OGyoutube?
[Android Apps and Games] kyzn:
You can't. Do you want extra functionality or do you want an ad free experience? You can't have cake and eat it.
[Android Apps and Games] nigelhealy:
Works as per OP, but the file I downloaded was a very long filename with brackets ( ) in which is hard to move around command-line, so good idea to rename it to say youtube.apk.

My /system partition did not have the free space to copy into /system/app/YouTube so I put it somewhere else and symbolically linked to it. So in my case I put the youtube.apk in /su/etc/youtube.apk then issued command ln -s /su/etc/youtube.apk /system/app/YouTube/youtube.apk.

Given you need to have /system readwrite, these are all the commands in sequence (beginning with the downloaded file called youtube.apk in Downloads folder, and Youtube has been uninstalled)

busybox mount -oremount,rw system

cp /sdcard/Downloads/youtube.apk /su/etc/

mkdir /system/app/YouTube

chmod 755 /system/app/YouTube

ln -s /su/etc/youtube.apk /system/app/YouTube/
[Android Apps and Games] arter97:
For those experiencing force-closes(e.g. watching 360 videos, uploading videos), extract lib inside the APK and place it in the /system/app/YouTube.

arm64 :

Extract lib/arm64-v8a and put it in /system/app/YouTube/lib/arm64-v8a

arm32 :

Extract lib/armeabi-v7a and put it in /system/app/YouTube/lib/arm

If this doesn't work, copy lib also to "YouTube.apk!".

e.g. /system/app/YouTube/YouTube.apk!/lib/arm64-v8a

Sorry. I'm too lazy to do this automatically.
[Android Apps and Games] Midomad:
Take you're time,

Will wait for an updated version.

Thanks for you're effort.
[Android Apps and Games] nigelhealy:
After doing this successfully on a custom ROM on my Nexus 7, I then tried it on custom CM14-based ROM on OnePlus2. I could not get it to make /system readwrite either via terminal app or ADB shell, so I had to:

- Uninstall Youtube

- boot into recovery

- mount, and ensure system mounted readwrite (in my case it wasn't mounted, and I ensured the mount system read-only option was not ticked when I mounted it)

- adb shell (as its plain easier to type than on touch screen)

- mkdir /system/app/YouTube

- chmod 755 /system/app/YouTube

- cp /sdcard/Download/youtube.apk /system/app/Youtube/

On another device, a Pixel C, it is stock basically and I could not uninstall YouTube, so I disabled YouTube, then cleared its data then replaced the existing youtube.apk in /system/app/Youtube with the downloaded one.

I believe these both devices are working ad-free, I've played a few vids and seems to be working so far.
[Android Apps and Games] vishal1404:
Why am i getting very slow speed while using this modded apk.

On original it works good
[Android Apps and Games] nigelhealy:
Probably is just coincidence, YT just slow right now? Works fine for me (so far but its only been a few tests).
[Android Apps and Games] vishal1404:
Ok will test again
[Android Apps and Games] keen36:
it should not revert, no. i think you wouldn't even need root for that, an unlocked bootloader plus custom recovery would suffice. that way you could just adb push the file.

edit:

i just tried 360 videos, they were crashing (hadn't used those before). i then tried your fix and (after setting the right permissions) it worked.

thanks for fixing a problem which i hadn't even noticed yet c:
[Android Apps and Games] andre0005:
Did anyone find a way to get rid of the update prompt in the play store? I usually just hit 'update all' and keep forgetting that i'm not supposed to update youtube.
[Android Apps and Games] mbc663:
I've extracted the files, copied them to both places as stated by OP, set permissions to everything i copied as 755, still crashes when trying to open a 360 degree video. Hmm... anyway you could upload your entire /system/YouTube folder?
[Android Apps and Games] vishal1404:
Go to the youtube page in google play store....hit the menu button (upper right side with three dots) disable auto updates
[Android Apps and Games] andre0005:
That stops youtube from updating automatically but it still appears in the list of updateable apps. If i hit update all youtube will still update.
[Android Apps and Games] mbc663:
You could use Titanium Backup to "Detach From Market" but I don't think that will stick after a reboot.
[Android Apps and Games] keen36:
So, if you have the apk file as /system/app/YouTube/YouTube.apk then you need to put the .so files as /system/app/YouTube/arm/lib/*.so

Keep in mind that the Linux filesystem is case-sensitive. Then set the permissions of all folders to 755 and of all files to 644. Reboot afterwards and maybe clear data of the app.

It will ask you for all apps that don't have auto update set whether you want to skip when you press "update all"

Yeah, that setting sadly doesn't stick
[Android Apps and Games] mbc663:
I have done all that, you have the folders backwards though. According to the dev's post it would be YouTube/lib/arm...

see attached screenshot

Cleared data, rebooted, set permissions.
[Android Apps and Games] arcadezz:
Hi, is it possible to remove the ads from the TV version as well - YouTube for Android TV 1.3.11 ? Thanks.
[Android Apps and Games] keen36:
Ah, you are running a 64 bit system... Try renaming the arm64-v8 folder to arm64 and see if that works
[Android Apps and Games] SoulRipper:
Working perfectly, thanks Sir!
[Android Apps and Games] davebugyi:
Was there anything changed on YT side? I started getting unskipable ads before each video. The YT apk is still the one I installed manually and was not updated via Play Store.
[Android Apps and Games] #problem:
Same here
[Android Apps and Games] t0per666:
Same! I tought i updated my YT accidentally but nope. I get tons of ads now.
[Android Apps and Games] JRJ442:
There's been a new version in the OP for a week now. Yours is old af. Update it. That's why.
[Android Apps and Games] murok9042:
[MENTION=5027209]t0per666[/MENTION]

You should name the apk to "'YouTube.apk" and set the permissions like the other apks in system/priv-app.

Also give the correct permissions to the youtube folder in system/priv-app

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] JRJ442:
His version is the old one too. The newest is 12.05.53 in the OP.
[Android Apps and Games] radz_:
Newest is 12.07.56

http://www.apkmirror.com/apk/google-inc/youtube/youtube-12-07-56-release/
[Android Apps and Games] JRJ442:
I was referring to the ad free version here in this thread.
[Android Apps and Games] Killer7Mod:
Same here too.
[Android Apps and Games] t0per666:
What else?
[Android Apps and Games] t0per666:
Still getting ads.

Edit: it suddenly works lol thanks! No ads now ill update later if i get any.

Edit2: so i restarted my phone to see if anything will change and open yt again then i get ads again. The ads i cant skip hmmmm.
[Android Apps and Games] JRJ442:
Try wiping YouTube's app data/cache. Also using a file explorer go to SDCARD/Android/data and find the com.google.android.youtube folder and delete it. Reboot and see if that helps.
[Android Apps and Games] t0per666:
Id doesnt work. Still getting ads like the other poster we have the same problem.
[Android Apps and Games] JRJ442:
Are you absolutely sure it hasn't updated? There's been 2 updates recently. Maybe you unknowingly accepted one. Go to Settings/Apps. Click on YouTube and see if there's an uninstall updates tab to be certain.
[Android Apps and Games] t0per666:
Nevermind. I figure it out my self i think its on my rom im using lineage 14.1. It changes permission everytime i restart to read only. So i need to change it again to write without restarting lol.

Edit:

Im wrong youtube itself is changing it or whatever. Anyway i may go back to cm13 just to get rid of this annoying ads.i know what im doing i did not do anything wrong with permission. This just happens now and it scks hope OP will have solution for this. Still great work! Thanks!
[Android Apps and Games] aenmo:
I'm facing same problem. Unskipalble ads are showing.
[Android Apps and Games] Juventus1897:
Yep, ads are coming like mad.
[Android Apps and Games] Tommydorns:
I'm still not getting any ads.
[Android Apps and Games] Dr_DjEnder:
I am receiving ads

To everyone else are you all using Magisk root I can see that as a point of failure as some root apps can't see Magisk su and don't request access, and I couldn't find a way to manually give them access so they complain no root found or please root your device ect.
[Android Apps and Games] BoboBrazil:
Does this youtube app also allow background playback? Sorry if answered, but just found this thread.
[Android Apps and Games] andre0005:
Nope. Adblocking is the only extra feature.
[Android Apps and Games] Timmmmaaahh!:
Hey [MENTION=1685515]BoboBrazil[/MENTION], check THIS out ;)
[Android Apps and Games] fuarkgl3:
I didnt change anything and suddenly i see ads now. Its very frustrating

Whats the problem? Hmm

Oos 4.0.3 op3. I didnt change anything, suddenly i see ads now

Edit also facing that problem, in some songs i see that, other videos are ok but mostly have ads suddenly

Tested to rename apk to YouTube.apk and also changing directory to priv-app, no luck

Suddenly it wont work so i guess its YouTube sided

Edit2: cleaned cache and everything is fine now
[Android Apps and Games] LPW00:
Same here but I have an opo running rr
[Android Apps and Games] -yz-:
Yes.

After sucses install everything right.

I still see ads /:
[Android Apps and Games] Dante Enoshima:
hmm...latest version? if already latest, then you can't do anything about it. YT + your internet's region = unskippable ads for that region
[Android Apps and Games] -yz-:
Good to know, any way to block internet's region = unskippable ads? Modofied add Location or somthing.

When I got xposed mod, it block everything.

Thanks for trying to help.
[Android Apps and Games] Dante Enoshima:
it depends on your internet's region settings, so if you on any rom ( except N roms ) use xposed and youtube adaway module, it's perfect for removing ads on YT
[Android Apps and Games] -yz-:
My phone run nogat so no xposed support yet.

depends on your internet's region settings.. So anything I can do about it?
[Android Apps and Games] Dante Enoshima:
no, messing your internet's setting could lead to even more serious problem
[Android Apps and Games] -yz-:
I see ads in hebrew (live in Israel)

You dont think there is any way to modofied and add IL or somthing..
[Android Apps and Games] fuarkgl3:
Cleaning cache worked for me, no more ads!

Atm i have the apk called youtube.apk in system/priv-app/YouTube with right permissions
[Android Apps and Games] Sheetzie03:
[MENTION=4898097]arter97[/MENTION] just want to say thank you very much for continuing this, without it, it would really suck. And for me, iv had no problems from the beginning until current day.

Thank you dude

---------- Post added at 03:17 PM ---------- Previous post was at 03:15 PM ----------

Do it right. Haven't seen an ad from day 1 until now when using this and doing it right
[Android Apps and Games] -yz-:
Just what I did, and got ads.

Will try again, and update.
[Android Apps and Games] TeamShake:
i'm getting ads also. they seem to come in waves though, where i get a bunch and then none for days. i found if i get them, i just click the video below it, and then back on the one i wanted to watch until it loads without the ad. sometimes takes 3 or 4 tries, but its faster than watching the ad.
[Android Apps and Games] -yz-:
Update: still get ads.. In youtube.
[Android Apps and Games] Ibuprophen:
With Google being the developer for the YouTube app, i believe that the app has some advertisement dependencies that lies outside the app itself.

In simpler terms, i feel that the app may be effectively modified to prevent advertising from within the app itself but, not from outside the app (ie... Play Store, Play Services, etc... ).

Just providing what my idea of what may be going on...

Maybe Google figured out what is being blocked and how then found a way around it.

Just an idea...

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] Juventus1897:
Was getting ads but now they've stopped.
[Android Apps and Games] FaserF:
How to uninstall the ad patched YouTube app?

I have issues (can't start YouTube anymore) tried reinstalling etc.

But I am unable to uninstall this ad patched version as it gets automatically reinstalled after rebooting.
[Android Apps and Games] rahlzel:
Now getting ads on both latest and old versions.

v12.01.55-120155633_minAPI16(armeabi-v7a)(320dpi)

v12.05.53-120553133_minAPI16(armeabi-v7a)(320dpi)

Moto G Falcon (2013)

AOSP Extended 3.2 (Android 7.1.1)

Several variations of these installs, including using the provided installer versus simply placing the APK in the system/app/YouTube/ folder and rebooting still result in ads on YouTube. Dalvik/cache wiped on all attempts.

Might be irrelevant, but I'm also using a special Youtube-specific hosts file from AdAway (F-Droid): adblock.mahakala.is, which is apparently useless.
[Android Apps and Games] garthybarthy:
No ads here on arters version, still working well on g920f.
[Android Apps and Games] :
Use titanium backup to uninstall it, or use a root browser and go into system -> app -> find the youtube folder and delete after you uninstall. If it's not there go into system -> priv-app -> and delete the YouTube folder after you delete it.
[Android Apps and Games] gangrenius:
Me too ads getting ads

Bumpn gums from my vzw DROID Turbo xt1254
[Android Apps and Games] Sam Nakamura:
Same here, no ads since day one...

Something strange is going on
[Android Apps and Games] frigidazzi:
Anyone know if this trips safety net?

Nevermind i found the answer in another thread. And yes it does.
[Android Apps and Games] AndroidHtc101:
Around the world depending on location, ads may or may not be displayed. This is because of Google servers.

This app gives you a fighting chance of blocking a majority of ads.

Our lives are full of too many distractions, and I for one appreciate all efforts with this app. :)
[Android Apps and Games] kyzn:
It doesn't.
[Android Apps and Games] sandiprickyroy:
Yes, same here... I'm also getting ads.

Handset: Redmi 1S

ROM: LineageOS 14.1
[Android Apps and Games] vuckiez:
Now it's always failed to install, says like apk is corrupted or.. Well I forgot
[Android Apps and Games] Dante Enoshima:
if it's corrupted, redownload the apk
[Android Apps and Games] cyan pac:
You can't install it like a apk or something like that. You have to place the file in the correct folder with the correct permissions or flash it with the flasher thing. It won't install as a regular apk. It's been talked about so much.
[Android Apps and Games] SilverZero:
Downloaded latest nodpi version plus installer. Rebooted into recovery. Flashed installer. Said it was successful. Rebooted, no YouTube app in app drawer. It's in /system/app/YouTube folder. Permissions are correct (755 folder, 644 apk). Repeated 3 times with new downloads each time.

Running Nougat.

Edit: Installed using 480dpi, but first test video (a Vevo video) started with a 30-second ad.
[Android Apps and Games] Toruk.Makto:
Not able to save videos offline

I tried to randomly save videos offline. But it gives an error.

[MENTION=4898097]arter97[/MENTION]

Device: OnePlus 3

ROM: Freedom OS 2.4

Few details in attached screenshots. Please let me know if you want me to provide few more details. Thanks
[Android Apps and Games] RawSlugs:
Installed nodpi on lineageOS 14.1 no YouTube app in drawer checked the system folder Me it's empty other two folders had a file named lib
[Android Apps and Games] RawSlugs:
Any way to get it working for nougot?
[Android Apps and Games] zelendel:
It works fine on 7.x. I'm running it right now. Just follow the instructions.
[Android Apps and Games] remb:
Been using arters patches youtube since january and something odd happened this night and I've started to see ads again.

Reinstalled it, took the latest no-dpi version and it installs correctly but I'm still getting ads. My guess is Google is up to something.
[Android Apps and Games] Midomad:
Bad news!

https://xdaforums.com/showthread.php?p=71237330
[Android Apps and Games] D-m-x:
It's the same with every great thing. Some stupid people will always ruin it for everyone. The way some people are writing and demanding makes me Facepalm the whole day. Just ungrateful and idiotic.

Gesendet von meinem Nexus 6P mit Tapatalk
[Android Apps and Games] 47th_Ronin:
My sentiments exactly
[Android Apps and Games] FlyingMachete:
I'm guessing personal reasons here... As any dev should know their thread are mostly populated by people with issues. Those for who everything's fine don't post often. Like me, never had an issue. And in the precise case of this tweak right here, I didn't bother posting if ads started to appear again... Cause that's how it's damn supposed to be! But it seems some people didn't understand what a "cat/mouse chase" stood for in the first place. Anyway, as for now, 12.05.53, no ads AT ALL. And ffs... background playback! Coz' I CAN. :p
[Android Apps and Games] Sam Nakamura:
Yeah but what wanam is definitely pointing out is complaining users without logs...

and you know that old saying " logs or gtfo!" :)

That's probably the reason he will manage his module via GitHub with logs required in future..
[Android Apps and Games] RawSlugs:
Not sure what the issue was but after flashing zip I manually put the apk in system folder, then it worked...
[Android Apps and Games] --jenana--:
Huh? I've gone through at least 100 out of 145 pages, which required a lot of reading. I couldn't fine a single word about how to make logs that might be useful to troubleshoot this app. And maybe I'm not smart enough for this, but in the same way, I don't even know what kind of log registers every instruction made by youtube or possible ads that are loaded by youtube.

So if you/he wants logs, it would be nice to say what logs you/he want(s). Now I can't say more, except "I'm on android 7.0, and since about 10 days, I start to see unskippable ads. Sometimes."
[Android Apps and Games] Sam Nakamura:
Don't get this wrong, we were talking about the related wanam (youtube adaway xposed) thread..

See closing comment of wanam himself

https://xdaforums.com/xposed/modules/app-t2547316/page202

furthermore its commonly known on xda to provide logs if any possibility is given
[Android Apps and Games] fays91:
Hello

Is the update scheduled for version 12.07.58 of youtube ??
[Android Apps and Games] cc101:
Are you serious?
[Android Apps and Games] fays91:
Serious Yes

Is there will be an update or not
[Android Apps and Games] Timmmmaaahh!:
*facepalm* you don't get it, do you? That's one of the most disrespectful things to ask.. On this entire forum. Not only that, if you'd take some effort and SEARCH, you would've learned it's been told off numerous times in this thread alone.

Sizzled with Bacon
[Android Apps and Games] prot-:
This is amazing! Working on my Google pixel by putting APK (renamed to YouTube.apk) in system/app/YouTube with permissions set and reboot
[Android Apps and Games] LPW00:
Well, in the recent days I started seeing ads, but now that's gone again.. All that without me changing something... Maybe Google tries some stuff atm... However, Adblock works fine (again).