Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Last active May 17, 2018 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save invisiblek/34bd59e402f6be0059ab450aa4e65701 to your computer and use it in GitHub Desktop.
Save invisiblek/34bd59e402f6be0059ab450aa4e65701 to your computer and use it in GitHub Desktop.
<enable usb debugging and root for adb in developer options>
adb root
adb shell "echo 'net.rmnet_data2.user_dns1=1.1.1.1' >> /data/local.prop"
adb shell "echo 'net.rmnet_data2.user_dns2=1.0.0.1' >> /data/local.prop"
adb shell chmod 600 /data/local.prop
adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment