Skip to content

Instantly share code, notes, and snippets.

@fartbagxp
Created July 25, 2017 23:28
Show Gist options
  • Save fartbagxp/680728940fe8374297b96c3259bfbf23 to your computer and use it in GitHub Desktop.
Save fartbagxp/680728940fe8374297b96c3259bfbf23 to your computer and use it in GitHub Desktop.
DIAG - Nexus 5x
Root phone.
Enable "Developer Options". If not, Go to "Settings" -> "About phone", scroll down to "Build number" and tap it quickly 7 times. This should cause a new menu item in the "Settings" menu titled, "Developer options"
Open "Settings" -> "Developer options" and under "Debugging", enable "USB debugging".
Connect phone to computer via USB.
Open a command prompt on the computer and run adb devices to see if your phone is recognized.
If so, run adb shell
Next type: su -c 'setprop sys.usb.config diag,adb'
You should have DIAG mode access to run QPST/QXDM/etc. until the next power cycle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment