yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Anova's Origin:
360 videos will crash if you are missing the lib folder in the directory where you put the YouTube apk. Open the apk (as a compressed file [like a zip], not as an app), extract the lib folder, then copy it into /system/app/YouTube (it should now contain both the lib folder and YouTube.apk). In the lib folder, make sure that the subfolder is renamed into your device CPU architecture (arm or arm64 or x86 or x86_64). Reboot and 360 videos should work after that.
[Android Apps and Games] :
Hey, can u provide latest version for arm 4.0+.. the link over here is for arm 5.0 +.. I'm using arm 4. 4
[Android Apps and Games] Rindmann:
Awesome Rom :)

Any Chance to get it working on my Note 10.1 on gnabo Rom?

Arm and 160 dpi, Android 4.4.2

Cheers :)
[Android Apps and Games] Jexx11:
That did the trick of fixing 360 videos, thanks!

Now if only there was a definitive reason as to why for so many people, flashing the zip in the OP causes youtube to disappear, even though it's actually still installed. Lots of people in this thread experience this, even from a year ago.

Oh well there is always the manual install method which still seems to work just fine anyway.
[Android Apps and Games] DorianX:
Awesome ROM? ?

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] manishsoni7689:
I am using this cool mod on android 7.1.1 and there are no ads. But Whenever I go to save any video offline it gives error like the video cannot be saved offline, and this happens with every video. I already searched in the thread the issue has been asked many times but there wasn't a proper solution.

I am just curious to know is there any solution there I can use this awesome mod and also can save offline videos? Or is it the compromise for now?
[Android Apps and Games] cyan pac:
As far as I know you have to have youtube Red to do that. This mod doesn't give you youtube red features. It just gives you no ads

---------- Post added at 08:22 AM ---------- Previous post was at 08:21 AM ----------

Getting rid of ads happened way before youtube red so don't make a stupid comment on that
[Android Apps and Games] keen36:
http://xdaforums.com/member.php?u=4898097

the donation link is at the bottom in the signature :good:
[Android Apps and Games] bill10:
What is my nougat
[Android Apps and Games] LPW00:
Somehow this app doesn't seem to have shortcuts in pixel launcher, luckily that's not important. thank u for this app, u're a live saver
[Android Apps and Games] Rahail95:
[MENTION=4898097]arter97[/MENTION] http://www.apkmirror.com/apk/google-inc/youtube/youtube-11-43-52-release/
[Android Apps and Games] :
Unreal...

This is the first time i see this app, yet it has been here for months now!!! I'm downloading now, gonna post a feedback soon!

Works like a charm! Thank you!
[Android Apps and Games] maoikozo1:
Thank you so much.
[Android Apps and Games] keen36:
i actually went on a google journey looking for an alternative to the xposed module -of course i ended up here on xda. i should have just used the xda forum search ^^

i also had been looking for a good file manager for the last few months, since es file explorer went the way of icq. i tried so many and guess what, i found the best one here on xda (mixplorer) :D :good:
[Android Apps and Games] focus242:
This works for one of my YouTube accounts, but not the other. Any ideas? Thank you so much for the app.
[Android Apps and Games] :
I've been using mixplorer since it was developed. :D love it!:laugh:
[Android Apps and Games] KenjiHannya:
Best xplorer i tested for now.

Amazing
[Android Apps and Games] Kris6699:
Right? I love it.
[Android Apps and Games] KenjiHannya:
Me too
[Android Apps and Games] Thebear j koss:
Only file manager i have used in years. Great support, and lots of good people on that thread. Plus i got rid of like 4 apps that are no longer needed as i just use the storage in MiX to access my stuff in drive, dropbox, 1drive, and my cloud. Saves me so much space in my data partition. Quick question about this ad be gone youtube app, i used to theme YouTube all the time and was thinking of maybe doing a blacked out version as i can't deal with light Ui. I know youtube updates a lot and i don't expect updates to this all the time, i know life always takes precedence over android, just curious as to how updates are handled. I could really care less about how often you update the app, i just don't want to start something and have others ask to share and get weighed down with update requests. I may not be available to update every time, but i am just getting destroyed by ads in youtube and i need to black this out for myself and i would share it if allowed and people wanted it. Thanks. Glad i'm not the only 1 who despises xposed and won't use it.

World peace can't be done. It just can't exist...
[Android Apps and Games] shubby:
Awesome app works with nouget 7.0 thanx dev u made my life less stressfull :victory: :D
[Android Apps and Games] Jason960:
I love it. thanks
[Android Apps and Games] KreAch3R:
Hey [MENTION=4898097]arter97[/MENTION],

big thanks for this! Do you have the procedure open-sourced somewhere? It would be nice to see how you do it in smali vs the Xposed module, and/or even help others help you update the apks faster.
[Android Apps and Games] sharky481232:
I decompiled original apk and patched apk. Looks like there are a dozen or more files that have been edited. Playing around with the new YouTube apk seeing if I can figure it out myself. It's my first time actually messing with apk's so don't even know if I'll get anywhere.

Sorry if I'm stepping on your toes OP, I'd be happy to delete this comment if I am though.
[Android Apps and Games] KreAch3R:
Yeah, that's what I want to avoid, going in blind. I hope we can get some more info, or even better, diffs.
[Android Apps and Games] dustintinsley:
do any of the version work on android tv?
[Android Apps and Games] andre0005:
Did anyone succeed in creating a flashable zip of the latest update? I'm getting tired of copying the folder every time i flash an update for my rom.

I fail to set the read/write permissions correctly in the script.
[Android Apps and Games] manishsoni7689:
Yes... But stock YouTube app allows you to save offline videos. And watch them later. I am saying downloading the videos. Downloading and saving offline are different.
[Android Apps and Games] jiojio:
ad free YouTube possible in stock rom (unroot) mobile ?..

i need official stock rom update..
[Android Apps and Games] cyan pac:
I never used that feature because everywhere I go has Wi-Fi. I'm pretty sure by saving it you are technically somehow downloading it for it to be available offline. Anyway yes it currently is broken and probably won't be fixed because it's not really that important and the dev is busy but maybe ask him to put that in the bug box

---------- Post added at 08:47 AM ---------- Previous post was at 08:46 AM ----------

Unfortunately this requires root. I think there's someway to do it without root but it's way to complicated
[Android Apps and Games] nikhilsnigam:
it is possible actually. What phone do you have? that matters
[Android Apps and Games] Coraz:
After using the installer with the latest apk, I get three new folders in system/app: YouTube, youtube.apk! and YouTube.apk!. The two foldera with the exclamation mark have just a lib folder in them, while the YouTube folder contains an apk. No app appears in my drawer.
[Android Apps and Games] the_virus_ua:
It's fully normal. Cuz it's YouTube hack, you understand?
[Android Apps and Games] Coraz:
It didn't happen with the previous versions, and the only thing that changed is the ROM, I use the same gapps package without YouTube. I can't understand what you are going on about.
[Android Apps and Games] the_virus_ua:
Because of Google. OP is using costum libs to block ads in lastest version cuz Google has changed some strings in code.
[Android Apps and Games] Coraz:
So should I install normal YouTube in system before flashing?
[Android Apps and Games] -->:
No... You should remove the original youtube first
[Android Apps and Games] _dimitri_:
Facing the same issue. Even tried the other apk with background play and no add in both offline mode is no time working so I guess we have to compromise on one or another.
[Android Apps and Games] wonkizzle:
I tried this, and cant get Youtube to show up in my app drawer. Idk if it matters, but im using a Pixel XL, arm64 nodpi. Any ideas?
[Android Apps and Games] nigelhealy:
The typical reason, assuming you made no other errors like you properly set folder and apk permissions, is that you have Youtube disabled in system, apps.
[Android Apps and Games] wonkizzle:
But after I flash the zip, there is no proof of it anywhere, other than the apk in the folder. Can you specify what permissions or what I'm missing?

Also, I should note, that it installs to System_root/app, not System/app. Could that be an issue? When I try to copy it over, it doesn't seem to make a difference.
[Android Apps and Games] nigelhealy:
What does it show in setttings - Apps - .... scroll down .... is Youtube there? If it is disabled it won't show in your icon draw.
[Android Apps and Games] wonkizzle:
Thats what I mean, its not even in that list.
[Android Apps and Games] nigelhealy:
do a manual install

boot into TWRP,

mount system read/write,

use ADB SHELL,

copy to /system/YouTube

chmod 755 /system/YouTube

chmod 644 /system/YouTube/youtube.apk

reboot
[Android Apps and Games] ausaras:
OMG...YouTube is updated, again.

I was so happy to flash the patched YouTube yesterday...is Google monitoring this thread or something?!
[Android Apps and Games] westeight:
Current version is 12.11.57... see the other thread for a 'fixed' .apk with no ads and background playback. It's also current: 12.11.57 :cowboy:
[Android Apps and Games] ausaras:
The latest Youtube version on my end is 12.13.53. It was 12.12.xx only a few days, ago.

Flashing an older version is not useful for me because Youtube is automatically updated. Even if i turn off auto-update in Google Play, at some point, youtube still gets updated.

Anyway, hoping for a new patched Youtube soon.
[Android Apps and Games] westeight:
Wow. Play Store isn't showing any newer version is available for me. Weird...
[Android Apps and Games] Thebear j koss:
Uninstall youtube. Turn off automatic updates. Flash older version. I am still using a youtube that is almost 2 years old because i despise the new layout.

=============================================

The stupid leading the dumb.
[Android Apps and Games] nigelhealy:
Kinda not true and kinda not a big issue.

The installer places patched apk in /system which is read-only, and when you do a Playstore update it writes newer in /data read-write which overlays /system so supercedes the /system older version.

In Playstore you select Youtube and untick autoupdate so it is never automatically updated. The only way you'd get it updated is if you were errant in an update-all and not selecting the "skip" option presented.

If you made that error it is trivial to go back. Go into system, apps, youtube, and "disable" Youtube, it will then offer to "go back to stock" or words to equivalent, that then deletes the /data version that Playstore wrote, then enable Youtube and the /system which the Playstore update could never write to is then the version you have.

So kinda not true and kinda not an issue.
[Android Apps and Games] radz_:
Every time arter releases an update, a day after Google releases a new version with additional ads.lol
[Android Apps and Games] Samg381:
At this point I'd be content with just a black empty box over ads while they play..
[Android Apps and Games] Thebear j koss:
Not disable, it will say uninstall updates.

=============================================

The stupid leading the dumb.
[Android Apps and Games] Samg381:
Adblocking STLL not working.. Google Pixel XL, location-Florida.

Willing to help developer if needed.
[Android Apps and Games] elkadeho:
Just as reminder: disable Autoupdate, dispatch YouTube from Playstore every 12 hours and it should work just fine. For me it does for some weeks now after having issues with ads. How-to is somewhere in this thread.
[Android Apps and Games] jiojio:
zuk z1 zui2.5 os (android 7.0)

---------- Post added at 05:02 PM ---------- Previous post was at 05:01 PM ----------

How to use this app in NON-ROOT (stock rom ) mobile ??

Installing a System App via ADB is possible in non-root rom ???
[Android Apps and Games] nikhilsnigam:
yes its is possible.

Download latest twrp available for your phone.

Download patched youtube make a flashable zip or just keep it in a folder in internal storage.

Using fastboot type

fastboot boot twrp.img

you will be booted in twrp from there you can either flash zip or manually place the file.

BTW dude get out of stock rom and experience the awesome world of custom roms.
[Android Apps and Games] bestgio:
So I'm pretty new to this app.. I already got the patched app flashed via TWRP and the youtube app seems to be working just fine. However, what exactly are the things I should be keeping an eye on as Google continues to release updates? I disabled YouTube to auto update from the Play Store, so pretty much from this point forward, whenever arter releases an update, do I repeat the entire process again? (Download APK from thread, flash zip via custom recovery?)
[Android Apps and Games] KittySparkles:
That's pretty much it.
[Android Apps and Games] s--c:
Hi, I've followed OP. I'm using latest stock rom on pixel xl. Booted in to twrp, flashed zip. Says successful but when I reboot phone the YouTube version remains stock. I deleted YouTube app via titanium Backup. Flashed zip again, says successful but when I reboot phone no YouTube apk shows up in apps? Any help please?
[Android Apps and Games] mikeprius:
Which version of Youtube 2 yrs old ?
[Android Apps and Games] carlosggb:
Even im curious lol
[Android Apps and Games] Midomad:
Thanks for the quick update.
[Android Apps and Games] Samg381:
Google Pixel devices still not working whatsoever.

I've tried installing in both the system/app folder and system/priv-app folder, completely erasing original YouTube app, clearing cache, setting file permissions, everything. You can contact me here or via PM.

I am willing to provide any info you may need in order to fix adblocking for Google pixel devices. I am extremely desperate for this functionality and will be donating as soon as a working apk is released.
[Android Apps and Games] Potato997:
Unfortunately this is just an APK based on the work of wanam that uses Xposed. Google is doing something on their side that makes ads show on some devices. Wanam is already aware of the situation and we can't do anything :/
[Android Apps and Games] bodhisattvah:
For those having trouble with auto-updating happening no matter what, try: leave global update on and just uncheck the apps you don't want updated (like YouTube!) individually on their own play store pages. Works for me.
[Android Apps and Games] R77:
I have AICP Nougat 7.1.1 Version 12.1 Nightly

Will it work for my phone?
[Android Apps and Games] Potato997:
If we knew what phone you own we may tell you lol

Anyway it's a simple APK from the play store, just try it
[Android Apps and Games] Normas Interruptor:
Can we use the apk only?

I mean if i make a folder in system/app/YouTube and set permission to rwxr-xr-x (0755) and place the "YouTube" apk (which you have provided in the op for 'nodpi') inside the folder and set permission to rw-r-r (0644) and then reboot the device. Will it work?
[Android Apps and Games] j-a-d-z:
Should work for all but 360° videos which require the extracted lib folder.
[Android Apps and Games] Normas Interruptor:
Well, i have tested own my own and it is working fine, I don't want 360° videos so it's okay to me. ?
[Android Apps and Games] dinkoh:
Still works for me, it took a few number of tries. I've updated my Youtube on the Play store. Then, go to recovery, wipe cache, flashed the installer, then wiped cache.
[Android Apps and Games] s--c:
Yeah it worked for me, flashing zip didn't. And I don't watch 360 videos lol.
[Android Apps and Games] Samg381:
Installed and reinstalled three times. Still not working. Will donate to whoever finds a solution. Google pixel XL.
[Android Apps and Games] OfferedBison:
It works for me on my s7. The zip didn't work, so I did it manually. Follow the steps here https://android.gadgethacks.com/how-to/block-ads-androids-youtube-app-without-using-xposed-0173683/ Good Luck :)
[Android Apps and Games] kyzn:
You know. You can just preemptively provide logs. And run AdAway to route the addresses of the ad source via DNS requests.

Spamming the same concern every few hours on two different threads isn't going to help you. Not to mention against XDA rules.

Beyond installing the apk correctly, there isn't much troubleshooting done. Or help people can provide you. Ad sense is a fickle thing.
[Android Apps and Games] KUSOsan:
Installed through zip just fine on TWRP and wiped data on YouTube apk after reboot. running V20 on WETA and haven't seen a single ad yet. Awesome
[Android Apps and Games] Sparda333:
I love this thank you :)
[Android Apps and Games] revamper:
This doesn't work at all for me anymore on a nexus 5x with nougat. I recently found out that ad-away is sufficient to block all youtube ads through chrome. I ended up deleting the youtube app completely as I can't stand ads. Hope this helps somebody.
[Android Apps and Games] Jaizu:
If you see ads just remove data and cache and move on...
[Android Apps and Games] Ragemelon:
finally annoying ads are gone on mobile
[Android Apps and Games] unibombz:
Great Great GREAT work. This is a nice method to use over the Xposed YouTube Ad-Away which has lost some support. Also, this is the only method that can work on Android-N until Xposed Framework is released. Thank you so much for the great work, and keeping the apk's up to date !
[Android Apps and Games] knapz:
Installed and working great on Nexus 6P 7.1.2
[Android Apps and Games] mega3st:
[MENTION=4898097]arter97[/MENTION] could you also provide an YouTube for Android TV version to use with tv boxes like the Shield TV?

Or maybe just explain what needs to be done with the decoded apk?

wanams xposed module works fantastic on the shield tv with marshmallow, but I’d really like to upgrade to nougat...

THX
[Android Apps and Games] skawtnyc:
Some folks say that the new version "doesn't work" on the Google Pixel. For me, it crashes every time I run it. I've wiped data, cache, dalvik, removed the app, reinstalled. Nothing seems to work.

Also, the recovery flashable zip doesn't work on Pixel. It runs, sees the apk in the Download directory, but it doesn't replace the existing one with the patched one. It also doesn't unpack the libraries. I don't really need 360-degree viewing, so I manually install the apk.
[Android Apps and Games] yaesudx:
The funny thing is i have an s7 Edge and i could't get it to work ! i mean there are so many post and tutorials (i also tried that from your link) .

I run here an S7 Edge with latest Superman Rom . Youtube is not installed and there is no old Data. Than i tryed with Root Explorer. Created under

System/app/YouTube and set Permissions to 0755 . Than i put the apk in the Folder and Rebootet (as in you link Guide). I also before Rebooting set Permissions

to the Youtube.apk to 0644. But After Rebooting there is no APK installed.

If i use the Installer and flash this from TWRP it also creates the correct Folder in system/app and also puts the apk there and the LIB folder but there is nothing installed.

What i am doing wrong ?

UPDATE: Working now !

For S7 and S7 Edge use ARM64 . I used x86_64 thought this was the right ! :(

with this it worked perfect with the zip installer in TWRP !

Finally Nougat without ADS !!!
[Android Apps and Games] abemore:
Can you still skip long ads (after 5 secs) on Chromecast?

I ask because the Xposed YoutubeAdAway module always failed to produce a skip button when chrome-casting.
[Android Apps and Games] Jexx11:
I'm curious what did you do to finally get it working?

I can get it to work fine, but only installing manually. If I flash the zip youtube doesn't show up.
[Android Apps and Games] nikhilsnigam:
I never got ads on chromecast even when I was using normal youtube app from play store.
[Android Apps and Games] romano19:
Do you can add videos to watch offline?
[Android Apps and Games] enzo24754:
This only removes the skip ad button for me
[Android Apps and Games] HTC-TVN:
Yes, current (12.13.53) not working as of yesterday... Ads everywhere, not skippable (even 3minute+ ones, like vw-kid).

Waiting for next version (for now back to original).
[Android Apps and Games] DEVILOPS 007:
Works fine for me
[Android Apps and Games] lildimsum7:
Happened with me too. They usually go away after a few days
[Android Apps and Games] Bamfist:
New guy to this thread: if my youtube app is a system app how do i install this apk? uninstalling the updates and installing this apk with youtube still as a system app doesnt work :/
[Android Apps and Games] DEVILOPS 007:
Download the apk and flashable zip file. Make sure your apk is in the download folder and then flash the zip. The zip looks in the download folder and creates the directory needed and sets the right permissions for it.
[Android Apps and Games] Bamfist:
I did that and​ when i rebooted the phone, i got the normal version of youtube where ads still show and no background playback?
[Android Apps and Games] DEVILOPS 007:
There isn't supposed to be background playback and if the ads aren't going then try using a root uninstaller to uninstall youtube from the system then try again.
[Android Apps and Games] fays91:
Hello, you can add background mode on your YoutubeAdaway application

Please thank you
[Android Apps and Games] Midomad:
Background playback is and will never be supported, do some search for details...
[Android Apps and Games] JUSTINMARMER:
Looks like this is outdated again. Ads showing up. Worked for awhile though. I have auto updates turned off. Looks like YouTube found a new way to get the ads through.

Nexus 6P running Lineage OS
[Android Apps and Games] krysbia:
I just flashed this through TWRP 3.1.0-0 on my Samsung S5 G900W8 running Resurrection Remix v5.8.3-20170415 (Nougat), and it's working for me.
[Android Apps and Games] van_gogh:
Check this out https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900/page61

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

This is already implemented here https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900/page61
[Android Apps and Games] Midomad:
[MENTION=4898097]arter97[/MENTION]

New YouTube 12.14.56 version popped up on the playstore(Damn..Google!)

I hope you're perfect version soon [emoji111]
[Android Apps and Games] DEVILOPS 007:
https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900/post71886120
[Android Apps and Games] Midomad:
Sorry,i prefer this version.
[Android Apps and Games] DEVILOPS 007:
Why? It's the same thing but with background playback as well.
[Android Apps and Games] Midomad:
Ok,i will test.

Thanks for sharing.
[Android Apps and Games] DEVILOPS 007:
You can use the flashable installer with it too if you follow this

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900/post71796670
[Android Apps and Games] BonnyBedlamBoy:
thread is getting hijacked
[Android Apps and Games] DEVILOPS 007:
By who?
[Android Apps and Games] Trịnh Bình Nguyên:
Amazing [emoji7]
[Android Apps and Games] asafegous:
Will this allow for background play as well?
[Android Apps and Games] j-a-d-z:
No.
[Android Apps and Games] asafegous:
Patch it.
[Android Apps and Games] Sam Nakamura:
Thin ice my friend :) very thin ice...
[Android Apps and Games] rumz82:
Lmao. Well said.

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

It's very annoying when you press the back key to come out of YouTube and it continues to play. And not to forget the annoyance on the notification dropdown.

That's my opinion. Everyone has their own :)