Guest User

Untitled

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