Advertisement
metalx1000

ADB Android Screen Brightness

May 23rd, 2020
2,386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.40 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement