Saturday, 24 October 2015

How to block ads without root



Since this is a vanilla android phone, the only real modification I wanted was to change the hosts file to block ads. Turns out you can do that without rooting your phone, but you DO need an unlocked bootloader.

After you're unlocked, you'll need the TWRP recovery image:
http://forum.xda-developers.com/nexu...overy-t3230471

and the flashable hosts file:
http://forum.xda-developers.com/show....php?t=1916098

Reboot into the factory bootloader, then into TWRP:

Code:


fastboot boot twrp-2.8.7.0-bullhead.img

Start ADB Sideload in TWRP and push the flashable hosts file:

Code:


adb sideload MoaAB_ADBlocking_12October2015_R4.zip

Reboot, DON'T install superuser when prompted, and you're done! You'll still have the factory recovery, but you will get the device is corrupt message since this changes the system.

There may be an easier way to do this, but just wanted to put it out there if there's anyone else looking to do the same thing.



No comments:

Post a Comment