Lost IMEI and AT command

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

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

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

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

  • @alainw94
    I use this on my M10fhd to fix wifi losing password.
    maybe you could search this website for ideas.

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

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

  • @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.

  • @alainw94 I was talking about this version of Flyme

  • @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.

  • @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.

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

  • @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 ?

  • @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.

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

Log in to reply

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.