yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] hcgl:
Is there a way to bring back the channel logo and the other overlays? I remember being able to choose this, but now the UI has been removed.

I have a feeling that if you enable the overlays, you will finally be able to skip ads on Chromecast. Thanks in advance
[Xposed Framework Modules] unibombz:
Great Xposed addon! I thank you.

However in my research lately, is there an xposed app of some sort that will 'unblock country region' for youtube videos ? I know an alternate method is to use a VPN. Old posts show this module had the option to, but I don't see it anymore.

OLD POST: http://www.pocketables.com/2013/12/...-module-removes-country-restrictions-ads.html

Let me know, thanks
[Xposed Framework Modules] sam298:
If you are rooted, you can remove the system youtube for tv app and install older version 1.0.5.3. That is the last version of youtube for tv app that works with youtube adaway module. Tested on my nvidia shield tv.
[Xposed Framework Modules] GabbyWC:
I'd prefer to stick with the latest version of YouTube for Android TV so that I can have options like channel access (subscribe / unsubscribe), 60 frames per second video playback and stats for nerds. Even with the YouTube AdAway module disabled, I see very few ads and I wonder if that's because I have the AdAway root app installed. Once YouTube Red becomes active in Canada later this year, I shouldn't see any video ads at all after that point.
[Xposed Framework Modules] nizammoidu:
hi all some how this was not working on my nvidia shiled pro, I had to spend some time , finally I got rid of ads , tested ads between the playlist. I thought i will share it here might help someone. tested on 10311100 (1.3.11) gdrive download link.
[Xposed Framework Modules] shadow322:
V3.1.3 of module isn't working anymore as I just updated to youtube app v11.19.56 so please look into it
[Xposed Framework Modules] Nergal di Cuthah:
wow, such a friendly way to request...sigh
[Xposed Framework Modules] naifaharsy:
Thanks dude..very useful app
[Xposed Framework Modules] lazarost:
Thank you for this.

Will install xposed (again) and your version later today and report back.

In the meantime, can you elaborate a bit more on what have you changed in the youtube apk?

Or maybe some instructions on how someone can do it themselves for a future version upgrade of the youtube app.

Edit:

Just tried it out and it works perfectly. No ads in my usual testing whatsoever, great work.

One thing I didn't try was casting from my phone. Will try that tomorrow.

It wasn't clear from your description, but this is actually a separate xposed module and it works without installing the youtube adaway module.

Many thanks again, you just made all of our Shields a whole lot better.
[Xposed Framework Modules] wanam:
The "Not working" flag is not enough and does not help in any way, try to provide a few more details, ideally screenshots of the ads and your Xposed logs.

I pushed a new update 3.1.4 of the module to hide two new ad cards on the latest YT updates.
[Xposed Framework Modules] nizammoidu:
I was really annoyed by the ads comes between videos in a playlist , mainly I tried many method some where partially successful but at the end what i did is find where they are parsing interstial ads from the protbuf response from the server and nuke it using xposed. I would really don't want people to install multiple apps for the same purpose if youtube adway can take it it , it will be great. class i nuked is here
[Xposed Framework Modules] lazarost:
What you did also nuked the ads when casting, both from an Android phone or an iOS device.

Great work and many many thanks again.
[Xposed Framework Modules] wanam:
Can you post a screenshot of those ads?

I guess you know i stop supporting proguarded sources in a static way, since the proguard map is changing on each YT update, so i need to understand what you are hooking exactly so i can see how i can implement it on a brut force way.

Did you check if those ads are displayed on a specific layout? we can easily hook it in the resources instead of Java sources, i hook the Java sources only for the in-video ads.
[Xposed Framework Modules] GabbyWC:
Hey, [MENTION=3562083]wanam[/MENTION], have you looked in to supporting the newer versions of YouTube for Android TV?

https://play.google.com/store/apps/details?id=com.google.android.youtube.tv

I know that the v3.1.4 update of your module contains changes meant for the YouTube mobile app but I tested the latest version of your module anyway on my Google Nexus Player. I have attached screenshots of the videos that I tried to play along with an Xposed log. As you can see, most of the videos did not play when your module was enabled but a few of them did. I posted about this same issue a few weeks ago at http://xdaforums.com/showpost.php?p=66609101&postcount=1519 but did not get a response from you since then.

Another (minor) thing I noticed is that the word successful should be used instead of "succes" in the last line of the Xposed log.
[Xposed Framework Modules] GabbyWC:
If this was designed for the NVIDIA Shield TV, will it also work on other Android TV devices like the Google Nexus Player? I haven't tested your module yet but will do so later today.
[Xposed Framework Modules] nizammoidu:
It should work all 10311100 (1.3.11) . I did test on emulator with the apk.

---------- Post added at 12:43 PM ---------- Previous post was at 12:40 PM ----------

dynamic detection could be tricky, I was using static analysis and keyword search on decompiled source. I will check we isolate the signature for the method.
[Xposed Framework Modules] GabbyWC:
I tried your module out on my Google Nexus Player and can confirm that it removes ads from YouTube for Android TV. Nice work! If [MENTION=3562083]wanam[/MENTION] can integrate your changes in to a future version of YouTube AdAway, that would indeed be useful.
[Xposed Framework Modules] unibombz:
Keep up the good work man, I have never had an issue with this Xposed module. It's very nice to get use to, it's how YouTube should be, the days before it was sold years ago
[Xposed Framework Modules] purehkr:
My app always says YouTube adaway no active even after several reboots. Please help!!
[Xposed Framework Modules] Rakuu:
My crystal ball says "provide logs"

Edit: thanks for ruining my sarcasm auto correct.
[Xposed Framework Modules] purehkr:
I figured it out it works noe thanks
[Xposed Framework Modules] dreamteam:
are you using KK or Jellybean ?

i have same problem.

lollipop above seems working fine
[Xposed Framework Modules] Lelki:
The youtube update is letting video ads on youtube to run now .

KitKat user
[Xposed Framework Modules] Rakuu:
The lack of logs is letting the problem be unsolved.
[Xposed Framework Modules] shadow322:
Yes using KK :(
[Xposed Framework Modules] drukoz:
Logs for u guys

pasted(.)co(/)c72c0d90e

Remove () sorry don't have 10 post
[Xposed Framework Modules] hundred_miles_high:
Getting ads a plenty after the latest Youtube update on KK.

Log attached.

https://drive.google.com/file/d/0B114dUMGdH-lcHIycTNMT0NCV0k/view?usp=sharing

Screenshot attached also:
[Xposed Framework Modules] wanam:
Can you upload your YouTube apk?
[Xposed Framework Modules] hundred_miles_high:
Thanks for the lightning fast response.

APK attached.
[Xposed Framework Modules] rudbwoy:
Same boat too

YouTube 11.19.56, and YouTube adaway v 3.1.4. I updated YouTube adaway first, and then I updated YouTube app. :rolleyes: I knew I shouldn't have updated the YT app to the latest version. Tried various uninstall/reinstall/reboot cycles... nothing worked. Wanam, thank you for all your hard work. Looking forward to a fix for this.

Device: SM-N910T, FireKat V11X
[Xposed Framework Modules] wanam:
Your logs are full of unrelated errors.

I tried this YT version with no issues, mine is a bit newer (111956144):

05-31 09:40:00.743 1099 1247 W PackageManager: Downgrade detected: Update version code 111956133 is older than current 111956144

Can you disable all modules except YouTube AdAway? reboot, try again with some videos then post your xposed logs.

Can you also provide a full logcat? i want to see if there is any ANRs.
[Xposed Framework Modules] anhtegieng1:
Problem with 4.4.2 samsung note2. Fix plzzz.
[Xposed Framework Modules] wanam:
I don't own any Kitkat device, so if you cannot help identifying your issue there is nothing i can do for you, you can start by reading OP...
[Xposed Framework Modules] Cares:
I have not updated my Youtube for several versions now. How do I know if this module works with the latest? Does this work with v11.19.56? I'm currently on v11.16.62 and it's still working.
[Xposed Framework Modules] anagramgenius:
Install it and check! Found an ad? Get back to older version. As simple as that.
[Xposed Framework Modules] hundred_miles_high:
Thanks for getting back to me.

I have done the above and attached the xposed log.

Also done the logcat but not sure if it's right as never pulled one before and used an app to do it.

https://drive.google.com/open?id=0B114dUMGdH-lR3R4M1NVSk1WUWs
[Xposed Framework Modules] egingell:
Logs or it never happened.

Sent from: SGS5 - LP 5.1.1 / SGS4 - LP 5.0.1
[Xposed Framework Modules] grat_master:
not working on YouTube 11.19.56 -> brute force failed class/param could not be found for YouTube 11.19.56

I'm on HTC One m8 running kitkat 4.4.4 ViperOne rom.
[Xposed Framework Modules] RedSkyRoad:
This app is broken. If I press back when a YT video is playing, the YT interface disappears but I can hear the video is still playing. The is no way of stopping the video unless I restart my device. Samsung Galaxy S7 Edge
[Xposed Framework Modules] wanam:
I managed to reproduce this issue on an emulated Kitkat build, thanks to Genymotion.

It should be fixed now with the new update 3.2.0, tested with the latest YouTube update 11.20.54.
[Xposed Framework Modules] noobhero:
thanks wanam, I right at the moment when I wanted to upload my log for 11.19.56 apk.

appreciate your hard work. are u accepting donations?

thanks again!
[Xposed Framework Modules] wanam:
You are welcome,

I accept donations for the done work only (updated my sig).
[Xposed Framework Modules] rudbwoy:
Wooohoo! Update Works! Thanks Wanam!

(YouTube v11.19.56 and YouTube AdAway v3.2.0)
[Xposed Framework Modules] hundred_miles_high:
[MENTION=3562083]wanam[/MENTION] - all is good once again. Thanks for your hard work. Donation on it's way :good:
[Xposed Framework Modules] GabbyWC:
Thanks for the update, [MENTION=3562083]wanam[/MENTION]. YouTube AdAway v3.2.0 still results in most videos not playing when used with the current version of YouTube for Android TV. I've attached some screenshots and my Xposed log. The module by [MENTION=3438425]nizammoidu[/MENTION] at http://xdaforums.com/showpost.php?p=66973080&postcount=1524 removes the ads from YouTube for Android TV v1.3.11 without any video playback issues.

06-02 17:23:29.934 I/Xposed ( 184): -----------------
06-02 17:23:29.934 I/Xposed ( 184): Starting Xposed version 85, compiled for SDK 23
06-02 17:23:29.934 I/Xposed ( 184): Device: Nexus Player (Asus), Android version 6.0.1 (SDK 23)
06-02 17:23:29.934 I/Xposed ( 184): ROM: MOB30G
06-02 17:23:29.934 I/Xposed ( 184): Build fingerprint: google/fugu/fugu:6.0.1/MOB30G/2723637:user/release-keys
06-02 17:23:29.934 I/Xposed ( 184): Platform: x86, 32-bit binary, system server: yes
06-02 17:23:29.934 I/Xposed ( 184): SELinux enabled: yes, enforcing: yes
06-02 17:23:29.940 I/Xposed ( 184): -----------------
06-02 17:23:29.940 I/Xposed ( 184): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
06-02 17:23:30.244 I/Xposed ( 184): Detected ART runtime
06-02 17:23:30.272 I/Xposed ( 184): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
06-02 17:23:30.545 I/Xposed ( 184): Loading modules from /data/app/com.mohammadag.burnttoast-1/base.apk
06-02 17:23:30.665 I/Xposed ( 184): Loading class com.mohammadag.burnttoast.XposedMod
06-02 17:23:30.675 I/Xposed ( 184): Loading modules from /data/app/ma.wanam.youtubeadaway-2/base.apk
06-02 17:23:30.697 I/Xposed ( 184): Loading class ma.wanam.youtubeadaway.Xposed
06-02 17:24:05.087 I/Xposed ( 2643): YouTube AdAway: trying brute force way...
06-02 17:24:08.298 I/Xposed ( 2643): YouTube AdAway: succes hook for sequence: class =fab param=eho for YouTube 1.3.11
06-02 17:24:21.570 I/XposedInstaller( 3603): XposedInstaller - 1464854400001 - 3.0 alpha4 by dvdandroid - 02/06/16
06-02 17:25:01.923 I/Xposed ( 3850): YouTube AdAway: trying brute force way...
06-02 17:25:03.690 I/Xposed ( 3850): YouTube AdAway: succes hook for sequence: class =fab param=eho for YouTube 1.3.11
06-02 17:33:09.660 I/XposedInstaller( 5485): XposedInstaller - 1464854400001 - 3.0 alpha4 by dvdandroid - 02/06/16
[Xposed Framework Modules] noobhero:
[MENTION=3562083]wanam[/MENTION]

thanks sir, not much but do appreciate your work in the community.

used your samsung kits back in the days.

ID - 9NM544789W621434F
[Xposed Framework Modules] wanam:
Okay, here is a new update that implements a brute force method to lookup [MENTION=3438425]nizammoidu[/MENTION]'s hooked class for YouTube TV.

Try it and let me know if you still get any issues, this update impacts all YouTube versions (not only the TV one), so please test it and report back.

Download.
[Xposed Framework Modules] GabbyWC:
I'm not near my Nexus Player at the moment (and I think our time zones are quite different) but I will fully test this version out later today.
[Xposed Framework Modules] wanam:
FYI, this update must be tested on the mobile versions as well.

Try it and report any regressions.

3.2.1-T2 version includes some hot fixes.
[Xposed Framework Modules] wanam:
3.2.1 released:

- New brute force implementation for all YouTube variants (thanks to [MENTION=3438425]nizammoidu[/MENTION] for the TV hook).
[Xposed Framework Modules] grat_master:
Thanks !! Working fine now. Your work is appreciated.
[Xposed Framework Modules] Лютый воин:
It does not block.

Very bad update 3.2.1. It does not block all advertisements in a video on Youtube. I had to roll back to a previous version. Android 5.0, xposed v.85, x86.
[Xposed Framework Modules] wanam:
Stop crying and post your xposed logs instead.
[Xposed Framework Modules] LSH4:
Hey Wanam, thanks for your work and dedication at keeping this module always up to date.

3.2.1 seems to be as effective as usual so far, as far as adblocking goes.

I believe it was 3.1.3 or 3.1.4 that had a few issues with blocking ads and also battery drain, though this was fixed in 3.2.0 (I'm on cm11 kitkat).

However, 3.2.1 again gives my phone huge kernel wakelocks and subsequent battery drain (while 3.2.0 had no issues that I could see).

Just a heads up on my end.

Edit: Out of curiosity, I've rebooted a few times, and now the wakelocks have drastically lowered. Perhaps it was just a minor fluke, a good reboot is sometimes all it needs.
[Xposed Framework Modules] egingell:
Without logs, there's literally nothing he can do to help or fix the problem if such a problem exists.

Sent from: SGS5 - LP 5.1.1 / SGS4 - LP 5.0.1
[Xposed Framework Modules] LSH4:
I did consider it, but I just didn't think it would be helpful because I see no errors in the log.

But here it is. (Unless this is the wrong log file, of course. If it is, where do I find the proper one?)
[Xposed Framework Modules] egingell:
Did you enable verbose logging in the module's settings per the OP?

Sent from: SGS5 - LP 5.1.1 / SGS4 - LP 5.0.1
[Xposed Framework Modules] LSH4:
Yes, it has been enabled for a long time now.
[Xposed Framework Modules] wanam:
I don't think this module would cause such issues, i don't use any wakelock and the module does not require it.
[Xposed Framework Modules] LSH4:
Yeah, in general, I haven't really found Xposed modules to keep/mess with wakelocks. It's a bit weird though, if I disabled the youtube adaway on 3.2.0, then the wakelocks went away.

Oh well, things seem to have fixed themselves, thanks again!
[Xposed Framework Modules] Nergal di Cuthah:
are you using any other youtube xposed modules? Maybe ad block+a certain "youtube red" feature enabler are working in conjunction and a blocked ad in background get locked?
[Xposed Framework Modules] LSH4:
Yes, I am using that module as well, so I suppose it's possible. I'll keep an eye on things and see how it goes.
[Xposed Framework Modules] Hippie459MN:
Yeah, I got an ad yesterday after updating to the latest version too on the latest YT version and dummy me didnt even think to grab a log so I am of no use really so just pretend I said nothing here.
[Xposed Framework Modules] helix512:
I have the most current youtube adaway on my phone and I still get YouTube ads. Anything I can check?
[Xposed Framework Modules] wanam:
Your xposed logs.
[Xposed Framework Modules] Shoubyy:
Hey wanam,

I've been using YouTube adaway for quite a while without any problems, but since new youtube update it doesn't work anymore.

I've the most up to date Ytb Adaway version.

Thanks for your help ^^

Here's my xposed logs:

06-07 15:29:40.895 I/Xposed ( 337): -----------------

06-07 15:29:40.895 I/Xposed ( 337): Starting Xposed version 80.0 (custom build by wanam / 20160211), compiled for SDK 22

06-07 15:29:40.895 I/Xposed ( 337): Device: SM-N920C (samsung), Android version 5.1.1 (SDK 22)

06-07 15:29:40.895 I/Xposed ( 337): ROM: DarkLord N5

06-07 15:29:40.895 I/Xposed ( 337): Build fingerprint: samsung/nobleltejv/noblelte:5.1.1/LMY47X/N920CXXU1AOH2:user/release-keys

06-07 15:29:40.895 I/Xposed ( 337): Platform: armeabi-v7a, 32-bit binary, system server: yes

06-07 15:29:40.895 I/Xposed ( 337): SELinux enabled: yes, enforcing: yes

06-07 15:29:40.915 I/Xposed ( 337): -----------------

06-07 15:29:40.915 I/Xposed ( 337): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH

06-07 15:29:41.595 I/Xposed ( 337): Detected ART runtime

06-07 15:29:41.645 I/Xposed ( 337): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing

06-07 15:29:42.185 W/Xposed ( 337): Found /data/data/de.robv.android.xposed.installer/conf/disable_resources, not hooking resources

06-07 15:29:42.185 I/Xposed ( 337): Loading modules from /data/app/com.pyler.youtubebackgroundplayback-1/base.apk

06-07 15:29:42.295 I/Xposed ( 337): Loading class com.pyler.youtubebackgroundplayback.YouTubeBackgroundPlayback

06-07 15:29:42.305 I/Xposed ( 337): Loading modules from /data/app/ma.wanam.youtubeadaway-2/base.apk

06-07 15:29:42.325 I/Xposed ( 337): Loading class ma.wanam.youtubeadaway.Xposed

06-07 15:29:42.325 I/Xposed ( 337): This class requires resource-related hooks (which are disabled), skipping it.

06-08 15:18:59.629 I/XposedInstaller(14542): Downloaded http://dl.xposed.info/repo/partial/8675.xml.gz with status 0 (error: null), size 19162 bytes

06-08 15:19:00.009 I/XposedInstaller(14542): Updated repository http://dl.xposed.info/repo/full.xml.gz to version 8698 (12 new / 0 removed modules)
[Xposed Framework Modules] wanam:
This is a good example that illustrate why i keep asking for logs, most of the reports i'm getting tend to say that the updates are the culprits.

According to your logs you disabled the resources hooks, so the module is not active.
[Xposed Framework Modules] Shoubyy:
Hey thanks for the fast answer !

If I recall correctly I ain't deactivated the ressources hooks manually

Mind telling me how to reactivate it ?
[Xposed Framework Modules] wanam:
I guess you did it intentionally through Xposed Installer settings, i don't see how it would be triggered otherwise.
[Xposed Framework Modules] FlemishDroid:
I even had another youtube logo after update from Play Store.

Verstuurd vanaf mijn GT-I9300 met Tapatalk
[Xposed Framework Modules] asd87:
I think Google pushed it out on accident. That's the internal team icon meant for testing.
[Xposed Framework Modules] Thomas_BA:
Confirmed!!
[Xposed Framework Modules] tarroyo:
Hopefully an update comes soon, This mod hasn't been updated since January.
[Xposed Framework Modules] wanam:
I made new beta update before going bed, it's still a beta, I don't have much time to finish it now, it requires a small ad fix to be compatible with older YouTube versions, but it should support the latest update with no issues.

I will release a final update maybe tomorrow.

Download:http://goo.gl/HLXNTD
[Xposed Framework Modules] INeedHelpBad12:
Great 1.6

Works great with 1.6 beta
[Xposed Framework Modules] Thomas_BA:
Working fine so far.
[Xposed Framework Modules] Bwwwww:
I can confirm that the new 1.6 beta works with YouTube 5.5.28

edit : thanks Wanam!
[Xposed Framework Modules] JonathanBarca10:
Can also confirm it is working on Nexus 5 and Nexus 7(2012) both on kit kat
[Xposed Framework Modules] gdmlaz:
nvm just saw the beta works great ????
[Xposed Framework Modules] egingell:
Oy. Wanam posted a hotfix on this fricken page.

Edit: ... or that page...

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] jojimat:
Youtube crash

After updating Youtube to 5.5.27 , the application is unable to open . then i uncheck the AdAway module , reboot and try again it youtube works.

please fix the AdAway module to compatable with new update .

- using Slimbean 4.1.2 on Pantech Burst.

Thank you .
[Xposed Framework Modules] egingell:
... Look 1 2 ... 7 posts before yours.

(and people wonder why I'm not more tactful)

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] wanam:
1.6.0 released:

- Update hooked methods signatures to support YouTube latest update (5.5.27)

- Sanitize Brands Layouts managements to avoid any YouTube FC on the future.
[Xposed Framework Modules] jojimat:
Thankx a lot wanam , i update 1.6.0 ver. & now it works fine .

Thank You. :angel:
[Xposed Framework Modules] mkrevelations:
Great job dev. :good:
[Xposed Framework Modules] gotsoot:
Same problem here.
[Xposed Framework Modules] Bwwwww:
Update Youtube Away to the latest version.
[Xposed Framework Modules] wilflare:
thanks for this!

now if this app automatically applies a Dark Theme for Youtube too :X haha (I know it does not work that way)

:D

---------- Post added at 12:37 AM ---------- Previous post was at 12:28 AM ----------

seems like this module does not work with the latest 5.5.27 version of YouTube :( [MENTION=3562083]wanam[/MENTION]
[Xposed Framework Modules] Tanis64:
I be back on YouTube 5.3.32, not because of YouTube AdAway, with Version 5.5.27 I have issues without YouTube AdAway activated, a lot of FC Toasts when using other Apps like Tapatalk, Firefox and so on.

So keep in mind that if you have issues running YouTube AdAway with YouTube Version 5.5.27 it's not the fault of Wanam's Module.

Send from the outback with my GT-I9505
[Xposed Framework Modules] Shoubyy:
Well maybe I forgot I did that.

Whatever, I reactivated ressources hooks and Ytb Adaway works properly now.

Thanks wanam.
[Xposed Framework Modules] tarroyo:
Seeing ads as well, Will post logs soon.