[Q&A] [GUIDE] Backup/Restore/Repair Your EFS Partition [LS970] - Sprint LG Optimus G

Q&A for [GUIDE] Backup/Restore/Repair Your EFS Partition [LS970]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:

autoprime said:
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.
Code:
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
Restoring EFS
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!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 [email protected]
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... [email protected]
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).
[email protected] 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://forum.xda-developers.com/showthread.php?t=2049701"][How-To] Enable DIAG mode without Service Code(MSL)[/URL][/B]
[B][URL="http://forum.xda-developers.com/showthread.php?t=2052816"][Info] LS970 Hidden Dialer Codes[/URL][/B]
[B][URL="http://forum.xda-developers.com/showthread.php?t=2058506"][WIP]Optimus G AT Commands[/URL][/B]
Click to expand...
Click to collapse
Can any body held me . I have lost my cell fone service after installing kitkat zip rom V20A of vodafone in my LG optimus f180L. After that I flashed European KDZ back which I was uning previously V10h but after installing baseband I lost signals on my device. no data ne any service . and after inserting sim card my IMEI number shows unknown.. Please held me how can i get out of this problem..

gm sheikh said:
Can any body held me . I have lost my cell fone service after installing kitkat zip rom V20A of vodafone in my LG optimus f180L. After that I flashed European KDZ back which I was uning previously V10h but after installing baseband I lost signals on my device. no data ne any service . and after inserting sim card my IMEI number shows unknown.. Please held me how can i get out of this problem..
Click to expand...
Click to collapse
try to find proper kdz for your model phone, f180L. flash f180L kdz or tot.

autoprime said:
try to find proper kdz for your model phone, f180L. flash f180L kdz or tot.
Click to expand...
Click to collapse
I flashes peoper KDZ for F180L but same problem i am facing no signals no GSM service no IMEI showing. Plz help .
I think i have efs messed up problem. Guide me to fix this problem

gm sheikh said:
I flashes peoper KDZ for F180L but same problem i am facing no signals no GSM service no IMEI showing. Plz help .
I think i have efs messed up problem. Guide me to fix this problem
Click to expand...
Click to collapse
if you did not backup your efs BEFORE you lost signal.. then there is no fix.
if you made a backup of your efs BEFORE you lost signal... you can restore it to fix the problem.

autoprime said:
if you did not backup your efs BEFORE you lost signal.. then there is no fix.
if you made a backup of your efs BEFORE you lost signal... you can restore it to fix the problem.
Click to expand...
Click to collapse
Now there is no way to get it Back? there will be any way to make my cell fone alive to make calls,sms 3G rtc??? If you Know any way Plz guide me??

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).
Run a .zip? i dont get it. The .zip folder creates a flashable zip?

ryblade said:
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).
Run a .zip? i dont get it. The .zip folder creates a flashable zip?
Click to expand...
Click to collapse
Yes, that's correct. The create flashable efs zip does that, then you can just flash the efs zip it creates if you ever need. I create one every time there is a prl update from sprint just because. (Prl is stored in efs partition with all the imei and carrier stuff specific to your phone.)

so i updated to the 02/11 update to my phone and all of the sudden out of the blue my prl says 40000 and i cant make calls and i cant use lte i need help asap please i already put it in NV mode and nothing happens . i have the efs backed up but when i try to flash them the recovery wont let me for some reason
Update i actually got it to work after 5 hours of trial and error . what since all of my backups got corrupted i managed to find one of the early versions of when i first backed up my efs and made a flashable zip of it then i got my cellular network and voice to work but as i am replying to this message now the efs got deleted after i made a call on the 2/11 version of cm12 so i think im going to revert back to an earlier build . thanks for the help .

will this work for f180 converted to e975
ihave f180 converted to e975 and it is showing imei 0 will your method work to restore imei , please reply so i should go with the procedure need help

Related

[FIX/TOOL] Backup/Restore/Fix IMEI & Data Restore Tool v3.5 - Updated 03/22/2013!!!

[FIX/TOOL] Backup/Restore/Fix IMEI & Data Restore Tool v3.5 - Updated 03/22/2013!!!
USE THIS AT YOUR OWN RISK AS QPST WILL FLASH JUST ABOUT ANYTHING YOU TELL IT TO. I AM NOT RESPONSIBLE IF YOUR PHONE BECOMES MORE BRICKED THAN IT ALREADY IS, EXPLODES, OR TRANSFORMS INTO A SITH LORD AND ATTACKS YOU WITH A LIGHT SABER!
Verizon Users please refer to this thread HERE for IMEI and Roaming fix.
Click for Screenshots in Post #4
FILES YOU WILL BE NEEDING
DOWNLOAD QPST V2.7.378 from HERE
(if you have build version 2.7.385 please let me know)
Fix for Data Issues (Stuck on EDGE/2g) see Post # 3
(Sasktel users custom App has not been updated for you guys cause I am still in need of additional data)
How to get to DIAG Mode
**AOSP ROMs to get to DIAG Mode see Post #2
Option1:Stock ROM (Stock Dialer) dial *#7284#.
Option 2: Stock ROM (No Stock Dialer) flash this file HERE!
Install QuickShortcutMaker.
Open it and type IOT in the search box.
Click on the entry that says IOTHiddenMenu / IOTHiddenMenu / com.android.hiddenmenu/com.android.hiddenmenu.IOTHiddenMenu
Click OK
STOCK ROMS: In the hidden menu or PhoneUtil menu select USBSettingsMenu choose the correct mode and click ok.​
To get started put phone into RMNET + DM + MODEM mode (DIAG Mode)
Connect your phone to your computer using your USB cable (Stock cable will work best no guarantees with any other cable).
You might need these if your phone won't connect USB Drivers.
Look in device manager under ports and serials you should see your phone there.
Now open QPST Configuration click on ports tab and then on Add new port button type in COM## where ## is the port number your phone is connected to.
To make a backup:
Open Software Download from the Start Clients menu.
Click on the Backup tab.
Make sure your phone is listed under port.
Select a location to save your backup (recommended).
Click Start and wait for it to finish.
You should now have a QCN file of your NV Data.
Save the file in a safe place.
To restore:
Open Software Download from the Start Clients menu.
Click on the Restore tab.
Make sure your phone is listed under port.
Select the location you saved your backup to.
Click Start and wait for it to finish.
The phone will attempt to restart if it fails don't panic just manually reboot your phone it may take longer than usual but you should be fine.
IMEI Injection:
Please see Post #3 for IMEI Injection + Data Restore All in one App and Instructions
or
Inject IMEI with QPST
Open RF NV Item Manager from the bin folder found in Program Files folder/Qualcomm/QPST
(RF NV Manager is no longer accessible from the start menu or from inside QPST Configuration).
Click on Setting menu in RF NV Item Manager and select Comport.
Select your phone from the list of ports and click ok.
Go to File menu and select Read From Phone.
You will get a list of NV items and their values from your phone.
Look for item NV_UE_IMEI_I it will be item number 550 you can do a search for it using the search.
If you are unable to find it you will need to add it in
Go to Option => Customize NV Item List.
Then look for the item on the left and move it to the right.
Click OK now you should be able to find it.
NEVER ADD AN ITEM THAT YOU DO NOT KNOW THE CORRECT VALUE FOR YOU CAN DAMAGE YOUR PHONE IF YOU DO SO!​
On the right you will see a set of 9 text boxes this is where your IMEI should be.
Click the Hex Check Box.
The Hex values for your IMEI will consist of no more than 2 characters per a box and must match your IMEI or it will not take the values you enter. The IMEI is also listed in a special order so you must follow this guide to ensure your IMEI is correct. The first box will always be an 8.
Example if your IMEI was: 954091051099226 then the boxes would look like this:
8
9a
45
90
01
15
90
29
62​
Click on the button Write NV to write the values to your phone.
Once they have been written reboot your phone and check to see if your IMEI has been restored.
If IMEI is correct and you are stuck on EDGE/2g go to Post #3.
Remember to go back into the Hidden Menu and set your USB Settings back to MTP + ADB once you are done!!!!
________________________________________________________________________________________________
Thread Rules:
Do not ask how to spoof IMEI or how to clone IMEI you will be ignored!
Do not answer someone who asks for information on IMEI spoofing or cloning!
Please do not ask questions unless you have used the Search option!!
Please do not use this thread as a place to settle out any ill feelings towards each other or any other developments!!!
Please do not ask questions that have already been answered!!
Please do help each other when at all possible!!
Don't hesitate to have fun while we all try to figure this problem out!
If I do not answer you right away it's not because I don't like you it's because I have a family, a job, a life outside of development that needs tending to!!
Also thanks to jroyalty, zmore, drothenberger, David Dee, PureMotive, Bigbyte.me, GerardAnthony, Amoamare, <>, XDA, and everyone who donated their phone data for research =)
DX
I don't ask for donations (I do this cause I enjoy it) but a nice latte every now and then late at night is quite refreshing while developing...lol
________________________________________________________________________________________________
AOSP Roms
Added scripts as downloadable files for those who may want them that way.
Place phone in and out of DIAG Mode by running these scripts.
Script to enter DIAG Mode (RMNET + DM + MODEM Mode)
Code:
echo 0 > /sys/class/android_usb/android0/enable 0
echo smd,bam > /sys/class/android_usb/android0/f_rmnet/transports
echo diag > /sys/class/android_usb/android0/f_diag/clients
echo 1 > /sys/class/android_usb/android0/f_acm/instances
echo rmnet,acm,diag > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
Script to return to MTP(eject first)
Code:
echo "" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
echo 0 > /sys/devices/virtual/android_usb/android0/enable
echo "mtp,acm,adb" > /sys/class/android_usb/android0/functions
echo 1 > /sys/devices/virtual/android_usb/android0/enable
vold
Custom App updated current support is for AT&T, T-Mobile, Bell, Telus, and Rogers. I am in need of anyone with a working Sasktel phone in order to get this working for Sasktel.
Updated to version 3.5. Added IMEI Injection Checkbox.
Download - SGS3 Data Restorer App
This custom app will create a QCN file that can be restored to your phone after you inject your IMEI back into your phone and find yourself with data connection issues. This is only used if you had lost your IMEI and did not have a backup created!!
Instructions:
Create a QCN backup of your phone using QPST (see OP for instructions).
On a Windows Vista or higher computer download the app and install it.
Once installed, close the app.
Go to start menu, you will find app under DanX and run it.
(If there are any new updates the app will find it.)
Select your Carrier
If you need your IMEI injected then click the checkbox next to "Inject IMEI"
Upload your QCN backup into the app.
If you clicked the checkbox a window will pop up at this time asking for your IMEI.
**Enter it exactly how you see it on the back of your phone.
Select a save location and create a save name.
Verify that your IMEI is correct.
Click "IMEI Verified" button.
Wait and the QCN should be generated.
Go to the location where you saved the QCN.
Go to QPST and restore file into your phone (see OP for instructions).
Manually reboot your phone.
If you have a slow connection still but you're no longer on 2g reboot again.
If you still a have slow connection after that consider flashing stock again through Odin and then generate another backup using this app.
You can also try flashing a different modem and then generate another backup using this app.
If it still is not working respond to this thread.
I do not guarantee any success and results may vary on how badly you have screwed your phone!
I am not responsible if you screw your phone worst than it already is as QPST is a deadly phone weapon use it at your on risk.
DX
I cannot guarantee release times as I do this on my spare time but I promise I will try to keep this updated as long as I can. Though the coffee may keep me up I do sleep every now and then if you used the app and you liked it please donate it pays for coffee.
Screenshots
Great emergency resource.
Now everyone can start flashing again like it's going outta style.
--------------------------------------------------------------------------------------------------
EDIT: Added some screenshots of the process to reassure whomever it helps:
1_SAM_GS3_EXPLOITER_By_GeeK_finished.png
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1b_Hidden_menu_screenshot_montage.jpg
2_win7_drivers_after_changing_to_RMNET_DM_MODEM.png
3_QPST_InstallShield.png
4_Device_Manager_Phone_COM_Port.png
5_QPST_Add_New_Port.png
6_QPST_Port_Added.png
7_QPST_Software_Download_BackupNV.png
8_QPST_RF_NV_Manager_WRITE_IMEI_TO_NV.png
This last screenshot is for people who haven't already backed up their IMEI but want to try forcefully writing it back. The example 15-digit IMEI number I used (but didn't actually write) was: 123456789012345
Awesome.
If confirmed, please make an app that we can all donate too. This will be most beneficial to you and the community.
Thank you for the countless nights
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I'm more interested in the IMEI injection. If someone has already lost their IMEI and can simply inject their original IMEI back into the phone then we're golden (not that you shouldn't have a backup just in case, but it's nice nevertheless).
Haha look whose got their own thread! great work man look forward to this being confirmed so we can all breathe a sigh of relief!
Sent from my SGH-I747 using Tapatalk 2
Thanks man! You are a life saver for many. Your work is much appreciated.
The only thing I'm confused is secured and unsecured kernel.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
As soon as this is confirmed working I think it will be time to fulfill our promise of donating to the one who solved this issue
We need links to insecure kernels for Canadian carries unfortunately
rgoyena said:
The only thing I'm confused is secured and unsecured kernel.
Click to expand...
Click to collapse
An "insecure" kernel is one in which adb automatically gets root access. This is required for GeeK's mod to work. If you are on UCALEM, you can flash the one from here. (There are others, too.)
If you're running the LG1 stock kernel, you can install the "adb insecure" app. Run it and click the box to make your kernel insecure, then use GeeK's mod. This is what I did and it worked perfectly.
EDIT: "adb insecure" should work for any kernel, including the Canadian ones.
rgoyena said:
The only thing I'm confused is secured and unsecured kernel.
Click to expand...
Click to collapse
Just to add to what drothenberger said: in secure mode, when you adb shell into your phone, you have to use 'su' post-login to become root:
Code:
$ adb shell
[email protected]:/ $ su
[email protected]:/ #
This is a pain, because you can't directly do stuff like "adb push foobar.apk /system/app/" without being root first, which is what the insecure mode fixes. Newer versions of CyanogenMod also now have a root settings menu that gives you even finer grained control of this.
It does work for Can carriers, I confirmed that in the other thread. Take a look at my mini guide there: http://forum.xda-developers.com/showthread.php?p=29462669
Sent from my SGH-I747M using XDA Premium HD app
I'm running faux kernel for att.
About adb. Now this is a problem for me. Never used it and always tried to avoid using it. Lol
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
rgoyena said:
I'm running faux kernel for att.
About adb. Now this is a problem for me. Never used it and always tried to avoid using it. Lol
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
kernel doesn't matter as long as it is stock. The app will make it insecure. Adb is something essential if you are flashing.
Sent from my SGH-I747M using XDA Premium HD app
Hey this is awesome! I hope it is confirmed working! I have one quick question. When you say that you have to be on a stock rom, do you mean "stock" stock as in, the stock rom the phone came out of the box in, or does it still work on a stock based rom (like a debloated/deodex rom, with mods etc?)
drothenberger said:
An "insecure" kernel is one in which adb automatically gets root access. This is required for GeeK's mod to work. If you are on UCALEM, you can flash the one from here. (There are others, too.)
If you're running the LG1 stock kernel, you can install the "adb insecure" app. Run it and click the box to make your kernel insecure, then use GeeK's mod. This is what I did and it worked perfectly.
EDIT: "adb insecure" should work for any kernel, including the Canadian ones.
Click to expand...
Click to collapse
I'm on LG1 and I used adb insecure, purchased from the Market (gotta support Chainfire, the man rocks!). It all worked flawlessly for backing up my IMEI.
ViralCipher said:
Hey this is awesome! I hope it is confirmed working! I have one quick question. When you say that you have to be on a stock rom, do you mean "stock" stock as in, the stock rom the phone came out of the box in, or does it still work on a stock based rom (like a debloated/deodex rom, with mods etc?)
Click to expand...
Click to collapse
stock based, not aosp. I am on k747 Sammy kernel and it worked
Sent from my SGH-I747M using XDA Premium HD app
SOOOO happy now I can start flashing away when i get my s3 on monday!

[TOOL/GUIDE] Full NV Backup and Restore [SIMPLE] [08-03-2012]

This is a simple and easy way to backup and restore your GS3's COMPLETE NV items which hold your IMEI, IMSI, Data settings and much more!
INSTRUCTIONS:
1) Download NV reader/writer HERE and install THESE drivers.
2) Dial *#7284# and select "Qualcomm USB Settings" then check "RMNET + DM + MODEM".
*If you are running a aosp rom (cm9,cm10,aokp etc) you can use the diag method described HERE
3) Create backup.
a) Click "port" in the top left and select your samsung serial port.
b) Make sure BOTH boxes in the top bar are checked.
c) Click "Connect" in the top bar.
d) Click "Read" in the top bar.
e) Click "Read" in the lower 'NV-items' section.
f) Save the .txt file, this is your backup
*The process will take 5-10min. The file size will be roughly 3mb and "inactive item" and "bad parameter" sections are normal.
*To restore click "Write" in the lower 'NV-items' section and navigate to your backup file.
4) Dial *#7284# and select "Qualcomm USB Settings" then check "MTP + ADB".
Demonstration video HERE << Thanks to moonfire for the video.
IMEI ALREADY CORRUPT?
Use THIS custom built tool to easily generate a backup file with your properly formatted IMEI to restore your phone!
1) Enter your IMEI (find it behind your battery) in the text box up top, hit generate then hit save.
2) Use "NV-Item reader writer" to write the saved text file back to your phone and then reboot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks:
Me
cdma-ware
Peoplearmy
GerardAnthony
oriax123
Time and money have been invested into this project so donations are appreciated.
Donations: HERE
ATTENTION: I need a copy of someones full backup. Requirements are that you never flashed an AOSP rom (CM9, CM10, AOKP) and that your SGS3 is T-mobile. I need this to work on the data issue!
Update: The data issue is still being worked on and some progress has been made but there is still not a solid easy fix. IF YOU MADE A BACKUP THEN GOT THE DATA BUG, PLEASE MAKE A SECOND BACKUP SO THAT I CAN COMPARE THE BEFORE/AFTER!
great work!!!! thanks for your contribution~
very nice!
Is this for real? If it is then SWEET!
Sent from my SAMSUNG-Spaceshiplll using xda premium
I post question on T-mobile sectrion ... hre is my answer for one of question Second was do i need unsecre kernel tothis too work?
Almost seems too simple, amazing work.
I have a fully stock att s3 and unable to write back to phone. Anyone can help with a pointer or two? I can read from phone but unable to write back. Also right before it write back to phone I do notice it shows offline for a quick second but does state it has successful wrote to phone.
Great job! Nice and easy and quick!
nunyabiziz said:
I have a fully stock att s3 and unable to write back to phone. Anyone can help with a pointer or two? I can read from phone but unable to write back. Also right before it write back to phone I do notice it shows offline for a quick second but does state it has successful wrote to phone.
Click to expand...
Click to collapse
Why are you trying this on a bone stock phone? Did you lose your imei?
Has anybody restored a backup and worked?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
nunyabiziz said:
I have a fully stock att s3 and unable to write back to phone. Anyone can help with a pointer or two? I can read from phone but unable to write back. Also right before it write back to phone I do notice it shows offline for a quick second but does state it has successful wrote to phone.
Click to expand...
Click to collapse
If you are trying to write something other than your stock IMEI it will not work. Also, make sure you have both of the boxes checked before you hit the read button at the top so that is sends the 000000 security code to the phone and unlocks it.
*when i say unlock i do not mean carrier unlock, so dont get exited people.
thacounty said:
Why are you trying this on a bone stock phone? Did you lose your imei?
Click to expand...
Click to collapse
I put everything back to stock because it wasn't working with root and insecure kernel.
nunyabiziz said:
I put everything back to stock because it wasn't working with root and insecure kernel.
Click to expand...
Click to collapse
Is your IMEI already corrupt and your trying to fix it?
This is confirmed working and will back up your IMEI. If you are looking for a full NV backup please refer to my post here:
http://forum.xda-developers.com/showthread.php?t=1801997
Once againgreat work <>!!
DX
Peoplearmy said:
This is confirmed working and will back up your IMEI. If you are looking for a full NV backup please refer to my post here:
http://forum.xda-developers.com/showthread.php?t=1801997
Once againgreat work <>!!
DX
Click to expand...
Click to collapse
Thanks!
If you want a FULL backup just read the phone with the default values [Range (Dec): 00000-65535].
It is actually a more comprehensive and easily managed backup than what the old RF NV item manager in qpst offers.
The 00550 [hex 226] is just for the single item that handles the IMEI.
<:GeeK:> said:
Thanks!
If you want a FULL backup just read the phone with the default values [Range (Dec): 00000-65535].
It is actually a more comprehensive and easily managed backup than what the old RF NV item manager in qpst offers.
The 00550 [hex 226] is just for the single item that handles the IMEI.
Click to expand...
Click to collapse
^ Probably should update the OP with that.. As Im sure some will prefer A FULLL "just in case" backup, and others just the IMEI..
Always good to list the choices/options
Narcistic said:
^ Probably should update the OP with that.. As Im sure some will prefer A FULLL "just in case" backup, and others just the IMEI..
Always good to list the choices/options
Click to expand...
Click to collapse
Good idea, done.
Flashed to smokins touch mii rom so I can run this, but when I click read it says Failed "connect to COM port before"
What am I doing wrong?
Edit: Nvm, got it.
<:GeeK:> said:
Is your IMEI already corrupt and your trying to fix it?
Click to expand...
Click to collapse
A friend's s3, its corrupted and unable to write the imei back to it.
nunyabiziz said:
A friend's s3, its corrupted and unable to write the imei back to it.
Click to expand...
Click to collapse
In private message send me the backup you made of the corrupt NV and also tell me the IMEI (get it from behind the battery) and ill try to help you out.

[GUIDE] Backup/Restore/Repair Your EFS Partition [LS970]

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.
Code:
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
Restoring EFS
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!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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 [email protected]
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... [email protected]
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).
[email protected] 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://forum.xda-developers.com/showthread.php?t=2049701"][How-To] Enable DIAG mode without Service Code(MSL)[/URL][/B]
[B][URL="http://forum.xda-developers.com/showthread.php?t=2052816"][Info] LS970 Hidden Dialer Codes[/URL][/B]
[B][URL="http://forum.xda-developers.com/showthread.php?t=2058506"][WIP]Optimus G AT Commands[/URL][/B]
although i didnt really help much, glad we figured out what partition it was on
Re: [GUIDE] Backup/Restore/Repair Your EFS Partition
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.
Sent from my LG-LS970 using xda premium
engine95 said:
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.
Click to expand...
Click to collapse
it doesn't touch the actual modem/baseband... but it backs up your entire EFS/NV. NV items are sort of like Windows Registry... but lower level than the Android filesystem. The PRL is also contained in the EFS.
If you ever go into a hidden menu and set a weird setting which kills 3g... if you write a PRL and it goes wrong and you lose all reception.. if you flash a rom and all of the sudden your MEID is gone(etc etc etc).. then having an EFS backup would help.
Backing it up saves the current state of the EFS. So yes, if you had a working backup and then ran into issues down the road... you could reflash your backup EFS and you'd have a fix(hopefully).
The EFS contains all the unique parts of your phone... MEID, IMEI, Data Profiles, Phone number.. etc etc. Its the one thing that can't be replaced if it gets screwed up. If you don't have a backup and replaced all partitions from someone elses phone you'd have their meid, imei, phone number data profile etc.. instead of your own. This is where the 2nd half of my guide comes in. In the extreme case that you have no EFS backup and you can't get your phone replaced by Sprint/LG.. the ZERO EFS zip + guide can get your phone working again.
Wish I new about this a week ago....
Sent from my LG-LS970 using xda premium
Thanks to you autoprime and to all involved that made this possible, this fix worked like a charm!
So crazy question.... Can you use this to correct the radio in the Korean JB rom?
Sent from my LG-LS970
kc_exactly said:
Wish I new about this a week ago....
Click to expand...
Click to collapse
your broken EFS + skullzaflare's broken EFS + my broken ICCID were the reasons I put this together. Wish I put it out sooner
cxdatl said:
So crazy question.... Can you use this to correct the radio in the Korean JB rom?
Click to expand...
Click to collapse
I don't know enough about the Korean JB rom to answer that correctly. I do know it fixes the efs issues if you flash back to a Sprint rom after flashing the korean rom.
is the Korean JB rom CDMA or GSM? I'm not even sure it matters.. but if it's also CDMA I'd have a better feeling about it maybe being possible.
could you tell me the exact issues people were facing after flashing and using the Korean JB rom? was it working minus radio? was radio "active" but not working? etc etc.
as long as you make a backup of your working efs first.. you can always restore back to it. I've flashed bad data to both efs partitions just to see how well this worked. my phone had no baseband.. no working radios... flashed my backup.. all working again. :good:
Hey, I was just attempting to be funny. I truly appreciate this guide. Thanks.
Sent from my LG-LS970 using xda premium
autoprime said:
your broken EFS + skullzaflare's broken EFS + my broken ICCID were the reasons I put this together. Wish I put it out sooner
I don't know enough about the Korean JB rom to answer that correctly. I do know it fixes the efs issues if you flash back to a Sprint rom after flashing the korean rom.
is the Korean JB rom CDMA or GSM? I'm not even sure it matters.. but if it's also CDMA I'd have a better feeling about it maybe being possible.
could you tell me the exact issues people were facing after flashing and using the Korean JB rom? was it working minus radio? was radio "active" but not working? etc etc.
as long as you make a backup of your working efs first.. you can always restore back to it. I've flashed bad data to both efs partitions just to see how well this worked. my phone had no baseband.. no working radios... flashed my backup.. all working again. :good:
Click to expand...
Click to collapse
interpoler needs credit too lol, if it wasnt for his backed up EFS partitions i wouldnt have figured out it was those and got mine working lol.
even though i got mine working aside from 3g, sprint replaced it for free (i just got impatient) but atleast we have a fix now, and you got a blank efs to use for it
edit- oh i didnt see that you edited the post and added info lol
skullzaflare said:
interpoler needs credit too lol, if it wasnt for his backed up EFS partitions i wouldnt have figured out it was those and got mine working lol.
even though i got mine working aside from 3g, sprint replaced it for free (i just got impatient) but atleast we have a fix now, and you got a blank efs to use for it
edit- oh i didnt see that you edited the post and added info lol
Click to expand...
Click to collapse
I actually signed the 2 year contract, I have gotten my first LG through craiglist, then got home and saw this, I did it and the radio worked right away, again great job guys.
Edit: I will start theming this baby soon.
Sent from my LG-LS970 using Tapatalk 2
Updated the Optimus_G_Create_Flashable_EFS.zip in the OP
Now creates a flashable EFS backup instead of just a .tar. Just flash the "efsbackupflash.zip" in recovery to restore.
m9kefs1.img, m9kefs2.img and efsbackupflash.zip are stored in /sdcard/EFS_Backup
I suggest remotely backing up the zip somewhere(Dropbox, PC, etc) just in case /sdcard gets erased.
autoprime said:
your broken EFS + skullzaflare's broken EFS + my broken ICCID were the reasons I put this together. Wish I put it out sooner
I don't know enough about the Korean JB rom to answer that correctly. I do know it fixes the efs issues if you flash back to a Sprint rom after flashing the korean rom.
is the Korean JB rom CDMA or GSM? I'm not even sure it matters.. but if it's also CDMA I'd have a better feeling about it maybe being possible.
could you tell me the exact issues people were facing after flashing and using the Korean JB rom? was it working minus radio? was radio "active" but not working? etc etc.
as long as you make a backup of your working efs first.. you can always restore back to it. I've flashed bad data to both efs partitions just to see how well this worked. my phone had no baseband.. no working radios... flashed my backup.. all working again. :good:
Click to expand...
Click to collapse
Well everything worked for me. But the radio quit after 10min.
Sent from my LG-LS970
cxdatl said:
Well everything worked for me. But the radio quit after 10min.
Sent from my LG-LS970
Click to expand...
Click to collapse
you mean after flashing the korean jb.. it all worked?
was this stock korean jb.. or something modded for sprint users? i saw a few "jb test builds"... are we discussing them or the real korean build?
for the 10 min it worked.. calls/text/3g worked?
were you able to get the radio working again after it quit on you 10 min later? did you have to flash back to sprint? everything working again?
thank you so much for this. i dont know if this is to much to ask but could somebody possibly make a zip that would restore them for you because i have absolutely no idea on how to use abd or terminal lol
I'm not positive, but I think that's just what the new update does. It created a flash able zip with all the info.
Sent from my LG-LS970 using xda premium
javskies said:
thank you so much for this. i dont know if this is to much to ask but could somebody possibly make a zip that would restore them for you because i have absolutely no idea on how to use abd or terminal lol
Click to expand...
Click to collapse
engine95 said:
I'm not positive, but I think that's just what the new update does. It created a flash able zip with all the info.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
engine95 is correct. the latest backup efs zip extracts your EFS partitions, zips them into a new flashable zip and stores the zip in /sdcard/EFS_Backup.
also in the efs_backup folder are the loose efs partition files... just cause.
The zip creates the back up but from what I read from the guide it says you have to use terminal to restore them
Sent from my LG-LS970 using xda premium
javskies said:
The zip creates the back up but from what I read from the guide it says you have to use terminal to restore them
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
reread, he forgot to add a word
To restore your original EFS just boot into recovery and flash the efsbackupflash.zip in your /sdcard/EFS_Backup folder. OR To manually restore use the commands below. Adjust the "dd if=/sdcard/" command depending on where the backup .img is located.
It's been updated. Autoprime mentioned it about 8 posts up. Updated file in the op.
Sent from my LG-LS970 using xda premium

Several problems (stuck in bootup & lost imei

1)My phone is stuck into bootup cycle after I tried to fix imei null/null problem with this method:
victorator said:
copy the efs.img to your externalsdcard
open anroid terminal and type in:
su
(accept superuser prompt)
then type
dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096
and reboot your phone
Click to expand...
Click to collapse
2) So, as I mentioned earlier - I can't connect to network due corrupt /efs/ and I tried a lot of methods to fix it. I don' t know what to do anymore, guys, I really need your help...
When I had this issue, I used clear efs in odin when pit flashing a prerooted stock rom onto it, then restoring the imei from an efs backup, if you dont have an efs backup you are kind of screwed. You can goto a phone repair shop to get them to hard write the IMEI back onto the phone, but depending on where you are from, it may be illegal as it comes under IMEI tampering. There are a variety of ways you can do it yourself but the contents of how to do it is forbidden for discussion in these forums as once again IMEI tampering is illegal, it is only legal in some countries to restore your own IMEI number, but once you know the method, you can do it with any.
Hi, be carefull on wiping efs! There are several tools to restore imei and mostly there is no need to wipe imei first.
Read carefully this thread: http://forum.xda-developers.com/showthread.php?t=2420881 and try dr.ketans multitool or that tool you did your efs backup.
Multitool can be found in dr.ketans signature.
Greetings

Steps to recover IMEI using qcn

How does one change the IMEI?
I've tried this without success:
1. Root your device
2. Download and install QSPT and UltraEdit (HxD would also do).
3. Download an IMEI converter.
4. Get hold of a working qcn (I used my own which I know works in my other P2). Open the file by using Ultraedit/HxD and try to locate the IMEI. In my case it often starts with "08 8A...".
5. Use the IMEI converter and input your true IMEI. Memorize the output.
6. Return to the qcn file. Write it over with the IMEI output you got in step 5.
7. Save the file.
8. In a terminal enter:
su
setprop sys.usb.config rndis,diag,adb
9. Restore the qcn file from step 7 by using QSPT. You click on QPST configuration and go to "ports". If your port isn't already visible go to the device manager, look up the Qualcomm Diag port and add it. For me I believe it's COM9. Now you click on "start clients", then "software download". Tick the "Allow phone/file ESN mismatch", locate your saved qcn file and start restoring it.
10. All done. Reboot!
Apparently some XDA members managed to get their signal back once the modem was deleted so I guess somebody should know.
Other methods I've tried include flashing stock MM and installing OTA until you're on S251 as well as restoring an older full TWRP backup from when your signal used to work. Needless to say, they didn't work.
This procedure worked for me. Lenovo K6 Power with Qualcomm proc.
Successfully I found other users qcn file and wrote my IMEI in it.
Signal is back but diag port disappeared and I can't turn it on again.
WhatsApp me or call me 8436243173
WHERE CAN I GET THIS QNCN ? I'm confused
I had same problem, here are my steps with qcn backup file from working P2. My IMEIs stays right. Sorry for my english and here is my link and read next threads from that forum.
https://forum.xda-developers.com/showpost.php?p=73444145&postcount=70
mL-7 said:
This procedure worked for me. Lenovo K6 Power with Qualcomm proc.
Successfully I found other users qcn file and wrote my IMEI in it.
Signal is back but diag port disappeared and I can't turn it on again.
Click to expand...
Click to collapse
Have K6 power with IMEI turned 0 after fastboot erase modemst1 and 2. Could you please detail the steps to restore IMEI?

Categories

Resources