Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- adb devices -l # make sure your gadget is listed
- adb shell # run a shell there
- su # become the root (don't miss confirmation request!)
- mount -o rw,remount /system # allow to write
- vi /system/etc/hosts ## edit the file in place - do what you whant, then <ESC>:wq ##
- mount -o ro,remount /system # get things back to normal
- exit # unroot
- nslookup YourBlockedAdSite.Net # check if it works
- exit # good bye
Add Comment
Please, Sign In to add comment