UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to manually change brightness options through adb or ssh

    Scheduled Pinned Locked Moved Unsolved Support
    7 Posts 3 Posters 963 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        Emphrath
        last edited by

        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

        E 1 Reply Last reply Reply Quote 1
        • E Offline
          Emphrath @Emphrath
          last edited by

          @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

          BollyB ? 2 Replies Last reply Reply Quote 0
          • BollyB Offline
            Bolly @Emphrath
            last edited by Bolly

            @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.

            2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
            2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

            2020-Now : PinePhone Braveheart & CE UBports
            2020-Now (Family/Daily use): Vollaphone Xenial
            2022-Now (Family/Daily use): Vollaphone 22 Focal

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Emphrath
              last edited by A Former User

              @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 🕵

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                Emphrath @Guest
                last edited by Emphrath

                @moncon Yep, best feature :face_with_tears_of_joy:
                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

                1 Reply Last reply Reply Quote 0
                • BollyB Offline
                  Bolly
                  last edited by

                  If nobody knows a better solution...
                  https://gitlab.com/ubports/community-ports/pinephone/-/issues/192#note_421235705

                  For example you can play with the minimum value, obviously each device has its own configuration file.

                  2015-Now (Daily use) : BQ Aquaris E4.5 Ubuntu edition
                  2016-Now (Daily use) : BQ Aquaris M10 FHD Betatester

                  2020-Now : PinePhone Braveheart & CE UBports
                  2020-Now (Family/Daily use): Vollaphone Xenial
                  2022-Now (Family/Daily use): Vollaphone 22 Focal

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    Emphrath @Bolly
                    last edited by

                    @bolly thanks !

                    1 Reply Last reply Reply Quote 0
                    • System referenced this topic on
                    • System referenced this topic on
                    • First post
                      Last post