What's new

Closed Android adblocker [terminal][busybox]

Status
Not open for further replies.

Shadows07

Addict
Joined
Feb 10, 2015
Posts
136
Reaction
20
Points
96
Must Read!
*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


INTRODUCTION:
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.

REQUIREMENTS:

  • Busybox v1.24.1(Recommended stericsons busybox You do not have permission to view the full content of this post. Log in or register now.)
  • 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 (see how to set permission below)
5. Open terminal and type
$ su
$ adblocker

How to set permission

1. if you are using terminal, run this code
$ su
$ busybox chmod 755 /system/bin/adblocker

2. or you can use any root file manager, go to file properties of adblocker and you will see
permissions, 755 must to look like this

XXX
X-X
X-X

credits: Paget96 of XDADevelopers


Ito pala link don sa adblocker.pdf ...
You do not have permission to view the full content of this post. Log in or register now.
 
boss?
pde naman siguro yung lucky patcher sa Toolbox tab then block ads from device.
yan yung ginawa ko para walang ads forever. :)
mas madali kasi..
 
boss?
pde naman siguro yung lucky pâtcher sa Toolbox tab then block ads from device.
yan yung ginawa ko para walang ads forever. :)
mas madali kasi..
Marami tlga ang paraan ng pagblock ng ADS. Kaya lang nakaka beastmode pag commands ginagamit mo hehehehe :)
 
Status
Not open for further replies.
Back
Top