yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hoberg27:
Adaway
[Android Apps and Games] mbc663:
Killer first post!:good::good:
[Android Apps and Games] storm119:
Adaway only block ads on youtube site but never block the promo/ads while playing video...but this patched did it ;)
[Android Apps and Games] firenxe:
works flawlessly here, thanks!
[Android Apps and Games] therighttime:
How do you get around the situation where /system has no free space and you can copy the app there? Even if I felt the current YouTube apk, it doesn't give enough frees pace (25mb freed, 38mb needed). On a nexus 5 android 6.0.1 M4B30X stock rooted
[Android Apps and Games] Phrodini:
There's going to be system apps you're not going to use..Google sheets,slides,docs and news,play games,news,koreanime
[Android Apps and Games] Kriss ( ͡° ͜ʖ ͡°):
On like 70% of the videos i get "A problem has occured. Tap to blabla"

This didnt happen until today?

Am i the only one having this problem?

If so anyone got a fix?
[Android Apps and Games] king3opobn:
Data connection issues?
[Android Apps and Games] AndreAkaNick:
Its happening here as well.

The only way I've found to "fix" it is clearing YouTube data and opening it again.
[Android Apps and Games] jiojio:
background play possible ?

i mean audio only in youtube
[Android Apps and Games] kapilathi:
Thanks. How to extract the lib from the apk? Possible using solid explorer
[Android Apps and Games] nigelhealy:
I flashed to CM14.1 (N 7.1) and if I installed Youtube there is still no /system/app/YouTube folder. If I uninstall YouTube, and create /system/app/YouTube and copy the apk there, there is no YouTube app.

Ideas?
[Android Apps and Games] shubby:
Give 755 permission to the folder and name it exactly like this "YouTube" ,t should be capital ,then give 644 permission to app u copy in this folder it should work then ,it doesnt matter what app name is but folder should be like i mentioned
[Android Apps and Games] Phrodini:
Make sure to reboot afterwards. I have lower case T and it still worked.
[Android Apps and Games] mbc663:
I did it on PC by renaming the .apk file extension to .zip and just unzipping it
[Android Apps and Games] nigelhealy:
The 644 of the apk was my missing step. The OP does have the directory 755 part but not have the chmod 644 part, so suggest OP has that instruction line inserted. Working.
[Android Apps and Games] pleasetouchmenot:
There's a new youtube update on Playstore: 11.45.59
[Android Apps and Games] dy2592:
I went to update since I saw your post and now I am getting ads.
[Android Apps and Games] pleasetouchmenot:
I said it just to update the dev of this patched youtube app not to update it via playstore. Can't you even read the OP?
[Android Apps and Games] kapilathi:
Extracted it to YouTube folder as lib/arm64 (removed v8a) and rebooted. Still crashes while opening the 360 video
[Android Apps and Games] D-m-x:
Then your Permissions are wrong, check them again. It will work for sure if you do it the right way!
[Android Apps and Games] king3opobn:
Uninstall update from app settings. Since there is a new version, you probably let it auto update in play store
[Android Apps and Games] tpuserhp:
Same problem with my 2 other devices. YouTube directory and the apk have the right permissions (755 and 644). To duplicate the problem, search 360 in youtube and play the first entry. The logcat entry:

12-06 09:23:23.837 E/AndroidRuntime(15745): java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/app/YouTube/youtube_11.45.58-114558631_minAPI16(armeabi-v7a)(160dpi)-adaway.apk!/lib/armeabi-v7a/libvrtoolkit.so" not found

Found post #124 which solves my issue.
[Android Apps and Games] Phrodini:
What page is that on..I don't have post count on forums app nor gello browser
[Android Apps and Games] mbc663:
http://xdaforums.com/showpost.php?p=69376365&postcount=124
[Android Apps and Games] Phrodini:
Good looks
[Android Apps and Games] ninjabadger:
I couldn't get the fix to work.
[Android Apps and Games] Archer_15:
What is 755 permission?
[Android Apps and Games] tpuserhp:
Please read the following for more info:

http://linuxcommand.org/lts0070.php
[Android Apps and Games] ipdev:
Symlink.

lrwxrwxrwx 1 root root 17 2016-12-06 19:35 YouTube -> /data/app/YouTube

I'll have to look into the symlink permissions but it works fine on my nexus 7 running cm14.1 nightly.

/data/app/YouTube - 755

/data/app/YouTube/youtube_11.45.58-114558630_minAPI16(armeabi-v7a)(nodpi)-adaway.apk - 644

Symlink gives..

/system/app/YouTube - 777

/system/app/youtube_11.45.58-114558630_minAPI16(armeabi-v7a)(nodpi)-adaway.apk - 644

(Reinstalling m4b30x on my nexus 5. I should have some time tomorrow to try it myself.)
[Android Apps and Games] kapilathi:
Have any one tried lucky Patcher background playback custom Patch. Check attachment.

I have Problem in patching it in my phone. Says root not stable.
[Android Apps and Games] kyzn:
Lucky Patcher isn't something discussed or supported by XDA as a whole. It's near forbidden to mention it.
[Android Apps and Games] AravindhStanley:
It works. I would happily pay for YouTube red had it been available in India. But this patch works without any fuss.
[Android Apps and Games] cm2003:
Is anyone else also having adds all over the app since approx 2 days?

I've just updated the apk to the most recent one, I still have a ****load of adds. Banners, videos, everything.

S7 edge using nougat beta

Gesendet von meinem SM-G935F mit Tapatalk
[Android Apps and Games] kopitalk:
You will get ads if you update it from Play.
[Android Apps and Games] cm2003:
Thank you for your very fast answer.

I was very sure, that it didn't update itself. But apparently it looks like you were right with your assumption.

So what I did now:

Removed the apk and folder from system/app (uninstall didn't work because of system app)

Reboot

YouTube was still there (damn Google...)

Uninstalled the usual way

Recreate system/app/YouTube folder set permission, copied over the apk

Reboot

YouTube was there and seems to be addfree again.

Thank you for your hint mate!

-edit-

That bloody b**** just updated again :) I've removed the auto update seeing yet again, hopefully it stays that way...

Gesendet von meinem SM-G935F mit Tapatalk
[Android Apps and Games] ΦDroid:
Open the listing for YouTube in the Play Store. Hit the button with the three dots in the corner and uncheck auto update.
[Android Apps and Games] DorianX:
First of all thanks for your awesome work!

Second: is possible to make the app as an user app (regular app installation in data partition) instead of system app? I'm asking this because one of my devices (Nexus 7 2013) have a very small system partition, I debloated a lot because I need space for A.R.I.S.E/Atmos and after than that it just have like 8mb free in system partition, I can't free more space because I need all the other apps.

Thanks in advance!

Enviado desde mi Nexus 7 mediante Tapatalk
[Android Apps and Games] keen36:
Btw., you do not need to go through all that trouble just to uninstall an accidental update: if you go to the app’s page (or any other system app which has been updated) in the play store or settings, the uninstall button will just uninstall all updates and not the app itself.
[Android Apps and Games] P1an:
Can someone please explain how to do the extract lib thing to get 360-videos working? Been trying all day but can't make it work ? so a detailed "how to" would be great! ? thanks.
[Android Apps and Games] mbc663:
It is easiest to do on a PC.

Rename YouTube.apk to YouTube.zip and extract the contents. In the extracted folder you will find your libs.

I suppose you could do this with an android file manager as well.
[Android Apps and Games] P1an:
Yes that's what I have done. And in the "lib" folder there is a "arm64-v8a" folder and in there it is 11 files named .so

Then I have moved the "lib" with all folders and files to /system/app/YouTube

Maybe the permissions is wrong? What should they be for "lib" "arm64-v8a" and those 11 .so files?

Thanks for help! :)
[Android Apps and Games] ninjabadger:
Same situation here

---------- Post added at 03:42 PM ---------- Previous post was at 03:35 PM ----------

Permission set as suggested.

Still get close errors
[Android Apps and Games] Sakti51:
Thanks for the update :D:good:
[Android Apps and Games] mbc663:
How my directory is set. 755 permissions across the board, works fine. Thanks again OP!!!
[Android Apps and Games] ninjabadger:
Renaming arm64 folder to be like yours fixed it!

Thanks
[Android Apps and Games] mbc663:
Cool:good:

I said that a few pages back.
[Android Apps and Games] ninjabadger:
I can't see where anyone has written to rename the folder arm64-v8a to arm64 but thanks again anyway.
[Android Apps and Games] mbc663:
http://xdaforums.com/showpost.php?p=69895602&postcount=301
[Android Apps and Games] P1an:
I also got it working by renaming arm64-v8a to arm64 and setting all permissions to 0755 :) Thank you!
[Android Apps and Games] ninjabadger:
My apologies
[Android Apps and Games] :
[MENTION=4641013]ninjabadger[/MENTION]

I didint get how to get this work. i made system/app/youtube/LIB/ARM64 and youtube folder 755 permissions and i put my apk file to youtube folder ? im so loss :D
[Android Apps and Games] PowerHero:
Same thing before [MENTION=6659405]Matt_Herrod[/MENTION] [MENTION=4641013]ninjabadger[/MENTION] show me the way

You should extract the file lib from the apk to the same foldier where the apk exist and than rename the file inside lib to arm if you have 32bit device and arm64 (64 device)

When finish you should have to files inside youtube folder(one is the apk file and the seconde is the lib file)

Hope that make it clear

P.s:rename the folder lib/arm64 with little characters
[Android Apps and Games] :
The part that im not getting is the extract the file lib from the apk, hmm:confused:
[Android Apps and Games] PowerHero:
Try fx explorer and install his root plugin

Go to system>app>youtube>youtube.apk open it with fx and select lib folder extact than go back to first folder youtube and extract it there than enter the lib and renam the folder inside to arm or arm64

What you didn't understand in this
[Android Apps and Games] :
thanks thanks thanks i got it now wuhuu! :)
[Android Apps and Games] radz_:
Latest Version crashes when playing 360 videos...

Can someone confirm? Dont know if official version works fine though...
[Android Apps and Games] kopitalk:
It's been discussed EXTENSIVELY in this thread. Use the search function. ...

Edit: ... to find the solution.
[Android Apps and Games] radz_:
Got it... better to use playstore version then[emoji4]
[Android Apps and Games] ATZ-007:
Latest 47 no dpi works great on my Nexus 5 running 7.1.1 rom.

Thanks dev
[Android Apps and Games] kopitalk:
The advantage of having this patched YouTube is only for those who read.
[Android Apps and Games] Sheetzie03:
Indeed, and unfortunately, on XDA in 2016/2017 reading even the op of a thread is too much, the laziness, the entitlement, bothers me to the point where I'm not on here as much, Bec these ppl will continue, will never change, and there's nothing anyone can do about it, and its stinks.

---------- Post added at 11:50 AM ---------- Previous post was at 11:44 AM ----------

Next time, just make the littlest effort before posting, can you do that? Or am I out of line?

Users need to do their due diligence. They just jump into a thread and post without going to op, reading it, then reading the last few few pages, still dont find your answer? Do a quick search, still dont find it? THEN post. But see this is too much work, it's much easier for a % of users to just auto post their question and hope to get an answer as quick as possible. It's easier for them that way.

Well guess what? I'm not like that, I'll read the op, read pages IV missed and search before posting a question. Help the community and start doing the same. Pretty please.
[Android Apps and Games] kos25k:
thank u very much!!!works excellent on my beloved Z3 tablet 5.1.1!!also y.t background playback and one tap xposed video download!!now i'll try if exo player port also works ;)

it also works!now superfast and also adfree youtube!!!
[Android Apps and Games] radz_:
Too much talk for 2016

---------- Post added at 07:29 PM ---------- Previous post was at 07:24 PM ----------

I should've use search or read previous discussions if you didnt respond to my post.

Good thing you responded and it brought me to the fix. Posting first really helps at least youll know that the fix is there.. instead of looking for it 1st..?

TIP: if you wanted to ask someone to use the search function or read previous post, NO need to reply, its just a hint.

some users ask 1st before searching, making sure that the issue that thier reporting was posted already and fix is there, instead of searching then nothing found..
[Android Apps and Games] shubby:
Then majority of users who search first to check there issue is posted or resolved becomes more problematic cos they hav to go through same post again n again and believe me it becomes very time consuming to identify weather ur problem is listed or not or there is a solution of it ,,I personally hav joined xda more then 2 years ago but still i haven't crossed 300 comments mark and majority of my comments r solution to the problems not questions ,i search first

I M NOT BEING RUDE TO U
[Android Apps and Games] radz_:
Thank you for your inputs...

Lets go back on topic.
[Android Apps and Games] Sheetzie03:
The fact is, too many users make NO effort to Read or search to find what they are looking for, that's it, it's as simple as that. I'm not talking about anything other than that, and there's no excuse for it.

Edit: yes agreed back on topic, sorry
[Android Apps and Games] shubby:
It does not play 360° video :silly: (at least now)
[Android Apps and Games] kopitalk:
[MENTION=5140419]radz_[/MENTION] Would you like to address this? ;)
[Android Apps and Games] mbc663:
Millennials :) get used to it, they'll be running things in a decade or two. We're all in trouble.
[Android Apps and Games] kos25k:
360° force close to me also..but not such a deal...keep the good work!

---------- Post added at 03:31 AM ---------- Previous post was at 03:30 AM ----------

360° force close to me also..but not such a deal...keep the

good work!

---------- Post added at 03:31 AM ---------- Previous post was at 03:31 AM ----------

360Â° force close to me also..but not such a deal...keep the

good work!

---------- Post added at 03:32 AM ---------- Previous post was at 03:31 AM ----------

360° force close to me also..but not such a deal...keep the

good work!
[Android Apps and Games] ipdev:
Removed
[Android Apps and Games] kruykaze:
I used the search with no results.

My question is does this block ads on the chromecast as well?

Thanks
[Android Apps and Games] ΦDroid:
Content loads directly to the Chromecast, not through your phone. No, this app will not remove ads on Chromecast.
[Android Apps and Games] kruykaze:
The reason why I thought this was possible is that if I go to a version old enough of the YouTube app, the ads will disappear. Therefore the app tells the chromecast to load the ads.

Thanks
[Android Apps and Games] kos25k:
hello.does this have to to with this modded app?
[Android Apps and Games] shubby:
[MENTION=225651]op[/MENTION] when i fast forward a video this error msg come though if i touch the screen (where play button or this msg is situated ) then video starts form forwarded location
[Android Apps and Games] fadedout:
Yes but IIRC, for the non-root version OGMod had to rename the entire YouTube package from com.google.android.youtube to com.google.android.ogyoutube and patch it to use microG, an open source implementation of Google Play Services Framework that needs to be installed separately. No small feat.
[Android Apps and Games] James_Ward01:
I'm well aware it's no small feat, I'm just saying it is technically possible
[Android Apps and Games] Cares:
I would LOVE this feature...is this possible?
[Android Apps and Games] acdbx:
Been getting "An error occurred" and Retry button all day today, after it was working fine yesterday. Any thoughts?
[Android Apps and Games] desfirenze:
please update...
[Android Apps and Games] HamsterHam:
Thanks for this! Much appreciated.
[Android Apps and Games] arter97:
APK updated to 11.33.58.

I just discovered this will work if I change the package name,

however, Google Sync doesn't work that way.

So, we can still enjoy ad-free experience, at the cost of our subscriptions, recommendations not syncing.

It'll be super hard to patch those as it's related to Google's security mechanism.
[Android Apps and Games] OnePixelDev:
This is awesome!! Now waiting for background play :)
[Android Apps and Games] Nex23:
How to i set 755 permission with the ES file explorer and can i also make a folder with another Name (like Youtube_adfree) while keeping the stock youtube ?
[Android Apps and Games] ajeesh vijayan:
I still see the ad
[Android Apps and Games] Nex23:
Had to try this. Was hard but I think it worked. I even see these live video which are actually blocked in my country. I keep a look how it works.

...

Seems like have sync actually (or what do you mean with it).

I am confused.
[Android Apps and Games] OmegaBlaze:
Working great on nougat(Nexus 6P)!

A way to get it to get it playing in the background would be great.
[Android Apps and Games] magician369:
I followed the instructions and made the permissions with ES but I cannot see the app in the drawer.
[Android Apps and Games] Nex23:
I don't even know what I did. I made a new folder in the system/app and put the apk there. I just left the old YouTube where it always was and just deactivated it in the setting. The old YouTube app in the drawer opened then the new YouTube app I think.
[Android Apps and Games] DevALT:
Damn arter and wanam you guys rock :)

Thanks for that awesome patch :D
[Android Apps and Games] magician369:
Thanks,i thought I should create a folder named youtube and put it in system\app. I just dropped the apk in system\app and changed permissions and it worked.
[Android Apps and Games] HamsterHam:
It was working but now I get this error.

Using latest version.

Edit: got it working by making selinux permissive.
[Android Apps and Games] xk0niR:
Can you make the apk theme ready?

Wish TeamBlackout would use it as base
[Android Apps and Games] Nex23:
Like i did it last time didnt work anymore. So now i went to the stock Youtube folder, just deleted the apk there. Then put the ad-free apk right there and set permission to rwx-rx-rx (not sure on that one).
[Android Apps and Games] passport619:
Could someone please explain to me how exactly the 755 for folder and 644 for apk permissions are set? I have no idea what that means or consists of. I have a rooted S5 on MM so I dloaded the 64arm file, is that correct? Also, I'm on T-Mobile's Binge service which does not use my data as long as I use the YouTube app, will this be affected? Thanks!
[Android Apps and Games] opasha:
I have a Mate 9 with phh super user (root) and twrp using the following methods: http://xdaforums.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617#post69998817. I downloaded the latest Adfree Youtube apk from here arm64 with nodpi. We don't have access to system partition using file explorers yet, so I can't modify anything as quickly using Solid Explorer or Root explorer; however, we can change and modify system through TWRP. Using TWRP file manager, I did the following:

