LG G Flex EFS Backup Zip
Background
The G Flex has no built in EFS backup partitions. EFS contains things like your MEID or IMEI... your data profiles.. radio settings. The EFS cannot be replaced... it is unique to your phone only... backing up your OWN EFS is highly recommended.
I have added EFS backup to the IOroot scripts so that everyone that roots will have a copy of their EFS partitions on the computer you run IOroot from. Regardless, this current thread will still be a good "heads up" and an alternative for those who insist on using other shady root methods or for those who just want another way to back things up.
I made a similar thread for both the LG Optimus G and LG G2... for reference the G2 thread can be found HERE.Backing up EFS
Root is required!
In TWRP/CWM, flash the LG_G_Flex_Backup_EFS.zip attached in this thread. LG_G_Flex_Backup_EFS.zip is a flashable zip which creates a new flashable zip containing a backup of your EFS partitions and is saved in /sdcard/EFS_Backup/.
To manually backup EFS partitions without the zip you can use the commands below while in ADB shell. You can do this while booted in the rom or in custom recovery. If backing up EFS while booted in the rom I suggest placing the device into airplane mode first. And remember, root is required.
Code:
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img
Backup your efsbackupflashable.zip or loose partitions somewhere else besides your internal SD!!!
Email.. "cloud".. PC..
Restoring EFS
To restore your original EFS just boot into custom recovery and flash the efsbackupflashable.zip in your /sdcard/EFS_Backup folder.
To manually restore EFS img files run the commands below using ADB shell while in recovery or booted up with airplane mode on...
Be sure to place .img files on the root of your /sdcard/(internal storage)..
Code:
adb shell
su
dd if=/sdcard/modemst1.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst1
dd if=/sdcard/modemst2.img of=/dev/block/platform/msm_sdcc.1/by-name/modemst2
Curious as to why they didnt partition it the same as the lg g2
antawnm26 said:
Curious as to why they didnt partition it the same as the lg g2
Click to expand...
Click to collapse
@autoprime is this the stock backup? Does this work on all variants of the Flex? The process of creating the back up. I assume it will.
antawnm26 said:
Curious as to why they didnt partition it the same as the lg g2
Click to expand...
Click to collapse
not sure what you mean? both the G2 and the G Flex have partitions modemst1 and modemst2 for their EFS.
Techinstein said:
@autoprime is this the stock backup? Does this work on all variants of the Flex? The process of creating the back up. I assume it will.
Click to expand...
Click to collapse
EFS is static across all roms.. there is no "stock." It is key to backup EFS ASAP before any corruption can take place.
And no assuming needed... it states it in the title of the thread that it supports all variants. Reading is paramount.
autoprime said:
not sure what you mean? both the G2 and the G Flex have partitions modemst1 and modemst2 for their EFS.
EFS is static across all roms.. there is no "stock." It is key to backup EFS ASAP before any corruption can take place.
And no assuming needed... it states it in the title of the thread that it supports all variants. Reading is paramount.
Click to expand...
Click to collapse
Thanks well do as soon as it arrives in mail. >.-
So by using the code you put in OP under "Restoring" is what I would use to restore the efs that was backed up from root process?
work on the F320K LG G2??
moro30 said:
work on the F320K LG G2??
Click to expand...
Click to collapse
Link up top to G2
Sent from my LG-LS995 using xda app-developers app
Can I manually restore EFS img files using ADB shell when Flex is in Qhsusb_bulk mode!??
I have modemst1.img and modemst2.img files...
Seems that it's not quite easy to solve freaking Qhsusb_bulk mode from this thread
Code:
http://forum.xda-developers.com/showthread.php?t=2582142
when Ubuntu doesn't recognize connected device at all !!
Triad79 said:
Can I manually restore EFS img files using ADB shell when Flex is in Qhsusb_bulk mode!??
I have modemst1.img and modemst2.img files...
Seems that it's not quite easy to solve freaking Qhsusb_bulk mode from this thread
Code:
http://forum.xda-developers.com/showthread.php?t=2582142
when Ubuntu doesn't recognize connected device at all !!
Click to expand...
Click to collapse
hi, i have same problem. My D958 in Qhsusb_bulk mode how can i solve flash rom ?? anybody have information for this problem, i tried kdz updater and lgflash tool but i didnt solve yet
trent-77 said:
hi, i have same problem. My D958 in Qhsusb_bulk mode how can i solve flash rom ?? anybody have information for this problem, i tried kdz updater and lgflash tool but i didnt solve yet
Click to expand...
Click to collapse
I had a rooted D959 that was stuck in download mode and would not for the sake of it take the proper kdz file and would stop at 45-49% when updating and never fully flash. I tried everything and ended up calling LG as a last resort and told them something happened during an OTA update and the phone would not start. Luckily they repaired it for me under warranty and I wasn't charged anything. The paperwork sent with the phone stated they replaced a memory module. May work for you. They also asked for the receipt to be shipped back with the phone but since I bought the phone used on EBay I didn't include one in the box and they still fixed it. Guess they know the phone is under a year old so they no need to know the exact purchase date for the year warranty. I was extremely lucky and jumped around like a little kid when I seen the warranty status website show the phone was fixed and being sent back at no charge, don't know if anybody else will be so lucky.
You may be in a better boat to get it fixed free as yours isn't saying saying ROOT like mine did in download mode. If you can't solve it yourself worth a last resort!
Can some one tell in detail how ro manually backup? What to do with these files?
How can I restore or fix a corrupted efs partition? Was told the efs partition being corrupted is the reason radio isn't working.
Related
Hallo! I have a problem where mobile connection doesn't work. When I try to connect manually it doesn't work it just gives me an error with no details in it. This happened after attempt on installation of Mackay kernel it worked but I noticed the mobile connection was dead after a while I ran a restore but stil the same problem. The efs folder is empty with a lost+found folder there is also nothing in that folder. When I click manage mobile contract it tells me that I need to put the SIM card in but it is inserted. HELP!!
Henrikx said:
Hallo! I have a problem where mobile connection doesn't work. When I try to connect manually it doesn't work it just gives me an error with no details in it. This happened after attempt on installation of Mackay kernel it worked but I noticed the mobile connection was dead after a while I ran a restore but stil the same problem. The efs folder is empty with a lost+found folder there is also nothing in that folder. When I click manage mobile contract it tells me that I need to put the SIM card in but it is inserted. HELP!!
Click to expand...
Click to collapse
Anyone? Please help me!
Is your IMEI still intact or does it begin with something like 0044?
(If you don't know where to find it, go Settings -> About Device -> Status)
Sent from my GT-P7510 using Tapatalk HD
Henrikx said:
efs folder is empty with a lost+found folder there is also nothing in that folder !!
Click to expand...
Click to collapse
Did you ever do nandroid backup before? If yes, it contains also the efs folder.
BTW, if nandroid backup was done with different ROM, kernel or CWM version, don't try to restore it with Mackay kernel!!
You must flash as furst the same ROM and same kernel and use the same CWM recovery version to successfully restore your nandroid backup.
Otherwise, you could flash some stock firmware and imei usually returns then. People report that Gingerbread JVU usually restores the imei number quite regularly. If your current ROM uses different partitions than stock firmware, you may have to flash also the PIT file to make step back to stock with success, PIT file will do proper re-partition.
Otherwise, there are quite many threads about how to restore lost imei on the i9000. Take some time browsing around.
SOLVED
tetakpatak said:
Did you ever do nandroid backup before? If yes, it contains also the efs folder.
BTW, if nandroid backup was done with different ROM, kernel or CWM version, don't try to restore it with Mackay kernel!!
You must flash as furst the same ROM and same kernel and use the same CWM recovery version to successfully restore your nandroid backup.
Otherwise, you could flash some stock firmware and imei usually returns then. People report that Gingerbread JVU usually restores the imei number quite regularly. If your current ROM uses different partitions than stock firmware, you may have to flash also the PIT file to make step back to stock with success, PIT file will do proper re-partition.
Otherwise, there are quite many threads about how to restore lost imei on the i9000. Take some time browsing around.
Click to expand...
Click to collapse
I solved this
I did it by flashing stock firmware and I got my IMEI back.
Henrikx said:
I solved this
I did it by flashing stock firmware and I got my IMEI back.
Click to expand...
Click to collapse
Great!
Now backup your whole efs folder with the terminal emulator or ADB and save it on several places (different folders on internal and external SD as well as on your PC). It is explained how to do it in my thread.
BTW, on this forum it is kind of nice to click on "thanks" button leftmost beyond all helpful posts.
tetakpatak said:
Great!
Now backup your whole efs folder with the terminal emulator or ADB and save it on several places (different folders on internal and external SD as well as on your PC). It is explained how to do it in my thread.
BTW, on this forum it is kind of nice to click on "thanks" button leftmost beyond all helpful posts.
Click to expand...
Click to collapse
I know about the thanks button. Just because I'm a new member doesn't mean I haven't been around on this site for quiet a while.
But how do you backup the EFS folder?
Henrikx said:
But how do you backup the EFS folder?
Click to expand...
Click to collapse
I've already written you: it was described in my newest thread, I've posted it also here:
http://forum.xda-developers.com/showthread.php?p=45551390#post45551390
The same commands like in the terminal emulator can be done by the ADB as well.
You can easily find good threads here on XDA forum how to backup & restore IMEI
But for great tipps you should not forget to "klick" the thanks button ...it doesn`t hurt :fingers-crossed::good::laugh:
Henrikx said:
I know about the thanks button. Just because I'm a new member doesn't mean I haven't been around on this site for quiet a while.
But how do you backup the EFS folder?
Click to expand...
Click to collapse
Hi, recently i managed to brick my Korean F340L G Flex so bad. I've tried almost everything software wise.
-The solution:
I'm planning to change the logic board from a Sprint LS995 model. I think it will work ok. Of course I'll have to some how get an unlock code in order to use it in Greece where I live.
I've seen in ebay some users providing for a small amount of money this code.
So, what do you think. Will it work as I'm thinking? Any comments, suggestions, guides welcome. Thanks
Here is a short story:
"Hello, to all, I'd like to share my experience and problem with my LG G Flex, as a last hope to find a solution to unbrick it.
I know that the talk here is about G2's, but I saw many users reviving their Flexes with OP's method.
So here is what I did in steps:
1)I rooted my Lg g flex F340L
2)New OTA, downloaded, but failed to install after reboot. The message was no OTAs for rooted devises
3)Tried to unroot, but with no success. Still no installation of OTA.
4)Found, and flashed the stock F340L rom , (had an EFS backup), from another user here(.tot file), with LGFlashTool.
5)SIM card was not recognized any more (Greece, Vodafone), so no calls. Did all the updates, but no SIM, still.
6)Hard reset, still no SIM.
7)Decided to flash stock F340K kdz rom, and install CWR. All good, SIM detected, OTA downloaded, but after reboot stuck at CWM nenu. Whatever I do just CWM.
8)No download mode, or usb support, just an LG FLEX unknown device. Got some drivers only to be seen as lenovo ADB device.
9)I found the test point on the motherboard and short circuit it. Got a qhsusb_bulk(qualcomm 9008) under COM ports, but not on a specific port.
10) No flash capability, and no partitions to try and flash the 10 or so, images. Ubundu, no luck with the partition detection either.
11)After many reboots and button long presses the CRW came back...again
Well as I can see, there is not so much support for the korean variants and I might have destroyed my phone. So, I need your advise in changing the motherboard. I found M/B's from AT&T and Sprint variants, to install to my F340L. I think it will work. After I will purchase an unlock code from lets say ebay to unlock it to all GSM networks ( I live in Greece).
What is CRW or CWR?
Are you referring to CWM? The recovery?
If you can boot into cwm your phone has a chance to be saved no need to change the mb.
By the way sprint doesnt give out unlock codes like att. There is an specific process to sim unlock sprints variant.
Alex_XV6700 said:
What is CRW or CWR?
Are you referring to CWM? The recovery?
If you can boot into cwm your phone has a chance to be saved no need to change the mb.
By the way sprint doesnt give out unlock codes like att. There is an specific process to sim unlock sprints variant.
Click to expand...
Click to collapse
Yes sorry, CWM I was refering to. Well, since I have no other option at the moment. I'll try to find that specific process you've mentioned when I get the board(help or hint welcome)
As, for the M/B change, no system partitions are recognized in order to flash individual .images to unlock them.
If you can access CWM you dont need to flash the .img files for your phone. Instead you could flash a stock zip through adb sideload or flash twrp through sideload too. Twrp allows MTP use so someone using an F340K can help you with a stock backup and you can unbrick instead of changing board.
Alex_XV6700 said:
If you can access CWM you dont need to flash the .img files for your phone. Instead you could flash a stock zip through adb sideload or flash twrp through sideload too. Twrp allows MTP use so someone using an F340K can help you with a stock backup and you can unbrick instead of changing board.
Click to expand...
Click to collapse
The only stock image I have is in .TOT file for the L variant. I also have stock .kdz file for the K variant. I can sideload to /sdcard/0/ directory only, if that helps. I'll try to find twrp.zip and try it. But the main problem is to find stock rom in .zip format.
I've managed to install twrp 2.8.0.0...
N3M3SYS said:
I've managed to install twrp 2.8.0.0...
Click to expand...
Click to collapse
Ok
now you could try to flash this rom.
let me know how it goes.
Alex_XV6700 said:
Ok
now you could try to flash this rom.
let me know how it goes.
Click to expand...
Click to collapse
Thnx for the link, but this rom says is for F340K, I have a F340L. In addition the download link is not working...
N3M3SYS said:
Thnx for the link, but this rom says is for F340K, I have a F340L. In addition the download link is not working...
Click to expand...
Click to collapse
Ok, this will take time friend.
I will try to make you a flashable zip of stock F340L KK.
Maybe it will take me some 4 or 5 hrs.
Alex_XV6700 said:
Ok, this will take time friend.
I will try to make you a flashable zip of stock F340L KK.
Maybe it will take me some 4 or 5 hrs.
Click to expand...
Click to collapse
That would be a miracle for me, I'll be waiting!
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Aethera said:
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Click to expand...
Click to collapse
ODIN flash TWRP then backup your stock ROM.
ShrekOpher said:
ODIN flash TWRP then backup your stock ROM.
Click to expand...
Click to collapse
Thanks that what I ended up doing because it was definitely easiest.
Aethera said:
Just got a new unit and would like to make a full backup of the factory ROM before proceeding to try out different ROMs. I did find an old thread from 2011 [HOW-TO]Create Custom ODIN Images for Backup/Restore but I'm not entirely sure if this is still accurate advice.
Also, it says that the device needs to be rooted in order to make the backups. My understanding is that if I root the system it will be detected by the system and OTA updating will then be disabled, which is not what I want. So my second question is: Is it really necessary to root and if so what is the best temporary method?
Click to expand...
Click to collapse
Small piece of advice my friend, be sure to include EFS in the backup to be on the safe side, also I suggest making a copy on a external SD or transferring to a PC
Why efs?
glm0025 said:
Small piece of advice my friend, be sure to include EFS in the backup to be on the safe side, also I suggest making a copy on a external SD or transferring to a PC
Click to expand...
Click to collapse
According to TWRP they say:
Some devices have “special partitions” like WiMAX, pds, efs, etc. These partitions almost never need to be included in a normal backup.
Click to expand...
Click to collapse
I already did one restore from my backup which had not included efs and it worked ok. What exactly is efs and why would we need it?
Aethera said:
According to TWRP they say:
I already did one restore from my backup which had not included efs and it worked ok. What exactly is efs and why would we need it?
Click to expand...
Click to collapse
The EFS folder contains important information from the phone, like the IMEI for example, and if it gets erased by error it may affect your ability to successfully connect to a provider. Backups in TWRP will give you the option to backup important partitions one of those is the EFS folder, alternatively you may also use an application to make a backup (requires root) like EFS Manager(IMEI)-Note4 on the play store.
Can someone with a T-Mobile Galaxy Note 4 N910T3 that has a TWRP backup INCLUDING the EFS please upload that and give me a link. I screwed up my EFS and if someone with the same phone could please make and upload their TWRP backup (just with EFS box checked very small and not your data) for me it would be greatly appreciated. I know I will have to go into it and edit my serial # from yours, but it should get me back working.
Thanks
Efs backup from another device will never work because it's related to your phone's specific hardware.
You did big mistake that you flash backup and efs from old phone to new one that completely screw up your efs partitions and drk ( device root key ).
Sorry but you should make always efs backup from twrp in microsd card before start messing with phone. Cuz flashing always risky job.
Trust me odin or twrp will not going to help you.
Dont waste your time You should go to repair center cuz they have tools like dongle box to fix efs and imei.
They will write new cert files and restore your efs but i dont think they can fix drk cuz i see many drk damage cases but didn't see any working method unless changing entire motherboard.
Trex888 said:
Efs backup from another device will never work because it's related to your phone's specific hardware.
You did big mistake that you flash backup and efs from old phone to new one that completely screw up your efs partitions and drk ( device root key ).
Sorry but you should make always efs backup from twrp in microsd card before start messing with phone. Cuz flashing always risky job.
Trust me odin or twrp will not going to help you.
Dont waste your time You should go to repair center cuz they have tools like dongle box to fix efs and imei.
They will write new cert files and restore your efs but i dont think they can fix drk cuz i see many drk damage cases but didn't see any working method unless changing entire motherboard.
Click to expand...
Click to collapse
Try kies...
Ok, try kies? But I still need a N910T3 EFS file for TWRP, (or if kies can do that I guess)
Can you post it for dload?
hotstocks said:
Ok, try kies? But I still need a N910T3 EFS file for TWRP, (or if kies can do that I guess)
Can you post it for dload?
Click to expand...
Click to collapse
Cuz, don't be so lazy!
http://www.samsung.com/us/support/owners/app/kies
sloanster said:
Try kies...
Click to expand...
Click to collapse
sloanster said:
Cuz, don't be so lazy!
http://www.samsung.com/us/support/owners/app/kies
Click to expand...
Click to collapse
Kies doesn't work with Note 4, Samsung Switch freezes. Odin works fine, but that is not the point.
I need a N910T3 TWRP EFS nandroid backup file from someones phone to flash it. That is what I can not find.
hotstocks said:
Kies doesn't work with Note 4, Samsung Switch freezes. Odin works fine, but that is not the point.
I need a N910T3 TWRP EFS nandroid backup file from someones phone to flash it. That is what I can not find.
Click to expand...
Click to collapse
I have a couple back ups but I'm fairly n r w to all this. If you tell me how, I'd be happy to send you what you need. I have the SM-N910T3 running EPE3.
Hi, everyone.
I appreciate if anyone can help me restore my IMEI. I can't connect to network after flashing a custom rom. I've already flashed different versions of official firmware via fastboot, twrp flashable stock ROM, and reflashed modem and erased modemst1 and modemst2 to no avail. I've exhausted every possible option without having to send this to a service center.
Thanks and best regards,
Geb
Get QCN FILE FROM MOTO G5s plus. Request some one who uses this mobile. I can help you restore.
Join telegram @iamprabhu.
I can help you.
Use this method to get QCN FILE
https://m.youtube.com/watch?v=7i99xSIMcSI
But without qcn. We cannot get imei back....
iamprabhuantony said:
Get QCN FILE FROM MOTO G5s plus. Request some one who uses this mobile. I can help you restore.
Join telegram @iamprabhu.
I can help you.
Use this method to get QCN FILE
https://m.youtube.com/watch?v=7i99xSIMcSI
But without qcn. We cannot get imei back....
Click to expand...
Click to collapse
Thanks for your kind intention. I've tried that method before to no avail. I installed all necessary drivers, and followed the steps faithfully. i was able to extract the qcn file, explore the contents of the EFS partition, modify the qcn file and edit it, but the dead end I ran into was the phone itself is write-protected when I send the qcn file back. Can you please share with me your backup of TWRP EFS partition? It's the only thing that can possibly save my phone. Thanks.
iamprabhuantony said:
Get QCN FILE FROM MOTO G5s plus. Request some one who uses this mobile. I can help you restore.
Join telegram @iamprabhu.
I can help you.
Use this method to get QCN FILE
https://m.youtube.com/watch?v=7i99xSIMcSI
But without qcn. We cannot get imei back....
Click to expand...
Click to collapse
By the way, my IMEI is still intact when you use "mfastboot getvar all" command and in the "Barcode" in the bootloader menu. It's just that the IMEI = 0 when I dial *06#. I know it is in there somewhere. Perhaps you can share with me your EFS and Persist partition backup in TWRP?
gebcruz06 said:
By the way, my IMEI is still intact when you use "mfastboot getvar all" command and in the "Barcode" in the bootloader menu. It's just that the IMEI = 0 when I dial *06#. I know it is in there somewhere. Perhaps you can share with me your EFS and Persist partition backup in TWRP?
Click to expand...
Click to collapse
I have EFS backup(I didn't have persist partition in backup menu)but you will have same imei.....
Sent from my XT1805 using XDA Labs
Adi5 said:
I have EFS backup(I didn't have persist partition in backup menu)but you will have same imei.....
Sent from my XT1805 using XDA Labs
Click to expand...
Click to collapse
A guy in Moto G5 Plus (potter) forums tried that, his IMEI is still zero, but he got back his signal. I will just try and see if it will work. I'm not a criminal to use someone's IMEI, I just don't want to give up on my phone just yet. Can you IM me a link of your EFS backup, perhaps?
gebcruz06 said:
A guy in Moto G5 Plus (potter) forums tried that, his IMEI is still zero, but he got back his signal. I will just try and see if it will work. I'm not a criminal to use someone's IMEI, I just don't want to give up on my phone just yet. Can you IM me a link of your EFS backup, perhaps?
Click to expand...
Click to collapse
Using someone else's imei has great potential to cause great problems for you and the person who gives it to you. Never give away your imei or use an imei from another device.