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

    PIN Code needed after a few hours

    Scheduled Pinned Locked Moved Solved Xiaomi
    73 Posts 6 Posters 16.1k 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
        Eric H @Eric H
        last edited by Eric H

        Before settings properties :

        $ cat /sys/bus/msm_subsys/devices/subsys*/restart_level
        SYSTEM
        SYSTEM
        SYSTEM
        SYSTEM
        SYSTEM
        SYSTEM
        SYSTEM
        
        

        After settings properties :

        $ cat /sys/bus/msm_subsys/devices/subsys*/restart_level
        RELATED
        RELATED
        RELATED
        RELATED
        RELATED
        RELATED
        RELATED
        

        Let's see if there are still random reboots in the next few days...

        _ 1 Reply Last reply Reply Quote 0
        • E Eric H has marked this topic as solved on
        • E Eric H has marked this topic as unsolved on
        • _ Offline
          _Joao_ @Eric H
          last edited by

          @eheintzmann it's all a bit complicated for me... But actually this report seems logical because in airplane mode the phone does not turn off by itself

          E 2 Replies Last reply Reply Quote 0
          • E Offline
            Eric H @_Joao_
            last edited by

            Since I installed UT on my phone (xenial first, then focal afterward), I have never taken 24 hours of uptime.
            But with the changes indicated in my preceding posts, I have reached 3 days of uptime today.

            1 Reply Last reply Reply Quote 0
            • E Offline
              Eric H @_Joao_
              last edited by Eric H

              Hi @_Joao_

              If you also want to test this solution, just type in a terminal these lines :

              setprop persist.vendor.ssr.enable_ramdumps 0
              setprop persist.vendor.ssr.restart_level ALL_ENABLE
              

              Nothing else is necessary, and it survives a reboot.
              Of course, these settings are reversible if needed.

              _ 1 Reply Last reply Reply Quote 0
              • _ Offline
                _Joao_ @Eric H
                last edited by

                @Eric-H
                Hi Eric, I'd like to thank you and the developers because the previous operations solved the problem; the phone no longer restarts by itself and I've gained +/- 6 hours of autonomy, which is really cool.

                Thanks again and best wishes for 2024.

                Note: if I can help with other tests to further the community, I'd be delighted to do so.

                E 2 Replies Last reply Reply Quote 0
                • E Offline
                  Eric H @_Joao_
                  last edited by

                  Hi @_Joao_

                  You are on xenial, aren't you ?

                  Do you see, sometimes, UI flickering ?

                  _ 1 Reply Last reply Reply Quote 0
                  • _ Offline
                    _Joao_ @Eric H
                    last edited by

                    @Eric-H
                    yes xenial.
                    yes, it happens sometimes...I restart and the symptom disappears.
                    there's also a bug when I launch waydroid several times, the phone crashes and restarts by itself.

                    E 2 Replies Last reply Reply Quote -1
                    • E Eric H has marked this topic as solved on
                    • E Offline
                      Eric H @_Joao_
                      last edited by

                      @_Joao_ said in PIN Code needed after a few hours:

                      yes, it happens sometimes...I restart and the symptom disappears.

                      It happens on focal too.
                      I am trying to understand where this flickering comes from.
                      If you have any ideas...

                      there's also a bug when I launch waydroid several times, the phone crashes and restarts by itself.

                      I think this is fixed on focal.

                      In case you are not aware, we have now a 20.04/RC channel for surya

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Eric H @_Joao_
                        last edited by

                        Hi @_Joao_
                        Have you upgraded to focal/20.4 stable ?

                        _ 2 Replies Last reply Reply Quote 0
                        • _ Offline
                          _Joao_ @Eric H
                          last edited by

                          @Eric-H
                          hi Eric,
                          no I'm on 16.04 (OTA 25) but I'll look at updating to focal, thanks I'm a bit late on updates...

                          1 Reply Last reply Reply Quote 0
                          • _ Offline
                            _Joao_ @Eric H
                            last edited by

                            @Eric-H
                            Hi Eric,

                            I switched to focal stable and the phone works much better, no more reboots when activating waydroid.

                            I also recovered the battery graph and I have a battery life of +/- 24 hours with normal use.

                            Some applications no longer work, such as the tor browser, and there are 3 or 4 sentences in the menus that aren't translated into French, but that's not a problem.

                            GPS works with pur map and OMS Scout server.

                            Thanks to the developer and the community, I use my phone on a daily basis and it works very well.

                            I can't wait for the next stable update, as I can already feel the power and stability of this Ubuntu focal version.

                            1 Reply Last reply Reply Quote 2
                            • E Offline
                              Eric H @_Joao_
                              last edited by Eric H

                              @_Joao_ said in PIN Code needed after a few hours:

                              @Eric-H
                              Hi Eric, I'd like to thank you and the developers because the previous operations solved the problem; the phone no longer restarts by itself and I've gained +/- 6 hours of autonomy, which is really cool.

                              Thanks again and best wishes for 2024.

                              Note: if I can help with other tests to further the community, I'd be delighted to do so.

                              Please, may I ask your help with the flickering issue ?

                              Could you do a simple test ?

                              1. Wait for flickering

                                1. Remove ~/.cache/UBports/lomiri/qmlcache directory
                                  rm -r /home/phablet/.cache/UBports/lomiri/qmlcache
                                  
                                2. See if there is still flickering (probably yes)
                              2. (if still flickering)

                                1. go to sleep mode (by quick power button pressure, for example)
                                2. resume (by quick button pressure)
                                3. see if there is still flickering
                              3. (if still flickering)

                                1. Close all open apps (morph, telegraph…)
                                2. see if there is still flickering (probably not)

                              If flickering is still here, redo the previous test but deleting ~/.cache/mesa_shader_cache directory this time

                              Thanks

                              E 1 Reply Last reply Reply Quote 0
                              • E Offline
                                Eric H @Eric H
                                last edited by

                                For information, before closing this thread :

                                The flickering issue has been fixed in 20.04 devel channel :

                                https://gitlab.com/ubports/porting/community-ports/android10/xiaomi-poco-x3/xiaomi-surya/-/commit/9d36e8d5986b2bf21afed7feff46baaa7c7535c9

                                Thanks to @_Joao_ and everybody on pocox3 telegram channel for their help

                                1 Reply Last reply Reply Quote 0
                                • E Eric H has marked this topic as solved on
                                • First post
                                  Last post