[TUTO] [Restore IMEI] after fastboot erase all, you can have signal !

DPJulien

Member
Oct 16, 2015
30
28
0
Hello everybody,
In this tutorial, I will explain you how to recover signal (LTE, 3G, calls and SMS) and IMEI on Moto G 2015 after the command ---> $ fastboot erase all


You need
- Your moto with official firmware of your region AND ROOTED
- a cable usb
- the zip in the downloads
(3rd post)
- a computer with Windows/Linux/Mac with ADB installed and Motorola Drivers installed

Steps
0 - Copy all the files you have extracted from the zip to the internal storage of the phone
1 - Go to settings / About Phone and tap seven times on Build Number
2 - Go to settings / Developer Options and enable OEM unlocking, USB debugging
3 - Connect your phone to the computer
4 - Open a terminal in the computer where adb is installed and type this to verify if you device is correctly connected to the computer
Code:
adb devices
If your device appears on the list, you can continue
5 - Then you can type
Code:
adb shell
and then
Code:
su
6 - With su command, SuperSu will ask you the root rights on your phone for adb - > you have to accept them
7- Now, you can run those commands one by one in adb shell

Code:
dd if=/sdcard/dhob.img of=/dev/block/mmcblk0p22
dd if=/sdcard/fsc.img of=/dev/block/mmcblk0p24
dd if=/sdcard/hob.img of=/dev/block/mmcblk0p21
dd if=/sdcard/keystore.img of=/dev/block/mmcblk0p36
dd if=/sdcard/carrier.img of=/dev/block/mmcblk0p38
Tell me if it works. It wrought fine for me on the europ firmware.
 
Last edited:

Gravemind2015

Senior Member
Dec 1, 2015
1,846
861
0
Wouldn't this make all device flashing this have the same IMEI? Or the IMEI info is stored in any special partition? I don't know much about it, just curious. @lost101

Broadcasted from Zeta Reticuli
 
Last edited:

lost101

Inactive Recognized Contributor
May 30, 2008
7,434
9,325
0
Wouldn't this make all device flashing this have the same IMEI? Or the IMEI info is stored in any special partition? I don't know much about it, just curious. @lost101
With Moto G (1st Gen) it is suspected IMEI info was stored in a partition called: pds. This summer a tutorial appeared for restoring IMEI after using 'erase all' - which one would assume also erases the 'pds' partition. Moto G (3rd Gen) does not appear to have a 'pds' partition. Perhaps 'keystore' is now the partition where IMEI is stored.

Regardless, it seems you can restore the IMEI (as written under back cover of phone) using IMEI Changer in some cases.

Even if this guide does give your handset an incorrect IMEI, you could in theory edit it back to match your own it with IMEI Changer. But it's only a temporary solution and apparently IMEI will not be stated on: fastboot getvar all.

I'd be interested to know if everyone who flashes the 'keystore' partition ends up with the same IMEI and if that does get stated when running: fastboot getvar all.
 
Last edited:

DPJulien

Member
Oct 16, 2015
30
28
0
gauthamkithu said:
Hey,

Did you miss anything?

I own a Moto E 2015.I obtained those files from a friend's phone.I did everything as per your tutuorial but its not working for me.There are no errors in the procedure.But its simply not working.I didnt get the IMEI back.Also the signal is not coming.

I am on stock marshmallow.

Which ROM were you on while doing this?

Can you guide me in a more detailed way?

Regards,

Gautham C Sekhar
Normally it work on cyanogenmod. and i think the partitions are different on the moto e. Have you got a PDS partition ?
Do fastboot erase all on your phone and see which partitions are erased. after take those partitions from the device of your friend to yours with dd command. Do you know DD command or i have to explain you how tu use it ?
 

Diventox

New member
Jun 21, 2015
2
1
0
Thanks for the files I recovered the network signal ! :)

However LTE doesn't seem to work yet, 3H and H+ is fine, 4G nevers works though :/

Anyone has an idea what it could be?

Thank you !
 
  • Like
Reactions: DPJulien

gauthamkithu

Senior Member
Mar 28, 2014
115
51
0
Trivandrum
I am from india...i recovered single but only for BSNL...Vodafone and other network are not working..
Hey,did you just get the signal back or is everything working? Like calling, mobile data, etc.

---------- Post added at 08:53 AM ---------- Previous post was at 08:49 AM ----------

I obtained similar files for my Moto e2 and restored it using DD commands.I got the signal back but only for BSNL MOBILE.Rest of the SIMs are not working.Also calling is not working for me.Mobile data is the only thing working for me.Any solution @DPJulien?
 

Ht0312

Member
Mar 10, 2016
12
0
0
Yes BSNL 3G is calling fine but 2g network is out of service as well as other networks..

---------- Post added at 04:42 AM ---------- Previous post was at 04:36 AM ----------

Hey,did you just get the signal back or is everything working? Like calling, mobile data, etc.

---------- Post added at 08:53 AM ---------- Previous post was at 08:49 AM ----------

I obtained similar files for my Moto e2 and restored it using DD commands.I got the signal back but only for BSNL MOBILE.Rest of the SIMs are not working.Also calling is not working for me.Mobile data is the only thing working for me.Any solution @DPJulien?
Yes BSNL 3G is calling fine but 2g network is out of service as well as other networks
 

gauthamkithu

Senior Member
Mar 28, 2014
115
51
0
Trivandrum
Yes BSNL 3G is calling fine but 2g network is out of service as well as other networks..

---------- Post added at 04:42 AM ---------- Previous post was at 04:36 AM ----------


Yes BSNL 3G is calling fine but 2g network is out of service as well as other networks
Are you trying to say that calling works for you only if you keep your device in 3g only mode?