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

    Lost IMEI and AT command

    Scheduled Pinned Locked Moved Support
    22 Posts 6 Posters 4.9k Views 2 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.
      • AlainW94A Offline
        AlainW94
        last edited by

        hi, I have lost the two imei on my pro 5 after an ota installation. I found on the web that sending only two AT command to the modem can help us to write them again. I don't find on ofono the dbus addresses to send AT command, do you know what it is ? otherwise, which tty can I use to direct connect the modem without ofono ? they are a lot of them...

        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
        Never forget that they are much more ideas inside two heads than in one...

        advocatuxA 1 Reply Last reply Reply Quote 0
        • AlainW94A Offline
          AlainW94
          last edited by

          It seems like the /dev/socket/rild and rild2 are the modem connections, ho can I connect to them on terminal please ?

          Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
          Never forget that they are much more ideas inside two heads than in one...

          1 Reply Last reply Reply Quote 0
          • advocatuxA Offline
            advocatux @AlainW94
            last edited by

            @alainw94 hi, have you tried this https://forums.ubports.com/post/9188?

            AlainW94A 1 Reply Last reply Reply Quote 0
            • AlainW94A Offline
              AlainW94 @advocatux
              last edited by

              @advocatux Hi yes I tried it but it didn't help , I still mess the two IMEI !
              any other idea please ?

              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
              Never forget that they are much more ideas inside two heads than in one...

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                matteo
                last edited by

                By the chance, did you install Anbox on your Pro5? When I installed it on my Pro5, I lost the IMEI numbers but after an image wipe, i.e. changed channel, IMEI numbers came back.

                AlainW94A 1 Reply Last reply Reply Quote 0
                • M Offline
                  Marathon2422 @AlainW94
                  last edited by

                  @alainw94
                  ****s://www.skyneel.com/how-to-fix-nvram-error-in-all-mediatek-devices
                  I use this on my M10fhd to fix wifi losing password.
                  maybe you could search this website for ideas.

                  AlainW94A 1 Reply Last reply Reply Quote 0
                  • AlainW94A Offline
                    AlainW94 @matteo
                    last edited by

                    @matteo unfortunatly not, Why can andbox help to fond the again ?

                    Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                    Never forget that they are much more ideas inside two heads than in one...

                    M 1 Reply Last reply Reply Quote 0
                    • AlainW94A Offline
                      AlainW94 @Marathon2422
                      last edited by

                      @marathon2422 hi thanks for your help, unfortunatly this did not help... I still mess my IMEI... 😢

                      Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                      Never forget that they are much more ideas inside two heads than in one...

                      S 2 Replies Last reply Reply Quote 0
                      • S Offline
                        Stefano @AlainW94
                        last edited by

                        @alainw94 The only way (probably) is install Flyme Global(International) version, the one with possibility to unlock the bootloader, then start the phone normally, grant usb debugging under developer options, cope the very same Flyme version update.zip to phone, reboot to recovery and select to update and wipe as well. This method is proven to work on Android (Flyme ) I have once ( or more times) lost IMEI while playing around with UT and Flyme and RR, anyway, this is how I restored it.
                        Then just flash back the ubuntu touch recovery and flash the desired version of UT with Ubports installer or ubuntu-device-flash . Probably backup your files before you do this and DO NOT flash Flyme a (chinese) version, otherwise might expect trouble with changed ID of the phone to Chinese and would require the whole process of changing it again to Global/International and unlocking the bootloader... Anyway, has your Pro5 come as an Ubuntu Touch version, or just you converted the Android version? Mine was Android and can confirm successfully restoring the IMEI that way.

                        AlainW94A 2 Replies Last reply Reply Quote 0
                        • S Offline
                          Stefano @AlainW94
                          last edited by

                          @alainw94 I was talking about this version of Flyme

                          1 Reply Last reply Reply Quote 1
                          • M Offline
                            matteo @AlainW94
                            last edited by

                            @alainw94 I think you misunderstood...when I installed Anbox then my phone lost the IMEI number for some reason. I was just wondering if you made the same but from your answer it is clear you didn't so the reason why you lost the IMEI should be something else. However, try to follow Stefano's suggestion above and flash again Flyme in order to recover your IMEI.

                            1 Reply Last reply Reply Quote 1
                            • AlainW94A Offline
                              AlainW94 @Stefano
                              last edited by AlainW94

                              @stefano hi! Many thanks for your answer, I will try your solution, the phone was initially running Android, I convert it to Ubuntu 2 days after buying it. I should have the international version somewhere on my computer. I'll keep you informed.

                              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                              Never forget that they are much more ideas inside two heads than in one...

                              S 1 Reply Last reply Reply Quote 1
                              • S Offline
                                Stefano @AlainW94
                                last edited by

                                @alainw94 Just backup all your files before you do it, otherwise you loose them. If in troubles, let me know

                                1 Reply Last reply Reply Quote 1
                                • AlainW94A Offline
                                  AlainW94 @Stefano
                                  last edited by

                                  @stefano hi ! I tried it. I revert back to flyme os daily. once started, I did it again. I still don't have IMEI. one interresting things is that on one of the update.zip from Flyme OS, I found two files, one is a binary nammed machine_match, it is working like that: machine_match filetoread. The second file is imei.dat so I tryed :

                                  ./machine_match imei.dat

                                  and the result was my two IMEI numbers.

                                  I:IMEI[0]: [8686.........]
                                  I:IMEI[1]: [8686.........]

                                  So they are readed from the ROM but now, how can I copy them back to the nvram ?

                                  Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                  Never forget that they are much more ideas inside two heads than in one...

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    Stefano @AlainW94
                                    last edited by

                                    @alainw94 no idea mate, but maybe someone else could help? When updating , have you choose to ''wipe'' as well or not? Because by selecting the ''wipe'' and update after, the IMEI should be restored.

                                    AlainW94A 1 Reply Last reply Reply Quote 0
                                    • AlainW94A Offline
                                      AlainW94 @Stefano
                                      last edited by

                                      @stefano yes I choose the wipe option on the recovery mode and system update ... I will maybe have to buy a new motherboard 😞

                                      Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                      Never forget that they are much more ideas inside two heads than in one...

                                      S 2 Replies Last reply Reply Quote 0
                                      • S Offline
                                        Stefano @AlainW94
                                        last edited by

                                        @alainw94 Strange...

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Stefano @AlainW94
                                          last edited by

                                          @alainw94 Sorry I couldn't help.

                                          AlainW94A 1 Reply Last reply Reply Quote 0
                                          • AlainW94A Offline
                                            AlainW94 @Stefano
                                            last edited by

                                            @stefano I will try to disassemble the smiril library in order to check what part and addresses of the nv_protected.bin are accessed to read the IMEI. I will maybe able to write it again like that.

                                            Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                                            Never forget that they are much more ideas inside two heads than in one...

                                            1 Reply Last reply Reply Quote 0
                                            • S Offline
                                              simox
                                              last edited by

                                              i used the root terminal to write wifi files to nvram.. that worked to solve wifi always asking for password.

                                              AlainW94A 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post