I was playing with my newly flashed cyanogenmod 7.2 on my HTC and accidently set its screen brightness to minmum. The screen went completely dark and I couldn't see anything after turning off my room light. Although I could access recovery, I didn't like to reinstall the system. I paused a while and thought maybe I can access my phone through adb. It did. The problem now is to find a way to set my screen brightness through adb shell. I did some finds (find / -name "*light*"; find / -name "*brighness") and found some files under /sys. I checked some of them using "cat", one file /sys/devices/platform/nov_cabc.0/leds/lcd-backlight/brightness caught my attention. Its value was 0. I tried to reset it using (cat 100 > /sys/devices/platform/nov_cabc.0/leds/lcd-backlight/brightness) and it worked! I didn't have to reinstall system!
I did a google search and some other guy found another way to change the settings in a db file. http://www.slatedroid.com/topic/593-brightness-went-to-0-and-screen-is-off-how-to-fix/page__st__20
No comments:
Post a Comment