YouTube AdAway
This is a simple Xposed module to help you get rid of ads on the official YouTube App, it also supports YouTube TV/Gaming/Kids
What's in:
- Remove in-video YouTube Ads
- Remove Information card teasers
How to Install:
- Install Xposed Installer App
- Install Xposed framework and Xposed Installer
- Install YouTube AdAway App
- Open Xposed Installer App and enable my App on the modules list
- Reboot
Report a bug:
1- Get logs from Xposed Installer
2- Create an issue with the logs attached: https://github.com/wanam/YouTubeAdAway/issues/new
Notes:
- Reboot is a MUST after updating YouTube App or my App
- This application is NOT a modified YouTube App
- You won't get any (signature) issues if you update your official YouTube App
- If you get any issues playing YouTube videos you can just uninstall my App or disable it on the Xposed modules list
Update brute force implementation for new YouTube versions
Tested against YT version 13.34.50
Fixed a bug, and get rid of an expensive hook (I hope it's not still required for some ad cards, let me know if you get any of them).
An other hot fix for Chromecast compatibility.
Fixed a Chromecast bug
- Hide video cards that display Ad tag
- Force expiration of in-videos ads.
This update may cause some YouTube crashes on Android Oreo because of an Xposed bug: https://github.com/rovo89/Xposed/issues/325
You may still get some suggested videos with small ad tag, i will have to identify its view id, it does not seem to follow the ads naming pattern, will try to figure it later.
- Remove app from app drawer (used to forget it because of AS requirement)
- Mute "googleadservices.com" requests.
Unfortunately this may take few seconds (~3 seconds) to trigger the skip button click, because YouTube sets the setOnClickListener event too late.
Skip ad counter, keep skip ad button visible and few other bugs fixes.
Rewrite the module with a new approach, no brute force, no resources hooking.
Tested against YouTube 13.01.52, you can try it against other YT versions and report back any issues.
If still get any ads, follow these steps:
1- Uninstall the module
2- Install debug version from this link: https://www.dropbox.com/sh/xjergwoqvhcbns8/AAAbJ_bXF3xsHhzBkB7T6xRFa?dl=0
3- Clear Xposed logs on Xposed Installer
4- Open YouTube App and reproduce the ad
5- Get logs from Xposed Installer
6- Create an issue with the logs attached: https://github.com/wanam/YouTubeAdAway/issues/new
- Support new YouTube ad props and update brute force logic.
This update should be used with the newest YouTube versions, it may NOT support older YT versions.
Tested against YouTube 12.49.55.
Improve layout hooking.
Technically YouTube manages most of its ads layouts (attachment and visibility) grammatically, so hiding the layouts after the "inflate" event is not enough in this case, i tried to workaround it, but still there are (and was) some cases where the ad card parent layout has a fixed height, hiding the card causes a blank gap on the top of the cards, unfortunately there is no (easy/clean) way to get the parent layout at that time and resize it, because it is not attached yet.
Tested against YouTube 12.43.52
- Re-hide the module from app drawer (enabled accidentally because it is required for debugging under Android Studio)
- Force in-video's ads expiration
Support some new ad layouts and refactored some hooks.
Tested against 12.32.60
3.5.3:
- Disabled verbose logs setting on N builds, we cannot (YET) access prefs from xposed processes, I'm using an experimental xposed build so i'm not sure if this will issue will remain on the official Xposed for Android N.
3.5.2:
- Hide few more ad cards
- Split the Java and resources parts of module to keep hiding the in-videos ads even if resources hooks are disabled
- Android N support: fixed a bug related to restricting access to zygote service from forked threads
- Remove deprecated hooks (non proguarded) and Improve some others
- Hide few more ad cards
- Split the Java and resources parts of module to keep hiding the in-videos ads even if resources hooks are disabled
- Android N support: fixed a bug related to restricting access to zygote service from forked threads
- Remove deprecated hooks (non proguarded) and Improve some others
Support YouTube 12.15.x
- Fake ad response (should cleanup logcat from some useless errors)
- Clear ads table when trying to fetch them (just in case this table gets filled somewhere)
- Added back ads expiration hooks.
- Added YouTube Go support.
- Improve some hooks (Tested against 11.41.56).
Compatibility fixes after the new YouTube code refactoring.
Tested against YouTube 11.39.54.
Hide few more sponsored cards.
- Hide some new ad cards
Fixed offline video saving.
Mark ads as expired.
- Bug fix related to some ads that appears on some rare cases.
- Add a donate button (Donations are more than welcome, but I accept them for the already done work only.)
- New brute force implementation for all YouTube variants (thanks to @nizammoidu for the TV hook).
- Fixed a brute force issue on KitKat builds.
- Hide two new ad cards
- hides some new ad cards
- reduce brute force interval for the latest YT updates
- mute some crashes on the proguarded versions
Fixed a bug with non proguarded YouTube versions.
- Bugs fixes to support both proguared and unproguarded versions of YouTube App (YT 11.3 is proguarded but YT 11.1 and 11.4 are not).
- Added an UI check-box to verbose the logs for bugs reports (default enabled).
YouTube 11.01.53 support.
Added a pop-up to check if the module is active, you can run it from the modules list on Xposed Installer.
Bugs fixes
YouTube Music support.
Bugs fixes.
Bugs fixes
Reworked the module:
- Removed the UI, no need for it since most of users are confusing ads and channel specific popups
- Hide the channel icon
- Generic support for more over-layers
- Hide cards teasers
Reworked the module:
- Removed the UI, no need for it since most of users are confusing ads and channel specific popups
- Hide the channel icon
- Generic support for more over-layers
- Bug fix
Bugs fixes.
Support for new YouTube's layouts
- Hide more suggestions layers
- Fixed YT TV support
- Updated YT TV support.
- Hide a new suggestions header
Add YouTube Gaming support
- Add YouTube TV support
- Minor bug fixe
- Fixed a brute force bug
- Remove useless success logs
- Few more checks to support some new YT changes
- YouTube Kids support
- YouTube 10.11.55 Support
- Brute force implementation instead of static hooks, this should support all older and upcoming (i hope so) YT versions.
YouTube 10.10.52 support.
- YouTube 10.09.56 support
- Self hooking to check module activation
YouTube 10.08.52 support.
- YouTube 10.06.3 support
- Update Xposed checker for Lollipop builds
YouTube 10.05.6 support
YouTube 10.04.5 support.
YouTube 10.03.5 Support
- YouTube 10.02.3 support
- Lower Xposed API requirement 40+ (for MIUI users)
- Updated and added some translations (Thanks to all translators)
Minor bug fix
Support for more new ads layouts.
- YouTube 6.0.11 support
- Use backported fragment support for Android GB (Thanks to kolavar)
- Added many translations (Thanks to all translators: http://transcommu.yasesprox.com/transcommu/Applications/View/252 )