Mi4i full partition corrupted. Unable to restore EFS partition. - Xiaomi Mi 4i

Hello friends,
I have a Mi4i which was rooted and Cyanogen was installed.
Suddenly after reboot, the phone stopped booting into the Cyanogen OS.
I tried to flash the Cyanogen again but it did not boot.
I flashed the stock ROM, which is MIUI 6 and the phone booted this time.
Now I could see that the SIM card was not getting detected. And also IMEI number was showing as invalid.
I then deleted all the partitions and tried to recover the phone by flashing using "MiFlash". This time too the Cyanogen OS didn't boot up.
Then I again flashed the stock ROM and this time also MIUI booted up correctly.
Still the IMEI was showing as invalid.
I don't have any backup of the EFS partition.
I checked the stock ROM flash_all.sh script and could not find any efs partition being written (modemst1, modemst2, fsg).
Then from somewhere I got the modemst1, modemst2 and nv_data partition data and I wrote the partitions manually.
After writing the EFS partitions Cyanogen booted correctly. But this time the IMEI showed as "012345678901234" and "012345678901235".
As this is a dummy IMEI, the SIM was not getting registered in the network.
Tried with QPST RF NV manager tool to write the IMEI which successfully did but with *#06# it still showed Invalid IMEI.
Tried with a couple of IMEI flasher and none of them worked.
Also tried to write the IMEI number using AT command (AT+EMGR=1,7,"IMEI1") but the AT command was returning "ERROR"
Please help me to recover my phone.
Now I have my phone with MIUI 7 installed and it is working fine except the IMEI issue.
Thanks in advance.

You can use QPST Tools to program the efs manually, but I've not tried it. So try to give it a try and see if it works

Hackerpunk1 said:
You can use QPST Tools to program the efs manually, but I've not tried it. So try to give it a try and see if it works
Click to expand...
Click to collapse
Thanks for your reply.
Can you please let us know which tool you are talking about?
Is it BuildGangImage??
I tried it once but it is not able generate efs image..
Can you please help?
Thanks in advance.

Check the tool from this

Hackerpunk1 said:
Check the tool from this
Click to expand...
Click to collapse
Thank you very much. This method partially worked for me.
I could write the imei number to my phone this time.
But the sim is not getting registered.
Can you please help?
Thanks in advance.

Dump your efs partition, and upload the dump so that I can try to compare it to mine and see if some other things should be used .

Hackerpunk1 said:
Dump your efs partition, and upload the dump so that I can try to compare it to mine and see if some other things should be used .
Click to expand...
Click to collapse
Attaching the efs dump from my mi4i.
It will really be of great help to me if you can fix the phone.
In the current efs dump, I could only write the IMEI number of the first sim. I am not aware of the address of the IMEI of the second sim slot.
Thanks for your help and valuable comments.

Can you upload a backup of the EFS Partition from TWRP or from Mi4i Toolkit? Thanks in Advance!

Hackerpunk1 said:
Can you upload a backup of the EFS Partition from TWRP or from Mi4i Toolkit? Thanks in Advance!
Click to expand...
Click to collapse
Hi,
Please find the attached efs dump taken from both MiToolkit and TWRP Recovery.
Thanks.

Probal Basak said:
Hi,
Please find the attached efs dump taken from both MiToolkit and TWRP Recovery.
Thanks.
Click to expand...
Click to collapse
Hi,
Did you get a chance to compare my efs with yours?
I am now really hoping on you to fix my phones issue.
Thanks in advance.

Probal Basak said:
Hi,
Please find the attached efs dump taken from both MiToolkit and TWRP Recovery.
Thanks.
Click to expand...
Click to collapse
Hackerpunk1 said:
Can you upload a backup of the EFS Partition from TWRP or from Mi4i Toolkit? Thanks in Advance!
Click to expand...
Click to collapse
Hi,
I have already added the efd dump from my mobile a few days back.
Did you get a chance to compare my efs with yours?
I am now really hoping on you to fix my phones issue.
I tried many ways but no success yet.
Thanks in advance.

Use QPST to restore EFS after a flash all in fastboot

xemisxu said:
Use QPST to restore EFS after a flash all in fastboot
Click to expand...
Click to collapse
The problem is I don't have the efs backup of my phone. So all the data is lost. Even the IMEI number is also erased.

Try this and see, and I was unable to compare the file

Related

### --- XXDME4 modem --- ### fix IMEI - -unknown modem

on the XXDME6 base - you can not install old modems,
because it will cause for unknown modem & imei status.
Solution flash - XXDME4 modem
XXDME4 modem
flash via TWRP / CWM
sorry, if not responding to requests but I switched to Samsung Galaxy S 4
FIX IMEI
If YOU type *#06# it says imei null.
Also another thing - that there is no baseband version
#######################################################
the fix
open your SGN II - under the battery you'll find IMEI (in my case)
write - on a paper
turn on GPS
on the dialer - *#*#82043036#*#*
next go to GPRS -> WRITE IMEI ->Reboot
Will it allow modem downgrade, ie DME6>DME4>Stock 4.1.1?
I want to downgrade to 4.1.1 from present DME6 (UK BTU N7100)
rajil.s said:
Will it allow modem downgrade, ie DME6>DME4>Stock 4.1.1?
I want to downgrade to 4.1.1 from present DME6 (UK BTU N7100)
Click to expand...
Click to collapse
i did not try that !!!
but do a backup and try !
czar22 said:
FIX IMEI
If YOU type *#06# it says imei null.
Also another thing - that there is no baseband version
#######################################################
the fix
open your SGN II - under the battery you'll find IMEI (in my case)
write - on a paper
turn on GPS
on the dialer - *#*#82043036#*#*
next go to GPRS -> WRITE IMEI ->Reboot
Click to expand...
Click to collapse
have you tried it ?
i am asking in context of lost imei.
if a phone has got his efs corrupted and one doesn't have a backup, will it work ?
czar22 said:
i did not try that !!!
but do a backup and try !
Click to expand...
Click to collapse
Ok, i tried this.
1. Had DME6 on my device.
2. Flashed your DME4 modem which was successfull. The IMEI was still present.
3. Flashed Stock 4.1.1 BTU. IMEI was lost and had emergency calls
4. Flashed DME4 again, and IMEI came back. So i am back on 4.1.1 which i wanted.
The dial string ...8204... doesnt work on my N7100 UK BTU, although i didnt need it because i got imei back.
Successful..........
I had two copies of my efs. I reflashed my efs in 4.1.1 (XXALJ2 modem) and I got the imei back. Everything back to normal. Phew...
the method is when u lost your imei go to efs folder by using root explorer and copy that efs folder to your eternal sd card (i mean backup efs folder to sd card)
then flash a stock rom via odin then your phone still not have service and imei (maybe fake imei is 0499...)
root your stock rom, install root explorer and copy efs backup folder from your sd card then paste with the efs folder in your root directory
=> reboot and your imei is back
i have successful with this method
grilleld said:
the method is when u lost your imei go to efs folder by using root explorer and copy that efs folder to your eternal sd card (i mean backup efs folder to sd card)
then flash a stock rom via odin then your phone still not have service and imei (maybe fake imei is 0499...)
root your stock rom, install root explorer and copy efs backup folder from your sd card then paste with the efs folder in your root directory
=> reboot and your imei is back
i have successful with this method
Click to expand...
Click to collapse
But how can you get efs back, when the backup you made was from a corrupt efs? Maybe you just didn't flash the latest modem when you were on me6, and your imei wasn't corrupted at all.
Sent from my Galaxy Note II using xda premium
UtkarshGupta said:
But how can you get efs back, when the backup you made was from a corrupt efs? Maybe you just didn't flash the latest modem when you were on me6, and your imei wasn't corrupted at all.
Sent from my Galaxy Note II using xda premium
Click to expand...
Click to collapse
no your efs folder is still there with your original imei but the modem has hide or can use it ( so backup it in to sd card ,i mean copy it)
flash your stock XXDME6 BASE WITH XXDME4 kernel in there package, dont change any modem
then use root explorer delete your efs folder (it will show delete fail but all sub folder and files in efs have been delete)
=> reboot your phone ,now android will creat neccessary file for efs folder ,copy your backup efs folder from sdcard to root efs folder (replace all)
reboot and u will get your imei
rajil.s said:
Ok, i tried this.
1. Had DME6 on my device.
2. Flashed your DME4 modem which was successfull. The IMEI was still present.
3. Flashed Stock 4.1.1 BTU. IMEI was lost and had emergency calls
4. Flashed DME4 again, and IMEI came back. So i am back on 4.1.1 which i wanted.
The dial string ...8204... doesnt work on my N7100 UK BTU, although i didnt need it because i got imei back.
Successful..........
I had two copies of my efs. I reflashed my efs in 4.1.1 (XXALJ2 modem) and I got the imei back. Everything back to normal. Phew...
Click to expand...
Click to collapse
Let me understand, for I have installed the MF6 without backup my EFS (and now I stuck with this rom):
You installed a previous stock rom with odin, installed that attached modem (ME4) and all right... but you then installed ANOTHER stock rom with odin and was all right?
You will need efs backup made prior to installing MF2. Without it you will not be able to revert to stock with working modem.
i have updated my ROM based on DME6, I have a nandroid backup of my prev ROM DME1 based, tried to restore it. Baseband/modem got restored but EMEI invalid, its start with 0049. It displays my network logo but cant register to network.
This means Im stuck with DME4 modem. Hope our Devs here would be able to resolve this issue with the new released firmwares.
Sent from my GT-N7100 using Tapatalk HD
No luck
czar22 said:
FIX IMEI
If YOU type *#06# it says imei null.
Also another thing - that there is no baseband version
#######################################################
the fix
open your SGN II - under the battery you'll find IMEI (in my case)
write - on a paper
turn on GPS
on the dialer - *#*#82043036#*#*
next go to GPRS -> WRITE IMEI ->Reboot
Click to expand...
Click to collapse
Running Stock (BTU-N7100XXDME6-20130603102621) Rooted with TWRP recovery.
Lost my IMEI and modem functionality when I rooted with Note 2 toolkit :crying:
Read this and flashed DME4 modem via TWRP
I get null/null when doing *#06#
nothing happens when I input *#*#82043036#*#* and if I hit call it obviously just tells me 'No mobile network is available'
Tried flashing the modem 3 times now...what am I doing wrong? Any Ideas?
Thanks in advance
Pav
Is it possible to revert to a older modem? Such as dxdlk5?
PavPev said:
what am I doing wrong? Any Ideas?
Click to expand...
Click to collapse
I think you got yourself in a tuttifruti mix not knowing what are doing,not having efs backup and flashing a bunch a things trying to fixit.
Now you have to go back to your last working build and stay there until samsung release a fix so we could flash withaout worries.
Good luck to you sir.
bervin said:
Is it possible to revert to a older modem? Such as dxdlk5?
Click to expand...
Click to collapse
No luck with that one but thanks for the suggestion!
Cruzfire said:
I think you got yourself in a tuttifruti mix not knowing what are doing,not having efs backup and flashing a bunch a things trying to fixit.
Now you have to go back to your last working build and stay there until samsung release a fix so we could flash withaout worries.
Good luck to you sir.
Click to expand...
Click to collapse
That's pretty much exactly it But I tried reverting back to stock (the one in my previous post) and the modem still isn't working
PavPev said:
No luck with that one but thanks for the suggestion!
That's pretty much exactly it But I tried reverting back to stock (the one in my previous post) and the modem still isn't working
Click to expand...
Click to collapse
worked for me:
full wipes and flash the malaysia dmf2 rom with odin
better to backup everything before doing, but my note ii (n7100) is working now, though I can't change my modem and install another rom.
UtkarshGupta said:
have you tried it ?
i am asking in context of lost imei.
if a phone has got his efs corrupted and one doesn't have a backup, will it work ?
Click to expand...
Click to collapse
"next go to GPRS -> WRITE IMEI ->Reboot"
how to go gprs?
czar22 said:
on the XXDME6 base - you can not install old modems,
because it will cause for unknown modem & imei status.
Solution flash - XXDME4 modem
XXDME4 modem
flash via TWRP / CWM
Click to expand...
Click to collapse
You saved many hours of my life!!!!! Flashed your modem and radio(calling etc.) is now working:good: Good job
Wow thanks to this. I just fixed my no network registered issue bt flashing this modem! Thanks a bundle!
Sent from my GT-N7100 using xda premium

[Q] device stuck help needed

Please help me
My device Samsung galaxy duos 2 (s7582) has stuck on boot screen
I had installed a custom ROM with s5 features (http://forum.xda-developers.com/showthread.php?t=2794268) which worked but after some days I found that whenever I updated/uninstalled an app my device rebooted so I wipe data with cwm but it wasn't successful so I again flashed the ROM but my device stuck on boot
Finally I flashed the official firmware but same its not going ahead n in official recovery mode its showing unable to noun /efs
Please help me to recover my device
Thanks in advance
(-vinner-) said:
Please help me
My device Samsung galaxy duos 2 (s7582) has stuck on boot screen
I had installed a custom ROM with s5 features (http://forum.xda-developers.com/showthread.php?t=2794268) which worked but after some days I found that whenever I updated/uninstalled an app my device rebooted so I wipe data with cwm but it wasn't successful so I again flashed the ROM but my device stuck on boot
Finally I flashed the official firmware but same its not going ahead n in official recovery mode its showing unable to noun /efs
Please help me to recover my device
Thanks in advance
Click to expand...
Click to collapse
EFS is the one partition you don't want messed up. It contains the IMEI info for your phone.
First things first: you should try to do a factory reset from the stock recovery you have installed now and see if it boots.
If this fails, then: do you have any NANDROID backups made with CWM recovery? If you do, did you also backup the EFS partition? If you did, try to restore a full NANDROID backup and you should be fine.
If you somehow get your phione to boot up and you can't get a network signal, then it means you EFS partition (and IMEI) is corrupted. If you don't have a backup for that, the only solution is going to a phone service repair shop (at least I don't know of any way to recover that without a backup).
Good luck
andreiav said:
EFS is the one partition you don't want messed up. It contains the IMEI info for your phone.
First things first: you should try to do a factory reset from the stock recovery you have installed now and see if it boots.
If this fails, then: do you have any NANDROID backups made with CWM recovery? If you do, did you also backup the EFS partition? If you did, try to restore a full NANDROID backup and you should be fine.
If you somehow get your phione to boot up and you can't get a network signal, then it means you EFS partition (and IMEI) is corrupted. If you don't have a backup for that, the only solution is going to a phone service repair shop (at least I don't know of any way to recover that without a backup).
Good luck
Click to expand...
Click to collapse
I don't have any cwm backup and can't even start my mobile
(-vinner-) said:
I don't have any cwm backup and can't even start my mobile
Click to expand...
Click to collapse
But my friend has same mobile so flashing cmw backup of that mobile in my mobile will help??
(-vinner-) said:
But my friend has same mobile so flashing cmw backup of that mobile in my mobile will help??
Click to expand...
Click to collapse
No. You'd screw things further. Don't flash backups from other devices. The IMEI is unique for each device.
Did you try the factory reset from the recovery you have now?
andreiav said:
No. You'd screw things further. Don't flash backups from other devices. The IMEI is unique for each device.
Did you try the factory reset from the recovery you have now?
Click to expand...
Click to collapse
Yaa I tried formating with official recovery its shows formating data, couldn't mount /efs, formating cache and than it shows complete but than also device doesn't reboots
Any other help ??
andreiav said:
No. You'd screw things further. Don't flash backups from other devices. The IMEI is unique for each device.
Did you try the factory reset from the recovery you have now?
Click to expand...
Click to collapse
Will Samsung kies help??
Because in BlackBerry the desktop manager helps to solve the problem if our device is bricked
(-vinner-) said:
Will Samsung kies help??
Because in BlackBerry the desktop manager helps to solve the problem if our device is bricked
Click to expand...
Click to collapse
I don't know. Try it. I think there was an option for it.
You could also try reflashing stock firmware with Odin. If everything fails, I suggest taking it to the nearest phone service repair shop. Restoring the IMEI is a more complex operation. I think a JTAG is required. Not sure though.
Good luck
andreiav said:
I don't know. Try it. I think there was an option for it.
You could also try reflashing stock firmware with Odin. If everything fails, I suggest taking it to the nearest phone service repair shop. Restoring the IMEI is a more complex operation. I think a JTAG is required. Not sure though.
Good luck
Click to expand...
Click to collapse
OK one last question while I am flashing firmware I have checked auto reboot and f reset time will other option like band erase all etc will help
And I am using Odin 3.07 so is there any problem in the version
(-vinner-) said:
OK one last question while I am flashing firmware I have checked auto reboot and f reset time will other option like band erase all etc will help
And I am using Odin 3.07 so is there any problem in the version
Click to expand...
Click to collapse
No. Only reset time and reboot should be checked. The others, I could explain them to you, but they wouldn't help you. Sorry.
andreiav said:
No. Only reset time and reboot should be checked. The others, I could explain them to you, but they wouldn't help you. Sorry.
Click to expand...
Click to collapse
OK please explain meuses if other functions in Odin
And if u know pls tell me his can I prevent my device in future from this efs problem
(-vinner-) said:
OK please explain meuses if other functions in Odin
And if u know pls tell me his can I prevent my device in future from this efs problem
Click to expand...
Click to collapse
I do not have the time unfortunately to go into details. But please search on google: "Odin explanation" or something like that. A good example:
http://donandroid.com/understanding-odin-a-beginners-guide-on-odin-buttons-checkboxes-629
Unfortunately like I said, none of the available options can help you.
And never try to use Re-partition unless you really know what you're doing. That repartitions your internal memory to a different layout (like number of partitions and sizes) and requires a PIT file specific to your device.
In the future, always make full NANDROID backups before flashing anything. This will also backup your EFS partition. There are also applications like this one:
https://play.google.com/store/apps/details?id=ma.wanam.efs
And many more examples which I am sure you can find on XDA in your device specific forum. This way, if your EFS ever becomes corrupted, you can easily restore it to a working condition.
Cheers.
Processing Power
(-vinner-) said:
Please help me
My device Samsung galaxy duos 2 (s7582) has stuck on boot screen
I had installed a custom ROM with s5 features (http://forum.xda-developers.com/showthread.php?t=2794268) which worked but after some days I found that whenever I updated/uninstalled an app my device rebooted so I wipe data with cwm but it wasn't successful so I again flashed the ROM but my device stuck on boot
Finally I flashed the official firmware but same its not going ahead n in official recovery mode its showing unable to noun /efs
Please help me to recover my device
Thanks in advance
Click to expand...
Click to collapse
Aren't S5-Features too hard for your phone!??
(Processing Power, RAM, etc...)
Hannah Stern said:
Aren't S5-Features too hard for your phone!??
(Processing Power, RAM, etc...)
Click to expand...
Click to collapse
i didn't actually installed s5 rom
It had just some features of it

Noob erased the EFS file... HELP PLEASE!!

I screwed up and was trying to flash an updated ROM and erased my EFS on my N8013... How do I get it back to factory??
Steps please!!
Thanks in advance!!
pitguy3 said:
I screwed up and was trying to flash an updated ROM and erased my EFS on my N8013... How do I get it back to factory??
Steps please!!
Thanks in advance!!
Click to expand...
Click to collapse
You restore your backed up EFS folder .
Failed to backup EFS then read the identical multiple posts on EFS IMEI on here .
Stock factory roms are on sammobile .com
JJEgan said:
You restore your backed up EFS folder .
Failed to backup EFS then read the identical multiple posts on EFS IMEI on here .
Stock factory roms are on sammobile .com
Click to expand...
Click to collapse
Thanks for the help... I have read the multiple posts on here...
pitguy3 said:
Thanks for the help... I have read the multiple posts on here...
Click to expand...
Click to collapse
Sure?
https://lmgtfy.com/?q=N8013+restore+EFS

IMEI lost

Can anyone can provide a QCN backup to restore mine back ? I only found a XQCN and i cant rebuild that with my IMEI number
anyone please can provide a EFS backup of Beta Pie?
please help, device is nv corrupted. Only recovery. I need a EFS backups
kathsfernan said:
please help, device is nv corrupted. Only recovery. I need a EFS backups
Click to expand...
Click to collapse
you can try this program to repair imei phone
ttp://s5.picofile.com/file/8140283984/Imei_repaier.rar.html

LGV50 500N SKT, 'service disabled' lost signal

Can anyone knows how to fix LGV50 NO SIGNAL, it says SERVICE DISABLED but the phone reads the sim. I've tried to flash any firmware via LGUP but nothing works. Do you have any idea about this? Please help thank you!
same problem
same problem
any new about that??
red.scythe said:
Can anyone knows how to fix LGV50 NO SIGNAL, it says SERVICE DISABLED but the phone reads the sim. I've tried to flash any firmware via LGUP but nothing works. Do you have any idea about this? Please help thank you
Click to expand...
Click to collapse
Did you backup your LUN5 partitions in qfil? If No, then find someone with same variant and get a LUN5 backup partition which must include modemst1, modemst2, fsg, fsc. Boot to EDL, erase the mentioned partitions and replace with the one you got. If the partitions you get does not match, you may get a OPID error mismatch
any one have the LUN5 partitions to sendme, I have same problem whit my phone ( lg v500n), thanks
neptunej said:
Did you backup your LUN5 partitions in qfil? If No, then find someone with same variant and get a LUN5 backup partition which must include modemst1, modemst2, fsg, fsc. Boot to EDL, erase the mentioned partitions and replace with the one you got. If the partitions you get does not match, you may get a OPID error mismatch
Click to expand...
Click to collapse
I have the same issue on the other lg v50 skt i also have another same phone skt and same model working where should instart on this? Since the tutorials are all over the place
I'm in the same boat, if anyone manages to get those files, posting them here would be much appreciated.
try flash this modem file using qfill
https://terabox.com/s/1cnAN8w0PhNTzQxA3L5b6dA
nielrantz said:
try flash this modem file using qfill
https://terabox.com/s/1cnAN8w0PhNTzQxA3L5b6dA
Click to expand...
Click to collapse
this worked, man. just flashed through QFIL and I now have my network signal back! just rename the files to .bin so QFIL can detect them
tokotokotowa said:
this worked, man. just flashed through QFIL and I now have my network signal back! just rename the files to .bin so QFIL can detect them
Click to expand...
Click to collapse
How do you do it? Can you write out in steps? Downloaded the qfil with all these meta and flat build...Renamed the file to bin and...seems like it want something more...How do you do it tho?
red.scythe said:
Can anyone knows how to fix LGV50 NO SIGNAL, it says SERVICE DISABLED but the phone reads the sim. I've tried to flash any firmware via LGUP but nothing works. Do you have any idea about this? Please help thank you!
Click to expand...
Click to collapse
did you edit ftm.bin file ? I have similar situation when edit ftm file for FFFFF, NT error code, first boot ok but if you reboot you got no service, flash back untouched ftm file and check
PxYra said:
did you edit ftm.bin file ? I have similar situation when edit ftm file for FFFFF, NT error code, first boot ok but if you reboot you got no service, flash back untouched ftm file and check
Click to expand...
Click to collapse
nielrantz said:
try flash this modem file using qfill
https://terabox.com/s/1cnAN8w0PhNTzQxA3L5b6dA
Click to expand...
Click to collapse
Maybe you can try this maybe work
nielrantz said:
try flash this modem file using qfill
https://terabox.com/s/1cnAN8w0PhNTzQxA3L5b6dA
Click to expand...
Click to collapse
This file not work for me
ddradikz said:
I have the same issue on the other lg v50 skt i also have another same phone skt and same model working where should instart on this? Since the tutorials are all over the place
Click to expand...
Click to collapse
Already tou try it?
sonnemic said:
any one have the LUN5 partitions to sendme, I have same problem whit my phone ( lg v500n), thanks
Click to expand...
Click to collapse
do you found the LUN5 Partition files ? if possible share it with me.
tokotokotowa said:
this worked, man. just flashed through QFIL and I now have my network signal back! just rename the files to .bin so QFIL can detect them
Click to expand...
Click to collapse
Hi sir how did you flash it

Categories

Resources