Restoring EFS from another phone - LeEco Le Max 2 Guides, News, & Discussion

I tried to see what happens if I restore EFS from X820 into X829. I expected both phones would have same IMEI. But instead IMEI, ESN etc. seemed to be empty in X829 after restore. Restoring own EFS from X829 to X829 restores everything.
Can anybody explain why this is happening?

yurtesen said:
I tried to see what happens if I restore EFS from X820 into X829. I expected both phones would have same IMEI. But instead IMEI, ESN etc. seemed to be empty in X829 after restore. Restoring own EFS from X829 to X829 restores everything.
Can anybody explain why this is happening?
Click to expand...
Click to collapse
you cannot simply do that, the NV memory of the MSM8996 is not part of the EMMC. The EFS that you restored in twrp is the partition that resides in the EMMC ( Internal memory).
To restore the NV memory of a phone from another phone, I don't know how it works for the MSM8996, but for other phones (older qualcomm based ones) you need to have a connection to the phone COM port (USB diag mode) and tools like NV backup ... (I don't remember the exact name). But even with that, there are some hardware differences that cannot be changed with the NV restore (read-only memory)

@leptdre but I see new NV items using NV Explorer which didn't exist before, after restoring EFS. Also the OS is not able to read IMEI but I am able to set it again using QPST.
It is strange..There must be a way to completely clone the phone I think, we must be missing some info... Anyway, thanks for the response...

Actually you could do it if you have a EFS recovery. You can restore the EFS within TWRP restore. However, it would of course need to be from the identical phone. If its from a different rom, it may or may not work depending if the EFS was written to be cross rom/generation compatible. For example I know that this does not work with attempting to restore EUI 5.8.21s to a EUI 5.8.28s build. ( I tried it it)

Related

[Q] SGS4 i9505 Lost Some EFS Data

Hi, I have been playing around with an i9505 and thought I had made a proper backup of my EFS data. Unfortunately that was not the case and I have only backed up the EFS partition, neglecting the others.
I then later chose the *#9090# : "DM/DUN/RmNet over HSUSB " option and allowed it to wipe my EFS data, believing I had a suitable backup.
Upon restoring said backup, my base band is unrecognized and I have no IMEI. The phone also fails to receive any signal.
My question is, will it be possible to recover from this mistake or should I consider it a brick?
d3v147 said:
Hi, I have been playing around with an i9505 and thought I had made a proper backup of my EFS data. Unfortunately that was not the case and I have only backed up the EFS partition, neglecting the others.
I then later chose the *#9090# : "DM/DUN/RmNet over HSUSB " option and allowed it to wipe my EFS data, believing I had a suitable backup.
Upon restoring said backup, my base band is unrecognized and I have no IMEI. The phone also fails to receive any signal.
My question is, will it be possible to recover from this mistake or should I consider it a brick?
Click to expand...
Click to collapse
You can try to use Kies 3 on your laptop to reload the stock firmware.Then put your phone in Download mode (with the phone completely off, press and hold the Volume Down and Power buttons) and connect it to your PC. The OS will install the necessary drivers (this may take a few minutes) and then you can select Tools -> Emergency firmware recovery in the Kies software. It'll prompt you for the model number (enter it in CAPS) and IMEI (both found under the battery) and then it'll download the correct firmware and then install it .If the problem still persist try to follow this thread and it might help you, and if still doesnt fix Go to service center for a repair. Have a nice day.
Thank you for you prompt reply. I have tried using both versions of Kies and have not been able to do an emergency recovery.
I have since managed to get the "Qualcomm NV Tools" of "EFS professional" to work and I have confirmed that my IMEI is still present on the phone.
When i try to uses the *#9090# hidden code, all I get is a blank screen. My belief is that the modem is simply not communicating with the phone anymore due to the option I chose "DM/DUN/RmNet over HSUSB". The message I saw was:
"Warning : Must read below guide All Communication between AP/CP- will be disconnected !
To return the normal mode, you must download efs12.tar file !
All NV data will be erased !
Really you want to use RmNET ?"
I'd really like to be able to undo this if anyone can help.
Dial *#1234# and tell me what appears pls :fingers-crossed:
Typing *#1234* gives:
Version
--------------
AP : I9505XXUEMK9
CSC : I9505H3GEMJ2
Apologies for the double post. I am wondering if I backup the NV data from another working i9505 with "Qualcomm NV Tools" and then write that to my phone if that will fix the problem?
I have made a backup of my existing NV and examined the resulting text file. It would appear that nearly everything is blank, except for a couple of fields, one of which I identified as IMEI (Block 00550 / 0x0226). This field is read only which explains why I still have an IMEI.
I would be extremely grateful if somebody could send me their backup, minus the 00550 (0x0226) block so I can avoid having to convince a friend to let me play with their phone.
I have been further investigating this problem and have found that the modem is not communicating with the phone. I believe this has something to do with NV items greater than 65536. This would make sense, as the usual NV backup tools do not save/restore items with a higher address.
Of particular interest to me is :
69674^"HSUSB RMNET Over HS Core"^"USB*"
But the versions of QXDM that are available do not seem to be able to read/write this value. I am hoping there is a command of some form to do this but I am unsure.
Joku1981 said:
Dial *#1234# and tell me what appears pls :fingers-crossed:
Click to expand...
Click to collapse
You're funny dude.
Sent from my GT-I9505 using XDA Premium HD app
Hi mate,
As soon as you clear EFS folder all data IMEI SIm LOck and EFS utils are gone. What u need to do just install new EFS with utils via Odin3 downloader. I have done this way many times. We call this EFS12 file for recovery, buy IMEI and CAL data will be erased. As soos as you get 0/01 IMEI you can try repaur IMEI for example Z3X BOX
exprxp said:
Hi mate,
As soon as you clear EFS folder all data IMEI SIm LOck and EFS utils are gone. What u need to do just install new EFS with utils via Odin3 downloader. I have done this way many times. We call this EFS12 file for recovery, buy IMEI and CAL data will be erased. As soos as you get 0/01 IMEI you can try repaur IMEI for example Z3X BOX
Click to expand...
Click to collapse
Where do I download this "EFS12" file? I have searched high and low.
d3v147 said:
Where do I download this "EFS12" file? I have searched high and low.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2567133
NOTE 3 - Fix soft bricked.rar must be downloaded and extracted Then You have FULL EFS12 + ZEROED NVDATA
exprxp said:
http://forum.xda-developers.com/showthread.php?t=2567133
NOTE 3 - Fix soft bricked.rar must be downloaded and extracted Then You have FULL EFS12 + ZEROED NVDATA
Click to expand...
Click to collapse
I imaged all the block devices on the phone with the ones in the rar file you suggested and still: "Baseband unknown".
d3v147 said:
I imaged all the block devices on the phone with the ones in the rar file you suggested and still: "Baseband unknown".
Click to expand...
Click to collapse
I kept backups of all the images replaced and restored them as I had trouble loading recovery. I doubt images from another (different) phone were a great idea.
Recovery is working again but some image said there was not enough space on device to restore !?!
d3v147 said:
I kept backups of all the images replaced and restored them as I had trouble loading recovery. I doubt images from another (different) phone were a great idea.
Recovery is working again but some image said there was not enough space on device to restore !?!
Click to expand...
Click to collapse
Hi
You can try this way for GT-I9505 imei repair.
http://forum.xda-developers.com/showthread.php?p=51156577
[Q] SGS4 i9505 Lost Some EFS Dats
I did the same with SGS3 GT-I9305. *#9090# corrupted my S3 efs, imei and baseband.
How did you resolve your issue?
Please help!!!
Thanks

[SOLVED] Wrong Radio Band select

Yesterday i accidentally select "USA Band" on my N6 XT1100 (Euro Version) and my cellular network gone, with no chance to restore my settings. Searched for this issue, but not 100% working variant or need fastboot tools. And then i investigate this issue, found solution. I restored EFS partition from my nandroid with "right" settings, and network signal come back. Tested on Chroma 5.1.1 3/5 build, partition from CleanROM 5.1. So you must simply restore only EFS partition and are good to go
Uhhh, if this is like old Samsung's you may want to pull that file. Your ESN, imei and serial numbers are in your efs I believe. In other words if other people flash your efs, they are essentially cloning your phone and will have your efs and imei. Someone please tell me if I'm wrong, but I believe that's the case with Samsung and others.
Sent from my Nexus 6 using XDA Free mobile app
I believe that IMEI etc. hardcoded in different places, and result for flash another EFS will be IMEI "Unknown", like in LG G2 forum, then its only for learning purposes, zip deleted, it was only for file structure and names containing partition. :cyclops:

(HELP) with NV DATA

Hey Guys I need some help with Nv data (EFS )
The NV data baseband is I9500UBUAMDE nonetheless my firmware baseband is I9500UBUGNJ1
I think this is why my phone do not have a stable conection with cel-towers...
So I need to know, how to update the nv data without corrupt it?
Kindly regards,
AG
Just flash a stock ROM using Odin. This will ensure that the bootloader and modem match.
Already did it some many times... Without results...
The phone is missing the imei and MAC address?
No one is missing...
Phone signal Goes out and in.
However while the phone has signal. I can call and navigate on internet..
Do you need the efs folder?
If the phone has an imei, then it seems like the efs folder may be fine and something else is happening.
So flashes are successful in Odin?
Could the phone be blacklisted? Was it ever dropped? Tried a different SIM card? Tried our SIM card in another phone?
Ok, I have to be honest... I was on 4.4.2
I try to use galaxysim unlock. However EFS was v2 and I restore a v1 efs folder in order to unlock the phone. It works. However after upgrade to 5.0. It start to fluctuate the signal...
Note: v1 and v2 are versions in matter of security of the EFS folder...
That is how this how begins...
Did you restore the original version 2 efs? Do you have a backup of the original efs? If not, I'm not sure if an nvwriter will help.
I think I do not have one...
What should I do?.....
I'm not sure what to suggest. Maybe Google nvwriter and see if it works with your phone.

Restoring IMEI after generic IMEI 0049...

Hello.
I'll first describe the secuence of events and then tell which solutions I've tried. Bear with me. I'll be brief.
I've bought a second hand Samsung Galaxy S4 (i9500) sold through a local carrier. By law the carrier can only give the unlock code to the original buyer of the phone, and the person from who I bought it from wasn't him/her.
I tried to unlock it by my means (basically this, trying lots of variants until "186" code dead-end), which resulted in rooting, flashing diferent modems and trying a CM based custom ROM (GearCM). Before going on any of this, I made an EFS, cdma-radio, radio, m9kefs1/2/3 backup.
As I couldn't do it, I took the phone to a repair shop, where they unlocked it with a box. Then they told me that the SIM tray was broken, and after trying a different one, they concluded that it was a software problem (I suggested it) and flashed a stock ROM from the carrier, which still didn't recognized any SIM.
This is when I took back the phone.
I've restored the EFS and flashed the correct modem (In fact I've found two which work: I9500UBUHPB2-CP and I9500UBUHOI1), but even if the SIM card is recognized, I can't connect to the network, I think, because the IMEI which displays the phone is different from the factory IMEI. In fact, is the infamous generic IMEI 0049... with IMEISV 01.
I've since tried this methods:
- Changing permissions of the EFS folder
- Flashing the stock ROM after completly wiping out the phone
- Manually deleting the EFS contents and restoring
And combinations of the above with RegionLockAway and with both working modem drivers.
I still have to try rooting an older stock ROM, maybe 4.4.2, but I wanted to ask more wise people if there is a logical, correct order to any of the above steps, or if you think I'm missing something here.
The only other answer that comes to me is that it's something done by the repair shop with the box, but still I've no conclusive proofs of that. I wanted to exhaust options.
Thanks in advance. Any answer will do good.
Restoring the EFS does nothing, as the IMEI is no longer stored in it. Thus none of the things you tried will help. You'll have to take the device back to the place who fixed it for you.
Strephon Alkhalikoi said:
Restoring the EFS does nothing, as the IMEI is no longer stored in it. Thus none of the things you tried will help. You'll have to take the device back to the place who fixed it for you.
Click to expand...
Click to collapse
I would have thought that it was stored on it. Do you infer that from my failed attemps? Where should it be "stored"?
I don't "infer" anything. It's a fact. IMEI was stored in a file named nv_data.bin in EFS, but for some time now it's no longer been located there. It's been moved to three hidden partitions that a nandroid backup does not touch. You'd have to use Wanam Partition Backup and Restore to see the partitions in order to be able to back them up as well as restore them. Thus, your IMEI is gone, and the repair shop is going to have to fix it.
Strephon Alkhalikoi said:
I don't "infer" anything. It's a fact. IMEI was stored in a file named nv_data.bin in EFS, but for some time now it's no longer been located there. It's been moved to three hidden partitions that a nandroid backup does not touch, m9kefs1, m9kefs2, and m9kefs3. You'd have to use Wanam Partition Backup and Restore to see the partitions in order to be able to back them up as well as restore them. Thus, your IMEI is gone, and the repair shop is going to have to fix it.
Click to expand...
Click to collapse
But I have a backup of those partitions, made with Wanam Partition Backup. I've restored them in this order: cdma-radio, EFS, radio, m9kefs1, m9kefs2, m9kefs3. Somehow, its not working.
That's why I think maybe it has to do with the order of the steps I'm taking, maybe even before restoring the partitions.
I edited my post while you were making yours.
My backup consists of much more than those three partitions. I have in addition to those efs.img, fsg.img, modemst1.img, and modemst2.img. The IMEI is in one of those partitions, NOT EFS.
Well then... I hope they can repair the IMEI then. It would be a damn shame if not... Thanks for your time.

IMEI lost?

Google translator was here!
[ZTE Axon 7 A2017CN 128G]
Hello, I flashed a stock through MiFlash, but it gave an error, I flashed a stock that I already had to backup, B13 MiFavor5, but when I search + # 06 # I get IMEI 1-2 unknown, I have EFS backup, two doubts, only flashing a compatible modem to recover the signal from the operator? or restoring the EFS partition ?, if you restore EFS, how do I do this?
(I have backup of the EFS folder)
adeki said:
Google translator was here!
[ZTE Axon 7 A2017CN 128G]
Hello, I flashed a stock through MiFlash, but it gave an error, I flashed a stock that I already had to backup, B13 MiFavor5, but when I search + # 06 # I get IMEI 1-2 unknown, I have EFS backup, two doubts, only flashing a compatible modem to recover the signal from the operator? or restoring the EFS partition ?, if you restore EFS, how do I do this?
(I have backup of the EFS folder)
Click to expand...
Click to collapse
Flash the A2017 modem first. If it doesn't work then use the EFS backup
You can flash an EFS backup with the EDL tools ,I've used it for back ups and restoring ,seems to be the most reliable method for flashing to me . Easy to set up as well . Read the forum page very carefully and you should be fine
Hello, first I want to thank the answers, and I was able to recover the IMEI by flashing the modem, but it is different from the one specified in the box, and even recognizes the chip from other operators, but specifically the one I use does not recognize it.
two questions: Is there any problem with the IMEI being different from the one specified in my box ?;
How can I make this specific SIM work? (I already tested it on other devices and the SIM works.)
adeki said:
Hello, first I want to thank the answers, and I was able to recover the IMEI by flashing the modem, but it is different from the one specified in the box, and even recognizes the chip from other operators, but specifically the one I use does not recognize it.
two questions: Is there any problem with the IMEI being different from the one specified in my box ?;
How can I make this specific SIM work? (I already tested it on other devices and the SIM works.)
Click to expand...
Click to collapse
At some point your device has been factory replacement chip set put in and this prosuss has cleared that up this is why the IMEI number has changed.......

Categories

Resources