FORUMS
Remove All Ads from XDA

[Ads][Terminal] AdBlocker v1.0

10,486 posts
Thanks Meter: 28,601
 
Post Reply Email Thread

* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.



An ad blocker that uses the hosts file. The hosts file contains a list of mappings between hostnames and IP addresses. When an app requests an ad, that request is directed to 127.0.0.1 which does nothing. There are options to run a web server to respond to blocked hostnames and to direct requests to the IP address of your choosing. You can download hosts files from the app but it is possible to use your own and to add certain sites to the white- and black-lists.

========= Advantages =========
  • No background processes
  • Using less space than app (file size: ~7kb)

========= Requirements =========
  • Busybox v1.24.1(Recommended stericsons busybox HERE)
  • Minimal ~5MB free space on system partition for hosts file

How to use

1. Download adblocker.pdf from Android File Host
2. Remove .pdf extension
3. Copy adblocker file to /system/bin
4. Set permissions to 755
5. Open terminal and type
Code:
su
adblocker


PAYPAL users can donate me using this link
http://forum.xda-developers.com/dona....php?u=5514152
If you have issues, download paypal app from playstore, that will work
For US users:
"I could not use your paypal donation link or url as you already know as it's not possible to send a donation from USA. I logged into my paypal account and used the option to pay for goods or services to send you the funds."

Thanks a lot, guys

XDA:DevDB Information
AdBlocker, Tool/Utility for all devices (see above for details)

Contributors
Paget96
Source Code: https://github.com/Paget96/AdBlocker


Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2016-01-01

Created 2016-01-01
Last Updated 2016-01-01
The Following 58 Users Say Thank You to Paget96 For This Useful Post: [ View ]
 
 
1st January 2016, 09:40 PM |#2  
Paget96's Avatar
OP Recognized Developer / Contributor
Flag Krusevac
Thanks Meter: 28,601
 
Donate to Me
More
The Following 19 Users Say Thank You to Paget96 For This Useful Post: [ View ]
1st January 2016, 09:40 PM |#3  
Paget96's Avatar
OP Recognized Developer / Contributor
Flag Krusevac
Thanks Meter: 28,601
 
Donate to Me
More
v1.0 - initial version
The Following 12 Users Say Thank You to Paget96 For This Useful Post: [ View ]
1st January 2016, 10:26 PM |#4  
core7x's Avatar
Senior Member
Flag Kuala Lumpur
Thanks Meter: 51
 
More
Nice. Thanks for your work

Sent from my SM-N920C using Tapatalk
The Following 2 Users Say Thank You to core7x For This Useful Post: [ View ] Gift core7x Ad-Free
1st January 2016, 10:35 PM |#5  
Paget96's Avatar
OP Recognized Developer / Contributor
Flag Krusevac
Thanks Meter: 28,601
 
Donate to Me
More
Quote:
Originally Posted by core7x

Nice. Thanks for your work

Sent from my SM-N920C using Tapatalk

Thank you too
2nd January 2016, 01:05 AM |#6  
xenreon's Avatar
Recognized Themer
Thanks Meter: 1,742
 
Donate to Me
More
Another to the list of your great creations XD
2nd January 2016, 01:08 AM |#7  
Caio99BR's Avatar
Senior Member
Flag São Paulo
Thanks Meter: 808
 
More
Wow, simple and efficient!
Thanks for this .
2nd January 2016, 01:11 AM |#8  
Paget96's Avatar
OP Recognized Developer / Contributor
Flag Krusevac
Thanks Meter: 28,601
 
Donate to Me
More
Quote:
Originally Posted by sdeepb

Another to the list of your great creations XD

Quote:
Originally Posted by Caio99BR

Wow, simple and efficient!
Thanks for this .

Thanks guys
I hope that this will be useful
The Following User Says Thank You to Paget96 For This Useful Post: [ View ]
2nd January 2016, 01:12 AM |#9  
xenreon's Avatar
Recognized Themer
Thanks Meter: 1,742
 
Donate to Me
More
Quote:
Originally Posted by Paget96

Thanks guys
I hope that this will be useful

Maybe I'll include in my rom after exams
The Following User Says Thank You to xenreon For This Useful Post: [ View ] Gift xenreon Ad-Free
2nd January 2016, 02:36 AM |#10  
Paget96's Avatar
OP Recognized Developer / Contributor
Flag Krusevac
Thanks Meter: 28,601
 
Donate to Me
More
Quote:
Originally Posted by sdeepb

Maybe I'll include in my rom after exams

Nice
Thank you
The Following 2 Users Say Thank You to Paget96 For This Useful Post: [ View ]
2nd January 2016, 04:45 AM |#11  
LordArcadius's Avatar
Senior Member
Flag Delhi
Thanks Meter: 1,720
 
Donate to Me
More
That's something cool again! Once again you rocked that man. Keep your good work up always. Btw wishing you and whole XDA family a very happy new year and also congratulations for getting 14K+ Thanks. @Paget96 bro don't you think that its the time for your RD title too? xD
The Following User Says Thank You to LordArcadius For This Useful Post: [ View ] Gift LordArcadius Ad-Free
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes