Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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