TD:LR Get back to Stock ROM for your country and then restoring EFS the backup will help in getting back your IMEI.
Click to expand...
Click to collapse
Requirements
1. Stock country ROM + Rooted if necessary
2. Any EFS backup
3. Same tool used in (2) to restore it back.
Situation
Currently I was 4.3 XXUGML2 ArchiDroid V1.7.3. Faced a lot of issues with any 4.3 ROM i tried. So I though I will go back to 4.2.2 OXAME7 [EFS v1] which was real stable for me. I flashed 4.2.2 again via Odin. After successful boot I had lost my IMEI where the code was generic 0049***. Here are the things I tried to do:
1. I had efs.tar.gz file which I had created when I was on 4.2.2 before flashing 4.3 with help of kTool. I tried to restore the same with help of the same app, but that did not work at all.
2. I had made EFS backup via custom backup and restore of Philz CWM Recovery. But that backup was in Internal SD. After I had flashed 4.2.2 from 4.3 with Odin the internal was completely wiped. So I had lost my 2nd and final alternative backup.
3. Tried to flash XXEMG4 modem which is actually EFS v2 modem, but that too didn't solve the issue.
Now why did this happen?
I am not sure, but my guess was that this happened because the 4.2.2 ME7 ROM had EFS v1 path whereas the 4.3 ROM was EFS v2 path. Any other possible reasons?
The Fix
As a last resort
1. I downloaded the Stock ROM for my country (India) which is XXEMH4 via odin --> No IMEI yet
2. Tried to restore the EFS via kTool again.
3. Profit + hefty amount of relief.
It was a great relief for me to see the IMEI back and thought of sharing it here. Hope this information will be helpful to others. :good:
Edit:
I think this method too would have helped, but did not bump into this thread earlier: http://forum.xda-developers.com/showthread.php?t=2531221
Well this work with S4 too?
kachrukamble said:
Well this work with S4 too?
Click to expand...
Click to collapse
I'm not sure.. But flashing stock ROM and then restoring EFS can be applied to any Samsung phone with IMEI issues as last resort.
Sent from my GT-I9100 using Tapatalk
Mod Edit
Please refer to the stickies in General before posting.
Thread closed
malybru
Forum Moderator
Hello developers,
I found the exact same problem posted on xda developers fourm but none of the posts were answered completely or solved.
I rooted my Sm n900 without any problems, installed CWM recovery, installed SuperSu and installed VN Rom for galaxy note 3 (referred this from some Chinese guy on web (since i cant post third party links) its galaxynote3root dot com.
At first i didnt check efs backup option and installed VN rom without any problems (no imei loss or baseband unknown) on my own phone.
But when rooted one of my friends SM n900 with exact same method as i did earlier (but i checked create efs backup this time), i got screwed.
I tried EFS professional, but when i try to put his phone in RMNET + DM + MODEM by pressing *#0808#, and run efs software, and click either qualcommn or efs professional button, it doesnt recognise the device and says not connected.
I tried various other options as well such as rerooting, reinstalling the rom, reinstalling OEM rom, and other roms as well. Every thing is fin except IMEI and baseband null/unknown.
I had a problem like that. On my note 2 .i flashed patition file in odin and it was fixed.
bonebeatz1234 said:
I had a problem like that. On my note 2 .i flashed patition file in odin and it was fixed.
Click to expand...
Click to collapse
Which partition? EFS? Problem is, now i dont have any backups of EFS partition or folder. I am trying to flash modem via odin from phone mode. After that i will have tried everything and will be stuck with a bricked cell forever
rabinpro said:
Which partition? EFS? Problem is, now i dont have any backups of EFS partition or folder. I am trying to flash modem via odin from phone mode. After that i will have tried everything and will be stuck with a bricked cell forever
Click to expand...
Click to collapse
you should bring to the service center to record the IMEI number.
root your device and flash xxuene1 modem from recovery.
Modem is available on xda..search
I did the same and it worked for me
Not worked
HI Devs,
I have flashed leaked lollipop build on my Samsung Galaxy S4 I9500, evrything was working fine, later I decided to go back to stock 4.4.2 rom.
When I flashed stock rom, my phones' efs folder got corrupt, now my phones baseband is unknown, Serial no. is something different, Imei no. is something different.
I tried flashing back that leaked build, again everything started working fine. So I backed up efs folder from there and again flashed stock rom via odin.
After flashing stock 4.4.2, again same issue was there, so i restored the Efs folder and restarted my S4.
But nothing changed.
Can anyone help me in restoring efs back to back.
I want to restore my phone to stock build and with original imei and serial no.
tush1114 said:
HI Devs,
I have flashed leaked lollipop build on my Samsung Galaxy S4 I9500, evrything was working fine, later I decided to go back to stock 4.4.2 rom.
When I flashed stock rom, my phones' efs folder got corrupt, now my phones baseband is unknown, Serial no. is something different, Imei no. is something different.
I tried flashing back that leaked build, again everything started working fine. So I backed up efs folder from there and again flashed stock rom via odin.
After flashing stock 4.4.2, again same issue was there, so i restored the Efs folder and restarted my S4.
But nothing changed.
Can anyone help me in restoring efs back to back.
I want to restore my phone to stock build and with original imei and serial no.
Click to expand...
Click to collapse
Hi mate
Looks like the problem is the modem and not the efs , try flashing a 4.4.2 modem
There are several people who have the same issue. I don't know if there is a solution. I haven't seen one on this forum. Try google.
You can't downgrade. Once you are on 5.0 then you stay on 5.0
Hello Fellas, am posting here as I haven't found help elsewhere. Kindly Respond to my woes. I have a rooted Galaxy Note 3 N900 running official Lollipop with IMEI Null/Null and No Baseband version. The IMEI just disappeared totally out of the blue as no custom ROM has been flashed on the device!! This has happened 2 months after updating from 4.3 Jelly bean. With no prior EFS Backup here's what I have tried:
1. EFS Professional (backup&restore complete but no luck)
2. EFS Restore express ( backup.bat>Odin restore)
3. GSII Repair tool
After hitting no luck with the above tools and without any "/EFS mount errors" in recovery either and WIFI working fine, I came to a conclusion that most probably the EFS folder partition on my Note 3 is still intact and most probably this could be a case of a bad modem which would explain the loss of Baseband Version and thus the Null IMEI. So I tried flashing back to KitKat with N900XXUENG1 firmware and separately flashed a few modems compatible with Samsung's new EFS System: N900XXUENG1_MODEM, N900_XXUENF2_MODEM_CWM and also gave a shot at recommended N900_XXUENE1_MODEM_CWM.ZIP which seems to restore baseband for many users with this issue but this failed as well. After much searching I found a 4file_N900XXUGBNL8 Lollipop Firmware with PIT from Dev-Host, flashed all files in Odin&even repartitioned the device but still no baseband!!! WIFI&everything else runs smooth except the damn baseband/Null IMEI! Almost Exhausted my options...
Now I trust we have some informed members and developers here, NEED YOUR VALUABLE IDEAS HERE mates! Someone, anyone.....Thanks!
Have got any guarantee of the device?If so,send it to service ıf your guarantee continiues.
If you bought the device from another country,This may occur ıf you didn't register it.(In my country this is how it works.Turkey)
Or someone cloned your imei,check your imei ıf it is valid.
This is not because you upgraded your device to android 5.
If ıt was the case,you would have already faced the problem after just the flash.
I would say flash another modem
But,You say you tried flashing other modems.So no luck with that.
I had seen s3 with the same problem.I had flashed a modded modem.
It worked.I dont know if there is one for your device.
Briefly this is an imei/modem problem.
I don't know ıf the suggestions above help you.
I hope so.
Good luck.
try flashing stock rom from sammobile via odin. you need to backup efs folder everytime you flash a new rom, that's my opinion. may be wrong.
I think I used to had this problem with my Note 2 as well. If you come from 4.3 you should flash stock ROM Jelly bean 4.3 from Sammobile or Samsung-updates website. Then flash lollipop 5.0 over 4.3 when you can see your IMIE. Maybe it will work.
So. If u in L bootloader. U must! Flash the L modem that sometimes didnt get flashed by the odin while flashing stock rom. So just extract the modem.img and things for modem. Then just flash it using dd command or make flashable zip. Then it works fine. I have it on s4 exynos. That if i in L bootloader then even i install kitkat rom with L bootloader. U must still flash the L modem. K. Hope it works
1. İf you couldnt recover with efs professional , probably you've been lost your original imei files like nv_data.bin etc. and there is no backup...
2. So try to remake this kind of files with-again- with efs professional. But there is not so much info about this "creation" process.
3. I had the same situation. . . . And i'm still sorry. . . ( . . . The other solution is JTAG, more easy, cheaper in total and psychologicaly healty !!!)
GOOD LUCK....
m6112 said:
1. İf you couldnt recover with efs professional , probably you've been lost your original imei files like nv_data.bin etc. and there is no backup...
2. So try to remake this kind of files with-again- with efs professional. But there is not so much info about this "creation" process.
3. I had the same situation. . . . And i'm still sorry. . . ( . . . The other solution is JTAG, more easy, cheaper in total and psychologicaly healty !!!)
GOOD LUCK....
Click to expand...
Click to collapse
All EFS folder files are present including nv_data.bak&.bin Am a bit reserved to go the JTAG way just yet.
white7561 said:
So. If u in L bootloader. U must! Flash the L modem that sometimes didnt get flashed by the odin while flashing stock rom. So just extract the modem.img and things for modem. Then just flash it using dd command or make flashable zip. Then it works fine. I have it on s4 exynos. That if i in L bootloader then even i install kitkat rom with L bootloader. U must still flash the L modem. K. Hope it works
Click to expand...
Click to collapse
Thanks for that but as I already said I was lucky to find a 4file partitioned Lollipop ROM with separate modem. Flashed that through Odin and even repartitioned the device but that hit a rock as well!
longcoming said:
Have got any guarantee of the device?If so,send it to service ıf your guarantee continiues.
If you bought the device from another country,This may occur ıf you didn't register it.(In my country this is how it works.Turkey)
Or someone cloned your imei,check your imei ıf it is valid.
This is not because you upgraded your device to android 5.
If ıt was the case,you would have already faced the problem after just the flash.
I would say flash another modem
But,You say you tried flashing other modems.So no luck with that.
I had seen s3 with the same problem.I had flashed a modded modem.
It worked.I dont know if there is one for your device.
Briefly this is an imei/modem problem.
I don't know ıf the suggestions above help you.
I hope so.
Good luck.
Click to expand...
Click to collapse
It's an old device, no warrants. Am indeed looking at the possibility of someone else allocating the IMEI to their device, though i doubt. But if that was the case shouldn't the Baseband at least be present?
Did you try downgrading to 4.3 with official stock files?
If not,give it a shot.
Droidsan said:
It's an old device, no warrants. Am indeed looking at the possibility of someone else allocating the IMEI to their device, though i doubt. But if that was the case shouldn't the Baseband at least be present?
Click to expand...
Click to collapse
I have explained it earlier, Actually it is kernel. Newer kernel makes some changes on EFS partition and that changes can not be read by old kernel but in this case once you flash newer modem it will be solved. If your issue doesn't solved by flashing latest stock ROM then only possibility is messed up EFS partition and for that you must have a backup which was created when your device was normal. If your EFS partition is corrupted and you don't have backup then i think only option you have is to go to service station they can repair it easily. Though your device is not under warranty but you have official bill then still they can do it with paid service. Now a days samsung have changed policy and restoring IMEI they needs to do it online with samsung server (this information I got from service center owner in my city who is my friend and he did same for one of my friend)
UPDATE:
dr.ketan said:
I have explained it earlier, Actually it is kernel. Newer kernel makes some changes on EFS partition and that changes can not be read by old kernel but in this case once you flash newer modem it will be solved. If your issue doesn't solved by flashing latest stock ROM then only possibility is messed up EFS partition and for that you must have a backup which was created when your device was normal. If your EFS partition is corrupted and you don't have backup then i think only option you have is to go to service station they can repair it easily. Though your device is not under warranty but you have official bill then still they can do it with paid service. Now a days samsung have changed policy and restoring IMEI they needs to do it online with samsung server (this information I got from service center owner in my city who is my friend and he did same for one of my friend)
Click to expand...
Click to collapse
Thank you Dr.Ketan for that information. You have been a great help to many. I have followed your posts about this issue and I feel there is still hope.
UPDATE:
I WAS ABLE TO RESTORE THE BASEBAND AND NOW THE IMEI IS GENERIC, READS 004999010640000. [/B] I was able to restore nv_data backup from /Efs folder and deleting bad nv_data. Here's what I did:
Using root Explorer in /EFS:
Deleted corrupt files;
nv_data.bin ( 18 April 2015)
nv_data.bin.md5 (18 April 2015)
Renamed backup files (dated 31 Jan 2015) to apply;
.nv_data.bak > nv_data.bin
.nv_data.bak.md5 > nv_data.bin.md5
Using ADB shell:
Code:
adb shell
su
umount /efs
mke2fs /dev/block/mmcblk0p3
mount -w -t ext4 /dev/block/mmcblk0p3 /efs
Reboot
However, the baseband and generic IMEI come&go across reboots and seems not to stick permanently. Any possible steps from here???
NOTE: Previously I have been able to restore Unknown Baseband and Null IMEI in Galaxy S2 i9100 using the above adb method (Code Only) http://www.selftechgenius.com/?p=284
NOTE: Previously I have been able to restore Unknown Baseband and Null IMEI in Galaxy S2 i9100 using the above adb method (Code Only) http://www.selftechgenius.com/?p=284
Try this out
I always have that problem when I downgrade to jellybean but solving it is easy. Just flash THIS modem file under the AP option Odin. Tell me if it works.
Muthumbi said:
I always have that problem when I downgrade to jellybean but solving it is easy. Just flash THIS modem file under the AP option in odin mode. Tell me if it works.
Click to expand...
Click to collapse
If flashing modem via Odin you MUST turn off the phone then start it in DL mode. Simply doing a 'reboot' into DL mode will not let the modem be flashed.
hello, not sure if this is possible but needing to fix my efs partition as its corrupt, wrong serial and no imei number just 000's, i had a problem and updated my phone to the lastest stock firmware. Recently put custom rom back on. If any can help that would be great, thanks
You can't.. without matching binary combination rom and efs backup. Sadly, latest combination roms aren't available for s7 series.