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 7.5k 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.
      • 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
                      • AlainW94A Offline
                        AlainW94 @simox
                        last edited by

                        @simox In my case I wasn't able to recover, I changed the main board for 50$ on AliExpress. It was a Chinese version installed, I changed the proinfo to intl_official and then install ubuntu. The phone is running fine now. By the way, I decompil the libril library and I found 2 interesting entry , one of them is : NvProtectedFile::Unprotect(unsigned char *), I will deeply look at it when I will have time to do 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

                          great... i knew you problem was different.. but while i was looking for a wifi solution, i am sure i saw some infos on how to recover imei too on some kinds of phones..so..

                          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