metalx1000

ADB Android Screen Brightness

May 23rd, 2020
1,838
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ADB Android Screen Brightness
  2. #press power button to turn on screen
  3. adb shell input keyevent 26
  4.  
  5. #screen brightness is between 0 and 255
  6. #get current screen brightness
  7. adb shell settings get system screen_brightness
  8.  
  9. #set screen brightness
  10. adb shell settings put system screen_brightness 10
  11. adb shell settings put system screen_brightness 100
  12. adb shell settings put system screen_brightness 255
RAW Paste Data