FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

[Q] IMEI is 0, no EFS backup

18 posts
Thanks Meter: 0
 
By afff53, Junior Member on 1st June 2014, 03:13 AM
Post Reply Subscribe to Thread Email Thread
2nd May 2015, 01:12 AM |#31  
Google~Android's Avatar
Senior Member
Thanks Meter: 314
 
More
Quote:
Originally Posted by fishildur

Hey, got it all done, i made a mistake on step:
i. Install bootloader 5.0.0_diag_BOOT.img from folder.

I tried to flash it as bootloader but instead it needed to be flashed as boot(kernel) after that all went easily. Even installed windows 7 in bootcamp for all that, but i think i would have made it in my virtualized windows 10 as well.

Big big thanks for this tutorial.

i about made the same mistake...but noticed it was 10 mb the size of boot(kernel)...hopefully he"ll change it...i got mine running as well...!!!!

---------- Post added at 07:12 PM ---------- Previous post was at 07:10 PM ----------

@payz this method worked to prefectiong....just letting you know...change the the tuteriol so it doesn't say flash bootloader boot....rather as boot/kernel....other than that it worked just great!!!!! thank you so much!!!
Last edited by Google~Android; 2nd May 2015 at 01:22 AM.
The Following User Says Thank You to Google~Android For This Useful Post: [ View ]
 
 
2nd May 2015, 01:34 AM |#32  
Junior Member
Thanks Meter: 2
 
More
Step 6b
Another possible mistake could be 6b. Hit Read and check off imei and meid, and enter imei and meid (meid is just imei without last two digits)

For me i needed to only remove one digit from the ending of IMEI for MEID, otherwise it was too short!

With all the best

Fully working Nexus 5 owner
The Following User Says Thank You to fishildur For This Useful Post: [ View ]
11th May 2015, 10:09 PM |#33  
JsChiSurf's Avatar
Recognized Developer
Hacksville
Thanks Meter: 1,375
 
Donate to Me
More
Quote:
Originally Posted by payz

I had a hard time, so I figured this may help someone else fix a broken Nexus 5 with IMEI = 0

Of course, do this at your own risk, I take no responsibility. Thanks goes to vladonru for finding the solution on the russian forums, see thread android.stackexchange.com/questions/85807/nexus-5-imei-0-how-to-restore-imei
I just translated/shortened/fixed some stuff, and here is full instructions below and all files attached.

NOTE: If you can't find/don't know the phone's IMEI it's laser etched onto the sim card holder (whew).

Change or Repair IMEI
1. Install the LG driver LG
2. Install QPST
3. Copy the entire folder EFS Professional to C drive
4. Unpack the archive Nexus5 the root of drive C.
5. Using WUG Nexus toolkit:
a. Make sure running stock Android 5.0.1
b. Rooted
c. If necessary, you can reset the IMEI using backups zero IMEI from the archive. To do this, simply make a backup of your EFS in TWRP, then replace in the folder's backup your files on the distribution of similar make and restore EFS.
i. If it is already erased and writes 0, then just skip this step.
d. Advanced tools:
i. Install bootloader 5.0.0_diag_BOOT.img from folder
ii. open a command window:
1. adb shell > su > setprop sys.usb.config diag,adb
This activates the diagnostic mode on the phone and will be available operations with nvram through com port.
6. Open EFS Professional:
a. Click on Qualcomm NV Tools, Hit connect and go to Secure Ops.
b. Hit Read and check off imei and meid, and enter imei and meid (meid is just imei without last two digits)
c. Hit Write
d. Reboot phone and check imei by typing *#06#
e. If imei still 0 > do b above again, then Read (note esn now appears), then Write again (ignore the errors) > Reboot and check, should be working.
f. Repair 3G/LTE:
i. Install the diagnostic bootloader again and run the setprop shell command again
g. Open QPST Configuration from Windows programs
h. Click Ports tab, Add new port, deselect secure ports only and should now see the serial port with phone connected (if not, then the serial drivers aren’t installed properly  Use WUG driver support to remove all android drivers and plug the phone in again to install from windows update)
i. Click Start Start Clients > Software Download
j. Go to Backup tab and click Start Leave SPC with all zeros (note file location of backup)
k. Go to Restore tab, check “Allow phone / file ESN mismatch”, restore from the NEXUS5.qcn (from the folder), again leave SPC with all zeros here
l. Now click Browse next to QCN File, locate the backup from j above and now enter in SPC: 308508 > Start
m. Reboot phone > everything should be working!
7. Make complete EFS backup!!!

Can't thank you enough for this post with details and attachments. This saved me big time after I inadvertently overwrote my /efs partition from my previous Nexus 5 to a new one, after I dropped and broke my previous and attempted to restore my latest nandroid to the new phone, all resulting in an IMEI = 0.

Thing is, I know better and still did it!

After much searching and consternation I came across this post and am back to full working order!

Cheers.
21st May 2015, 06:07 AM |#34  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by payz

I had a hard time, so I figured this may help someone else fix a broken Nexus 5 with IMEI = 0

Of course, do this at your own risk, I take no responsibility. Thanks goes to vladonru for finding the solution on the russian forums, see thread android.stackexchange.com/questions/85807/nexus-5-imei-0-how-to-restore-imei
I just translated/shortened/fixed some stuff, and here is full instructions below and all files attached.

NOTE: If you can't find/don't know the phone's IMEI it's laser etched onto the sim card holder (whew).

Change or Repair IMEI
1. Install the LG driver LG
2. Install QPST
3. Copy the entire folder EFS Professional to C drive
4. Unpack the archive Nexus5 the root of drive C.
5. Using WUG Nexus toolkit:
a. Make sure running stock Android 5.0.1
b. Rooted
c. If necessary, you can reset the IMEI using backups zero IMEI from the archive. To do this, simply make a backup of your EFS in TWRP, then replace in the folder's backup your files on the distribution of similar make and restore EFS.
i. If it is already erased and writes 0, then just skip this step.
d. Advanced tools:
i. Install bootloader 5.0.0_diag_BOOT.img from folder
ii. open a command window:
1. adb shell > su > setprop sys.usb.config diag,adb
This activates the diagnostic mode on the phone and will be available operations with nvram through com port.
6. Open EFS Professional:
a. Click on Qualcomm NV Tools, Hit connect and go to Secure Ops.
b. Hit Read and check off imei and meid, and enter imei and meid (meid is just imei without last two digits)
c. Hit Write
d. Reboot phone and check imei by typing *#06#
e. If imei still 0 > do b above again, then Read (note esn now appears), then Write again (ignore the errors) > Reboot and check, should be working.
f. Repair 3G/LTE:
i. Install the diagnostic bootloader again and run the setprop shell command again
g. Open QPST Configuration from Windows programs
h. Click Ports tab, Add new port, deselect secure ports only and should now see the serial port with phone connected (if not, then the serial drivers aren’t installed properly  Use WUG driver support to remove all android drivers and plug the phone in again to install from windows update)
i. Click Start Start Clients > Software Download
j. Go to Backup tab and click Start Leave SPC with all zeros (note file location of backup)
k. Go to Restore tab, check “Allow phone / file ESN mismatch”, restore from the NEXUS5.qcn (from the folder), again leave SPC with all zeros here
l. Now click Browse next to QCN File, locate the backup from j above and now enter in SPC: 308508 > Start
m. Reboot phone > everything should be working!
7. Make complete EFS backup!!!

Just a very silly detail i missed and gave me some trouble, when doing the imei read and write, dont leave the sim inside.
The Following User Says Thank You to Blackiris_BLLD For This Useful Post: [ View ]
3rd July 2015, 08:18 AM |#35  
Junior Member
Thanks Meter: 0
 
More
If you have a freedompop nexus 5, they don't write the IMEI on the box, or on the sticker on the back of the phone. Luckily, there's a MEID written on the box and sticker, and MEID is only missing 1 digit from the IMEI. You can either brute force attempt this method 10 times from 0-9 to get the last digit and get lucky, or use the way I did. I actually logged into a google account while I had my efs partition intact in the phone. If you go to https://www.google.com/settings/dashboard and expand Devices section, you'll see all your devices you logged into your google account with and find the IMEI listed there.


Also, it's possible to do this under a vm. I have a linux host and windows 7 guest. You'll encounter a problem where after flashing bootloader 5.0.0_diag_BOOT.img to boot[kernel] in WUG (step 5di), the phone will reboot and you might not be able to communicate with the phone in the vm. To fix that, just run the adb command (step 5dii) under your host os, and connect the phone to the guest os and it'll work.
Last edited by azizLIGHT; 3rd July 2015 at 08:23 AM. Reason: adding details on how to fix imei under virtual machines
28th July 2015, 10:57 PM |#36  
Member
Thanks Meter: 3
 
More
Exclamation Drivers
I am at the point of activating diagnostic mode, this step ... ( 1. adb shell > su > setprop sys.usb.config diag,adb )

All goes fine but 4 items show up in my device manager needing drivers ( screen shot below ).
I cannot get a driver to work at all with these. I have completely deleted my device and drivers multiple times and also used the Nexus Toolkit driver config to remove all related phone items and drivers. I used the toolkit to walk through driver install and I get that driver configuration is all good from the toolkit driver test.

Tried on two computers Windows 7 32 and a different Win 7 64.

Any clue what to do ?

Thanks
Attached Thumbnails
Click image for larger version

Name:	ScreenHunter_01 Jul. 28 14.21.jpg
Views:	82
Size:	54.6 KB
ID:	3421682  
Last edited by jimmycinla; 28th July 2015 at 11:18 PM. Reason: Add info
29th July 2015, 09:24 AM |#37  
Senior Member
Flag Göd
Thanks Meter: 954
 
More
Quote:
Originally Posted by jimmycinla

I am at the point of activating diagnostic mode, this step ... ( 1. adb shell > su > setprop sys.usb.config diag,adb )

All goes fine but 4 items show up in my device manager needing drivers ( screen shot below ).
I cannot get a driver to work at all with these. I have completely deleted my device and drivers multiple times and also used the Nexus Toolkit driver config to remove all related phone items and drivers. I used the toolkit to walk through driver install and I get that driver configuration is all good from the toolkit driver test.

Tried on two computers Windows 7 32 and a different Win 7 64.

Any clue what to do ?

Thanks

Have you tried installing the LG druvers? https://mega.nz/#!gsoSCCgY!U_OhElVM2...V0GN3Mv7fsjIxE
29th July 2015, 11:16 PM |#38  
Member
Thanks Meter: 3
 
More
Thumbs up
Quote:
Originally Posted by bitdomo

Have you tried installing the LG druvers? https://mega.nz/#!gsoSCCgY!U_OhElVM2...V0GN3Mv7fsjIxE

Yea i had the LG drivers, but I did a reinstall from the ones from your link and all good now. Thx

Nexus is back up and running with IMEI in place.

Thanks
Post Reply Subscribe to Thread

Tags
efs, imei 0, nexus 5, no efs backup
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes