If the m9kefs1.img is radio related and it got corrupted would it be possible for someone to put theirs up here so i can see if it fixes things? Of course only if it doesn't have any personal or phone specific related info in it.
Somehow after flashing cm12 geehrc my phone stopped getting a signal so no calls and no sms. I restores my EFS and mobile data works fine but still no signal. Everything in settings/about phone/phone identity is filled in and seems ok, in network it shows sprint but no signal strength and out of service as service state. I'm not really sure what else to do to get this working again?
Also there was the red x over the signal bars at first but now it is gone.
Do you have your original stock backup? That should contain everything and not be corrupted if it was done correct. Try to restore that stock, or any other fully working backup and boot into it, check your cell service and if that works, use the "createFlashableZip" posted in the OP to create a new EFS backup, then you should be able to restore that.
On a side note, if any of your partitions got corrupted, it's not usually just the data that gets corrupted, it's the partition. And if the partition is corrupted, there isn't much chance to restore. A warranty replacement is usually in order if that happens.
EDIT I just remembered that your exact same scenario has happened to me before. Just flash the restore multiple times and then reboot. I swear that worked for me. I remember it saying that the feature is unavailable (or something close), is that what the error is when you try to make a call?
which mobile data works? EVDO? EHRPD? LTE? EHRPD and LTE are auth'd by your sim card... while EVDO is auth'd by EFS. If EVDO is working I would assume your EFS is still good.
You have an original backup of your efs?
If so, did you backup m9kefs1.img and m9kefs2.img manually? or did you use the flashable zip?
and you only mentioned m9kefs1.img... EFS is made up of 2 partitions.. both are needed... you have restore BOTH m9kefs1 and m9kefs2? and not just m9kefs1?
You didn't try to flash my "ZeroEFS" zip did you? Hopefully not.
Where did you try to restore EFS... while booted in a rom? .. or while in TWRP? and how did you restore it.. did you flash a zip or use the manual "dd" commands? It is easier for the EFS restore to "stick" if doing it in TWRP. If trying while booted in rom it may not stick.
Have you tried flashing back to a stock-based rom or a known working rom? Trying to fix data while still on CM12 would only make things more difficult.
Have you tried using LGNPST and flashing a stock firmware bin? If you are properly restoring m9kefs1/m9kefs2 while in TWRP and still no signal.. I would try a stock rom or stock restore with LGNPST as the next step.
which mobile data works? EVDO? EHRPD? LTE? EHRPD and LTE are auth'd by your sim card... while EVDO is auth'd by EFS. If EVDO is working I would assume your EFS is still good.
You have an original backup of your efs?
If so, did you backup m9kefs1.img and m9kefs2.img manually? or did you use the flashable zip?
and you only mentioned m9kefs1.img... EFS is made up of 2 partitions.. both are needed... you have restore BOTH m9kefs1 and m9kefs2? and not just m9kefs1?
You didn't try to flash my "ZeroEFS" zip did you? Hopefully not.
Where did you try to restore EFS... while booted in a rom? .. or while in TWRP? and how did you restore it.. did you flash a zip or use the manual "dd" commands? It is easier for the EFS restore to "stick" if doing it in TWRP. If trying while booted in rom it may not stick.
Have you tried flashing back to a stock-based rom or a known working rom? Trying to fix data while still on CM12 would only make things more difficult.
Have you tried using LGNPST and flashing a stock firmware bin? If you are properly restoring m9kefs1/m9kefs2 while in TWRP and still no signal.. I would try a stock rom or stock restore with LGNPST as the next step.
Yes i have the stock backup and restored to it but still no signal, i also restored my Artmod G3 rom and that was the same except that in about phone it was showing some signal strength but i still couldn't make calls (strange). I tried restoring EFS with freegee, the zip, and through terminal but nothing has changed. When trying with freegee it said it restored efs but it didn't really seemed like it actually did anything. I just flashed the restore 3 times in a row but still nothing.
The Optimus G did not have a sim card, so we have everything in the EFS.
The Optimus G did not have a sim card, so we have everything in the EFS.
Please answer the questions above as the information would be helpful to all trying to assist you.thank you^^
As far as freegee, IDK why that even makes a backup, it works to restore very rarely. The create zip by autoprime is the best tool I have ever used. Are you sure you are restoring the zip and not flashing the create zip multiple times? Boot into stock ROM (genuine stock and not stock based) ArtMod is not stock for us, either use the ZVC or one of the stock based in the sprint thread and not one that was ported or edited and you will have better luck. If you can boot into the ZVC (the one I use to update PRL and Profile) Then do both and see if that helps.
EDIT: Try using TWRP.
there is a sim card.. it's just embedded and not removable. You wouldn't have working LTE otherwise.
LS970 EFS Backup/Restore/Repair
Every rooted Optimus G user should backup their EFS partitions!
Thanks goes to interloper, toastcfh and everyone in #lg-optimus-g that helped out.
PM me if interested in my Sprint LGOG LS970 EFS repair service.
Contents
1. Flashable EFS for backing up your EFS partitions and packing them into a new flashable .zip.
2. Commands for backing up/restoring EFS manually with terminal or ADB.
3. Flashable "ZERO EFS" with guide for repairing your EFS. This EFS needs to be reprogrammed but could be used in a "worst case" scenario where you didn't backup your EFS and the phone cannot be replaced by any LG/Sprint warranty.
Backup script/commands also work on the ATT/Telus variants. ZERO EFS zip is ONLY for Sprint LS970 users. ATT/Telus users, if you would like a ZERO EFS, please send me your efsbackup.tar in a private message. It is not suggested to publicly post your EFS file.
Background
You never know when your NV/EFS/PRL/RADIO may stop working. Restoring your WORKING EFS may save the day. A few users in the #lg-optimus-g IRC channel have run into issues and found their phone unusable, myself included. A few users who flashed the test/Korean JB builds found 3g not working.. or calls/text not working. Some users ran into radio issues after PRL writing failures. My own issues was a missing ICCID which resulted in no 4G. Data wipes, reactivations, ##786# resets were not helping. All of the above issues could have been fixed if an EFS backup was made while the phone was still in working order.
m9kefs1 seems to be radio related
m9kefs2 contains your unique phone identifiers: MEID, IMEI, phone number, MSL, data profiles etc
m9kefs3 seems to be blank 00s
Backing up EFS
It's easiest to run the Optimus_G_Create_Flashable_EFS.zip attached to this thread. Run in recovery. Optimus_G_Create_Flashable_EFS.zip creates a flashable zip backup of your EFS in /sdcard/EFS_Backup/(instead of just a .tar).
If you don't like convenience this can also be done manually with adb or terminal with the commands below.. root required.
Restoring EFSCode:su dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/sdcard/m9kefs1.img dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/sdcard/m9kefs2.img dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/sdcard/m9kefs3.img
To restore your original EFS just boot into recovery and flash the efsbackupflash.zip in your /sdcard/EFS_Backup folder.
If you don't like convenience this can also be done manually with adb or terminal with the commands below. Adjust the "dd if=/sdcard/" command depending on where your backup EFS .img files are located.
Code:su dd if=/sdcard/m9kefs1.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 dd if=/sdcard/m9kefs2.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 dd if=/sdcard/m9kefs3.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
Repairing EFS
YOUR EFS IS *NOT* BROKEN IF YOU FLASHED AN AOSP ROM AND NO LONGER HAVE SIGNAL BUT STILL HAVE YOUR MEID AND PRL SAYS "40000"...
GO BACK INTO AOSP ROM > SETTINGS > MORE... > MOBILE NETWORK SETTINGS > CDMA SUBSCRIPTION > SET TO "NV"
YOU SHOULD NOW HAVE A SIGNAL AGAIN... NO EFS REPAIR NEEDED!!
If you have a messed up PRL/Radio/EFS(no signal.. calls/text doesn't work.. no PRL showing.. no 3G) then you should first confirm there are no outages in your area. After confirming no outages you may want to try a factory data reset(settings > backup & reset) or perform a ##786# reset(MSL required). If you are feeling daring you could even try a lgnpst reset which involves installing lgnpst(automated install on IRC suggested) and flashing a stock .tot to your phone while it's in download mode(power off phone > plug phone into USB cable/computer > vol up + vol down + power buttons). If none of the previous suggestions work you could see if Sprint/LG will warranty repair your device.
If NOTHING ABOVE works your final option is to flash a new EFS. Technically you could possibly look through each and every NV item with QXDM and see what's incorrect but that may take forever... so I have included a flashable zip at the bottom of this thread which flashes a fresh LS970 EFS to your device. This EFS is clear of all personal data and any previous phone identifiers. Below are directions on how to reprogram your EFS to the Sprint network after flashing the LS970_ZERO_EFS.zip. I'd rate this as medium-hard difficulty for those that are unfamiliar with how (Sprint)CDMA phones are programmed. For those that have flashed a phone in the past, this ZERO EFS zip just made your day even easier.
The ZERO EFS has a zero'd out SPC/MSL, zero'd out IMEI/MEID, zero'd out MDN/MSID and all data profiles emptied.
NV item 114(NV_FACTORY_INFO_I) has been "anonymized" and no longer identifies to anyones real account.
In recovery, flash LS970_ZERO_EFS.zip then wipe data/cache(factory wipe in TWRP). LS970_ZERO_EFS.zip backs up your current EFS partitions to /sdcard/EFS_Backup and then replaces your EFS with the ZERO EFS.
You will have to manually program your phone to get it working again.
READ EVERYTHING BELOW IF YOU DON'T KNOW WHAT YOU'RE DOING.
After flashing LS970_ZERO_EFS.zip:
For talk/text working - use DFS(www.cdmatool.com) or other known working CDMA tools.
a1. Set LS970 into diag mode.. open the dialer and hit ##3424# . Also make sure phone is set to "Charge only"
b1. Connect phone to DFS and set correct COM port. Use the diag port NOT the serial port.
c1. In DFS send SPC(MSL) to phone using "SPC" button(under the green ports button, top left). SPC = 000000.
d1. On Programming > General tab... Write desired IMEI with DFS. Hit "status" button to make sure it stuck. IMEI = MEID + 1 extra digit.
e1. After writing IMEI.. write the matching MEID. Hit "status" button to make sure it stuck.
f1. On your phone, open dialer and hit ##000000# and program in your MDN/MSID. Hit done. Phone will reboot.
Talk/text will now work!
For 1X/3G working - use DFS
a2. Connect phone to DFS and send SPC using above methods.
b2. In DFS, open the Programming > Data tab and hit the read button.
c2. Set the UID under HDR AN LONG to your MEID@hcm.sprintpcs.com
d2. Set the Pwd to your 32-char hex password, no spaces between hex bytes. Make sure box is checked next to Pwd!!
e2. In DFS go to the Programming > Mobile IP tab. Hit the blue "Read" button in the lower left.
f2. Set the username(NAI) to the same username you just wrote in step c2... MEID@hcm.sprintpcs.com
g. Set the AAA Shared Secret password. The same 32-char password used in step d. Make sure box is CHECKED for AAA!!!
h. Set the HA Shared Secret password to: secret . Yes, the word secret. MAke sure the box is UNCHECKED for HA!!!
i. Hit the red "Write Current Profile Settings" button.
j. Back on your phone, open the dialer and press ##3282# and click "Data Profile" then "edit". Enter 000000 for code.
k. Once inside Data Profile menu, set up your Sprint username and password(AAA password).
username@sprintpcs.com and the AAA password is a 6-char password.
l. Once data profile is written back out of the menu and the phone should reboot.
1X/3G will now work!! [as long as ALL usernames and passwords were written correctly with the 100% correct info!!!]
*Notes*
1. If a ##786# reset is ever done, the 1X/3G data passwords will be wiped and have to be rewritten.
2. Dialer code 3845#*970# > Data -LG menu has a PPP setting. Never set this to Sprint... always leave on "Undetermined"
3. You shouldn't have to do anything for 4G to work.
Now you may say "yeah, that's great... but I don't know my MEID, IMEI, MDN, MSID, 32-char AAA password, Data Profile username... now what?"
Good question.
IMEI - Hopefully your phone isn't TOO messed up and you can still view your IMEI via Settings > About Phone > Phone Identity.
If you can't read it, call Sprint and ask them for it, mention your phone acting up or blah blah. The IMEI is your MEID + 1 extra digit.
MEID - MEID is on your LG OG box. You can also see this by viewing the current phone on your plan using Sprint.com
You want to use the MEID HEX not MEID DEC. If you can only find the DEC you can use online converters to convert MEID DEC to HEX.
MDN - MDN is your phone number. You should know this.
MSID - MSID is sometimes the same as your phone number, but sometimes not. You can view this info in Settings > About Phone > Phone Identity
You can call Sprint to get this info if you can't view it on your phone.
Data Profile username/password - You can get this info by calling Sprint. You may be able to view the username with ##3282# > Data Profile > View
32-char AAA Password - If you are unable to acquire your 32-char AAA password(NV item 466 and 1192), ask Sprint. You may have to speak to some form of advanced tech support.
Code:[B]My other LS970 threads..[/B] [B][URL="http://xdaforums.com/showthread.php?t=2049701"][How-To] Enable DIAG mode without Service Code(MSL)[/URL][/B] [B][URL="http://xdaforums.com/showthread.php?t=2052816"][Info] LS970 Hidden Dialer Codes[/URL][/B] [B][URL="http://xdaforums.com/showthread.php?t=2058506"][WIP]Optimus G AT Commands[/URL][/B]
hi all,
I have LG optimus g PRO E988 20c indian version, I flashed beanstalk on my device, everything was working fine but then I flashed madmack modem (with wrong modem), I then got bootloop but I restored my nandroid backup then, so phone is working now but I have lost my IMEI and phone not detecting any sim card...:crying:
I have my EFS backup image which I backedup using freegee, I restored EFS backup using freegee but it is not working....... Please tell me some way to get my IMEI back and network signal........:crying:
How to restore IMEI using EFS backup.. I tried methods adb and terminal but no use....:crying::crying:
Please help me.. I will be very grateful,...:crying::crying:
Thanks in Advance.....:crying:
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/sdcard/m9kefs1.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/sdcard/m9kefs2.img
dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/sdcard/m9kefs3.img
su
dd if=/sdcard/m9kefs1.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1
dd if=/sdcard/m9kefs2.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2
dd if=/sdcard/m9kefs3.img of=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
[B]My other LS970 threads..[/B]
[B][URL="http://xdaforums.com/showthread.php?t=2049701"][How-To] Enable DIAG mode without Service Code(MSL)[/URL][/B]
[B][URL="http://xdaforums.com/showthread.php?t=2052816"][Info] LS970 Hidden Dialer Codes[/URL][/B]
[B][URL="http://xdaforums.com/showthread.php?t=2058506"][WIP]Optimus G AT Commands[/URL][/B]
So if I'm reading this right, for simple minded people like me, make a backup with the backup zip. Then to restore, just follow that paragraph about restoring?
Does this mean that if I mess up my phone as far as reception, I could just use my backup to restore it? This stuff is way beyond me, so I gotta pick your brain.
Just ran on my TWRP 2.4.0.0 and 2.4.1.0 -> no zip file being created.
Switched to CWM and ran again, this time got zip.
Thanks for all the work!
So crazy question.... Can you use this to correct the radio in the Korean JB rom?