yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Flippy498:
And once again the app that shouldn't get named (aka Lucky Patcher) was a topic of this thread. As announced before, discussions about it have consequences, now.

Another reminder:

Please re-read the forum rules you accepted while registering for this website. Thanks! ;)
[Android Apps and Games] Sam Nakamura:
https://xdaforums.com/android/apps-games/app-patched-ad-free-youtube-apks-t3449312/post71001729

Please search before posting...
[Android Apps and Games] hassan_1000:
Doesn't seem to wanna work for me on my OnePlus 3T running OOS 4.03. I've done everything as stated and the apk is in downloads folder. Booted into twrp and it even says removing old YouTube and installing new YouTube but when booting into rom there's no YouTube app. Done thus twice and error comes twice
[Android Apps and Games] cyan pac:
I did it manually. You have to set the folder permissions to 755 and the apk permissions to 644 or something like that. Check the first few pages of this thread for the correct permissions
[Android Apps and Games] Ashraf Iraqian:
Read the OP well

You should remove the original YouTube at first :)
[Android Apps and Games] ZRK_NanDRD:
I installed the app fine & it's working with no ads, but when I try to save videos for offline viewing-it always fails without even beginning the download 0%

Any assistance would be great.
[Android Apps and Games] FlyingMachete:
Out of curiosity, anyone can tell me what particularly, in the filename of the apk, is recognized by the flashable zip for the process to work? (Since it shouldn't be renamed to go through.) Thx.
[Android Apps and Games] fluster84:
Didn't work earlier because I forgot to remove the original youtube. Going to try again.
[Android Apps and Games] Ibuprophen:
Just an FYI...

Nowhere, in the instructions, does it state to traditionally install the apk (ie... Select the apk file and install...).

You need to rename the Modded app (the one you downloaded from the arter97 website for your device) to "YouTube.apk".

Then place the apk file in the default "Download" folder (or keep it in there if already there).

When you download items from your browser, it's downloaded to the default "download" folder. Just keep it in there and rename it (as stated above) and don't move it.

When that is completed, you then proceed to flashing the installer ZIP file.

When the installer is being flashed, it looks for and places the YouTube apk file (you had renamed) in the "Download" folder into where it is supposed to go.

After the flash process is done, and you reboot, the device sees the app and does it's thing.

Once booted up, you should see YouTube in your app drawer. It sometimes lists it at the very end of the apps in the app drawer.

Peace and Love!

Peace and Love!

~Ringo Starr~

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

*PLEASE SELECT/CLICK THE THANKS BUTTON/OPTION*
[Android Apps and Games] Sam Nakamura:
Just a quick question, as I saw you suggesting to rename the apk to "YouTube.apk" on multiple occasions I wonder on what this suggestion is based, it's not written in the OP or did something passed my horizon unnoticed?

I always have best success with the 3 steps mentioned in the OP and before by doing it manually on my OP2 with all nougat based roms, but that's just a side note..

Thanks for clarification this gives me a hard time to follow up on :)
[Android Apps and Games] AndroidHtc101:
Read the above thread everyone for full explanation of how to install. Great post :)
[Android Apps and Games] Midomad:
The zip method doesn't work on the oneplus 3t,i already mentioned it...

https://xdaforums.com/showthread.php?p=70771596

You have to do the manuel procedure.
[Android Apps and Games] Ibuprophen:
I had conferred with a friend of mine regarding the Nougat location for placing the app file.

He had mentioned that sometimes certain Nougat systems won't recognize an app placed within the "/system/device/" directory but, it should recognize it located within the "/system/priv-app/" directory.

Has anyone who's device wasn't recognizing the YouTube app tried using the "/system/priv-app/" directory (of course with the same permissions as outlined in the OP)?

For example:

"/system/priv-app/YouTube/YouTube.apk"

Just a suggestion...

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] 4luk88:
yeah my one plus 3 on Nougat doesn't work with the zip or manual way. also tried renaming the file but no luck :(
[Android Apps and Games] aer0zer0:
Not sure if this is conclusionary for you, but I turned it into a magisk flashable zip. I delete YouTube system/priv-app and data/app, then magisk will write system/priv-app using YouTube folder and YouTube.apk figured its easier to just use Magisk to update it
[Android Apps and Games] KenjiHannya:
Tnx for update.

Really appreciate
[Android Apps and Games] Fl0ppik:
Did cardboard working with this version? Because app crashed when i tap on cardboard mode
[Android Apps and Games] FlyingMachete:
Yeah buddy!! Thanx so muuuuch!

Aaaaand... Didn't work. :laugh:

Anyway don't really care, was just curious. I always can create a folder and chmod it myself... :cyclops:
[Android Apps and Games] fluster84:
Dude you are a genius. Thank you!!

Moving to /system/priv-app/ worked perfectly.

I am running OOS 4.0.3 on my OP3T and ad-free youtube finally worked. I have played some videos and till now no ads :) Also, youtube downloading is working just fine using Videoder :good::good::good:
[Android Apps and Games] EuEra:
Care to explain what you did because it didnt work for me same device same version.

Edit: Sorted it myself with 20 minutes of trial and error. I moved the file to /system/app (not priv-app). Didnt put it in a youtube folder just put it directly in app, didnt rename it left it as it was. Booted to recovery flashed zip file reboot done fully working.
[Android Apps and Games] netjinda:
Work on S7 Edge :) Android 7.0 :)
[Android Apps and Games] Ibuprophen:
I believe that the Nougat, on most (not all) devices doesn't use the /system/app directory the same way as it does on the earlier versions of Android but, does use the /system/priv-app directory instead.

I had modified one of my other projects this way for better Nougat compatibility because, in many Nougat systems, my app wasn't "automatically running" upon reboot and it had to be manually executed.

This made me think of the similar issue regarding the YouTube mod not working right in similar ways on many of the Nougat devices.

Peace and Love!

Peace and Love!

~Ringo Starr~

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

*PLEASE SELECT/CLICK THE THANKS BUTTON/OPTION*
[Android Apps and Games] memocatcher:
[MENTION=4898097]arter97[/MENTION] Good work man, thanks! :)

I have a question, is it possible to add a patch on your modded youtube that disables the new double tap feature? Kindly asking though :)
[Android Apps and Games] sockbreath:
Bump
[Android Apps and Games] s--c:
Latest version doesn't seem to change anything for me. Installed nodi apk manually. Changed folder to 0755, deleted old apk copied new apk to folder. Reboot. No success nexus 6p.
[Android Apps and Games] kunal1540:
Was apk given right permission that is rw-r-r or 644 and apk has to be named YouTube.apk
[Android Apps and Games] s--c:
Oh I didn't know that. Thought it was just folder that needed to be renamed. I'll try that now.

Edit: still didn't work. I'll just wait for another update..
[Android Apps and Games] van_gogh:
Can you please re-read first post carefully.
[Android Apps and Games] s--c:
I guess the manual way I was trying doesn't work anymore. OP thread worked fine. Thanks
[Android Apps and Games] kapilathi:
In OnePlus 3 running OS 4.0.3, experiencing force close on 360 videos. I copied the APK and lib in system/priv-app instead of system/app as mentioned in above comments.

I followed the steps mentioned below, but didn't help.

For those experiencing force - closes ( eg 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

I copied the lib content in arm64 and arm64-v8a folders and rebooted the phone, still it crashes.
[Android Apps and Games] mbc663:
rename the folder to arm64, remove the "-v8a"
[Android Apps and Games] Ibuprophen:
I just hate to be a thorn...

After looking through this thread, i noticed something that I'm not completely sure if the OP Dev(s), [MENTION=4898097]arter97[/MENTION], is completely aware of this.

Though, the OP does, in fact, have very good instructions regarding what to do but, throughout the thread, there are so many changes, modifications, conflicts, etc... that can be extremely confusing and frustrating to those who are not as technically inclined as others.

This, i feel, just results in many (not all) the issues that so many individuals are having with many of the conflicting (and in some instances... very confusing) guidance put out throughout the thread.

I would like to ask/recommend that the OP Dev(s) scrub through the thread and amend/update the OP instructions a bit further with some of the more helpful information that provides the further guidance that, apparently, is needed for so many individuals.

I'm not stating that the OP is wrong nor am I trying to criticizing anyone at all.

I'm just trying to point out that all OP's can always use a bit of tweaking every now and then but, based on much of the further information and guidance throughout this thread, the OP could use some tweaking.

Thank you all for your Time and Understanding!

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] fjsferreira:
What's so difficult to put both apk and the zip installer in the download folder and flashing the zip file in recovery?

I don't get why people are having so much difficulty with this.

Sent from my S7
[Android Apps and Games] Ibuprophen:
Based on the issues i had already outlined may seem easy to you but, can be difficult to those who are not as technically inclined as you are.

I agree with its ease but, as a Dev, myself, i have to keep this in mind and look at things through their eyes too. This is one factor that also helps me to be able to improve on my projects based on their experiences.

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] buru898:
If people are confused then they shouldn't be flashing things.

The instructions are near idiot proof.
[Android Apps and Games] kos25k:
for u w.o xposed and want background playback,I just found this

https://xdaforums.com/showthread.php?t=3560900

Στάλθηκε από το SGP611 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] Ibuprophen:
I'm going to drop this subject...

Unfortunately the "Superiority Complex" of some individuals just negates those noob's who are trying to learn and forgets about how they felt when they were noob's themselves.

Subject has been dropped by me...

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] cc101:
No thanks but thanks, I'll take no ads over background play.
[Android Apps and Games] MArtyChubbs:
Those instructions in the op fail for Pixel and pixel XL owners so you are an idiot.. Jk
[Android Apps and Games] buru898:
Maybe you're one of the idiots that doesn't know how to flash :silly:

I have a Pixel XL running Pure Nexus and it works for me, so... sorry not sorry you're a failure.
[Android Apps and Games] Sam Nakamura:
No you got me confused :)

I thought you trying to point out that there are some rare devices / systems which cannot install arter97's youtube mod the in the OP described way, so they would need a modified installation guide NOT mentioned by OP. Which would make perfect sense to me..

But to appeal to arter97 to rewrite the OP to be (even) more noob friendly is redundant as it already is basically a step by step description in simple terms and the only help one could offer more was to install it for them..

So are you suggesting to describe more noob friendly or is it about specific unmentioned cases where installation fails the common way?
[Android Apps and Games] MArtyChubbs:
Maybe. I too am on PN and it is running fine.

So you followed the OP and downloaded the apk and flashed the zip? Or did you manually rename the apk and moved it to the proper partition?
[Android Apps and Games] SilverZero:
Ditto, but I sure wish I could have both!
[Android Apps and Games] buru898:
Originally, I manually put the APK in the app folder, second time around I just downloaded the newer APK, downloaded the zip, flashed it, and it worked.

EDIT: Steps I did

I moved it to system/app/YouTube using the nodpi one. It worked doing it manually, and then the version was outdated so I kept getting that stupid splash screen to update, so I downloaded the newer apk, downloaded the (at the time) new zip installer, rebooted into recovery, flashed the zip, and no more "update this app!" from Youtube.

You can download YouTube from the play store, see where it stores it in system, then delete that one, copy the modded YouTube, fix permissions, reboot and it will work... or download YouTube from play store, download the apk and zip installer, flash the zip?
[Android Apps and Games] EuEra:
What's so difficult is it doesnt work moron! I had to put the app in the system/app folder. Some people had to put it inv the system/priv-app folder. Maybe read through the thread a bit next time or is that too difficult?
[Android Apps and Games] JAYNO20:
Got it to work on my 5" Pixel by creating a folder in /system/priv-app named "YouTube" and setting the permissions to match other folders in there. Then moved the downloaded youtube app over into that folder and renamed it "YouTube" and set the permissions to match other apk's and then rebooted.
[Android Apps and Games] buru898:
I flashed the newest build for Pure Nexus, checked YouTube to see if it reverted to stock, it did (got an ad), rebooted into recovery, flashed the installer zip (downloaded the 480 dpi apk), rebooted, checked 5 trending videos, no ads.

I don't know how it isn't working for other Pixel users.
[Android Apps and Games] dcscorpio76:
I have an ZTE Axon 7 with 640DPI. Which apk should I install?
[Android Apps and Games] streilu:
Installed nodpi on OPO 3T but YT disappeared. The apk and libs are in /system/apps and the permissions look good. How to fix this?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
[Android Apps and Games] James_Ward01:
I just got an ad on the latest version, it was an unskipable ad. Clearing app data doesn't fix the problem, I'm getting unskipable ads all over the place.
[Android Apps and Games] Freddy1X:
I can assure you I have both, using Xposed Framework of course.
[Android Apps and Games] Timmmmaaahh!:
I think you're out of line here, that's no reason to call someone a moron. If you wish to engage in a discussion on XDA, please do so with some respect. [MENTION=2156844]fjsferreira[/MENTION] was merely reflecting what many of us, including myself, are thinking. If it doesn't work, they'd better search the thread, a plethora of solutions have been mentioned already.
[Android Apps and Games] EuEra:
Why have the edit feature if it's so much trouble to update the OP with new information. Searching through the thread is fine but it's not exactly needed is it. Why put the apk in this thread lets put it somewhere else on the forum and let people use the search function.
[Android Apps and Games] Sam Nakamura:
We're on development forum, you are supposed to educate yourself, use search function and find solutions yourself..

Any addition to the OP would be nice for new members but people are expected to get along with the bare minimum and that's definitely provided..
[Android Apps and Games] SilverZero:
Are you on Nougat? I thought Xposed wasn't available for N yet.
[Android Apps and Games] Timmmmaaahh!:
It isn't... The user is probably on 6.x.
[Android Apps and Games] bokkoman:
Me too. I don't see ads in the app itself (in between video selection), but when playing a video I see ads once in a while.

Hope this can be fixed soon.
[Android Apps and Games] xocomaox:
I can confirm this method works for the Pixel. No need to flash when you can do the work yourself so you are sure everything is where it needs to be.

I've seen no ads since installing this. Including un-skippable ads people are reporting about.
[Android Apps and Games] alex009988:
Hi. Seems modified youtube dosent block adds on last sony nougat stock rom. Is there a solution?
[Android Apps and Games] Freddy1X:
Yah, sorry. Forgot to mention about the OS. I'm on 6.0. :D
[Android Apps and Games] e154037:
I run into the same problem as #1311: YT installed but not appears in setting's app nor in launcher's app drawer. Any help?
[Android Apps and Games] Joloxx9:
Same here
[Android Apps and Games] jnx_r:
Try clearing the cache in recovery, because I was also getting those non-skippable ads after my first installation. But after a cache wipe, it worked fine.

----

I installed this today. It was a lengthy process to get this to work because the apk file didn't get downloaded correctly on the phone. So when I used the installer, all it managed to do was remove the built in youtube app. After that I downloaded it on the PC and pushed it to the internal memory, and still got the same result. After that I did the manual method and it worked. I also figured that I had to paste the apk into download folder, which also worked.

I'm sure there are reasons why an all in one zip isn't made available at this point but it sure would be much easier if there was one.

Even after all that, I was still getting ads though, so I cleared all app data, and caches in recovery to get it to work. ATM no ads are visible. I can still see the yellow bars which indicate the positions in the seek bar where the ads will be shown, but no ads actually begin play. Though, this isn't visible in all youtuber's videos. I mean, its weird, since I know videos which are certain to have ads, but they don't show the yellow bars.
[Android Apps and Games] EuEra:
I think that's just being protentious imo. And certainly not my experience with xda up until this point.
[Android Apps and Games] murok9042:
[MENTION=6172457]jnx_r[/MENTION]

Wiping cache in recovery didn't help at least for me. I am also getting unskippable ads since today.

I will flash the previous version of this patched youtube.

EDIT: Still getting ads

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] aer0zer0:
Does anybody here use magisk? I have a magisk version that I can up.

Prerequisites

1. Delete system/priv-app/YouTube (entire directory)

