I was using stock Android Pie with build ALI_PPSS29.55-24-2 on my Moto G6 (ALI, XT1925-13). It was also rooted using Magisk. After more than an year the performance degradation happened and I thought to do a factory reset using the menu option in Settings.

Do not know why the reset operation did not help and ended up in boot loop.

At this juncture I thought to restore the ALI_PPSS29.55-24-2 ROM image and also thought to install RevengeOS which is Android 10 from XDA.

Flashed the latest TWRP for my phone, copied the downloaded image zip file from the XDA page and installed. All went well but the network was not detected at all. Worried with that, I tried to reach out the telegram group but it did not help.

Left alone, I thought to restore ALI_PPSS29.55-24-2 and successfully returned to Android Pie (9). However the network is not detected. Typing *#06# shows bar code with IMEI as 0.

I now read that I should have backed up the EFS partition which was not known. When the instructions for the installation said to backup, I only backed up my files and not the EFS partition.

Is there any options left? Any help is appreciated. Thanks.

The reason for me to raise this as a new question is that time had moved on and the options/suggestions for other question might not work or might have improved.

FYI: I have the back up of persist folder which I am not sure whether is still intact.

Edit : after "Adb reboot bootloader" I can toggle to "Barcode" option and it displays the IMEI number correctly. Also seen with command "fastboot getvar all" - as said in this XDA forum:

Your IMEI is not lost, it's just sitting there. You can see it in fastboot using "fastboot getvar all" command, and in the "Barcode" in bootloader menu. Any attempt in writing IMEI via QPST tool is futile, because our device is write protected.

Update: Flashed PPSS29.55-24-2 stock Pie image - all went well except the SIM/network/IMEI

  • 2
    If this is like other Moto devices (G3-G5) I have worked with, then the only option is to flash the official stock image via fastboot... you will either get your IMEI back or you need to send it to Moto for repair. Honestly, the likelihood of recovering it is slim. I am leaving this as a comment as I have been out of the "Moto world" for a few years and don't the resources to give a proper answer with links and instructions anymore, but finding them on XDA or using Google should not be difficult.
    – acejavelin
    Jul 10, 2020 at 13:07
  • Thanks for the suggestion, indeed I have opened many XDA posts but all end up somewhere in middle and has one incompatibility or other (like for example, the solution provided is for G5 and not G6 etc).
    – Narayanan
    Jul 10, 2020 at 16:48

1 Answer 1


[Solved] I read in many XDA posts that IMEI might not be actually lost by installing custom ROM, but it might be just a case that the permission might have been changed. To verify, see if the IMEI number is shown in boot loader or bar code screen, if so then this is the case. Since my case is also similar, those posts suggested to flash factory image to restore the IMEI. I am not sure why it did not happen when I tried the same with the version that I already downloaded and have flashed already which is ALI_RETAIL_9.0_PPSS29.55-24-2.

Somehow inexplicably this did not work even though I tried to flash many times.

I stumbled on an XDA post which showed me a repository of factory images of various phones and in my phone case (Moto G6 ALI XT1925-13), I found the latest images from here.

From this site, I downloaded latest ALI_RETAIL_9.0_PPSS29.118-15-11-9 image and flashed which worked.

Edit The above 118 version had was unstable and tried ALI_RETAIL_9.0_PPSS29.55-37-7-6_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip which seems to be okay so far.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .