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 29.5k 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.
    • Eric HE Offline
      Eric H @Eric H
      last edited by Eric H

      @_Joao_
      Please, forget what I've written about Camera and Barcodes apps :
      I reinstalled Ubuntu Touch with the installer (wiping all data, using 20.04 Development channel). And now, all apps work fine on focalโ€ฆ

      • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
      • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
      _ 2 Replies Last reply Reply Quote 0
      • _ Offline
        _Joao_ @Eric H
        last edited by

        @eheintzmann ok, the trick I found is to restart the phone before it does it on its own. ๐Ÿ˜•

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

          @eheintzmann hello, do you have any other reboot bugs since your last message?

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

            @_Joao_ hello, sorry for the delay.
            Yes, sadly, my phone still randomly reboot every day.

            • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
            • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
            arubislanderA _ 2 Replies Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @Eric H
              last edited by

              @eheintzmann Is your phone up to date? I haven't had any random reboots for quite a while now.

              ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
              Happily running Ubuntu Touch
              JingPad (24.04-1.x daily)
              OnePlus Nord N10 5G (24.04-2.x daily)
              PinePhone OG (20.04)
              Meizu Pro 5 (16.04 DEV)

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

                @arubislander Yes, my phone is up-to-date. This is probably a surya only issue.

                • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                arubislanderA 1 Reply Last reply Reply Quote 0
                • arubislanderA Offline
                  arubislander @Eric H
                  last edited by

                  @eheintzmann oh, this is the Xiaomi section. I mistakenly assumed it was the Pixel 3a section. That devices used to have this same issue.

                  ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                  Happily running Ubuntu Touch
                  JingPad (24.04-1.x daily)
                  OnePlus Nord N10 5G (24.04-2.x daily)
                  PinePhone OG (20.04)
                  Meizu Pro 5 (16.04 DEV)

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

                    @eheintzmann What a shame this bug.

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

                      Hi @_Joao_

                      A week ago, I tested a script found in this forum :
                      https://forums.ubports.com/topic/6211/howto-alternate-way-of-saving-battery-when-using-4g-lte/70?_=1700961879422

                      As expected, autonomy of my phone was improved.
                      But as a bonus, its stability was also improved.
                      Indeed, I didn't see any random reboot for one week !

                      • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                      • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                      _ 1 Reply Last reply Reply Quote 0
                      • _ Offline
                        _Joao_ @Eric H
                        last edited by

                        @eheintzmann hi
                        Interesting... Maybe the battery is at the end of its life. I've been asking myself this question from the beginning.

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

                          @_Joao_
                          Maybe yes

                          But
                          I've seen random reboot when plugged
                          I didn't see ant random reboots in airplane mode (plugged or unplugged)

                          So maybe notโ€ฆ

                          • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                          • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                          _ 1 Reply Last reply Reply Quote 0
                          • Eric HE Eric H referenced this topic on
                          • _ Offline
                            _Joao_ @Eric H
                            last edited by

                            @eheintzmann hi, the script works to improve battery life, but it doesn't launch with the terminal but by restarting the phone and unfortunately the phone keeps its untimely restart bug. I'm waiting for the stable version of focal to redo a clean installation to see...

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

                              Hi @_Joao_

                              I tested only the 20.04/focal version of this script.
                              In this version, it uses a systemd service to automatically start/restart.
                              No reboot, nor manual, intervention is needed.

                              On my surya, with this script activated, I've never seen any random reboot.

                              • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                              • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                              Eric HE 1 Reply Last reply Reply Quote 0
                              • Eric HE Offline
                                Eric H @Eric H
                                last edited by

                                Possibly, I found something. Possiblyโ€ฆ

                                Just after a random reboot, in the file /var/lib/systemd/pstore/dmesg-ramoops-0, there are these lines :

                                <3>[81418.767313] icnss: Received early crash indication from FW
                                <6>[81418.767688] [irq/42][1563404930635][16:17:26.881053] wlan: [192:I:HDD] wlan_hdd_pld_uevent: 1634: pld event 1
                                <6>[81418.767726] [irq/42][1563404931377][16:17:26.881092] wlan: [192:I:HDD] wlan_hdd_handle_the_pld_uevent: 1565: Driver modules are already closed!
                                <6>[81418.768246] [kworke][1563404941345][16:17:26.881611] wlan: [26935:I:HDD] wlan_hdd_pld_uevent: 1634: pld event 0
                                <6>[81418.768277] [kworke][1563404941953][16:17:26.881643] wlan: [26935:I:HDD] wlan_hdd_handle_the_pld_uevent: 1565: Driver modules are already closed!
                                <3>[81419.310797] Fatal error on modem!
                                <3>[81419.310863] modem subsystem failure reason: EX:kernel:0x0:ims:0xe0:PC=0xd8c08564.
                                <6>[81419.310895] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = SYSTEM.
                                <3>[81419.311017] Ramdump(ramdump_microdump_modem): No consumers. Aborting..
                                <6>[81419.311032] microdump_modem_notifier_nb: do_ramdump() failed
                                <0>[81419.422972] Kernel panic - not syncing: subsys-restart: Resetting the SoC - modem crashed.
                                

                                I found similar logs for the FairPhone 4 at :
                                https://gitlab.e.foundation/e/backlog/-/issues/6096

                                And the solution of the e-foujndation at :
                                https://gitlab.e.foundation/e/devices/android_device_fairphone_FP4/-/merge_requests/23/diffs

                                So maybe, setting two properties will solve the problem :

                                setprop persist.vendor.ssr.enable_ramdumps 0
                                setprop persist.vendor.ssr.restart_level ALL_ENABLE
                                
                                • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                                • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                                Eric HE 1 Reply Last reply Reply Quote 0
                                • Eric HE 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...

                                  • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                                  • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                                  _ 1 Reply Last reply Reply Quote 0
                                  • Eric HE Eric H has marked this topic as solved on
                                  • Eric HE 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

                                    Eric HE 2 Replies Last reply Reply Quote 0
                                    • Eric HE 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.

                                      • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                                      • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                                      1 Reply Last reply Reply Quote 0
                                      • Eric HE 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.

                                        • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                                        • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                                        _ 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.

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

                                            Hi @_Joao_

                                            You are on xenial, aren't you ?

                                            Do you see, sometimes, UI flickering ?

                                            • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                                            • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                                            _ 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better ๐Ÿ’—

                                            Register Login
                                            • First post
                                              Last post