🔒 Closed Android device adblocker

Status
Not open for further replies.

Shadows07

Journeyman
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
ito ang link : You do not have permission to view the full content of this post. Log in or register now.

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
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 631
    Views
  • 3
    Participants
Last reply from:
Shadows07

Online now

Members online
377
Guests online
1,454
Total visitors
1,831

Forum statistics

Threads
2,275,513
Posts
28,963,781
Members
1,232,826
Latest member
Daniella
Back
Top