Skip to content

Instantly share code, notes, and snippets.

@txhai
Last active August 15, 2020 09:10
Show Gist options
  • Save txhai/98de89b889a6acf6d173baed3d5a3c17 to your computer and use it in GitHub Desktop.
Save txhai/98de89b889a6acf6d173baed3d5a3c17 to your computer and use it in GitHub Desktop.
Some essential debug commands of Android-x86
# Add proxy
adb shell settings put global http_proxy <ip>:<port>
# Remove proxy
adb shell settings put global http_proxy :0
# Connect to emulator
adb connect <ip>:<port>
# Connect to target emulator
adb -s <ip>:<port> shell
# Enable write to /system
mount -o rw,remount /system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment