How to manually change brightness options through adb or ssh
-
I'm having a rather painful issue with my opo at the moment. It's second hand, and I believe the ambient light sensor always had issues. It kind of worked though, and I used the automatic brightness to this day. Then it started flickering, the screen became unresponsive, but I managed to set a fixed brightness after I restarted the phone, and all was good. Sadly, I tried to go back to automatic brightness, and as soon as I triggered the option, the screen went black. Now I can't use the phone, even though everything else is clearly working. I can access recovery or lomiri - just can't see it. So, is there a way I can reset brightness to a fix value through command line, or editing a file ? I really don't want to have to wipe everything. Thanks
-
@emphrath Hey ! For some reason I could access the GUI for a brief moment, just long enough to set brightness back to a set value. So problem fixed for me, but I can't in good conscience mark this topic solved ^^ The question is still worth an answer I guess
-
@emphrath Surely in a darkened room you would have seen the screen. The minimum brightness setting on the device will never leave the screen off. Or at least it shouldn't.
-
@emphrath
I seem to remember Dalton @UniSuperBox mentioning on one of the Q&A sessions (Ubuntu Touch Q&A 107 @ about 15:40) a phone he had with a replacement screen that could have the brightness wound down to nothing. Could your problem be the combination of a light sensor issue and/or an aftermarket or tired screen?
I've got an old Vant laptop https://www.vantpc.es/ that does this, I consider it a security feature -
@moncon Yep, best feature
And yes, now that you mention it, i remember seeing this on the forum, and yes indeed, this is a replacement screen ! So here's the why. Even in pitch black light, nothing was visible on the screen -
If nobody knows a better solution...
https://gitlab.com/ubports/community-ports/pinephone/-/issues/192#note_421235705For example you can play with the minimum value, obviously each device has its own configuration file.
-
@bolly thanks !
-
-