yashsingh1/xdaforums huggingface dataset:
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
Gravity Screen On/Off (in the playstore) or any automation app (I use MacroDroid -again in the playstore) which can use the Proximity Sensor as a trigger can give easy Power Button free use of your Moto G - no root required for either option.

I've used both (I get more control with MacroDroid). I've got a third party folio/flip type case with no magnet. Phone sleeps when it's closed (with a short delay to avoid accidental triggering when in use), wakes when it opens and can also be woken with a quick hand wave over the sensor.
[Moto G Q&A, Help & Troubleshooting] adarsh9628:
please tell me your macrodroid config

coz ive applied proximity sensor to unlock bt next time wen i lock the screen it only turn off but does not lock the screen so please help me...
[Moto G Q&A, Help & Troubleshooting] neu - smurph:
Here you go - http://macrodroid.freeforums.org/post1453.html#p1453
[Xposed Framework Modules] wanam:
This is a simple Xposed module to help you get rid of ads on the official YouTube App.

Requirements:

- Xposed Framwork

How to Install:

- Install Xposed Installer and framework

- Install YouTube AdAway App

- Enable the module on Xposed installer (ex, LSXposed)

- Reboot

Notes:

- Reboot is a MUST after updating the module.

- This application is NOT a modified YouTube App

Bugs Report:

- If you still get an IN-VIDEO ad, please report an issue here with your xposed logs.

Download.

Mirror.
[Xposed Framework Modules] Hippie459MN:
I dont have any issues while using Vanced and SC, along with Magisk too. lol
[Xposed Framework Modules] aladdins4ne:
It was last week. I used the root method.

I got banned from Snapchat 2 days after installing Lucky Patcher & Youtube Vanced. I went to Lucky Patcher and " reinstalled " Snapchat as it was supposed to delete android patches related to Snapchat.

2 days later I got banned once again. I have uninstalled Lucky Patcher and Youtube Vanced, since then no ban from Snapchat (for 1 week)

I think I will try one more time with only Youtube Vanced installed to see what happens but I fear I will definitively banned :p

Other people have experienced the same issue.
[Xposed Framework Modules] Deleted member 6870501:
Don't use the root method. I never have. Best practice for security in general is to only provide root for apps that truly need it. It's considered bad security design to achieve something with root that could also be achieved without root, hence YouTube Vanced providing a non-root version. Just make sure magisk hide is enabled while you're at it
[Xposed Framework Modules] polobunny:
Good job! :) Will you upload to official Xposed repo?
[Xposed Framework Modules] wanam:
Done!
[Xposed Framework Modules] polobunny:
Awesome as usual. ;)
[Xposed Framework Modules] MIKEMON:
Perfect, absolutely without error
[Xposed Framework Modules] defim:
Is it possible to disable this app in Xposed, or is it self-enabling?
[Xposed Framework Modules] RaYmunDooo:
Thanks

Thanks Mate
[Xposed Framework Modules] ameshiya:
The ads Are Still There

Usin iT With Wanamlite 3.3 And Latest Xposed beta Version And Nothin Changed
[Xposed Framework Modules] wanam:
I'm on the same Rom + Xposed beta with no issues, just make sure the module is enabled, clear YouTube App data. and and reboot.

This application was tested against the latest YouTube update (5.3.24) and it's been downloaded more than 1500 in the last 10 hours with no such reports! if you are using any other version upload it.

EDIT: YouTube AdAway V1.1 posted.
[Xposed Framework Modules] wanam:
The new update V1.1 requires Xposed framework 2.3+ (API 31+), because it includes some check helpers to detect Xposed installation status.
[Xposed Framework Modules] hisee:
I am getting ads.. I am on Temasek (cm10.2)

Edit :after updating YouTube nw its working..
[Xposed Framework Modules] ktetreault14:
Could you incorporate this into your other wanam xposed?

Sent from my SM-N900T
[Xposed Framework Modules] wanam:
Do you have a backup of the old one, i want to take a look at it.

I don't think Google will appreciate it on the PlayStore.
[Xposed Framework Modules] shbaldw:
Works like a charm on a 2013 gnex7. For some reason youtube had fcs until I rebooted again. Fixed now.
[Xposed Framework Modules] jsdecker10:
So since you said that this module requires that we be on Xposed Framework 2.3+ (API 31+), I'm gonna assume that this also includes people that are running the new Xposed Framework BETA...? I know for a fact that I haven't installed the BETA yet, but I'm not too sure how I can check and see which Xposed Framework "API" I'm running. When I open up Xposed, I can click on "About" and under "Version of this app:" it shows "2.3.1". How can I check and see which Xposed Framework API I'm running?

Thanks! :good:
[Xposed Framework Modules] wanam:
I'm running the beta2 of Xposed Installer too.

You can check the API version on the framework tab of Xposed installer.

Anyway you will get a notification on the Xposed installer modules list if you are running a lower API level, and you won't be able to activate it, also my App should let you know if the module is not enabled.
[Xposed Framework Modules] jsdecker10:
Thanks for the key info! I took a lil break from fiddling with my phone, but I just now went and messed around a little bit with YouTube and I haven't seen one single embedded "In-Video" ad ! So far, so good!! Thanks man!!! Oh yea, one quick question..how's this module gonna be affected when Google spits out another update to the YouTube app? Is it possible for an update to the YouTube app to "break the functionality" of this module, or do we not really have much to worry about when taking any YouTube updates? Thanks in advance for the info! :good:
[Xposed Framework Modules] ameshiya:
nope im using the latest version with latest xposed beta 2 and i enable it inside the app " disable youtube ads " with latest youtube app ans still the same

i will try to downgrade to non-beta version of xposed and see what happen

regards.
[Xposed Framework Modules] goldenratio:
Thanks for the module!

Feature request: provide an option to hide the app icon. It serves me no purpose once the module is installed, and I prefer not to have extraneous apps in my launcher.
[Xposed Framework Modules] ameshiya:
after rebootin it seems to work flawless

thanks

+1
[Xposed Framework Modules] wilflare:
can someone post screens of how YouTube is supposed to look like when this is working...?
[Xposed Framework Modules] egingell:
It looks like it always looks. The ads that get blocked are the ones that play just before a lot of videos.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] ghostryder12:
Yes, it is playing in the ss.

Via Operation streamline; Stealing your info since 2001 via the NSA van parked outside
[Xposed Framework Modules] jfriend33:
I can confirm this ad block does work on 4.4 but my youtube would fc on 4.2.2

Sent from my unlocked consumer edition Motorola Droid Maxx xt1080m.
[Xposed Framework Modules] EeWin:
My YouTube hangs when I tried to go for landscape view.

Video is not running but the audio is running.

Sent from a •Franco-Carbonized Nexus 5• owner
[Xposed Framework Modules] pitastrudl:
works fine here. try reinstalling adaway and clearing data of youtube.

Sent from my GT-I9505
[Xposed Framework Modules] EeWin:
Uninstalled YT Adway and reinstalled. Cleared Youtube data.

Now even hangs on portrait mode ( audio running , no video ).

Sent from a •Franco-Carbonized Nexus 5• owner
[Xposed Framework Modules] pitastrudl:
do this:

1.uninstall adaway

2.flash latest gapps for your rom

3.wipe cache&dalvik cache

4.reboot, install away,

5.reboot and try.

Im sure its your roms fault. Try another.
[Xposed Framework Modules] shakle:
google blocks apk

google has blocked the apk. when i press on install does not go, while it cancels out. I cleaned the cache and Dalvik but nothing ..
[Xposed Framework Modules] egingell:
They can't block an app without a ROM patch. What do you mean "install does not go"?

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shakle:
when i press on install nothing happens.
[Xposed Framework Modules] egingell:
From where? Screenshot one or two? If the former, you have a third-party app making overlays on your screen for who knows what reason (explained in the Xposed Framework thread).

Both worked fine for me just now, so no, Google is not blocking it somehow.

And if you're referring to the Play Store's install button, it's definitely not being blocked.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shakle:
screenshot two.
[Xposed Framework Modules] egingell:
The overlay theory still applies. Either that our you have Unknown sources disabled and the phone isn't telling you for some reason.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] shakle:
I found the problem. Disabling twlight app (night mode) the button works. Absurd :eek:
[Xposed Framework Modules] therobotking:
Not absurd. Twilight uses an overlay.
[Xposed Framework Modules] bigmem:
I am having issues with youtube, it freezes about 1 minute into all videos. I've removed this module rebooted wiped dalvik and reinstalled youtube but I mnotice ads are still being block even without the module on my phone and youtube just wont play. It buffers for about a minute. If I move slider it plays but then again freezes after a minute. Please help
[Xposed Framework Modules] wanam:
Then it has nothing to do with my module.
[Xposed Framework Modules] bigmem:
Ok so why is it even after I have removed your module that the adverts, the sugestions and the other blocked things still don't come back? I don't have your module on my phone but it seems it is still working in the background.
[Xposed Framework Modules] pitastrudl:
still works fine with latest youtube :good::good::good:
[Xposed Framework Modules] PowerHero:
[MENTION=3562083]wanam[/MENTION] wondering if SDmaid could malfunctioning this module work
[Xposed Framework Modules] Brandon9231:
Speaking solely off experience, no it can't....or hasn't, at least for me anyway. I'm guessing that using higher filters for the app cleaner or databases COULD mess something up but you should be fine if you don't change those too much. Been using both together for years and haven't had any problems caused by SD maid
[Xposed Framework Modules] PowerHero:
Thanks for your feedback
[Xposed Framework Modules] Valiante:
Is it possible to block ads when casting? I have an LG webOS TV if it matters, not Chromecast
[Xposed Framework Modules] BytesReverser:
don't know why it show ads when redirecting youtube video from play store for app promo video it shows ads
[Xposed Framework Modules] Au5t1n:
Not sure why I was getting ads but it stopped, I had forgot that detail about your module. If he was having signature issues shouldn't reinstalling the apk from apkmirror work since they make sure the signatures match the originals?
[Xposed Framework Modules] PowerHero:
[MENTION=3562083]wanam[/MENTION]

Module does not remove channel logo and videos suggestions anymore specially when play videos with full screen
[Xposed Framework Modules] Keagel:
Ads are appearing again out of nowhere, first time I'm seeing ads since I installed this and the update was done days ago now so I guess they changed something without updating
[Xposed Framework Modules] JeffBea:
Same here, I hate ads.
[Xposed Framework Modules] wanam:
Do not expect much by just it that way, post your xposed logs please.
[Xposed Framework Modules] Keagel:
Simply shows these. It seems every time I've had ads they were unskippable ones. Haven't gotten an ad since this morning though, very weird.
[Xposed Framework Modules] Mrzxz:
Ads are now poping up without skip . So full length ads fml . Don't know what triggered this but I did update my YouTube app but the ad blocker was working but after three days after the update it stop working. Please fix this problem. I hate ads , I feel like killing my self sometimes no joke lol
[Xposed Framework Modules] Nergal di Cuthah:
How can he fix without logs, which he just finished (two/three posts before yours) asking for. As well what version of youtube are you using
[Xposed Framework Modules] van_gogh:
Logs or we don't believe you.
[Xposed Framework Modules] avenged06x:
https://imgur.com/gallery/Vm3zm

Here's my log.
[Xposed Framework Modules] mnetwork:
Also getting ads on these versions.
[Xposed Framework Modules] Rakuu:
If you update YouTube done be surprised if you get ads...
[Xposed Framework Modules] mnetwork:
Many times an updated isn't required which is why we are reporting it, so I'm not sure why you saying that. Have to report it so the classes can get updated.
[Xposed Framework Modules] Advanced Chemistry:
dont kill yourself. are you stupid ? maybe he will fix the adblocker - or maybe not. life goes on !
[Xposed Framework Modules] monochrony:
getting adds since today. the same adds are sometimes skippable, somtimes not.

amazon fire tablet with lollipop 5.1.1, youtube app version 12.05.53 from 2017-02-16

xposed installer log:

02-28 04:59:43.744 I/Xposed ( 167): -----------------
02-28 04:59:43.744 I/Xposed ( 167): Starting Xposed version 87, compiled for SDK 22
02-28 04:59:43.744 I/Xposed ( 167): Device: KFFOWI (amzn), Android version 5.1.1 (SDK 22)
02-28 04:59:43.744 I/Xposed ( 167): ROM: cm_ford-userdebug 5.1.1 LMY49J 56fd30316d test-keys
02-28 04:59:43.744 I/Xposed ( 167): Build fingerprint: google/cm_ford/ford:5.1.1/LMY49J/56fd30316d:userdebug/test-keys
02-28 04:59:43.744 I/Xposed ( 167): Platform: armeabi-v7a, 32-bit binary, system server: yes
02-28 04:59:43.744 I/Xposed ( 167): SELinux enabled: yes, enforcing: no
02-28 04:59:46.529 I/Xposed ( 167): -----------------
02-28 04:59:46.531 I/Xposed ( 167): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
02-28 04:59:47.084 I/Xposed ( 167): Detected ART runtime
02-28 04:59:47.116 I/Xposed ( 167): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
02-28 04:59:47.609 I/Xposed ( 167): Loading modules from /data/app/name.mikanoshi.yourtubeplus-2/base.apk
02-28 04:59:47.616 I/Xposed ( 167): Loading class name.mikanoshi.yourtubeplus.XposedMod
02-28 04:59:47.634 I/Xposed ( 167): Loading modules from /data/app/com.blueberry.youtubeswipetoseek-1/base.apk
02-28 04:59:47.641 I/Xposed ( 167): Loading class com.blueberry.youtubeswipetoseek.YoutubeHooker
02-28 04:59:47.660 I/Xposed ( 167): Loading modules from /data/app/ma.wanam.youtubeadaway-2/base.apk
02-28 04:59:47.665 I/Xposed ( 167): Loading class ma.wanam.youtubeadaway.Xposed
02-28 05:01:24.847 I/Xposed ( 3143): YouTube: com.google.android.youtube 12.05.53 loaded!
02-28 05:01:24.852 I/Xposed ( 3143): YouTube AdAway 3.5.0: Trying brute force way...
02-28 05:01:30.602 I/Xposed ( 3143): YoutubeHooker: vr button found: vr_button
02-28 05:01:34.753 I/Xposed ( 3143): YouTube AdAway: Successfully hooked ads DB: srn
02-28 05:01:39.641 I/Xposed ( 3143): YouTube AdAway: Successfully hooked ows constructor!
02-28 05:01:39.644 I/Xposed ( 3143): YouTube AdAway: Successfully hooked ows param=nco
02-28 05:01:41.294 I/Xposed ( 3143): YouTube AdAway: Successfully hooked ad response: lmu
02-28 05:25:01.396 I/Xposed ( 3997): YouTube: com.google.android.youtube 12.05.53 loaded!
02-28 05:25:01.402 I/Xposed ( 3997): YouTube AdAway 3.5.0: Trying brute force way...
02-28 05:25:05.520 I/Xposed ( 3997): YoutubeHooker: vr button found: vr_button
02-28 05:25:06.570 I/Xposed ( 3997): YouTube AdAway: Successfully hooked ads DB: srn
02-28 05:25:08.371 I/Xposed ( 3997): YouTube AdAway: Successfully hooked ows constructor!
02-28 05:25:08.373 I/Xposed ( 3997): YouTube AdAway: Successfully hooked ows param=nco
02-28 05:25:09.686 I/Xposed ( 3997): YouTube AdAway: Successfully hooked ad response: lmu
[Xposed Framework Modules] benny856694:
same here, ads appears with newest version
[Xposed Framework Modules] txx3:
yup
[Xposed Framework Modules] wanam:
It seems some people are still getting some ads that i cannot reproduce! So I open sourced the module, you can find the sources on my Github repo.

I cannot keep following this thread with the way some people are reporting there issues here, report your issues here with your full Xposed logs (text format), and if you are a developer willing to help, feel free to push your merge requests.

That's been said i'm closing this thread.
[Xposed Framework Modules] wanam:
It's been a while :) , i re-opened the thread to get more feed back on the new update.

I was trying to keep updating the module on the past months, but i didn't have much time to improve it the way i wanted, YouTube didn't make this task easier either, working with those proguarded sources was time consuming, add to that i don't get a much ads as people may get on other countries.

I decided to try something else other than the brute force way, so I'm managing the views layouts instead, sources pushed.

I pushed a new module update 4.0.1:

- Get rid of brute force and resources hooking

- Force Skip ad button to stay visible

I also implemented a way to perform a click on skip ad button, but i didn't test it, i didn't manage to get any ads.
[Xposed Framework Modules] kailas6:
Thanks you so much Sir.

I was waiting it for oreo 8.1

Letme test it
[Xposed Framework Modules] Rom:
Hello,

First of all thank you for this follow-up of your module!

I just tested your latest version (4.0.1) on my G3 (7.1.2 - XPosed issued by Magisk module), when playing the first video, no ads at startup, sliding down to reduce the video and to launch a second (any) and it is from the beginning of this second video that a pub appeared at startup.

The famous button to go through the pub has appeared and function because pressing on it so I could pass the Ads.

I enclose here my log XPosed and I also put it on the Github of your project in case ..
[Xposed Framework Modules] 117micc:
Fails to setup ads on pixel xl ruining dirty unicorn 11.7
[Xposed Framework Modules] Raxem:
I am unable to install the module. It says that the package appears to be corrupt. I installed modules before and after trying to installed yours and they installed fine. any ideas? I am on a metropcs stylo 2 plus. Nougat.
[Xposed Framework Modules] Poebat:
I haven't been able to get this module to work since YT 11.32.53. 3.7 was tbe last version to work for me. I tried 4.0 with the latest YT version and I got ads. The skip button is there but it doesn't work. I've tried many different devices as well as many different versions but anything higher than 11.32.53 has ads. Am I doing something wrong? I can provide logs if necessary
[Xposed Framework Modules] Ja_som:
Hello [MENTION=3562083]wanam[/MENTION], thank you for updating this.

I have some errors in Xposed log, but it looks like ads are blocked.
[Xposed Framework Modules] marbertshere:
Hi, thanks for opening this thread. Does the module only work work specific versions of YouTube? I got a couple ads today on 13.01.53. The skip ads button was available, though.
[Xposed Framework Modules] Rakuu:
Did you read the release post at all.
[Xposed Framework Modules] marbertshere:
Sorry, I read the OP just now and the post where he wrote that he reopened the thread and don't see anything regarding YouTube versions. Did I miss another post? I'll keep looking
[Xposed Framework Modules] Rakuu:
And in the post where he said he reopened it he stated how the module works now which directly answers your question.
[Xposed Framework Modules] Nergal di Cuthah:
The changelog states what youtube version wanam tested it against.
[Xposed Framework Modules] shaan277:
+1 same here
[Xposed Framework Modules] KryptonKal-El:
Since I updated to 4.0.2 the icon has been added back to the app drawer. Please fix and hide the icon from the app drawer like before.
[Xposed Framework Modules] marbertshere:
Thank you
[Xposed Framework Modules] wanam:
I posted a new update 4.0.2 yesterday to fix some bugs, unfortunately you may still get some in-video ads, because YouTube plays them on the default view player, so there is no way to distinguish them from normal videos.

I don't want to introduce any hooks of proguarded sources, so for now, i i'm forcing the skip button to stay visible, and attempt to trigger a click when a "setOnClickListener" event is set, sadly it's done a bit too late too 3 to 5 seconds, hopefully i will find a way to distinguish those in-videos ad views or maybe their urls.

I pushed the sources to github, feel free to contribute.
[Xposed Framework Modules] Saiful98:
After updating to v 4.0.2

The app appears on my app drawer

Is it a bug or feature?
[Xposed Framework Modules] wanam:
A feature :D , I keep it commented on my sources, but while debugging, AS requires the launcher intent to install the app on my device, so i may forget it that way it when building the signed apk.

New update 4.0.3 pushed, it will remove that feature, this update should mutes also the "googleadservices.com" requests.
[Xposed Framework Modules] sutobe:
great to see you reopening this thread. Did you get my feedback on github?

with this version (and the one before) ads are very uncommon now, at least from what I could tell . There are the occassional ones like I said mostly when it comes to bigger channels with Star Wars content.

Skip Button works as you described with a little delay, this is still better than trying to watch a video 20x times and always get another Amazon Audiobook ad before the actual clip.

Somewhere you mentioned you're having mid video ads? Guess I am lucky because I haven't had those yet- Several versions before I only got mid video ads when I tried to watch the campaing walkthrough of SWBF2 on IGN, ads didnt play but the screen turned black.

keep up the good work
[Xposed Framework Modules] wanam:
Can you reproduce an ad with 4.0.3 debug version, and post a screenshot of the ad with xposed logs?

Edit:

Debug version: https://www.dropbox.com/sh/xjergwoqvhcbns8/AAAbJ_bXF3xsHhzBkB7T6xRFa?dl=0
[Xposed Framework Modules] Rom:
Hello :)

I just have tested your debug apk version from dropbox link and apparently i get the same result as with 4.0.3

Check my xposed log file in attachment :good:
[Xposed Framework Modules] sutobe:
Can do, but most likely only in 10 or 11 hours
[Xposed Framework Modules] wanam:
There is a line missing in your logs, can you update your YouTube app to 13 version, disable other modules and try again?

No problem, take your time.
[Xposed Framework Modules] Rom:
Hello,

So i have:

- disabled all my xposed module except Youtube AdAway 4.0.3 debug apk

- reboot in classic mode

- start YT app

- launch the first suggested video

- the ads with the button to skip appeared

- i tried directly to skip the Ads buring the button make nothing during arround 3-5 seconds, and it automaticaly swith to the video.

My xposed log file in attachment.
[Xposed Framework Modules] wanam:
Hmm do you always get those ads with the first video, can you update YT to 13, clear its app data and try again?
[Xposed Framework Modules] Rom:
I have make again the test with the v13.01.53, app data cleared, and effectivly i get the ad at the beginning of each video.
[Xposed Framework Modules] wanam:
Of each video! you must be targeted somehow :D

Can you please try attached version and post your xposed logs?
[Xposed Framework Modules] Rom:
To put it to you in as few words as possible: an XPosed module (i don't remember if it was from u or not), worked perfectly with each new update YouTube due to an universal method.

No doubt that since then, Google's devs had a little more headache because after a while the method in question no longer work.

I am not an expert in JAVA and techniques of hooks or even in what perspective you want to go to block theses Ads completely dumb and deceptive, but apparently you're far from the only developer in galley on it..

About this new debug apk, after having make again theses steps:

- Install your new apk

- Reboot

- Deleting app data for YT 13.01.53

- Starting yt app and launch the first video => same result as previously :p

XPosed debug file putted in attachment :good:
[Xposed Framework Modules] qounik:
The Same with me. I just use to use 3.6