Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    UNSOLVED How to manually change brightness options through adb or ssh

    Support
    3
    7
    383
    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
      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
        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

        Bolly MonCon 2 Replies Last reply Reply Quote 1
        • Bolly
          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
          2022-Now (Family): Vollaphone 22

          1 Reply Last reply Reply Quote 0
          • MonCon
            MonCon @Emphrath last edited by MonCon

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

            If it isn't broken, take it apart and fix it.

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

              @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

              1 Reply Last reply Reply Quote 0
              • Bolly
                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
                2022-Now (Family): Vollaphone 22

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

                  @bolly thanks !

                  1 Reply Last reply Reply Quote 0
                  • Referenced by  MonCon MonCon 
                  • Referenced by  MonCon MonCon 
                  • First post
                    Last post