Create new EFS image if I have IMEI code? - Galaxy Note II Q&A, Help & Troubleshooting

Hi
I checked on my phone via adb if I had a efs partition, but it seems nothing is under /efs on the phone
Is it possible to create a new efs file if I have the IMEI code and I guess I could find the phone MAC code in my router since I used wifi before I broke my phone.
So, Have
- IMEI code (found it at google dashboard)
- MAC
Possible to create and push a new efs image to the phone? If so how?
Cheers!

No.its not possible to create a new efs image.
Although it is possible to repair imei using uart box method,but I am not sure of that.
Sent from my GT-N7100 using XDA Premium HD app

akp.ajinkya said:
No.its not possible to create a new efs image.
Although it is possible to repair imei using uart box method,but I am not sure of that.
Sent from my GT-N7100 using XDA Premium HD app
Click to expand...
Click to collapse
And how do I do that? I took a EFS image copy to my computer, and when I do a cat command on that file, I can see that there is allot of things in that file even though I cannot mount the image. I searched it for IMEI and found some occurrences in the file together with allot of microsoft references etc. Would you know how to fix an broken efs.img file?
Cheers

That method utilises a special hardware called octopus box or z3x uart and also a special cable that has micro usb at one end and rj45 at the other that goes to the box.You can try asking from third party repair shop,they should have the hardware.
The efs.img wouldn't mount on a pc.If you have an efs image then why dont you restore imei using that.On pc,acessing efs.img would deem it as a corrupted image file.

Related

[Q] Retrieve IMEI from nandroid backup

Hi,
my phone was stolen and to track it police needs the IMEI number.
I know its on the sticker at the bottom side of the package, but ... I used the package as container for joint assembly and threw it away when I cleaned my car.
I still have nandroid backups left on my computer.
I remember in that strange chinaphone I bought on ebay was a file "/sys/nvram/bla/blubb/IMEI.something, which somebody nulled.
I unyaffsed my system.img from the DZ but it had no sys folder.
Can I retrieve the IMEI from a file in the backup? If, then which?
lg
Pronibert
I don't know if you can find the IMEI in the nandroid backup, but I think info like that is stored in partition 7 of the phone. Now, when you use gfree to root it, you end up with a partition 7 backup, which includes unique info about your phone.
So if you can't find it in the nandroid, it might be valuable to look there, if you have a partition 7 backup.
Wish me luck that I still have the p7 backup. Right now I am very pessimistic as my adb folder was on a crashed hd and I think I pulled it to there.
At any case you should ask Nipqer, he knows more about that stuff than I do. You can hop onto #g2root at the freenode IRC and ask there. They'll probably give you a better answer.
Why doesn't your carrier have it on file? They should considering they need it to activate the device. Have you tried calling to ask?
If you still have original box it came in it should be there as well.
Sent from my HTC Vision using xda premium

[Q] Absentmindedly wiped /factory, lost IMEI, am I screwed?

Hello,
New XDA poster, here... I've watched the intro video, and I've read the forum rules.
I'm not completely new to custom roms; I've previously flashed CM images on 2 other occasions, (on this same device, and 1 other.)
My question is: if I've lost my maguro's IMEI number (presumably by wiping /factory via CWM,) how screwed am I? I do not have a backup of /factory.
Here's how I got myself into this mess:
(Started from CM-10.1.2 or CM-10.1.3, can't remember.)
1. Updated recovery to clockwork-6.0.4.3-maguro
2. Factory reset (from inside recovery)
3. Formatted /system, /cache, /factory (immediately after starting that last one, I had a feeling it wasn't a good idea.)
4. Installed "cm-10.2-20131030-NIGHTLY-maguro.zip"
5. Installed "gapps-jb-20130813-signed.zip"
6. Rebooted
Everything worked peachy, except now my mobile service is permanently unavailable. Confirmed that I now have a generic IMEI number under Settings -> About phone -> Status.
This was a Play Store purchase; I am the original owner.
</ryan>
I have the same issue.
Did the /factory wipe on my phone from cwm. Among other wipes from the mounts menu.
Installed cm-10.2 ... Nightly
Here are the problems which I am facing.
1. The network signal indicator is blank & the phone reports emergency calls only. On my Vodafone's sim. ( also on tata DoCoMo & Idea sim cards).
2. Although the network signal indicator is blank 2g gsm mobile data is still working I.e. I can access websites, sync my phone with Google etc. Its just the call functionality is not working.
3. Tried another SIM from BSNL ( a local service provider in India). This sim works fine all the functionality ie call, sms , data is working on the BSNL sim.
If anyone has any suggestion how to fix this issue please help.
Sent from my Galaxy Nexus
I haven't done this with the Gnex, but this did happen with the i9000 and i9100 back then when moving from CM6 > CM7 and formatting from RFS over to EXT2 partitions destroyed my EFS folder. What I ended up doing was using Odin to flash back to stock from bootloader: the TAR images. I hope that if you flash to stock using Odin that you can achieve similar results. Remember that factory-images for Play Store models are "takju". Outside the US is "yakju".
OK let me try ODIN flashing.
Using the method & files from the following post
http://forum.xda-developers.com/showthread.php?t=2065470
Sent from my Galaxy Nexus
alpha-niner64 said:
I hope that if you flash to stock using Odin that you can achieve similar results. Remember that factory-images for Play Store models are "takju". Outside the US is "yakju".
Click to expand...
Click to collapse
Of course I'm willing to try anything that stands some chance of success, but I wonder: how could flashing Google's stock takju image-- that is the same for everybody-- restore an IMEI number that is different for everybody?
Solution...
Well kinda.
The issue is with Generic IMEI 004999010640000 most network providers have blocked this IMEI no. on their network, which is why the network registration fails & thus we get no network.
Their is a file nv_data.bin in 2 places on the device one is in /factory/nv_data.bin & the other is in /data/radio/nv_data.bin
The file in /data/radio/nv_data.bin determines the phones imei no. & the one in /factory/nv_data.bin is the backup.
In case the phone gets wiped or factory reset the system copies the file from /factory/nv_data.bin to /data/radio/nv_data.bin in order to determine the handsets IMEI no.
When you & I wiped the /factory/ in CWM it removed this backup file, thus on installation of any subsequent roms the phone was getting a generic imei resulting in network error.
If you have a NANDROID backup of the phone in an earlier state when the network was working correctly then restore from that backup & your network should be fine. I did & it restored my network.
Also if you are successful in getting your network & IMEI back I suggest backing up /data/radio/nv_data.bin & /data/radio/nv_data.bin.md5 to your PC because since the nandroid backup does not restore these files in /factory/ I am guessing any future wipe / rom upgrades will reset the radio to generic IMEI.
If you dont have a nandroid backup of a earlier good state of your phone I have no idea how to recreate the files.
in case you need it You can find your handsets IMEI no. in at the back of the phone below the battery.
The following links may help
http://forum.xda-developers.com/showthread.php?t=1570342
http://blog.falcondai.com/2013/10/fixing-galaxy-nexuss-imei-number.html
Brilliant post, gaurav1984.
Nope, no remaining backups at all. It seems odd to watch myself type those words, as I'm usually pretty zealous about backups generally. But I'm relatively new to CM, and in this instance my thinking was I wanted a completely fresh wipe; there was nothing I desired to save... or so I thought.
Since the consequences of wiping /factory are so dire, I think it would be a good idea if the CWM developers guard that particular action with a prominent red warning message.
... I might possibly have a Titanium Backup, from almost 2 years ago, somewhere. I wonder if that included nv_data.bin. Hmm...
</ryan>
Ryan,
take a look at the last paragraph on this page:
http://www.droidviews.com/backup-and-restore-lost-imei-on-samsung-galaxy-devices-without-root/
Sounds like might be a viable option for you.
ryanvbissell said:
Brilliant post, gaurav1984.
Nope, no remaining backups at all. It seems odd to watch myself type those words, as I'm usually pretty zealous about backups generally. But I'm relatively new to CM, and in this instance my thinking was I wanted a completely fresh wipe; there was nothing I desired to save... or so I thought.
Since the consequences of wiping /factory are so dire, I think it would be a good idea if the CWM developers guard that particular action with a prominent red warning message.
... I might possibly have a Titanium Backup, from almost 2 years ago, somewhere. I wonder if that included nv_data.bin. Hmm...
</ryan>
Click to expand...
Click to collapse
Update...
@ryanvbissell any nandroid backup (no matter how old or whichever rom ) will do even if it is not CM.
You may try the procedure on the link above, but from what I have read Galaxy Nexus NV_data uses salted md5 checksums so that method might not work.
Also if you have the nv_data.bin & nv_data.bin.md5 files you can push it into /factory so that whenever you flash a new rom or do a factory wipe the system picks up these files from /factory & restores correct IMEI data.
You will need ADB & Samsung USB Drivers(only on windows) for this procedure to work, Please Google how to installing ADB
& If you are on windows installing Samsung USB Drivers for Galaxy Nexus. drivers for Galaxy Nexus™ (Verizon) Android Smartphone, work for the GSM variant as well.
On MAC you don't need the USB drivers, just install ADB.
Here is how
1. From CWM recovery -> mounts and storage -> mount /factory.
2. From your PC -> adb push nv_data.bin /factory
3. From your PC -> adb push nv_data.bin.md5 /factory
4. From Your PC -> adb shell
5. From Your PC -> # cd factory/
6. From Your PC -> /factory # chmod 700 nv_data.bin
7. From Your PC -> /factory # chmod 700 nv_data.bin.md5
8. From Your PC -> /factory # chown radio.radio nv_data.bin
9. From Your PC -> /factory # chown radio.radio nv_data.bin.md5
10. From Your PC -> exit
After this install a new ROM or do a factory wipe & your IMEI should be back & networks should work.
now any future wipe / rom upgrades will NOT reset the radio to generic IMEI.
I have done the same on my phone with successful results.
ryanvbissell said:
3. Formatted /system, /cache, /factory (immediately after starting that last one, I had a feeling it wasn't a good idea.)
Click to expand...
Click to collapse
I did the exact same thing, felt the exact same way, and on the same day too. And I had also purged all my backups at one point and decided to start over when this happened. Freaky.
@gaurav1984 - That was my solution as well. Luckily, it turned out I had an old lingering backup I made months ago on a network drive from the last time I backed up my desktop to reinstall Windows. Completely forgot about it until just a little while ago, and found out that a regular data backup (at least with TWRP) includes /data/radio, so it contained a good set of nv_data.bin and nv_data.bin.md5. I wound up doing exactly what you did but also pushed them to /data/radio/ and set the same permissions/ownerships there -- more of a spray-and-pray tactic since I hadn't seen your post at the time. Crossed my fingers, rebooted, and it worked! What a nerve-racking 24 hours.
Needless to say, those files are now backed up in several locations. Having /factory in the format list seems odd... should have to go out of your way to format something that important.
From what I found before I discovered my old backup, you'd have to buy a $200 magic box (which I think would just end up being an overpriced UART cable for this particular phone) and possibly some software to do an "IMEI Repair." I found some cheaper options from SRS Services through SamMobile (~$15US UART cable from China plus ~$35US to run a repair once), but it wasn't 100% clear if it could fix a formatted /factory partition with no backup whatsoever. I'm guessing it could since it requires a UART cable and the demo videos showed assigning an IMEI. Rebuilding these files is probably hard to come by since the same process can be used to clone another IMEI or change your IMEI to something other than what it's supposed to be, which is illegal in some countries.
mrbo said:
Ryan,
take a look at the last paragraph on this page:
http://www.droidviews.com/backup-and-restore-lost-imei-on-samsung-galaxy-devices-without-root/
Sounds like might be a viable option for you.
Click to expand...
Click to collapse
I ran across a few of these guides for Samsung Galaxy phones as well, but I don't think they apply to the Galaxy Nexus... at least I couldn't figure out how to get it to work with our devices unless I was missing something important. I noticed they all mention Qualcomm and the I9250 doesn't have any Qualcomm stuff as far as I know.
I made the same mistake, but I do not think I have any backups. Do you have any idea if I can restore my IMEI? I know the value for sure.
Thanks for any help you can give.
---------- Post added 3rd November 2013 at 12:14 AM ---------- Previous post was 2nd November 2013 at 11:51 PM ----------
I made the same mistake, but I do not think I have any backups. Do you have any idea if I can restore my IMEI? I know the value for sure.
Thanks for any help you can give.
rburrow said:
I did the exact same thing, felt the exact same way, and on the same day too.
Click to expand...
Click to collapse
Misery loves company.
rburrow said:
I did the exact same thing, felt the exact same way, and on the same day too.
Click to expand...
Click to collapse
I ran across a few of these guides for Samsung Galaxy phones as well, but I don't think they apply to the Galaxy Nexus... at least I couldn't figure out how to get it to work with our devices unless I was missing something important. I noticed they all mention Qualcomm and the I9250 doesn't have any Qualcomm stuff as far as I know.[/QUOTE]
Agreed. My only surviving backup is a Titanium Backup, and it only includes APKs. So, I think my solution will be to buy a Nexus 5.
... And until it arrives, my email .sig will read: "-- SENT FROM MY ANDROID TOUCH", because obvious.
</ryan>
ryanvbissell said:
rburrow said:
I ran across a few of these guides for Samsung Galaxy phones as well, but I don't think they apply to the Galaxy Nexus... at least I couldn't figure out how to get it to work with our devices unless I was missing something important. I noticed they all mention Qualcomm and the I9250 doesn't have any Qualcomm stuff as far as I know.
Click to expand...
Click to collapse
Agreed. My only surviving backup is a Titanium Backup, and it only includes APKs. So, I think my solution will be to buy a Nexus 5.
... And until it arrives, my email .sig will read: "-- SENT FROM MY ANDROID TOUCH", because obvious.
</ryan>
Click to expand...
Click to collapse
Hah. I finally decided to order a Nexus 5 like an hour or two before I managed to wipe all the nv_data files simultaneously. My friend told me that I had a tiny tablet now when I figured out what I had done.
cardboardhome said:
I made the same mistake, but I do not think I have any backups. Do you have any idea if I can restore my IMEI? I know the value for sure.
Thanks for any help you can give.
Click to expand...
Click to collapse
If you really don't have a backup anywhere, I think your only solution is to send it in somewhere to have the IMEI repaired (either someone that says they can fix it, or to Samsung). Unfortunately it's more than likely going to cost money. The cheapest potential solution I could find was from SRS Services / SamMobile, where you have to buy a UART cable and pay to do an IMEI repair using their software. I have never used them so I have no idea how all that works out.
I searched quite a bit (albeit only for a like a day) for a free DIY way to regenerate or create a new nv_data.bin file, but I just couldn't find anything. The only thing I didn't try was an OMAP flash because I couldn't install the driver that came with the zip in Windows 8.1 64-bit, but I was already giving up at that point so I didn't go any further.
@ryan
I was just wondering about the ODIN method as posted on post no. 2 & 3.
When you flash your phone using ODIN it wipes the whole internal memory & recreates the partitions.
Thus we can assume all files gets wiped including those in the /factory.
So I was thinking if Odin recreates the whole filesystem as new maybe there might be some file or script or program .... In there which recreates the IMEI files as well.
Ryan if you feel up to it could you please do a Odin flash of your device ( since their is nothing more to loose ) & check if that somehow restores the imei.
If it does that might be really helpful to someone in the same situation as u in the future & you WD be able to resell your Gnex fully working.
Sent from my Galaxy Nexus using xda app-developers app
gaurav1984 said:
Ryan if you feel up to it could you please do a Odin flash of your device ( since their is nothing more to loose ) & check if that somehow restores the imei.
If it does that might be really helpful to someone in the same situation as u in the future & you WD be able to resell your Gnex fully working.
Click to expand...
Click to collapse
Good point. I originally passed up on the Odin angle because on a page that listed versions of Odin for specific phones, there was no suggested version for the i9250. But you have a good point; I really have nothing to lose. So I will try it, but it may take me a few days before I have time.
Meanwhile, I took my GN to a local 'CPR' cellphone repair shop, and explained my predicament. Their tech just shook his head sadly and said 'Only Samsung has the proprietary software to fix this.' I found that surprising because I think I've seen references online to some $200+ kit called SPT ("Samsung Phone Tools") which I thought was geared towards professional phone repair businesses. Oh well.
Sent from my ANDROID TOUCH... sigh.
</ryan>
IMEI
Odin flashing doesn't work
struggled today
dkkerry said:
Odin flashing doesn't work
Click to expand...
Click to collapse
did the same mistake of formatting factory today, it took me a day to find out my old backup dated back june 2013 made via cwm and finally phone is back to normal. Seems without backup restoring is impossible...maybe time to get nexus 5 for u
pvkiniyan95 said:
did the same mistake of formatting factory today, it took me a day to find out my old backup dated back june 2013 made via cwm and finally phone is back to normal. Seems without backup restoring is impossible...maybe time to get nexus 5 for u
Click to expand...
Click to collapse
Same happend with me today, and I dont even have a nandroid backup, as we both are from India you know its hard to get solved from a samsung service centre, can you please upload you CWM backup files??? so that I will try to restore those on my gnex
file too big
my backup file is around 2.1gb which will take me weeks to upload with the internet connection i have, may be if i backup the efs with some tools and send that img to u will that be useful...its really difficult to upload the whole backup
Utkarsh-ezzo said:
Same happend with me today, and I dont even have a nandroid backup, as we both are from India you know its hard to get solved from a samsung service centre, can you please upload you CWM backup files??? so that I will try to restore those on my gnex
Click to expand...
Click to collapse
pvkiniyan95 said:
my backup file is around 2.1gb which will take me weeks to upload with the internet connection i have, may be if i backup the efs with some tools and send that img to u will that be useful...its really difficult to upload the whole backup
Click to expand...
Click to collapse
ya i can understand that,
i think we domt have efs partition on gnex its located at /factory , so if you could share the file from /factory it would be great for me,
nv_data.bin, nv_data.bin.md5 , .nv_data.bak and .nv_data.bak.md5
these files from /factory would help me out..
you will need to use root browser or root explorer or adb shell....
Sent from my Galaxy Nexus using Tapatalk

[Q] i lost my efs file even withe root explorer

i lost my efs file even withe root explorer
no thing work
i run android 4.2,2
a yello window on my screen
i used a sgاا_rebair tool apk
i mounted a official 4.2.2 but the same proplem
how can i fix that
i need Universal CSC & recover product code for egypt
​
m.hassan2020 said:
i lost my efs file even withe root explorer
no thing work
i run android 4.2,2
a yello window on my screen
i used a sgاا_rebair tool apk
i mounted a official 4.2.2 but the same proplem
how can i fix that
i need Universal CSC & recover product code for egypt
​
Click to expand...
Click to collapse
What Exactly problem you are facing...If EFS is lost you can backup again but provided you have not corrupted your IMEI...
ok
jackeagle said:
What Exactly problem you are facing...If EFS is lost you can backup again but provided you have not corrupted your IMEI...
Click to expand...
Click to collapse
this is what i got
no calls but still internet​
m.hassan2020 said:
this is what i got
no calls but still internet​
Click to expand...
Click to collapse
Can't do anything for it that means your IMEI is corrupted give it to service center after flashing stock firmware...EFS was in Ext SD card RECOVER IT using PC...

[Q] Changing Nokia X IMEI code ?

Hi, I messed up with my IMEI code and I'm trying to get the original one back. Anyone have an idea please? I found on the internet that it's stored in /efc partition, how to access this partition please?! Thanks !
Some updates:
On others phones, IMEI is located in either efs or persist partition.
On samsung devices a file called nv_data.bin seems to be the one including the IMEI.
Some guides I found: http://forum.xda-developers.com/galaxy-s2/general/guide-recover-imei-9-steps-t1264021 and http://forum.xda-developers.com/showthread.php?t=881162
I still can't find where is the IMEI located on Nokia X devices.
I have a backup of all my partitions using my own guide http://forum.xda-developers.com/nokia-x/general/tutorial-how-to-revive-dead-nokia-x-t3000903 (second post) and searched for my IMEI code using hex editor in all files but I can't find it; maybe it's encrypted or hidden something like that...
When I backup my full internal mmc storage, I can find my IMEI (the one I need to change to my true IMEI). I mounted the img as RW and replaced all the IMEI found with my real IMEI. I flashed again the whole storage using "dd" command; but nothing have changed....
Some questions:
Does Nokia X have efs partition?
What is the persist partition on Nokia X?
Is there an nv_data.bin file on Nokia X? I already searched for that using shell and find command (busybox) and I can't find it.
Please if you have any idea tell me, this will help many many other people facing the same problem ! Thank you !
not any answer really ???!!
the second post was removed !! why ?
this is illegal , but its an art
please post it on a blog agian * :/
iam have same proplem i have no network
post this tutorial to me , i release it in a safe blog , for public :/
telegram : @wo501

Write known correct IMEI to device

Hi all,
My Samsung Galaxy S9 (SM-G960F) shows IMEI “Null”. This prevents it from recognising it has a SIM card.
* Device is rooted. “no verity” blob installed.
* LineageOS installed successfully.
* No partition backups were done; I wasn't aware of “EFS” or anything like that when I started the procedure.
* Using a root filesystem browser, the ‘/efs/’ directory is apparently empty.
I know the correct IMEI (it's printed on the back of the case). How can I record the IMEI into the device so that it knows its own IMEI and uses the SIM card?
Does this require generating an EFS partition (if that's the correct term)?
I have the correct IMEI. How can I write that to the device so the operating system can read it and use it correctly?
herbicide said:
Does this require generating an EFS partition (if that's the correct term)?
I have the correct IMEI. How can I write that to the device so the operating system can read it and use it correctly?
Click to expand...
Click to collapse
Did you solve the problem and how?
This happened to me with one old galaxy s3 phone and at the time, there was no way to fix it. At least not for free. I also downloaded those tools that the service technicians use, I found them illegally and they didn't succeed either. And here, too, no one knew the way. Maybe there's a free way now, I don't know.
And check this https://forum.xda-developers.com/t/...-nand-erase-any-ideas-how-to-recover.4277509/
xxsen said:
Did you solve the problem and how?
Click to expand...
Click to collapse
I did not, sadly.
xxsen said:
This happened to me with one old galaxy s3 phone and at the time, there was no way to fix it. At least not for free. I also downloaded those tools that the service technicians use, I found them illegally and they didn't succeed either. And here, too, no one knew the way. Maybe there's a free way now, I don't know.
Click to expand...
Click to collapse
Thank you for confirming its not only my device.

Categories

Resources