1) Deleted the Youtube app within the system folder

2) Made system/app/Youtube folder chmod 0755

3) Moved the patched ad-free youtube from external sd to system/app/Youtube

4) Made the app chmod 0644 (the usual rw-r-r-) - I did it with and without this modification

5) Wiped cache/dalvik cache

6) Rebooted

7) I also cleared cache of Youtube after boot

The ads are still popping up despite all the above steps. Anyone who knows the Mate 8 and Mate 9 infrastructure (Kirin chips), have any help/advice? I am coming from a Nexus 6p on MM that had root and xposed installed thus I would normally use Youtube Adaway and Youtube Background Playback with ease. Xposed isnt released yet for Nougat, so I'm using this method. I've used this app with success before by moving this APK as mentioned above using Solid Explorer with ease on my Nexus 6p when Xposed Youtube Adaway was not updated yet in the past.

I'm on Nougat 7.0 (that's how it comes stock). I really appreciate any guidance, tips, help. Thanks.
[Android Apps and Games] Nosferatu.:
awesome mod...I briefly read through the thread and was wondering does the app allow background playback too (like YouTube Red)?

I run Xposed currently and use the Ad-Free and Background playback mods. I'm not upgrading my device to Nougat for that reason alone.
[Android Apps and Games] Phrodini:
Think there were fixes for that a few pages back
[Android Apps and Games] shubby:
Not yet it is stock youtube without ads that's all
[Android Apps and Games] nomigujjar:
Very good
[Android Apps and Games] Crazy-Silver:
Can you explain how? I got fcs
[Android Apps and Games] Younex:
Awesome work. I just discovered this mod, works great on Slim6 (Bacon) :good:

Any chance we can get bakground/screen off play and notification seekbar in the future ?

It's possible through Xposed.
[Android Apps and Games] Midomad:
I don't think so,

Check you're PM.
[Android Apps and Games] nigelhealy:
It seems what you did wrong was not read the OP.

First you must uninstall Youtube.

So when you have Youtube in /system/app it is "inside the ROM" and when you do any kind of install of youtube which is then updated "outside the ROM" (hint the name is in the R in ROM) it overlays the ROM version with the update. Hence any of your steps which touch /system is irrelevant.

If you have a ROM which included Youtube it is inside the /system and then Play Store updates will have downloaded and written into /data another youtube apk which is what you are actually running, so the /system one is ignored.

You must: uninstall Youtube. If it was in the ROM then it cannot be uninstalled (obviously, the R part of ROM) so at most it can be disabled, which prompts to ask "restore to default" or "remove updates" type question, that then deletes all the /data overlays. You then have no Youtube app visible but the /system version is there. If yo then enable youtube, the /system version gets used. You must disable auto-update of youtube other you'd be back to where you to begin with the /data version being used and the /system version ignored.

Make sense?

Your problems are obvious once you know where apps are stored.
[Android Apps and Games] opasha:
I did read the OP...something I always do I promise :). I know how Google Play store works with auto updates, so all my auto updates are ALWAYS disabled - that's common sense for a root user especially one who uses xposed framework.

If you read the thread I added, you'd understand the Mate 9 predicament regarding the system partition. We have no ROMs yet, only TWRP and Root using phh's superuser. The Mate 9 comes with Google apps pre-installed on the system partition for International versions (MHA-L29), which I have. Currently, the only way we can alter the system/app folder is strictly through TWRP file manager, otherwise I would do it easily through Solid Explorer/Root Explorer.

System apps cannot be uninstalled, so TWRP file manager has to be used to delete/replace them within the system/app folder.

I uninstalled through Titanium my backup of Youtube adaway - so wouldn't that remove the data folder entry based on what you said?

If I understand you correctly, are you saying that deleting the data/com.google.android.youtube-1 folder would allow the system/app/Youtube/Youtube(adaway).apk to function correctly even if the previous TWRP was already uninstalled?

Sorry if things are all over the place here. I'm guessing I just missed the step at completely deleting that youtube data folder (maybe that is why the new Youtube app within system/app was not loading correctly).