yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] ariesgodofwar:
Youtube 10.20.55

Nexus 4 5.1.1 (Stock images)

You know what, I reactivated the module to run some logs for you, and lo and behold, when I reactivated the module, it then started working properly. I deactivated when I had issues, but never reactivated after deactivating. I guess deactivating and rebooting, then activating and rebooting fixed the issue. Previously, it would just hang at the beginning of the video, as if it was waiting for an ad which was not coming, and would not let you start the intended video.

Update [MENTION=4849551]Vagelis1608[/MENTION] : Actually the issue is still occurring.

The issue is coming up in logcat as a warning:

W/YouTube (28345): (unknown) CsiAction [ida] already ticked pl_int. Ignored

. Same warning every time play is pressed on a video with an ad prior to it.

I have the latest Xposed Framework (sdk22) installed.
[Xposed Framework Modules] :
'Hide logo and suggestions' setting doesn't remove channel/video suggestions on the YT front page for example.
[Xposed Framework Modules] :
Where is the source code? I will also get rid of the YouTube app (and use browser) if this module is proprietary software.
[Xposed Framework Modules] pyler:
This module is not open source.
[Xposed Framework Modules] keboose:
I'd like to ask a question about this module. I like it a lot, I'm using it right now, but I'd like to know more about how it works. I also know that somehow the normal method of adding ad domains to the hosts file doesn't work any more, but why? What did Google to to the youtube app that made this module necessary?
[Xposed Framework Modules] Mike B.:
The hosts file and "adblockers" only deal with URLs. Apps that directly use numeric addresses don't go through the hosts file or DNS and can't be blocked that way.
[Xposed Framework Modules] keboose:
Thanks! That makes a lot of sense.
[Xposed Framework Modules] tmdevil:
It works well for me, thanks :angel:
[Xposed Framework Modules] fatguy666:
Great app dude but just noticed some suggestions pop up during a video.

YouTube version 10.21.58

2.5.1 xposed module
[Xposed Framework Modules] CrossBones3129:
Youtube just updated tonight. Oh joy! Ads are back!
[Xposed Framework Modules] tarroyo:
Not sure if logs are needed if they are let me know, I attached the latest YouTube apk file [MENTION=3562083]wanam[/MENTION]
[Xposed Framework Modules] Vagelis1608:
You need to reboot after YouTube or YouTube AdAway update.

(Non of you mentioned rebooting)

Sent from my D620r [Stock 4.4.2 , -V- Kernel]
[Xposed Framework Modules] CrossBones3129:
Ive rebooted several times. Yoitube adaway needs an update.
[Xposed Framework Modules] wanam:
Please post your xposed logs.
[Xposed Framework Modules] CrossBones3129:
06-24 12:19:55.351 I/Xposed ( 318): ----------------- 06-24 12:19:55.351 I/Xposed ( 318): Starting Xposed binary version 61, compiled for SDK 21 06-24 12:19:55.351 I/Xposed ( 318): Device: SAMSUNG-SGH-I337 (samsung), Android version 5.0.1 (SDK 21) 06-24 12:19:55.351 I/Xposed ( 318): ROM: LRX22C.I337UCUGOC3 06-24 12:19:55.351 I/Xposed ( 318): Build fingerprint: samsung/jflteuc/jflteatt:5.0.1/LRX22C/I337UCUGOC3:user/release-keys 06-24 12:19:55.351 I/Xposed ( 318): Platform: armeabi-v7a, 32-bit binary, system server: yes 06-24 12:19:55.351 I/Xposed ( 318): SELinux enabled: yes, enforcing: yes 06-24 12:19:55.391 I/Xposed ( 318): ----------------- 06-24 12:19:55.391 I/Xposed ( 318): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH 06-24 12:19:56.592 I/Xposed ( 318): Detected ART runtime 06-24 12:19:56.652 I/Xposed ( 318): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing 06-24 12:19:57.022 I/Xposed ( 318): Initializing XposedBridge version 64 06-24 12:19:57.423 I/Xposed ( 318): Loading modules from /data/app/de.defim.apk.hidebatterylowalert-1/base.apk 06-24 12:19:57.633 I/Xposed ( 318): Loading class de.defim.apk.hidebatterylowalert.Xposed 06-24 12:19:57.633 I/Xposed ( 318): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk 06-24 12:19:57.683 I/Xposed ( 318): Loading class ma.wanam.youtubeadaway.Xposed 06-24 12:19:57.703 I/Xposed ( 318): Loading modules from /data/app/com.smartmadsoft.xposed.swiftkey.disableprediction-1/base.apk 06-24 12:19:57.753 I/Xposed ( 318): Loading class com.smartmadsoft.xposed.swiftkey.disableprediction.Tapper 06-24 12:19:57.753 I/Xposed ( 318): Loading modules from /data/app/uk.co.villainrom.pulser.disablebatteryfullalert-1/base.apk 06-24 12:19:57.793 I/Xposed ( 318): Loading class uk.co.villainrom.pulser.disablebatteryfullalert.DisableBatteryFullAlert 06-24 12:19:57.793 I/Xposed ( 318): Loading modules from /data/app/com.pyler.nosafevolumewarning-1/base.apk 06-24 12:19:57.843 I/Xposed ( 318): Loading class com.pyler.nosafevolumewarning.NoSafeVolumeWarning 06-24 12:19:57.883 I/Xposed ( 318): Loading modules from /data/app/de.defim.apk.notifyclean-1/base.apk 06-24 12:19:57.943 I/Xposed ( 318): Loading class de.defim.apk.notifyclean.Xposed 06-24 12:19:58.093 I/Xposed ( 318): [NotifyClean] initialized 06-24 12:19:58.093 I/Xposed ( 318): Loading class de.defim.apk.notifyclean.Xreszs 06-24 12:19:58.103 I/Xposed ( 318): Loading class de.defim.apk.notifyclean.Xcheck

PS: If you want me to upload the file, please tell me where.
[Xposed Framework Modules] tarroyo:
Attached.
[Xposed Framework Modules] wanam:
Thanks for the logs.

New update 2.5.2 posted:

- Fixed a brute force bug

- Remove useless success logs
[Xposed Framework Modules] CrossBones3129:
Thanks! I'm glad to maybe have helped you help the masses. I'm using Tapatalk for the foruma so I dont think I could upload the logs. Sorry about that!
[Xposed Framework Modules] xdahue:
Can I have the domains/ip addresses being blocked please? I want to use them for blocking it in my network firewall.
[Xposed Framework Modules] wanam:
I don't block any addresses, Google implement some verifications to check whether to display an ad or not, i'm just forcing it to reject it.
[Xposed Framework Modules] xdahue:
oh thank you
[Xposed Framework Modules] tangcla:
I noticed after updating to 2.5.2 that the device would get stuck on a boot loop. Lollipop, both Galaxy S5 and Note 4.
[Xposed Framework Modules] wanam:
This mostly has nothing to do with my module.

PM me your logcat while on bootloop.
[Xposed Framework Modules] shinkins:
YouTube's latest version (10.24.57) seems to have negated the module-- panels for ad channels and the like are hidden but video ads play normally now.
[Xposed Framework Modules] tangcla:
It didn't boot loop sorry - it got stuck pm the boot screen. Another reboot and it seemed to be fine.
[Xposed Framework Modules] davidred7697:
Looks like there was a new youtube update today as I'm seeing ads. Just wanted to alert the dev. Thanks!
[Xposed Framework Modules] wanam:
You didn't update the module.
[Xposed Framework Modules] wanam:
You Xposed logs?
[Xposed Framework Modules] Mike B.:
From a few quick tests: no ads here from YouTube 10.24.57 with YouTube AdAway 2.5.2, as expected.
[Xposed Framework Modules] shinkins:
2.5.2 wasn't showing when I looked at the module on Xposed, even after a refresh-- only through the link to the repo, but thanks anyway.
[Xposed Framework Modules] davidred7697:
I don't know what you're trying to tell me. The newest version I see on the xposed downloads tab is 2.5.1. I'm on a rooted OnePlus One, on Lollipop.
[Xposed Framework Modules] wanam:
I'm saying you must provide your xposed logs (get them from xposed installer) when it doesn't work.

But i think you are also running old update, the newest one is 2.5.2, use the mirror if it doesn't show up on xposed installer.
[Xposed Framework Modules] davidred7697:
I'll try the mirror on the first page first to cause you less trouble. Will I still receive updates from xposed framework?
[Xposed Framework Modules] pvsgh:
Does someone know what this new permission is? Looks very fishy.
[Xposed Framework Modules] Mike B.:
Nothing to do with YouTube AdAway and really nothing unusual to worry too much about. Google has been using the "Advertising ID" concept since early 2014. You'll notice that just about every Google app uses that permission (which only allows notifications of ID changes). You can reset your ID in the Google settings, but it only changes which ads are pushed to you, not the fact that ads will be pushed. It's just like Google is actually a business and is trying to sell something. What a shocker! ;)
[Xposed Framework Modules] pvsgh:
Thanks for the explanation.
[Xposed Framework Modules] Frostbiter:
I am unable to boot my devices after installing the latest update on my Sony Xperia Z2 WiFi tablet running PAC rom. I pulled a logcat while the devices was stuck on the boot animation to help. The weird thing was when I first installed it over top of the previous version and restarted, my tablet booted up but my usb headphones did not seem to be working so I unplugged them and rebooted my tablet and that is when it wouldn't boot up. I was able to get the tablet to boot up by remove the app and app data from data\app and data\data respectively. I've tried just installing the 2.5.2 update from the xposed app and from the link in the OP with no success.

Thanks for all your hard work.

EDIT: I have fixed it with the removal of xhalofloating window, the two modules appear not to be compatible with one another, youtube adaway and tablet are working with no problems.
[Xposed Framework Modules] GabbyWC:
Hey, wanam. I just installed xposed-v65-sdk22-x86-by-romracer-20150629.zip on my Google Nexus Player followed by XposedInstaller_3.0_alpha4.apk. I then installed YouTube AdAway v2.5.2, enabled it and rebooted the device. Your module doesn't yet block YouTube video ads on the Nexus Player, however. The Xposed Installer has resource hooks enabled and its log does not display any error messages. The version of YouTube that's installed on the Nexus Player is v1.0.5.5 but it seems to be a variant called "YouTubeLeanback" according to its system folder. Can you please enable ad blocking for this form of the YouTube app?
[Xposed Framework Modules] jurassic512:
Thanks for this!
[Xposed Framework Modules] Sek0n:
The latest version won't show up in xposed for me either, like some others have posted.

I've updated to the one mirrored, but was just wondering if it will update through xposed when it does show up again?

Either way, thanks for the great module!
[Xposed Framework Modules] defim:
Xposed Installer bug, to fix delete database files in cache/ dir of app's directory and forece-restart the app
[Xposed Framework Modules] Sek0n:
Cleared cache, and force stopped from the system app details, and it worked.

Thanks :D
[Xposed Framework Modules] tb87:
Seems to have stopped working. Note 4 tmobile kitkat
[Xposed Framework Modules] wanam:
Post your xposed logs.
[Xposed Framework Modules] tb87:
Here you go

Disregard I'm a dumb ass and didn't see there was an update
[Xposed Framework Modules] lexjay:
PLEASE HELP

i've installed youtube adaway and now, somewhat it interrupts Medscape application. How to add whitelist to this?
[Xposed Framework Modules] hassony2008:
Its worked For Lollipop?
[Xposed Framework Modules] Mike B.:
YouTube AdAway is an Xposed module that "patches" the official YouTube app and has nothing to do with Medscape. Perhaps you should explain exactly how it "interrupts" it, and preferably also post the relevant logs. Before you spend too much time on this, make sure your trouble doesn't come from another Xposed module or even Xposed itself.
[Xposed Framework Modules] gozzaa:
hey there!

i noticed some strange recommended notifications in videos poping up very often

is your app supposed to block these?

it also seems that it doesnt occur on all videos
[Xposed Framework Modules] marknoll:
I would recommend you uninstall the module... Clean cache, wipe dalvik and then reboot. Then reinstall it.. Mike is right though.. Which xposed modules do you have installed?
[Xposed Framework Modules] gozzaa:
what do you mean? what other modules i have installed beside youtube adaway? or what version i have installed?

iam using 2.5.2
[Xposed Framework Modules] marknoll:
Yes. Maybe post a screenshot of the module page in xposed?

---------- Post added at 10:17 AM ---------- Previous post was at 10:16 AM ----------

Example
[Xposed Framework Modules] remo0073:
Yes
[Xposed Framework Modules] gozzaa:
there you go

is there any module that can cause problems?
[Xposed Framework Modules] marknoll:
Boot up manager and security settings

---------- Post added at 01:29 PM ---------- Previous post was at 01:28 PM ----------

And also amplify if u stopped any relevant services
[Xposed Framework Modules] gozzaa:
i have no idea what you are talking about

youtube adaway is working expect this recommended thing
[Xposed Framework Modules] Mike B.:
How about sharing a specific YouTube URL that gives you trouble and letting us know which YouTube version you have (the current 10.25.57?) so that we can try and duplicate your report? Some "recommendations" are embedded in the video itself and can't be hidden or removed while streaming.

I also notice that you seem to use two potentially conflicting modules, "APV YouTube Module 1.0.10" and "Awsome Pop-up Video 1.1.3-xda" which might be best temporarily disabled for testing.
[Xposed Framework Modules] gozzaa:
The video: https://youtu.be/7OOVYYJiKog

Youtube version 10.25.57

As for those modules, I don't have them installed

I also noticed that it only happens on some videos
[Xposed Framework Modules] Mike B.:
Sorry, those conflicting modules were in someone else's screenshot.

As far as I can tell, the "recommendation" you mention is

part of the video

and appears regardless of how you access it. YouTube AdAway can only handle ads generated by the official YouTube app, it has no control over the

contents

of the video. It seems YouTube AdAway is working correctly after all, as expected! ;)
[Xposed Framework Modules] gozzaa:
ah ok, thanks for looking into it!
[Xposed Framework Modules] mattspew:
Not blocking ads as on Nexus 9, CM12.1, Xposed v67-sdk22-arm64, installer 3.0alpha4, YouTube 10.25.57.

Xposed says it's active, YouTube Adaway doesn't have any errors when opening.

Some ads never load and you can't skip them, you have to manually play next clip in playlist.

Some ads play but you can't skip them.

Is there an application log or test I can perform to confirm it's working?

Edit: Confirmed Xposed is installed and working correctly, other modules working.
[Xposed Framework Modules] martinisok:
Same for me, getting ads and can't skip them.
[Xposed Framework Modules] Mike B.:
I see that you posted a similar message in the XHangouts module thread and apparently not all other modules are working for you. I don't know that any dev will be able to help you much without at least some basic Xposed logs.
[Xposed Framework Modules] mattspew:
There isn't much in the log... But the lock screen module is working, so I know Xposed is doing its job.

07-18 18:03:05.402 I/Xposed (21066): -----------------
07-18 18:03:05.402 I/Xposed (21066): Starting Xposed version 67 (by romracer / 20150716), compiled for SDK 22
07-18 18:03:05.402 I/Xposed (21066): Device: Nexus 9 (HTC), Android version 5.1.1 (SDK 22)
07-18 18:03:05.402 I/Xposed (21066): ROM: cm_flounder-userdebug 5.1.1 LMY48G ec5a538b21 test-keys
07-18 18:03:05.402 I/Xposed (21066): Build fingerprint: google/volantis/flounder:5.1.1/LMY47X/1849464:user/release-keys
07-18 18:03:05.402 I/Xposed (21066): Platform: arm64-v8a, 64-bit binary, system server: yes 07-18 18:03:05.402 I/Xposed (21066): SELinux enabled: yes, enforcing: yes 07-18 18:03:05.422 I/Xposed (21066): -----------------
07-18 18:03:05.422 I/Xposed (21066): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
07-18 18:03:06.246 I/Xposed (21066): Detected ART runtime
07-18 18:03:06.269 I/Xposed (21066): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
07-18 18:03:06.497 I/Xposed (21066): Loading modules from /data/app/com.versobit.kmark.xhangouts-1/base.apk 07-18 18:03:06.702 I/Xposed (21066): Loading class com.versobit.kmark.xhangouts.XHangouts
07-18 18:03:06.752 I/Xposed (21066): Loading modules from /data/app/com.dvd.android.xposed.lockscreenmods-1/base.apk
07-18 18:03:06.791 I/Xposed (21066): Loading class com.dvd.android.xposed.lockscreenmods.XposedMod
07-18 18:03:06.798 I/Xposed (21066): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk
07-18 18:03:06.813 I/Xposed (21066): Loading class ma.wanam.youtubeadaway.Xposed 07-18 18:04:36.204 W/Xposed (21328): Package name for /system/framework/framework-res.apk had to be retrieved via parser

---------- Post added at 11:09 PM ---------- Previous post was at 10:28 PM ----------

Okay think I jumped the gun on this one. Its working now.

Even tho I had downloaded-activated-rebooted when adding modules, I did a 3rd reboot and while booting up it showed the Android is updating screen for 7 apps. Strange, don't know why it did that, but it's working now.
[Xposed Framework Modules] tbalden:
working nicely on arm64 and an htc m9+,

thanks.
[Xposed Framework Modules] puneet724:
Youtube Adblock for s6

I want this app but xposed is not compatible for s6. Please advice if their is alternative or any way of getting it run on s6
[Xposed Framework Modules] Mike B.:
Several people are actively working on getting Xposed to work on 64-bit devices and it will probably happen fairly soon but the easiest way to get rid of most YouTube ads is to NOT use that aggressive "official" YouTube app. Consider accessing the YouTube site from your browser or with one of the many third-party apps available.
[Xposed Framework Modules] whynottoday:
Which third-party app is the best one (chromecast compatible)?
[Xposed Framework Modules] Mike B.:
You'll have to try a few and see what works best for you. I don't use YouTube enough to have any dedicated app. I simply use a browser (Firefox or Chrome), sorry.
[Xposed Framework Modules] marknoll:
I use YouTube app 10.25 or older. Works fine.
[Xposed Framework Modules] jj71787:
Not blocking ads on Chromecast. Using a nexus 5
[Xposed Framework Modules] wanam:
And it shouldn't do that, Chromecast does NOT stream from your Nexus YouTube App, it uses your TV YouTube App.
[Xposed Framework Modules] martinisok:
But it used to work before. Also I can't skip the ads have to watch the whole damn thing. Although on my other Samsung phone works as it should.
[Xposed Framework Modules] jj71787:
I don't know what he means that it uses my TV YouTube app. But it used to work like you said and you can't skip ads
[Xposed Framework Modules] shivadow:
Youtube tv.. Youtube android.. Different things. Youtube android doesnt stream to tv it simply hands the link over so xposed has no jurisdiction on the content the tv plays.

Sent from a stolen HTC M9
[Xposed Framework Modules] jj71787:
It used to work no problems. Used to not have any ads on Chromecast
[Xposed Framework Modules] wanam:
Sorry then, i don't own a Chromecast so there's nothing i can do for you if the module is still working on your device.
[Xposed Framework Modules] Mike B.:
I own a Chromecast but I'm a bit confused about exactly what the members are reporting. Some applications directly control the Chromecast internal OS (no Xposed or YouTube AdAway) while others simply mirror the local display/sound, using whatever resources the phone/tablet has.

When the current official YouTube app is used to stream to a Chromecast, all the app does is basically send the URL to the Chromecast's OS and that OS takes over the fetching and displaying of the contents. Once the initial connection is established, the phone/tablet can be completely powered off without any bearing on the video currently streaming on the Chromecast. In that mode, YouTube AdAway has absolutely no control over what is streamed and nothing on the phone/tablet can block or change anything besides sending a command to quit streaming and doing something else.

Another way to show YouTube videos on a Chromecast is to use a mirroring application such as AllCast which can send the audio and video from the phone/tablet to the Chromecast for display on the TV or monitor to which it's connected. In that mode, the phone/tablet controls the contents and YouTube Adaway can do its job.
[Xposed Framework Modules] wanam:
I know that and i think they are NOT using any mirroring App, but when they say that "it was working before" then there is nothing i can do.
[Xposed Framework Modules] dmarden:
The only part the module is impacting (negatively) in my case with a Chromecast is that it is somehow disabling or hiding the skip ad button. That's the only new thing in my case... the module has never impacted the presence of ads when playing via chromecast for me.

So to clarify:

With module enabled and playing via chromecast: Ad plays, ad shows that it can be skipped on the TV but the button is missing on the phone app.

With module disabled and playing via chromecast: Ad plays, ad shows that it can be skipped on the TV and the button is present and working on the phone app.

It's not a huge deal, I just try to remember to disable the module before chromecast streaming.

Android 5.1.1
[Xposed Framework Modules] oroboros74:
bump
[Xposed Framework Modules] _Epic:
This. I can't skip ads now when playing on the Chromecast.
[Xposed Framework Modules] mattspew:
I'm in the same boat; installed and tested and it's not working on Nexus Player.

Would love to see it developed for the YouTube version on the Nexus Player.
[Xposed Framework Modules] Mike B.:
As explained before, YouTube AdAway is only intended to skip ads on the official YouTube application (currently version 10.28.59) and will not work If your device uses another application to access the YouTube site, such as Leanback (intended for Chromecast and similar devices) or a browser.
[Xposed Framework Modules] mattspew:
I'm confused; the Youtube application on the Nexus Player is an official standalone application just like the Youtube application for full Android. I'm not casting from my phone/tablet or using a browser.

The 'skin' for the different platform might be different, but surely they similar underneath.

I'm not asking why it doesn't work, I'm wondering if it can be made to work for both versions of the Youtube applications.
[Xposed Framework Modules] Mike B.:
They are not simply different versions, what you have is a different application from the official android YouTube 10.28.59 (

com.google.android.youtube

). YouTube AdAway uses Xposed to "patch" the full official YouTube app for android from Google. It cannot do anything for other applications or platforms however "similar" their purpose might be. It may or may not be possible to write an Xposed module to patch other YouTube-related apps, but it would have to be an entirely new and different endeavor if it's even realistic for AndroidTV, Chromecast, and related widewine/streaming devices.
[Xposed Framework Modules] wanam:
Upload the apk, i can't promise anything but i will take a look at it.
[Xposed Framework Modules] GabbyWC:
Here's a zip file which contains an APK of YouTube for Android TV. Let's hope for the best!

EDIT: This is actually an older v1.0.4.6 APK of YouTube for Android TV. The latest version (v1.0.5.5) is located in the device's /data/app/com.google.android.youtube.tv-1 folder and can also be downloaded from Google Play at https://play.google.com/store/apps/details?id=com.google.android.youtube.tv.
[Xposed Framework Modules] mattspew:
Awesome, figured crossed.
[Xposed Framework Modules] wanam:
It's an odexed app and you attached the resources part only.

Is it this one?

After checking your file, Google has an other one on the PlayStore, and this one has the same package as yours.
[Xposed Framework Modules] GabbyWC:
I'm sorry about any inconvenience. I wasn't quite familiar with the "odexed" term but it seems to be explained at http://www.redmondpie.com/odexed-vs-deodexed-the-difference-between-the-two-android-roms-explained/. I'll upload the other file you're looking for. As for your links, I believe that Google TV was their older platform. YouTube for Android TV (in the second link) is the correct software and its interface matches that of the app on the Google Nexus Player.