2. Delete data/app/com.google (any instance of YouTube)

3. If your YouTube directory by chance is in system/app/YouTube Delete that, and try this zip. If it doesn't appear, I will make another template for system/app

Flash the zip file in magisk and reboot. I'm currently using it myself, as the apk gets updated, I will update zip template, then it's as simple as updating the zip.

https://drive.google.com/file/d/0B-M4oEDjt1EMS1JsQU1tUWZGblk/view?usp=drivesdk
[Android Apps and Games] murok9042:
I am using latest Patched youtube apk but however it is still showing me as an updateable app in the play store.

I tried wiping cache and dalvik in twrp but still same problem. Anyone having a solution for it?

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] Joloxx9:
I will try it later.
[Android Apps and Games] murok9042:
I also tried the manual method with the latest patched youtube apk. Giving the right permissions but still it is shown as updateable app in the playstore. Do I need to delete some files except system/app/YouTube?
[Android Apps and Games] Sam Nakamura:
Hmm? That's normal, it shows on store and if either have wrong DPI package chosen or if latest patched version isn't latest available youtube app version it prompts you to update, just untick auto update and all is fine...
[Android Apps and Games] garthybarthy:
Hi,

Is this going to be available via the magisk app to download any updates or are you going to just create a thread on here and supply zips to flash?

Thanks
[Android Apps and Games] murok9042:
That's it! It was due to the wrong dpi. On previous version I had flashed 480dpi version and for newest apk I took the nodpi version. Just replaced the old apk with the 480dpi version and after rebooting youtube is not showing as an updateable app. ?

Gesendet von meinem LG-D802 mit Tapatalk
[Android Apps and Games] aer0zer0:
I would need the devs permission to do that (that's the plan though) . For now, I just thought I'd let people try it and see if it the best way to get it to the user.
[Android Apps and Games] Joloxx9:
Your app is working great with Magisk!

There is still information about update in play store
[Android Apps and Games] kalapapa:
Is it just me or is anyone else getting ads on the latest version. Today is the first time I have received ads and they are super annoying cause you can't skip them. I tried clearing YouTube app data and I am still getting unskipable ads on some videos.

Here is an example, if someone else could test

[youtube]oqH1AWan3No[/youtube]
[Android Apps and Games] kyzn:
No ads here. I'm betting it's location based.
[Android Apps and Games] kalapapa:
Thanks

It seems like it's just this one channel I'm getting ads on

I don't know why I am but I can deal with it
[Android Apps and Games] KokkoM:
Nvidia Shield Android TV with Full Android Nougat 1.2, works flawleshy :)
[Android Apps and Games] aer0zer0:
Might need to clear playstore caches
[Android Apps and Games] Sam Nakamura:
+1
[Android Apps and Games] Joloxx9:
Doesn't help. Still same app update awaiting
[Android Apps and Games] Skorpion96:
Idem for me. My question is why arter97 doesn't change package name?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] mbc663:
Pretty sure it breaks the app. Something with how Google signs it.
[Android Apps and Games] aer0zer0:
Take the update, appease it. Then delete it in data/app/com.google (whatever) for youtube. Then reboot
[Android Apps and Games] Joloxx9:
Did what you said and finished with no apk at all... I think there is something wrong with my system partition, when I delete apps (play music etc thru titanium backup) and restart phone they are coming back -.-
[Android Apps and Games] Skorpion96:
But arter97 can leave empty version of the app to hide the update, I think

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] MiliWanili:
I just downloaded APK and flashed installer in recovery but it only removed my YouTube app. Any help anyone?
[Android Apps and Games] buffal0b1ll:
Reread the OP and be sure you followed the flashing directions correctly. Then after making sure the files needed are in the same directory, flash again. If you still don't succeed, then follow the manual setup directions (it'd be nice if the manual setup instructions were still in the OP, but they're not, so you'll have to do some reading if you wanna go that route).
[Android Apps and Games] MiliWanili:
Well there are only 3 steps so it's hard to miss something, what do you mean by manual directions? I don't see any in original post.
[Android Apps and Games] -yz-:
Same thing