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
      last edited by Eric H

      Hello,

      I've freshly installed Ubuntu Touch (OTA-25) on my Xiaomi Poco X3 NFC.
      Everything seems to work fine, except that after a few hours (a night's rest, for example), the phone locks itself and I can't, any longer, receive SMS, phone calls or notifications.
      To unlock it, I must reenter the PIN code of the SIM card (fingertips are not accepted at this moment)
      I don't know what exactly happens, maybe unexpected reboot ?

      Please, how can I debug (or solve) this issue ?

      Thanks

      • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
      • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
      arubislanderA IanI 2 Replies 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
        • arubislanderA Offline
          arubislander @Eric H
          last edited by

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

          To unlock it, I must reenter the PIN code of the SIM card (fingertips are not accepted at this moment)

          Are you sure it is your SIM card's pin code you need to enter? As far as I know fingerprint unlock is not implemented for SIM pin's on any device, only regular device unlock is.

          If you do mean device unlock, then yes your device probably rebooted itself when you were not looking, as fingerprint unlock does not work after a reboot (this is not a bug, it is a security feature).

          Random reboots had not yet been reported for OTA-25, though, so that is indeed weird.

          ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
          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 2
          • IanI Online
            Ian @Eric H
            last edited by Ian

            @eheintzmann You can check to see if your phone has rebooted by opening the terminal and entering

            uptime

            Followed by return. This should tell you how long your system has been up (since the last reboot). I'm sure this info used to be available from the GUI but I can't find it.

            EDIT:

            Install Ubuntu Info from the Openstore. Open it up and click on 'System', the uptime is displayed on about the 9th line.

            1 Reply Last reply Reply Quote 2
            • Eric HE Offline
              Eric H
              last edited by Eric H

              @arubislander

              Are you sure it is your SIM card's pin code you need to enter?

              Since I use same PIN code for SIM and device, yes, there is a
              doubt.
              As I remember, this morning it demanded two code.
              I will confirm that next time it happens.

              @Ian

              You can check to see if your phone has rebooted by opening the terminal and entering uptime

              I typed uptime -p into the terminal :
              up 13 hours, 22 minutes

              The device has rebooted in the night (~00:30) when I was sleeping

              • 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 said in PIN Code needed after a few hours:

                As I remember, this morning it demanded two code.
                I will confirm that next time it happens.

                That makes sense, yes. One pin for the sim and one for device unlock. I am not sure which one gets asked for first.

                ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                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 Eric H

                  Same issue this morningโ€ฆ

                  @arubislander
                  The SIM pin is asked first :
                  SIM.jpeg

                  The device pin is asked secondly :
                  POCO.jpeg

                  Uptime command says the phone has rebooted again last night when i was sleeping :

                  uptime -s
                  2023-04-14 03:15:28
                  
                  • 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

                    I tried, in a terminal, as root, a :

                    grep -r -E "14 03:1[0-5]" /var/log
                    

                    I got these messages (repeatedly, with different timestamps) in syslog

                    batt power supply prop 121 not supported
                    calculate esr condition not satisfy.
                    check_reduce_fcc_condition: cp_charge_enabled(0), charge_status(4), charge_type(1), batt_health(1)
                    GLib: Source ID 190 was not found when attempting to remove it
                    longcheer ,step_otg_chg_notifier_call:reverse_charge_state=0
                    [Networ][903861249927][01:14:42.391051] wlan: [2137:I:HDD] hdd_report_max_rate: 4201: Reporting legacy rate 540
                    QCOM-STEPCHG: handle_jeita: BATT_TEMP = 205 FCC = 6000000uA FV = 4480000uV
                    QCOM-STEPCHG: handle_jeita: BATT_TEMP = 206 FCC = 6000000uA FV = 4480000uV
                    QCOM-STEPCHG: handle_jeita: handle_jeita:fastcharge_mode=0
                    QCOM-STEPCHG: handle_jeita: lct ffc_chg_term_no_work=0
                    QG-K: qg_process_tcss_soc: [qg_process_tcss_soc] qg_iterm_ua=-350000
                    [schedu][902462849916][01:13:29.557718] wlan: [10250:W:PE] lim_process_probe_rsp_frame: 200: Recved Probe Resp from AP,AP-alive
                    
                    • 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

                      ...and in repowerd.log

                      ...
                      repowerd[1791]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=fully_charged, percentage=100.00, temperature=0.00
                      repowerd[1791]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=fully_charged, percentage=100.00, temperature=20.50
                      ...
                      repowerd[1791]: UnityScreenService: dbus_emit_Wakeup()
                      repowerd[1791]: UnityScreenService: dbus_requestSysState(:1.119,ubuntu push client,1)
                      repowerd[1791]: UnityScreenService: dbus_requestSysState(:1.119,ubuntu push client,1) => 191
                      repowerd[1791]: DefaultStateMachine[c1]: disallow_suspend
                      repowerd[1791]: UnityScreenService: dbus_clearWakeup(:1.102,16931047011837021299)
                      repowerd[1791]: UnityScreenService: dbus_requestWakeup(:1.102,indicator-datetime,1683450000)
                      repowerd[1791]: UnityScreenService: dbus_requestWakeup(:1.102,indicator-datetime,1683450000) => 2510192338359437113
                      
                      • 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

                        The device rebooted itself again last night

                        uptime -s
                        2023-04-14 23:43:47
                        
                        • 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

                          @eheintzmann
                          The device continue to reboot every day.
                          And I have no idea whyโ€ฆ

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

                            @eheintzmann There was a similar issue on the Pixel 3a on Focal that has recently been fixed, if I am not mistaken. But as such I would think that it is a device specific issue. I wonder if any other users of the Poco X3 NFC are experiencing the same behavior. I will move your post to that sub-forum to increase it's visibility there.

                            ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                            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)

                            arubislanderA 1 Reply Last reply Reply Quote 0
                            • arubislanderA Offline
                              arubislander @arubislander
                              last edited by

                              @arubislander A Poco X3 NFC subforum does not exist, and I do not seem to be able to create one. So I will move it to the Xiaomi subforum instead.

                              But while looking there I also found this post of a user with a similar issue.It would seem to be something that plagues this device in particular, so contacting the porter / maintainer would be a logical next step.

                              ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                              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
                              • arubislanderA arubislander moved this topic from Support on
                              • _ Offline
                                _Joao_
                                last edited by

                                Hi Eheintzmann,
                                i have the same problem.

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

                                  @_Joao_
                                  Hi,

                                  I've updated to the latest 16.04 candidate (version 13) of Ubuntu Touch.
                                  I'm going to watch, in the next days, if our issue is fixed in this version.

                                  • 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
                                    ok keep us posted

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

                                      @_Joao_
                                      The phone rebooted again this morning.
                                      According to https://devices.ubuntu-touch.io/device/surya#releaseChannels, the candidate version (13) of UT I used was released at the same date (4/17/2023) than the stable version (2). They are probably the same version.
                                      I updated today to the development version (690). Let's see if it still reboots daily.

                                      • 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 arubislander

                                        @eheintzmann Software development is not magic. If something is causing your device to reboot daily, it will not fixed by randomly switching channels and applying updates. If the cause is not known, it is very unlikely to get fixed, even if by accident.

                                        We need to go about this systematically.
                                        First off, there is at least one other user with the same issue. This means there are probably more, but they hadn't noticed it as yet. The question is if there are others with this device that do not face the same issue? If so, then it is not an issue with the port. It may still have something to do with the state of the device before flashing UT on it, possibly, or some hardware state triggering a reboot. But that is move ahead of things.

                                        The main question is: Do all Xiaomi Poco X3 NFC owners face daily automatic reboots on 16.04?

                                        ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                                        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
                                          I've read there is a hotfix for OTA 25. I would like to try this hotfix before contacting the porter. Since I didn't find information on versions in the candidate and development channel (is the hotfix applied ? Which bugs are fixed by the hotfix ?), what other options than testing them one after one ?

                                          About the main question, are there other means to contact the other X3 NFC users than the UBPorts Forum ?

                                          • 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 The hotfix tried (and possibly failed) to address an issue where devices would refuse to boot successfully. Your issue is totally different and will not have been addressed by the hotfix.

                                            ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                                            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
                                            • arubislanderA Offline
                                              arubislander @Eric H
                                              last edited by

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

                                              are there other means to contact the other X3 NFC users than the UBPorts Forum ?

                                              This is a good question. Maybe a query on the main Telegram chat group might help?

                                              ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ณ๐Ÿ‡ฑ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ช๐Ÿ‡ธ
                                              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

                                              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