Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Henrique-Miranda/33820493954271161825f0567769aec6 to your computer and use it in GitHub Desktop.
Save Henrique-Miranda/33820493954271161825f0567769aec6 to your computer and use it in GitHub Desktop.
Enable diag by adb
Enable diag
adb devices
adb shell
su
setprop sys.usb.config diag,adb
disable diag
adb devices
adb shell
su
setprop sys.usb.config mtp,adb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment