IMEI Repair, HELP NEEDED - Nexus 5 Q&A, Help & Troubleshooting

Hey all,
Ive been flashing things since early HTC Hero days and never had this issue before. I flashed a new kernel (Uber nightly if that matters) the other day and the IMEI is now 0, no network signal, cannot connect to services, random reboots, etc. Tried completely clean flash stock rom using guide at beginning of general thread running bat file (by windows), still nothing. The file seems to be corrupt until I can reenter the numbers so device recognizes and can get network. Went completely back to stock yet still have unlocked bootloader. Tried looking over the internet for some solutions, only found Octoplus IMEI repair but do not know if I need the box or not in order for it to work. Any alternatives or if anyone knows if the software works without having to buy the box. Want to avoid sending back to Google or LG. Links and suggestions are appreciated.
EDIT: no previous backup had been made to the file.

Did you backup your imei?
Sent from my Nexus 5 using Tapatalk

havy15 said:
Did you backup your imei?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No, didnt previously make the backup of the file. I know it exists on the phone back and other places Ive seen but I need to inject that number back into system files so the phone recognizes it again. I didnt know of this issue before this but I wont be making this mistake again.

This probably won't help you after the fact, but I'll link this thread right here http://forum.xda-developers.com/google-nexus-5/development/modem-nexus-5-flashable-modems-efs-t2514095 and check the EFS Backup section.
You basically have to figure out a way to manually input the IMEI back into the EFS Somehow, the thread I linked might point you in the right direction.

{Mod edit: Quoted post has been deleted}
Do you know how to get the tool to recognize the device, etc on how to use it. I downloaded demo to look into this yet no luck thus far on how or where device is to write to. I have drivers ,ADB, etc installed.

{Mod edit: Quoted post has been deleted}
Even after reading, still no idea on how the program recognizes the Nexus. Still blank unless you know how

RevelationOmega said:
Even after reading, still no idea on how the program recognizes the Nexus. Still blank unless you know how
Click to expand...
Click to collapse
For now I would keep trying re-flashing factory images again, this time using the long method 2.
I have had this issue. It happened to me on November when I got the phone and wiped cahe. I fixed just Reformating cache on twrp and flashing a CM Rom. It returned my IMEI
Other solved cases http://forum.xda-developers.com/google-nexus-5/help/lost-imei-please-help-t2529103
..... http://forum.xda-developers.com/google-nexus-5/help/efs-backup-imei-lost-t2703948

try flashing a new bootloader for the device. i take no responsibility for what happens to your device after you flashed the new bootloader.

But wasn't changing imei illegal?
Sent from my Nexus 5 using xda app-developers app

{ESO} said:
But wasn't changing imei illegal?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Yes, it is

{ESO} said:
But wasn't changing imei illegal?
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
It is illegal to change it for another one. but the issue Op has is something about recovering his own withing allowed parameters.

RevelationOmega said:
Hey all,
Ive been flashing things since early HTC Hero days and never had this issue before. I flashed a new kernel (Uber nightly if that matters) the other day and the IMEI is now 0, no network signal, cannot connect to services, random reboots, etc. Tried completely clean flash stock rom using guide at beginning of general thread running bat file (by windows), still nothing. The file seems to be corrupt until I can reenter the numbers so device recognizes and can get network. Went completely back to stock yet still have unlocked bootloader. Tried looking over the internet for some solutions, only found Octoplus IMEI repair but do not know if I need the box or not in order for it to work. Any alternatives or if anyone knows if the software works without having to buy the box. Want to avoid sending back to Google or LG. Links and suggestions are appreciated.
EDIT: no previous backup had been made to the file.
Click to expand...
Click to collapse
Hey did you get a solution for your problem...Me too lost my IMEI and didn't have the EFS backup. Can we inject the IMEI? if yes, can you please provide the steps?

rajvernekar said:
Hey did you get a solution for your problem...Me too lost my IMEI and didn't have the EFS backup. Can we inject the IMEI? if yes, can you please provide the steps?
Click to expand...
Click to collapse
Sadly, no. The imei number file is specific to the phone and to get it "injected" was considered illegal since people who steal the phone could, by theory, inject the new imei to sell a phone as new. There is things out there (sort of) on this yet nothing good can be done. I use TWRP now since the back up allows EFS folder as well, versus CWM that didn't. I haven't had the problem since on nexus 6 or lg g3. The only way I know how to "solve" it was warranty through Google for nexus 5, they sent a new one to me and took the bad one. Only they (the manufacturers LG and Google) can legally inject the phone back to working condition. In all, had to get new one because no real true fix out there (legally) since even recovering it may be an attempt at stealing, the manufacturers cannot distinguish one person from another. Wish I had better news. Hope that helps and you can get it resolved.

There is an app on*******. IT'S ILLEGAL TO CHANGE A PHONES IMEI NUMBER!!
You can't take a number of am old phone and put it on a new, even if you have both. I can't see its wrong to put the original number back though. I've started a thread and asked the powers that be to rule on giving out the apps name, etc.

Sorry if I revived this post...
I know how you feel.
If you message me I will send you a link to a blog I wrote on this subject, I didn't think it was possible to fix but you can.
I know it's illegal. But google supports custom roms and rooting. So they must understand that this can happen.

Uhhh, I think all of you are incorrect. You may want to check your facts or your phones. If you have the manufacturer's firmware, in my case it is a Xiaomi Redmi Note 10 5G, you can use the manufacturer's (or other) method to flash the firmware and the IMEI numbers will be reinstalled. I was required to login to their site, but that's why you should register electronics with the manufacturer when you purchase them. It might not even need a registered product. And, after I was able to recover the lost IMEI numbers, I noticed that I can freely change them if I desire. Soooo, maybe I'm breaking the law? I suppose that would all depend on my location because this phone is mine, I bought it, rooted it, put a custom ROM on it, then did the dumb a$$ move of arbitrarily deleting files that "just didn't look right". One of those was a key component. Keep in mind, possession is 9/10th of the law. I possess this phone so no matter what, they can only charge me with 10% of a crime.

Related

*REWARD -Tablet lost Imei and network after attempting root

I'll give as much info as i can and will REWARD whoever can help me with this situation!
I have experience with different samsung phones rooting through odin and others never having much issues. This is first attempt with a tablet fyi.
Samsung tab 2 lte edition from at&t i497 5100
Attempted http://forum.xda-developers.com/showthread.php?t=1957165
root method through odin and everything was going alright until halfway through it said failed. I then rebooted into download and attempted this version http://forum.xda-developers.com/showthread.php?t=2101044
This method seemed to work as i was able to boot into recovery cwm and go through the options. I then ran the supersu zip and verified that the appdrawer had it in there. things looked ok i thought. so now i was ready to download a rom. Attempted the most current CM10 nightly through recovery.- it failed giving me the status 7 error. i then went to the only post about status 7 in the all things tab 2 thread and attempted to download mobile odin but when i loaded the app it said not compatible with my device.
I then attempted to download a stock rom and remove root from phone because sometime in this all i lost the ability to use wifi and my imei showed missing in the settings. no attempt at unrooting seems to work because of the cwm not allowing me to use roms. I attempted to recover the nandroid i made the minute i "rooted" and its giving me the md5 sum error as well.
Please help!!
circa_rider said:
I'll give as much info as i can and will REWARD whoever can help me with this situation!
I have experience with different samsung phones rooting through odin and others never having much issues. This is first attempt with a tablet fyi.
Samsung tab 2 lte edition from at&t 5100
Attempted http://forum.xda-developers.com/showthread.php?t=1957165
root method through odin and everything was going alright until halfway through it said failed. I then rebooted into download and attempted this version http://forum.xda-developers.com/showthread.php?t=2101044
This method seemed to work as i was able to boot into recovery cwm and go through the options. I then ran the supersu zip and verified that the appdrawer had it in there. things looked ok i thought. so now i was ready to download a rom. Attempted the most current CM10 nightly through recovery.- it failed giving me the status 7 error. i then went to the only post about status 7 in the all things tab 2 thread and attempted to download mobile odin but when i loaded the app it said not compatible with my device.
I then attempted to download a stock rom and remove root from phone because sometime in this all i lost the ability to use wifi and my imei showed missing in the settings. no attempt at unrooting seems to work because of the cwm not allowing me to use roms. I attempted to recover the nandroid i made the minute i "rooted" and its giving me the md5 sum error as well.
Please help!!
Click to expand...
Click to collapse
I'm worried for you, in that you have corrupted your efs folder - did you make an efs backup? as far as i'm aware, you can only recover your efs if you have backed it up. good luck.
If it helps I am an At&t store manager, and i do have access to a identical tab that is about to be sent back from a return. I am scared though of corrupting that one and then being in a worse situation. If i knew i could create a backup that could be moved to my personal one i would do it. is that possible? I'm not familiar with an efs backup but am researching it to check now.
squ89r97 said:
I'm worried for you, in that you have corrupted your efs folder - did you make an efs backup? as far as i'm aware, you can only recover your efs if you have backed it up. good luck.
Click to expand...
Click to collapse
circa_rider said:
If it helps I am an At&t store manager, and i do have access to a identical tab that is about to be sent back from a return. I am scared though of corrupting that one and then being in a worse situation. If i knew i could create a backup that could be moved to my personal one i would do it. is that possible? I'm not familiar with an efs backup but am researching it to check now.
Click to expand...
Click to collapse
I'm not sure it would, as a store manager you will know imei numbers are specific to each device!...you could swap the tabs over, but I don't condone that
Did you by chance rename the backup after making it? That has caused me problems in the past.
Sent from my SPH-L900 using Tapatalk 2
circa_rider said:
Samsung tab 2 lte edition from at&t 5100
Click to expand...
Click to collapse
Sorry I can't help, but is this the 7" tab? I have the 10.1" tab 2 and my model number is i497... LTE edition.
I totally understand what you mean now, i wasn't thinking a backup would switch over the imei i just thought it would contain whatever identifiers needed not realizing it would have the actual number in that.. I used total commander to look into the root file and there is a efs folder with all the separate folders "bluetooth, wifi, and other folders".
patrao_n said:
Did you by chance rename the backup after making it? That has caused me problems in the past.
Sent from my SPH-L900 using Tapatalk 2
Click to expand...
Click to collapse
I did rename it when i was going through a fix for the md5 sum issue, i was going through adb and couldn't navigate to the folder so i did rename it... i cant imagine that the recovery would have an issue just because of that? i wouldn't be sure what to name it back to.
I wonder if Samsung has any option for me to send it in and get them to reboot the thing. This sucks!
circa_rider said:
I totally understand what you mean now, i wasn't thinking a backup would switch over the imei i just thought it would contain whatever identifiers needed not realizing it would have the actual number in that.. I used total commander to look into the root file and there is a efs folder with all the separate folders "bluetooth, wifi, and other folders".
Click to expand...
Click to collapse
There will be, but unforunately they are corrupt now. :crying:
I wonder if Samsung has any option for me to send it in and get them to reboot the thing. This sucks!
i'm pretty sure samsung has an option for you to send it in, but depending on what firmware your running/whether the flash counter has increased in download mode - your warranty would be void - or you may have to pay some $$$$ - they may even refuse. i don't know for sure though.
squ89r97 said:
There will be, but unforunately they are corrupt now. :crying:
I wonder if Samsung has any option for me to send it in and get them to reboot the thing. This sucks!
i'm pretty sure samsung has an option for you to send it in, but depending on what firmware your running/whether the flash counter has increased in download mode - your warranty would be void - or you may have to pay some $$$$ - they may even refuse. i don't know for sure though.
Click to expand...
Click to collapse
I appreciate you talking me through the different things, even if it doesn't fix my issue. I am probably going to call samsung to see but my flash counter is reset from triangle away and the firmware looks like it did before i ever rooted. but it says modified when i go to download mode so im sure they would know in a second that its my fault
circa_rider said:
I appreciate you talking me through the different things, even if it doesn't fix my issue. I am probably going to call samsung to see but my flash counter is reset from triangle away and the firmware looks like it did before i ever rooted. but it says modified when i go to download mode so im sure they would know in a second that its my fault
Click to expand...
Click to collapse
if the counter is at 0 it sounds like you still have root access, do you?
you could try flashing a stock firmware through odin , which ever came with the tab - 4.0.4??? get the firmware from sammobile.com - that may :fingers-crossed: get rid of the modified status.
---------- Post added at 05:20 PM ---------- Previous post was at 04:40 PM ----------
never thought to ask either - whats the *REWARD?
Try flash this jamaican firmware it works on at&t
http://www.hotfile.com/dl/189517896/ee3001a/I497UMAMA1_I497JDIAMA1_JDI.zip.html
mihaidenis said:
Try flash this jamaican firmware it works on at&t
http://www.hotfile.com/dl/189517896/ee3001a/I497UMAMA1_I497JDIAMA1_JDI.zip.html
Click to expand...
Click to collapse
You're missing the point! He has a corrupt imei number. He can flash that but still won't be able to get signal.
I had a simaler issue with my S3 (d2tmo) as well as many others. Qpst I believe is what I used to get the imei back. I had the links all save on the laptop but it died 3 moths back. (10 year old dell). http://forum.xda-developers.com/showthread.php?t=1801997 try that out see if it will help. I have some of the other stuff saved that I will upload to you. Search the issue on S3 (us variants) it could help.
Samsung Rocks!
Great news! Samsung had me send it in and they repaired it in less than 2 days of having it. their ticket email says this
Problem found: ESN corrupted
Solution: Replaced PBA
-- not sure what a pba is but they didn't charge me for the repair! I'm taking this as a gracious sign from above that i should leave it well enough alone and enjoy it the way it was made! I'll just stick to rooting my s3 and doing what im comfortable with. I appreciate all your words of help and advice to try and narrow down a solution.
First of all, you flashed some things not meant for your device. the CF-Autoroot method is designed for the Pxxx models, NOT the SGH/SCH models. Flashing this on your device flashed partitions it shouldn't have.
Second, the PBA is the mainboard. I bricked my tab a few weeks ago (typo in my updater script) and they replaced the PBA also. Samsung warranty is pretty great. Glad you got it fixed.
Always, ALWAYS, be sure you flash a ROM/recovery/etc designed for your specific device. The pxxx tabs and sgh/sch tabs are 100% different in hardware AND partition layout. If you flash a ROM for the Pxxx tab on a SGH/SCH tab, it will overwrite imei. Moderators REALLY need to suck it up and create separate forums for the lte tabs.
MrHyde03 said:
If you flash a ROM for the Pxxx tab on a SGH/SCH tab, it will overwrite imei. Moderators REALLY need to suck it up and create separate forums for the lte tabs.
Click to expand...
Click to collapse
Don't think this will happen, too small community and even no CM.
I think the verizon Tab is the Xperia Pro in the Xperia Arc Forum
Dexxmor said:
Don't think this will happen, too small community and even no CM.
I think the verizon Tab is the Xperia Pro in the Xperia Arc Forum
Click to expand...
Click to collapse
I know... very unlikely which is why I'm currently setting up my own forums to alleviate the issue :good:
get my tab 2 imei back to normal
Dexxmor said:
Don't think this will happen, too small community and even no CM.
I think the verizon Tab is the Xperia Pro in the Xperia Arc Forum
Click to expand...
Click to collapse
How I can get my tab 2 10.1 original imei back ? I lost my orignal imei and network not registered after my tab is root...please tell me how I can get it back, hope to have a solutions soon...

IMEI=0 - how to enter working IMEI?

Hi everyone & thanks for reading this!
I bought 2 new, unused Nexus 5 as presents for my sisters for Christmas (not via playstore, but via a reseller. Still: new, sealed, unused.)
I unlocked, installed a custom recovery, rooted both devices without problems, then set up one in a smartphone-newbie-friendly way, which took quite some time. Then, to save me some time, I fear I made quite a big mistake: I made a nandroid-backup of the newly-setup device and restored/installed it on the second nexus (so I wouldn't have to change all the settings again, install apps, etc).
Unfortunately, this seems to have erased the IMEI on the second device (it shows as IMEI=0), so I can't connect to any cell service. Some googling leads me to believe that this might be due to a corrupt/missing EFS-folder, which, second mistake, I did NOT make a backup of beforehand. I know, it's my own fault - my thinking was: why backup, there's nothing backupworthy on the device *yet*.
FML. :crying:
I am not sure if the phone is still in warranty (and even if it was - I guess I voided that by unlocking/rooting?!). I want to re-iterate that I own both devices LEGALLY, I have the bill, I have the original sticker with the original IMEI - I just need a way to re-enter it. Any dialer-code for that? Any modify-able EFS-backups? Any other way?
Thanks in advance!
PS: tried so far & found useless: other simcard (not working) & simcard in other phone (working), so it's a device-issue; factory-reset;
Try fastboot flashing the cache.img from the factory image.
jd1639 said:
Try fastboot flashing the cache.img from the factory image.
Click to expand...
Click to collapse
thanks for the super-quick reply jd1639!
to make sure I understand you correctly:
I can use the factory image from
https://dl.google.com/dl/android/aosp/hammerhead-kot49h-factory-02006b99.tgz
(nexus 5, android 4.4.2), extract the cache.img from there & flash that via fastboot? (or would it have to be a factory image of this very device - which I do not have, unfortunately)
and, just for my understanding: how does that restore the imei? I mean, the factory image itself (or it's cache) can't really contain MY imei. does this just delete the invalid imei & force the phone to get it's original imei from some other, not yet overwritten source? e.g. hardware?
Yes fastboot flash the cache.img from the factory image is a known fix for this issue. Something has corrupt your cache causing the imei to not display properly
Sent from my Nexus 5 using Tapatalk
Thank you for clarifying, rootSU - that gives me hope.
I will try tomorrow & hopefully report success
Just tried this (twice) - unfortunately no success, IMEI is still 0
downloaded factory image, verified md5, extracted cache.img, flashed in fastboot; every step successful - final result is still IMEI=0. Tried again, this time erasing cache beforehand for good measure - still IMEI 0.
What else can I try?
PS: this seems to be the only issue - no hw-problems or similar. directly after boot, the device seems to connect to a mobile network for a second, then gets kicked out (due to missing/invalid IMEI, I suppose).
RogerG said:
Just tried this (twice) - unfortunately no success, IMEI is still 0
downloaded factory image, verified md5, extracted cache.img, flashed in fastboot; every step successful - final result is still IMEI=0. Tried again, this time erasing cache beforehand for good measure - still IMEI 0.
What else can I try?
PS: this seems to be the only issue - no hw-problems or similar. directly after boot, the device seems to connect to a mobile network for a second, then gets kicked out (due to missing/invalid IMEI, I suppose).
Click to expand...
Click to collapse
Did you use TWRP for the original nandroid backup that you restored on the new one? If so, you may have backed up, and consequently flashed the EFS from the original N5 to the new one. If so, I hate to say this, but I don't think there's any hope of getting the IMEI back on the new one...
RogerG said:
Just tried this (twice) - unfortunately no success, IMEI is still 0
downloaded factory image, verified md5, extracted cache.img, flashed in fastboot; every step successful - final result is still IMEI=0. Tried again, this time erasing cache beforehand for good measure - still IMEI 0.
What else can I try?
PS: this seems to be the only issue - no hw-problems or similar. directly after boot, the device seems to connect to a mobile network for a second, then gets kicked out (due to missing/invalid IMEI, I suppose).
Click to expand...
Click to collapse
I had a problem with my phone IMEI (Nexus 4) before. It would say unknown. The reason why was I flashed a bad radio and boot loader version. So what I did was find a thread on the N4 section for the right radio and bootloader. I'm not exactly sure if this will work on your part, but I don't think it'll hurt to try. Oh and maybe reflash the factory image.
Sent from a potato
---------- Post added at 12:47 AM ---------- Previous post was at 12:44 AM ----------
Sorry for double post. Check this link out and go to the second post talking about IMEI. Idk if this will help you out. Good luck
http://forum.xda-developers.com/showthread.php?t=2510966
Sent from a potato
charesa39 said:
Did you use TWRP for the original nandroid backup that you restored on the new one? If so, you may have backed up, and consequently flashed the EFS from the original N5 to the new one. If so, I hate to say this, but I don't think there's any hope of getting the IMEI back on the new one...
Click to expand...
Click to collapse
yes, that's precisely what I did.
That's why I had little hope of restoring the original IMEI and was instead asking in my original post for a way to enter it anew (since I KNOW what it should be).
CellPhish said:
I had a problem with my phone IMEI (Nexus 4) before. It would say unknown. The reason why was I flashed a bad radio and boot loader version. So what I did was find a thread on the N4 section for the right radio and bootloader. I'm not exactly sure if this will work on your part, but I don't think it'll hurt to try. Oh and maybe reflash the factory image.
Sent from a potato
---------- Post added at 12:47 AM ---------- Previous post was at 12:44 AM ----------
Sorry for double post. Check this link out and go to the second post talking about IMEI. Idk if this will help you out. Good luck
http://forum.xda-developers.com/showthread.php?t=2510966
Sent from a potato
Click to expand...
Click to collapse
thanks I will try this (even though I think my problem is not related to radio/bootloader and I am generally skeptical about my chances of "restoring" IMEI, as opposed to "manually entering/modifying it"). Still, willing to try anything, thanks for the idea!
RogerG said:
thanks I will try this (even though I think my problem is not related to radio/bootloader and I am generally skeptical about my chances of "restoring" IMEI, as opposed to "manually entering/modifying it"). Still, willing to try anything, thanks for the idea!
Click to expand...
Click to collapse
If all fails you can try to contact LG service and tell them your situation. Though its not good to lie, just tell them you got the IMEI=0 problem, they'll say its a hardware problem and will replace the motherboard(if your device is on warranty)
Sent from a potato
You'll probably have a hard time here finding anyone to help you manually entering or modifying the imei.
rootSU said:
Yes fastboot flash the cache.img from the factory image is a known fix for this issue. Something has corrupt your cache causing the imei to not display properly
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
The IMEI is stored in the EFS partition, not the cache partition.
RogerG said:
yes, that's precisely what I did.
That's why I had little hope of restoring the original IMEI and was instead asking in my original post for a way to enter it anew (since I KNOW what it should be).
Click to expand...
Click to collapse
Sounds like you turned the phone into a $400 paperweight. TWRP backs up and restores the EFS partition by default, and each device has a unique EFS partition, which contains the IMEI among other things. I don't know of a way of manually restoring the EFS data. This is unfortunately a $400 lesson for people who tinker without first doing their homework.
Hey guy. Let's not be so judgemental. There's always a risk of the imei being corrupted when you flash a ROM. As a matter of fact just before I even unlocked my nexus the imei got corrupted and I had to factory flash my phone to save it. Its scary but op, if you manage to get your phone working again make a backup and store it on your PC and or email yourself the backup.
BirchBarlow said:
The IMEI is stored in the EFS partition, not the cache partition.
Click to expand...
Click to collapse
Ha ha thanks! Can't believe you think I don't know that :/
Actually the "EFS partition" is 2 partitions..
/dev/block/platform/msm_sdcc.1/by-name/modemst1
And...
/dev/block/platform/msm_sdcc.1/by-name/modemst2
That doesn't change the fact that reflashing the cache.img is a known fix for missing IMEI. Corrupt cache can make the imei appear as 0 even when the EFS imei is in tact so reflashing the cache.img can resolve this.
Unfortunately though, I didn't read the OP fully. I just elaborated on an earlier response for the OP
jd1639 said:
You'll probably have a hard time here finding anyone to help you manually entering or modifying the imei.
Click to expand...
Click to collapse
Modification is illegal however many mobile repair shops have equipment that can rewrite the existing imei and are legally allowed to. In the UK, this costs about £20. That said, i'm not aware of anyone having it done on the nexus 5. The galaxy s3 with a single /EFS partition could be done easily by a professional
Sent from my Nexus 5 using Tapatalk
rootSU said:
Modification is illegal however many mobile repair shops have equipment that can rewrite the existing imei and are legally allowed to. In the UK, this costs about £20. That said, i'm not aware of anyone having it done on the nexus 5. The galaxy s3 with a single /EFS partition could be done easily by a professional
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes but all talks about how to change it in any way are not allowed here. Legally the only people that are allowed to do so is the OEM. You can look at international news reports of cellular dealers that are doing so are being closed down and arrested.
That is why it is well know to back up the efs before you do anything.
Bat cave One
My newly bought Nexus 5 shows IMEI 0 also
RogerG said:
thanks I will try this (even though I think my problem is not related to radio/bootloader and I am generally skeptical about my chances of "restoring" IMEI, as opposed to "manually entering/modifying it"). Still, willing to try anything, thanks for the idea!
Click to expand...
Click to collapse
i just update my newly bought nexus 5 from initial 4.4.2 to 4.4.4 which is appear at update section but then my IMEI appear =0 .. dont understand what to do..
if your problem solved, pls tell me the detail procedure to recover my IMEI no.
RogerG, did you ever get this working? I'm on 6.0 and having the same problem, flashing cache.img also does nothing.
Thanks.

[Q] Lost IMEI when tried to restore TWRP backup from other phone

Hello everyone,
I wanted to move all the contents of one Nexus 5 to another one, but I'm learning that I might have failed to properly account for the EFS partition and now my phone has an IMEI of "0" and won't register with T-Mobile. I'm not sure how to restore it at this point, as no backup of this phone was ever taken (it was stock).
Can anyone point me in the right direction? I did find someone else who had this problem here:
http://android.stackexchange.com/questions/85807/nexus-5-imei-0-how-to-restore-imei
and that led me to
http://forum.xda-developers.com/goo...t/modem-nexus-5-flashable-modems-efs-t2514095
which had a script for, I think, helping to download or export the EFS information. Problem is that this phone doesn't have any IMEI info any longer! I do have another N5 I can use if needed to extract what I need and then perhaps I can edit the IMEI manually?
Thanks a lot everyone
Sorry to say, but there is no fix short of sending it to LG and they'll charge you
Sent from my Nexus 9 using XDA Free mobile app
I lost my IMEI a while ago when flashing a openmaster build (that's pure aosp). Reflashed stock by factory images/flash-all.sh, got my IMEI back no sweat.
a maguro wrote this.
beekay201 said:
I lost my IMEI a while ago when flashing a openmaster build (that's pure aosp). Reflashed stock by factory images/flash-all.sh, got my IMEI back no sweat.
a maguro wrote this.
Click to expand...
Click to collapse
That's a lot different than flashing a nandroid from a different device with the efs partition
Sent from my Nexus 9 using XDA Free mobile app
Not sure if it's possible but you could try... I'm thinking it may be possible to edit the nandroid with the EFS part to the IMEI of the 2nd device. Your device should have the IMEI sticker on the back, so you could try to replace the IMEI in the nandroid to the one on the back of the phone. Hopefully you understand what I'm trying to stay and good luck with it.
Sent from my Nexus 5 using the N5X LRX21V ROM
fastboot format cache
Sent from my Nexus 5 using Tapatalk
Tampering with the imei is illegal
procitysam said:
Not sure if it's possible but you could try... I'm thinking it may be possible to edit the nandroid with the EFS part to the IMEI of the 2nd device. Your device should have the IMEI sticker on the back, so you could try to replace the IMEI in the nandroid to the one on the back of the phone. Hopefully you understand what I'm trying to stay and good luck with it.
Sent from my Nexus 5 using the N5X LRX21V ROM
Click to expand...
Click to collapse
This is what I was thinking of doing. How would I get the EFS part from the 2nd device? Would I use TWRP to back that part up, then try to restore only that onto the old phone (after replacing the original, proper IMEI from the label)?
Thanks!
dicecuber said:
Tampering with the imei is illegal
Click to expand...
Click to collapse
Only if your changing it to another. In this case the OP would be legal to try and restore the correct IMEI to the phone.
I've done a backup on the other phone of just EFS, and have three files:
efs1.emmc.win
efs2.emmc.win
recovery.log
But I can't get anything out of the two .win files. I tried changing their extensions to .zip, .tar, and .tar.gz, but none allow me to open them with 7-Zip. And even if I did, they're each about 3MB in size and I wouldn't know where to look for the IMEI. If anyone has any thoughts I would appreciate them.
Thanks
jd1639 said:
That's a lot different than flashing a nandroid from a different device with the efs partition
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
still, recovering /efs... forget copying it from another device.. just flash factory images.
beekay201 said:
still, recovering /efs... forget copying it from another device.. just flash factory images.
Click to expand...
Click to collapse
I've tried that twice already. Factory images would be awesome for me if they worked. After I do it, the IMEI is still zero.
It seems that everyone feels I am trying to do something illegal. On the contrary, I'm just trying to get the phone to work with its own IMEI short of sending it back to LG, which I will do if I have to, but I thought this would be a lot easier to do given that I have two Nexus 5s right hear to play with, and the IMEI stickers still on both of the phones. I read that on the Nexus 5 that stuff is stored in EFS, and erasing it was a total noob mistake (even though I've been flashing phone ROMs for years and years now), since I never suspected that IMEI info would be in non-hardware areas of the phone. Live and learn, I guess.
beekay201 said:
I lost my IMEI a while ago when flashing a openmaster build (that's pure aosp). Reflashed stock by factory images/flash-all.sh, got my IMEI back no sweat.
a maguro wrote this.
Click to expand...
Click to collapse
I will do it again. I flashed factory quite a few times with no luck. I then installed TWRP again just in case I find a way to recover or reinstall the EFS partition. So that's the current state of the phone.
sshanky said:
I will do it again. I flashed factory quite a few times with no luck. I then installed TWRP again just in case I find a way to recover or reinstall the EFS partition. So that's the current state of the phone.
Click to expand...
Click to collapse
You could try this http://forum.xda-developers.com/showthread.php?p=51823398. But from my experience the only way you're going to get the imei back is to send it to LG
Sent from my Nexus 9 using XDA Free mobile app
theesotericone said:
Only if your changing it to another. In this case the OP would be legal to try and restore the correct IMEI to the phone.
Click to expand...
Click to collapse
Suppose it depends on the law you read and how you interoperate it but most of them generically say something like "tamper" or "modify". Either way though, all discussion of it is banned.
jd1639 said:
You could try this http://forum.xda-developers.com/showthread.php?p=51823398. But from my experience the only way you're going to get the imei back is to send it to LG
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I just checked that out, and it looks interesting. However, someone asked if it rebuilds EFS and the answer was "no".
If anyone has any way to explain something to me in general terms, so that they do not feel they are discussing anything illegal, I would appreciate it a lot. Or a PM, or any roundabout way of discussing it...anything that can help me would be great.
Thanks
Did you ever do a TWRP backup?
Tried LG flash tool but it did not restore the IMEI.
sshanky said:
Tried LG flash tool but it did not restore the IMEI.
Click to expand...
Click to collapse
As mentioned. Unless you have an efs backup from the second device before restoring. You're screwed. Send it to LG for paid repair. It won't cost much.

No EFS Backup...IMEI Lost D821 :(

After multiple flashing of ROMs and kernels, suddenly my baseband has gone (Unknown) and IMEI too . After reading multiple forums, I figured out that it might be a corrupted EFS and my phone is not under warranty everything works fine...wifi, bluetooth etc...only no cellular signal...please help guys already flashed factory images (KK and Lollipop) and tried few custom roms....but same problem Was on latest optipop with Code blue r793 :crying:
Thanks in Advance
Fastboot flash stock cache.img usually fixes this. Not seen many EFS issues on nexus 5. Mainly Samsung has this problem
rootSU said:
Fastboot flash stock cache.img usually fixes this. Not seen many EFS issues on nexus 5. Mainly Samsung has this problem
Click to expand...
Click to collapse
Thanks for the reply but it did not work mate flashed entire stock rom by method 1 and 2 and also flashed cache.img seperately
rootSU said:
Fastboot flash stock cache.img usually fixes this. Not seen many EFS issues on nexus 5. Mainly Samsung has this problem
Click to expand...
Click to collapse
Please help friend, went to Lg Service Center and they say motherboard needs to be changed...about $230 ...tried flashing many custom roms, stock KK and Lollipop latest versions...I backed up my modemst1 and modemst2 and flashed a friend's EFS...the situation improved...baseband shows correctly but IMEI 0 and no cellular network though signal is there....I can see the signal bar full and also E for EDGe written but whn I try to call, no network. When I reflash my EFS files, it is back to unknown IMEI and baseband Please help mate as I see you are very much experienced in this...Thanks a ton in advance
No offence but can also donate you some $$s for your cause....
Try using this
rajvernekar said:
Please help friend, went to Lg Service Center and they say motherboard needs to be changed...about $230 ...tried flashing many custom roms, stock KK and Lollipop latest versions...I backed up my modemst1 and modemst2 and flashed a friend's EFS...the situation improved...baseband shows correctly but IMEI 0 and no cellular network though signal is there....I can see the signal bar full and also E for EDGe written but whn I try to call, no network. When I reflash my EFS files, it is back to unknown IMEI and baseband Please help mate as I see you are very much experienced in this...Thanks a ton in advance
No offence but can also donate you some $$s for your cause....
Click to expand...
Click to collapse
Afraid not mate . Messing with the EFS is illegal in some countries - and there's not much we can do anyway. The only ones who can help you are the guys at LG - keep pestering them until they agree to rewrite your efs.
Why did you not flash your own number. It's on the box and inside the back cover of the phone. To use a friends is stupid and illegal. You can't have two phones with the same number. It's highly illegal.
2G Only
Well, Managed to get back my IMEI as one of the local repair guys injected it...donno how bust maybe using Octoplus Box....But now stuck with 2G only as if I try to switch to 3G/4G, it does not work and phone reboots. Tried multiple roms, LG Flash tool...no resort....any help wud be highly appreciated
RajRockyBalboa said:
Well, Managed to get back my IMEI as one of the local repair guys injected it...donno how bust maybe using Octoplus Box....But now stuck with 2G only as if I try to switch to 3G/4G, it does not work and phone reboots. Tried multiple roms, LG Flash tool...no resort....any help wud be highly appreciated
Click to expand...
Click to collapse
Bring it back to the repair shop. To riffbox it he would of had to solder some stuff to make it work. I'd bet that solder got somewhere it's not supposed to.
theesotericone said:
Bring it back to the repair shop. To riffbox it he would of had to solder some stuff to make it work. I'd bet that solder got somewhere it's not supposed to.
Click to expand...
Click to collapse
The Local Guy did not open the phone....he did some software only changes...
RajRockyBalboa said:
The Local Guy did not open the phone....he did some software only changes...
Click to expand...
Click to collapse
Interesting. He just used an IMEI switcher app then? Check and make sure your APNs are correct. That could cause loss of 4g but shouldn't ever cause the phone to reboot.
theesotericone said:
Interesting. He just used an IMEI switcher app then? Check and make sure your APNs are correct. That could cause loss of 4g but shouldn't ever cause the phone to reboot.
Click to expand...
Click to collapse
I checked my APNs and am using the same ones I had earlier. Reboot does not happen if I fix my connection to 2g...anyways, I read on XDA that flashing back my QCN file of any other D821 using QPST might solve this..I also have a file which this person shared. (QCN does not hold IMEI info but only NV backup). Can someone guide me whether this will work and if yes, how do I do it?
RajRockyBalboa said:
I checked my APNs and am using the same ones I had earlier. Reboot does not happen if I fix my connection to 2g...anyways, I read on XDA that flashing back my QCN file of any other D821 using QPST might solve this..I also have a file which this person shared. (QCN does not hold IMEI info but only NV backup). Can someone guide me whether this will work and if yes, how do I do it?[/QUOTE
You may have to use the tools capable of flashing stuff to swap CDMA carriers to get AA passwords n stuff back. And its illegal to swap ESN/imei in some countries but i don't see harm in repairing what u broke as long as info is original to Device
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Tampering with the imei is illegal
dicecuber said:
Tampering with the imei is illegal
Click to expand...
Click to collapse
You sure like saying that.
(d) Exception- Subsection (b) shall not apply to the manufacturer of a mobile device or a person who repairs or refurbishes a mobile device unless the manufacturer or person knows that the mobile device or part involved is stolen.'.
Click to expand...
Click to collapse
From here:
http://thomas.loc.gov/cgi-bin/query/z?c112:S.3186.IS:
That bill didn't pass but one like it did. I can't find it right now but you get the idea. FCC regs also allow for REPAIRING of it.
XDA however won't really allow any talk of how to do that because in some countries it is illegal. Plus they gotta cover their arse. So I'll just leave it it that.
No tampering with IMEI here
Thanks for the replies. But I am at all not wanting to tamper with my Imei.. Infact the imei is stable and fixed... I just want my 3g back... Rest of the phone is working perfectly fine

Lost imei via fastboot erase all

I have lost imei and all..can any one help to resolve..
I have enter fastboot erase all...
There is no network..gps...and time zone gone...
Imei is 0
By doing a fastboot erase all, you have erased your IMEI for good as there is no way to get it back.
Sorry but i very sure no one can help you get it fully back, there is away to use xpose to mimic an IMEI but its not allowed to be discussed on here as its against the terms of service for this forum.
No There is a Way to restore the imei I have also done this read this post for more information https://forum.xda-developers.com/2015-moto-g/help/tuto-fastboot-erase-signal-t3451362
minilandl said:
No There is a Way to restore the imei I have also done this read this post for more information https://forum.xda-developers.com/2015-moto-g/help/tuto-fastboot-erase-signal-t3451362
Click to expand...
Click to collapse
That requires that you backed the partitions before the mistake or by breaking the law, which discussion of the latter is forbidden.
Sent from my SHIELD Tablet K1 using Tapatalk
is it possible to rewrite by miracle box?
Just Flash a Rom either stock firmware or Custom rom and run the commands in the thread.
minilandl said:
No There is a Way to restore the imei I have also done this read this post for more information https://forum.xda-developers.com/2015-moto-g/help/tuto-fastboot-erase-signal-t3451362
Click to expand...
Click to collapse
Files in this solution are not indian version of xt1550 .
Can someone please pull
Mod Edit: Removed files containing personal information NOT to be shared in Xda
Please required above from indian phone only.
I can reflash them again.
udaygajjar said:
Files in this solution are not indian version of xt1550 .
Can someone please pull
Mod Eidt: removed files containing personal information NOT to be shared on Xda
Please required above from indian phone only.
I can reflash them again.
Click to expand...
Click to collapse
OP to pull them files will result in whom ever pulls them giving you their IMEI this is verging on breaking the law. How many times must one warn you before a mod finds this and takes action.
i agree .. its against law. .. but i need to get back my phone and change imei according to my phone.
Mod Edit:
If you agree it is against the rules, then WHY are you STILL asking for this here?
Any further attempt from you to collect this information on Xda will result in your account being reviewed for restriction or removal.
OP you're going to need to find a Service shop that can re-write the IMEI for you.
udaygajjar said:
i agree .. its against law. .. but i need to get back my phone and change imei according to my phone.
Click to expand...
Click to collapse
If you have not removed the sticker behind your back cover, you can find your imei there. It is the hex number. I wouldn't know how to write it back to your phone though.
reflash stock ROM.
udaygajjar said:
please. someone upload files
Click to expand...
Click to collapse
As others have said, no one can give you those files. Those files are unique to each phone, and giving them to someone else to flash might be breaking the law, and would also cause service issues for the person who gave it to you. No one here is going to do anything that might break the law just to help you. That being said, it is not illegal to repair your device. If you need your original imei, you can find it behind the back cover of your phone, assuming that you did not remove the sticker. It will be the hex number. As for writing it back to your phone, I wouldn't know how, otherwise I'd tell you. You'd probably need software that only Motorola has access to.
Thread closed, OP doesn't get it to stop asking for these files.

Categories

Resources