Skip to content

Instantly share code, notes, and snippets.

@theshapguy
Created October 17, 2016 18:13
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 theshapguy/7944c086731b06be6ce00bec0068c730 to your computer and use it in GitHub Desktop.
Save theshapguy/7944c086731b06be6ce00bec0068c730 to your computer and use it in GitHub Desktop.
Developer Settings Control
Last login: Mon Oct 17 11:48:45 on ttys001
adb shell am start -n com.android.settings/.DevelopmentSettings
shapath@neupane:
[~]: adb shell am start -n com.android.settings/.DevelopmentSettings
Starting: Intent { cmp=com.android.settings/.DevelopmentSettings }
shapath@neupane:
[~]: adb shell am force-stop io.shap.saturn.debug; adb shell setprop debug.hwui.overdraw show
shapath@neupane:
[~]: adb shell am force-stop io.shap.saturn.debug; adb shell setprop debug.hwui.overdraw false
Pointer (Show or Hide (0 or 1))
[~]: adb shell settings put system pointer_location 1
adb shell svc power stayon usb
usage: svc power stayon [true|false|usb|ac|wireless]
Set the 'keep awake while plugged in' setting.
https://github.com/dhelleberg/android-scripts/blob/master/src/devtools.groovy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment