Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,552 Members 47,696 Now Online
XDA Developers Android and Mobile Development Forum

[APP][Xposed][Youtube AdAway][2.0.3]

Tip us?
 
wanam
Old
(Last edited by wanam; 18th August 2014 at 11:13 AM.)
#1  
wanam's Avatar
Recognized Contributor / Developer - OP
Thanks Meter 21,170
Posts: 4,597
Join Date: Jan 2011
Location: Temara

 
DONATE TO ME
Default [APP][Xposed][Youtube AdAway][2.0.3]

This is a simple Xposed module to help you get rid of YouTube ads and branding layers, tested on my GalaxyS4 (Android 4.3) and Nexus5 (Android 4.4+) against the latest YouTube update (5.7.36), it should work on any Android device supported by Xposed framework (Android 4.0+) on some older YouTube updates as well (tested with 5.3.28).

Q: Why this application requires an update for each official YouTube App update.
A: Because the YouTube application sources are proguarded, which means the generated classes names (by Proguard) are changing for each release, this should happen only if a clean proguard (producing a new classes map) is done, that's why we need to update the classes names on YouTube AdAway each time.

What's in:
- Remove YouTube Ads
- Remove Channel Logo
- Remove videos suggestions
- Remove Information card teasers



Requirements:
- Xposed Framework (version 2.3+ , API 31+)
- Root required for Xposed framework installation, you can remove it afterward.

How to Install:
Video by @Teotsi:


- Install Xposed Installer App
- Install Xposed framework through Xposed Installer
- Install YouTube AdAway App (attached)
- Open Xposed Installer App and enable my App on the modules list
- Reboot


Notes:
- Reboot is a MUST after updating YouTube App or my App.
- This application is NOT a modified YouTube App, you can still update your YouTube update with no issues

Bug reports:
- Make sure Xposed framework is installed, YouTube AdAway module enabled, Resources hooks are enabled on Xposed Installer
- Explain clearly your issue and upload your Xposed logs

ChangeLog:
2.0.3 (18/08/2014):
- Hide the Promoted Ad on "What to watch"
- Minor improvements

2.0.2 (06/08/2014):
- Support YouTube 5.9.0.10+
- Add possibility to open the App from modules list when it's hidden (this feature "may" require a re-installation of the application)

2.0.0 (05/06/2014):
- Support the upcoming YouTube update (5.7.36)
- Better ad blocking support for older YouTube versions (Tested with YouTube 5.3.28)
- Remove all remaining proguarded hooks, this will reduce the possibility of incompatibilities with upcoming YouTube updates

1.9.0 (23/05/2014):
- Added some non Proguarded hooks for better compatibility with upcoming YouTube updates
- Merged Channel features, better and generic support to prevent YouTube layouts changes
- Some stability improvements (hide layouts instead of changing their parents)

1.8.1 (18/04/2014):
- Better support for YouTube 5.6.31/32 (removed more layers)

1.8.0 (16/04/2014):
- Support YouTube 5.6.31
- Add an option to hide "Information Card teasers"

1.7.0 (24/03/2014):
- Minor fixes

1.6.0 (13/03/2014):
- Update hooked methods signatures to support YouTube latest update (5.5.27)
- Sanitize Brands Layouts managements to avoid any YouTube FC on the future.

1.5 (24/12/2013):
- Remove the countries restrictions hooks (Not working because the restriction is done on the server side)
- Split branding layer feature to 2 parts : Hide Logo, Hide videos suggestions

1.4 (12/12/2013): (This update requires Android 3.0+ because i switched to the Preference fragments)
- Hide Channel logo
- Hide Videos suggestions
- Reviewed hooks and removed useless ones

1.3 (11/12/2013):
- Remove Branding layers
- Disable Countries restrictions
- Videos flagged as NOT monetized to avoid any ads popups

1.2 (01/12/2013):
- Added a menu option to hide the Application from the App drawer (you may need to reboot your device on some Android versions to apply the changes, not required on Kitkat).

1.1 (29/11/2013):
- Added some checks for Xposed Installer and Xposed framework installation to help new users
- Added 2 translations (Arabic and French)
- Removed the useless preference choice (the module can be enabled/disabled through Xposed Installer)
- Set minimum Xposed framework API level to 31 (when the framework and its config were moved out of /data/xposed)

1.0 (28/11/2013):
- Initial release

Download.

If you are running older Android (GB), you can use this version.

Thanks: to @rovo89 and @Tungstwenty their work on Xposed framework.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-05-23-10-33-35.png
Views:	23590
Size:	28.3 KB
ID:	2758802  
The Following 120 Users Say Thank You to wanam For This Useful Post: [ Click to Expand ]
 
polobunny
Old
#2  
polobunny's Avatar
Senior Member
Thanks Meter 2,406
Posts: 5,975
Join Date: Oct 2011
Location: Montreal
Quote:
Originally Posted by wanam View Post
*snip*
Good job! Will you upload to official Xposed repo?
Please press THANKS if someone helps you!

My current configuration:
 

Device: Samsung Galaxy S3 SGH-i747M
ROM: cm-11-20140827-NIGHTLY-d2lte
Kernel: Harkness
Baseband: I747MVLDMF1
Bootloader: I747MVLDMF1
Governor: Interactive


Older device: Nexus S i9020A
 
wanam
Old
#3  
wanam's Avatar
Recognized Contributor / Developer - OP
Thanks Meter 21,170
Posts: 4,597
Join Date: Jan 2011
Location: Temara

 
DONATE TO ME
Quote:
Originally Posted by polobunny View Post
Good job! Will you upload to official Xposed repo?
Done!
The Following 6 Users Say Thank You to wanam For This Useful Post: [ Click to Expand ]
 
polobunny
Old
#4  
polobunny's Avatar
Senior Member
Thanks Meter 2,406
Posts: 5,975
Join Date: Oct 2011
Location: Montreal
Quote:
Originally Posted by wanam View Post
Done!
Awesome as usual.
Please press THANKS if someone helps you!

My current configuration:
 

Device: Samsung Galaxy S3 SGH-i747M
ROM: cm-11-20140827-NIGHTLY-d2lte
Kernel: Harkness
Baseband: I747MVLDMF1
Bootloader: I747MVLDMF1
Governor: Interactive


Older device: Nexus S i9020A
The Following User Says Thank You to polobunny For This Useful Post: [ Click to Expand ]
 
MIKEMON
Old
#5  
MIKEMON's Avatar
Senior Member
Thanks Meter 639
Posts: 2,163
Join Date: Jan 2012
Location: Prostějov
Perfect, absolutely without error
[XXUGND5] [4.3] I9300 Oficiální firmware CZ,modem XXUGNA8,CSC /XEZ/xposed mods§thémeVodafone
5.4 beta3 test
Boeffla config PRO KEY,
I'm sorry, all for the bad English
 
defim
Old
#6  
Senior Member
Thanks Meter 753
Posts: 1,488
Join Date: Feb 2012
Is it possible to disable this app in Xposed, or is it self-enabling?
Motorola Defy+ aka MB526 Android 4.4.4 Cyanogen Mod
Samsung S4a aka GT-i9295 Android 4.2.2 Google Edition
My Android apps / Xposed modules: show Threads
 
RaYmunDooo
Old
#7  
Junior Member
Thanks Meter 2
Posts: 3
Join Date: May 2012
Thumbs up Thanks

Thanks Mate
 
ameshiya
Old
#8  
ameshiya's Avatar
Senior Member
Thanks Meter 309
Posts: 316
Join Date: Jan 2011
Location: Nador
The ads Are Still There

Usin iT With Wanamlite 3.3 And Latest Xposed beta Version And Nothin Changed
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-11-29-10-42-32.jpg
Views:	3095
Size:	147.7 KB
ID:	2421994  
 
wanam
Old
(Last edited by wanam; 29th November 2013 at 01:46 PM.)
#9  
wanam's Avatar
Recognized Contributor / Developer - OP
Thanks Meter 21,170
Posts: 4,597
Join Date: Jan 2011
Location: Temara

 
DONATE TO ME
Quote:
Originally Posted by ameshiya View Post
The ads Are Still There

Usin iT With Wanamlite 3.3 And Latest Xposed beta Version And Nothin Changed
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.
The Following User Says Thank You to wanam For This Useful Post: [ Click to Expand ]
 
wanam
Old
#10  
wanam's Avatar
Recognized Contributor / Developer - OP
Thanks Meter 21,170
Posts: 4,597
Join Date: Jan 2011
Location: Temara

 
DONATE TO ME
The new update V1.1 requires Xposed framework 2.3+ (API 31+), because it includes some check helpers to detect Xposed installation status.

The Following 2 Users Say Thank You to wanam For This Useful Post: [ Click to Expand ]
Tags
adaway, ads, advertisement, block, youtube
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes