[FIX/TOOL] Backup/Restore/Fix IMEI & Data Restore Tool v3.5 - Updated 03/22/2013!!! - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

[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!

Related

[GUIDE][OBSOLETE] 3.1 for rooted EURO XOOM with working 3G in 5 steps [Update: 7/25]

Disclaimer: with easy I mean easier than I thought, it still a risk involved and ATM you will loose your installed programs. I am not responsible if this bricks your device, kills your cat or starts World War 3!
Update 12: Signal strength Display now works (On 3.2 for now). So have a look here and have fun.
Update 11: This thread is obsoleted by the fully flashable 3.2 update.zip you can find here
Update 10: Seems like you do not need (some users even point out that you shouldn't as it caused them FCs) to copy the ressources if you use the AU-Images. You can add you APN manually. You should copy the build.prop, if you want to use regional features of your device, as I think that market and other apps pull information out of it. Also as mcfish pointed out, you have to re-root afterwards by pushing su and Superuser.apk back to the Device with adb.
Update 9: Thanks to Simba90 there is now a complete set of working instructions to get the AU images on your XOOM with Nandroid. Read here
Update 8: I now extracted the AU images and put them in the thread here along with instructions how to apply them. You will loose all your data if you do that, but you will have a working UMTS 3.1 on your XOOM, which shows the right Signal Strength and you can run American Applications like Books on it. Follow the instructions in the thread to the letter and then copy the databases and the frankenrom as described here and voila it works. I dont know if I will build a hybrid of those two anymore or just try to build from the AU Release only, but I will tell you about my experiences here.
Update 7: It seems that with Tiamat 1.4.4 the 3G Blackouts some Users experience are less likely (and in my case gone for the last 9 days). Now that we have the Deodexed Version from here I will experiment a little and maybe I can switch out some of the system apps so that we finally get the Signal Strength displayed right.
Update 6: Seems the pushing of the telephony db did not help after all. I had the 3G Data loss again today, but luckily I did not reboot and still have it that way. So I can now analyze further. The tool I wrote to give out the network stats pointed me in the direction, that the telephony manager is gone, because it only reports null stats. I will investigate and we'll see, maybe I can find a final fix for that issue.
Update 5: Some users (including me) have had 3G breaking down sometimes. In case that happend, you did not see any network indicator and internet was gone. Once that happend and you opened the APN-Settings, all APNs were gone. I now think I have a remedy for that. I pushed the telephony.db and the telephony.db-journal from my backup and now I have it working for 3 consecutive days without a hiccup (except that one time the network Indicator was gone, but the internet was still there and a few minutes later the indicator was back). Pushing the db files goes like that:
Code:
adb push telephony.db /data/data/com.android.providers.telephony/databases/telephony.db
adb push telephony.db-journal /data/data/com.android.providers.telephony/databases/telephony.db-journal
After that it should work. The only remaining issue now is that the Network Signal Strength is not displayed properly. I wrote a little app to test all the Information you can get from the Telephony API, but from there the Signal Strength and Network Type are displayed properly. So this seems to be only a Display Issue in the Status Bar. If you have this display bug you only have half the network strength displayed and 0 dBm 4 asu in Settings -> About Tablet -> Status -> Signal Strength. I now am sure that this is only a Display and not a Network Issue. I tried 3.0.1 and 3.1 on different places with different types of networks and the Signal strength and download capacity were the same.
Update 4: As an Idea, if you have your settings.db files and your build.prop from your vanilla 3.0.1 (and your frankenbuild works with them) you could send it to me with the name of the Provider and the XOOM Type and I could build a database in this post where users could get those files to flash their XOOMs. Tell me what you think.
Update 3: Always try to use the db files from your own device or a device from the same country/provider, I am not sure if they differ from country/provider to country/provider. Also be sure to disable PIN lock before starting the device the first time with 3.1. And if you have 3G working and want to use another kernel, be aware, as it seems one member had problems flashing the Tiamat kernel and loosing WiFi. (I used Tiamat Version 1.4.2 -- 1.5 Ghz Overclock for Honeycomb 3.1 Only and it worked)
Update 2: As I saw the question pop up if you can flash a custom kernel after this procedure. Yes you can. I am using Tiamat with 1.5 OCed from http://forum.xda-developers.com/showthread.php?t=978013
Update: If you pull the databases you can test if they are healthy by using sqlite. In case of settings.db and telephony.db the tables command should show the tables in the db. If it shows the error message something went wrong. I dont know what the wal and shm files are for, but they can not be opened by sqlite.
Code:
sqlite3 settings.db
SQLite version 3.7.5
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
// In the error case it displays
sqlite> .tables
Error: database disk image is malformed
// if it is okay it shows
sqlite> .tables
android_metadata bookmarks system
bluetooth_devices secure
Prereq:
Unlocked and rooted Euro XOOM with clockwork recovery and PIN entry for you SIM Card disabled (Some users report that if PIN is enabled there is no 3G as it seems that the PIN Entry Util is not part of the CDMA packages)
Instructions:
1. Get the needed files
There are two ways to do this, the first one (a) was used by me, and is the one I can tell you it works for sure. The second one (b), I think should also work, but I havent tested it. I think some of the members who postet here have, though.
a. Make a nandroid Backup and copy data.img from that backup to your PC. Then unyaffs it.
(If you want to build your own build prop you need system.img as well)
Code:
unyaffs data.img
// Only if you need your own build.prop
unyaffs system.img
b. Get the needed files with adb.
(You need root and read permission for that)
Code:
adb remount
adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
adb pull /data/data/com.android.providers.settings/databases/settings.db-wal settings.db-wal
adb pull /data/data/com.android.providers.settings/databases/settings.db-shm settings.db-shm
adb pull /data/data/com.android.providers.telephony/databases/telephony.db telephony.db
adb pull /data/data/com.android.providers.telephony/databases/telephony.db-journal telephony.db-journal
// This step is only necessary if you want to build your own build.prop
adb pull /system/build.prop build.prop
2. Flashing 3.1
Flash the 3.1 US image from http://forum.xda-developers.com/showthread.php?t=1074609 following the Guide with all steps (even the ones in red which it says are only for verizon) but skipping Step 1 (flashing the recovery)
3. Frankenrom build.prop
There are two ways to get a working build.prop
a. Download the build prop from http://toshsoft.de/xda/build.prop.frankenrom and copy it to your device
Code:
adb push build.prop.frankenrom /system/build.prop
b. Build your own build.prop. To do this first remove all the lines starting at
Code:
# RIL and telephony related settings
to the point where the OpenGL string starts and replace them with the same lines in the build.prop you copied from the unyaffed system.img. Then comment out the line with
Code:
ro.cdma.otaspnumschema
4. Push the Stuff back
Push all databases from /data/data/com.android.providers.settings/databases/ from the data.img backup (Those are - settings.db settings.db-shm settings.db-wal telephony.db telephony.db-journal) and the new build.prop to your device.
Code:
adb remount
adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
adb push settings.db-wal /data/data/com.android.providers.settings/databases/settings.db-wal
adb push settings.db-shm /data/data/com.android.providers.settings/databases/settings.db-shm
adb push telephony.db /data/data/com.android.providers.telephony/databases/telephony.db
adb push telephony.db-journal /data/data/com.android.providers.telephony/databases/telephony.db-journal
adb push build.prop /system/build.prop
5. Finishing up and rebooting
Et voila, after a reboot everything works. (including books)
Code:
adb reboot
Proof:
{
"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"
}
Genial! Gut gemacht!
Danke für deine Arbeit!
Fantastic !
Very good news.
i cant find the Databases "pushed all databases from /data/data/com.android.providers.settings/databases/ from my backup to the new one"
I can't make a nandroid backup cause I have no external sd. Is there a way to do it with adb?
Hi, I updated the guide, because I used the wrong img file name in the text. The databases are in the data.img If you have no sdcard I think it should be possible to pull the files from your device before flashing. But I don't have the names of the database files here. I am on the move at the moment. Once I get home, I will update the guide with all necessary file names and thread links.
oh :-( i cant unyaffsen :-(
i'm on Windows :-(
There is a prebuilt unyaffs for windows at http://boomtopper.blogspot.com/2009/10/unyaffs-windows-binary.html
Thank you so much for this. Will try when I get home.
Edit - noticed your screenshots show Edge reception, you have achieved HSPA using this method too, right?
Sent from my Xoom
From the US 3.1 instructions do we do steps 2-7 including step 4 (for Verizon 3G users) ???
Thanks
You're just asking for trouble with this, I know the kind of impatient people that will boot loop their devices wth this and come back complaining its bricked.
Simple theory though, flash US images, restorevthe databases and then fix your build prop to get your 3g radio and market location back.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.
alias_Neo - That's what disclaimers are for. And here we have some good guides here for unbricking. I did this not because I am impatient. I did this because I wanted the books app and the tablet tab in the market, which we will not get with the euro 3.1 release.
Tyrannos - yes I get hsdpa reception, but @ home my network only does edge.
Andypotts - yes, you follow them to the letter and end up with a 3.1 us XOOM with no 3G then you follow the steps from there and push back the prop and DB files and there you are.
lowtraxx said:
alias_Neo - That's what disclaimers are for. And here we have some good guides here for unbricking. I did this not because I am impatient. I did this because I wanted the books app and the tablet tab in the market, which we will not get with the euro 3.1 release.
Tyrannos - yes I get hsdpa reception, but @ home my network only does edge.
Andypotts - yes, you follow them to the letter and end up with a 3.1 us XOOM with no 3G then you follow the steps from there and push back the prop and DB files and there you are.
Click to expand...
Click to collapse
Naw, disclaimers are inconsequential, im talking about stressed people with messed up xooms, not trouble for you. Its a pretty clean cut guide. As for the tab, we may get the tablet tab, we have to some day, as for books.. I can do without cause I use other things.
I just don't want people to make a mess of things cause they're getting impatient about the 3.1 update.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.
Hi and thanks for the infos!
On my device the SHM and WAL file are:
settings.db-shm
settings.db-wal
"-" not "."
First I've backuped my 3.1(german t-mobile mz601) without 3g working wit CW, then used the guide "from 3.1 to 3.0.1". Then I had to unlock and root it once again and was able tu pull the 4 files. Then I've used CW to restore my former 3.1 system and continued with the steps. If anybody wants to have the 4 files(settings.db-shm,settings.db,settings.db-wal,settings.db-shm,build.prop), pm me.
greetings from Berlin
B3rlin3r said:
Hi and thanks for the infos!
On my device the SHM and WAL file are:
settings.db-shm
settings.db-wal
"-" not "."
First I've backuped my 3.1(german t-mobile mz601) without 3g wit CW, then used the guide "from 3.1 to 3.0.1". Then I had to unlock and root it once again and was able tu pull the 4 files. Then I've used CW to restore my former 3.1 system and continued with the steps. If anybody wants to have the 4 files(settings.db-shm,settings.db,settings.db-wal,settings.db-shm,build.prop), pm me.
greetings from Berlin
Click to expand...
Click to collapse
I wouldn't recommend handing out your DB files without checking what's in them first. Im not at a computer to check myself.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.
Thanks for your advice,
but the only "personal data" I entered in the "restocked" XOOM, before I pulled the DB-files was the PIN for my SIM Card...
B3rlin3r said:
Thanks for your advice,
but the only "personal data" I entered in the "restocked" XOOM, before I pulled the DB-files was the PIN for my SIM Card...
Click to expand...
Click to collapse
Cool, better safe than sorry. Applies to everyone else that may want to pull the files too.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.
Hi,
Sorry, the XOOM seems to have replaced the - with a . I will update the Guide accordingly
Hello
Can anyone supply me with a copy of the system and data img as I have 3.1 already installed on mine.
Thanks
Hello
Ignore the last post as another member kindly supplied me with the needed files. Have pushed all the files to my xoom then rebooted but no 3g still. Thinking im missing something here.

[Resource] Epic 4G Touch Owner's Toolkit

I did this for the EVO 4G so I'm going to do it for the E4GT. After watching people ask and sometimes search and ask again for the same things over and over, I thought it would be a good idea to have one thread to hold all of these valuable resources, basic tips and tricks. Many of these links will be found in multiple locations, forums, threads and posts and I will try to keep this single thread updated with links to as many resources as we can come up with.
There are already several great posts like this. Barnacles has the incredibly informative E4GT Wiki stickied in General (hopefully this can contribute to that wiki), Qbking has his threads with links to his excellent video tutorials, and sfhub posts up all sorts of goodness with his Auto Root and stock tar threads. But I didn't really find a thread devoted to just basic methods and problem solving. This thread strives to provide a collective space for learned knowledge, quick tips and fixes for common issues.
If this isn't needed or wanted, it will surely fall to the XDA basement no harm no foul If it has any value, then hopefully it will help a few people in their endeavor to create the best personal Android experience possible!
I take no credit for many of these items, I have only gathered and edited most of them for a one-stop easy shop opportunity. All fixes have been edited for clarity and efficiency with links wherever possible. Please let me know of any broken/missing links or errors. Links to the original source are provided when possible. I have not run all of these fixes personally, but try and confirm fixes I don't test by finding at least three user corroborations for each.
If you have questions on a specific fix with a Source listed, I recommend directing questions/issues to the original source for best results. Otherwise feel free to ask here and we may be able to assist. ~js
Like my EVO Owner's Toolkit, this is a work in progress and a living document. I try to keep it up to date and appreciate new information, suggestions and knowledge which can be added to the OP's. I always provide credit when possible/applicable.
Epic 4G Touch Owner's Toolkit​Updated: January 6, 2011​
Always make a NANDROID before you do anything!​
If you have any questions/needs that are not listed here, I recommend starting with a Search and reviewing ☞ ☆.☆. [WIKI] ROOT, ROMs, KERNELS, MODEMs, HOW-TOs
If you still have questions/concerns, post 'em!
E4GT HOWTO's
How to make a nandroid backup (as requested)
Make sure you have your setup where you want it (I usually update all my apps in the market and do a Titanium Backup before my Nandroid as well.)
Boot into recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Navigate to Backup and Restore and press [Power] (or [Home] soft key depending on your recovery version)
On next screen select Backup and let it do it's thing
Reboot and you are good to go.
*The backup will look something like 2011-12-26.03.00.15 and likely be in /sdcard/external_sd/clockworkmod/backup.
If you decide to rename the backup, make sure that there are no spaces in the name. (I.e. 2011-12-09_Calk_2.0_EG31 would be fine, while 2011-12-09 Calk 2.0 EG31 would be a no-no.)
Hands Free Activation A way to improve data speed and stability, address data or wifi issues, etc. (especially after flashing a new modem):
Make sure you are not roaming (WiFi is fine, even a poor signal is fine, but roaming can mess with things.)
Make sure you don't have system updates removed or frozen in titanium backup
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and if using swype make sure the "i" in "ril" doesn't auto capitalize. Use another kb if necessary.) **alternate method below.
Go to dialer and enter ##72786#
Enter your MSL and hit OK
On the SCRTN screen select yes
Phone will auto reboot and take you to Hands Free Activation
If you have an SD card, media scanner will do its thing first.
Re-activation will initiate, let it run (DO NOT TOUCH THE SCREEN, no need to Press OK it will continue on its own)
Phone will then update Profile, then PRL, (you can select cancel when it searches for Firmware update if you want)
Phone will reboot again
Also a good idea to pop out your battery for a few seconds (many have reported this helping and Sprint usually has you do this during the process.)
That should improve things.
**Alternate Method for obtaining MSL for those having trouble with original method after upgrading to ICS
Download the alogcat app from Market
Open alogcat. Press the hourglass and type "msl" and wait while it filters. The screen should go blank.
Press your Home button
Go to your dialer and enter ##3282#
When the menu pops up choose Edit and when it asks for your msl, enter 6 random numbers. You will get an error message.
Long press the home button to bring up recent apps and choose the alogcat app.
At the bottom of the list it will say "MSL result : XXXXXXX" where xxxxxx is your MSL number.
That's it.
(*Unfortunately MSL Reader app in market only works on HTC CDMA phones.)
Click to expand...
Click to collapse
How to boot into 'Safe Mode' should you need to for any reason
Hold Home softkey while rebooting
That's it you are in 'Safe Mode' (I don't know exactly what you can do in safe mode, but probably similar to Windows safe mode.)
Click to expand...
Click to collapse
How to extract an apk from a ROM/zip (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired apk(s)
Double click the zip and it will open in your default zip program
Navigate to system/app and drag the desired apk(s) to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy apk(s) to your SD
That's it, you now have the apk(s) on your phone and can proceed with double clicking and installing the app or if a system app to the next tutorial for installing a system apk.
Click to expand...
Click to collapse
How to remove a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Open Root Explorer (or ROM Toolbox Root Browser) and navigate to system>app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
Hit OK and your free of the undesired app.
CAUTION: make sure you research before randomly removing things or you are likely to bork something. A good list of items that have/can be removed successfully in naerok's incredibly streamlined ROM can be found in Post #3 here.
Click to expand...
Click to collapse
How to install a system apk w/Root Explorer (ROM Toolbox can also be used, but slightly different process):
Download or extract the desired app apk and place it somewhere on your SD where you can find it (I highly recommend Dropbox for this)
Open Root Explorer (or ROM Toolbox Root Browser or ES or Other) and navigate to /system/app
Mount R/W (top right in Root Explorer, R/W is on by default in ROM Toolbox)
If this is a system app, long press existing apk and either move (if you want to keep it) or delete (if you don't care)
If moving, navigate to the place you want to store the original apk using the Parent Folder line at the top
Paste to the desired location then go to the place with the new/replacement system apk
Longpress the replacement apk and choose copy or move
Navigate back to /system/app (should still be mounted) and paste the replacement apk
Longpress the replaced apk and select permissions
On the permissions pop-up leave all three in the first column (Read) checked, only the top item in the middle column (Write) checked and none in the third column, (Execute) and nothing else checked.
Hit OK and enjoy! Your permissions should now read (rw-r--r--)
Click to expand...
Click to collapse
How to extract a bootanimation from a ROM (you'll need a program like 7-zip, winrar, etc.)
Download the ROM/zip that contains the desired bootanimation.zip
Double click the zip and it will open in your default zip program
Navigate to system/media and drag the bootanimation to an easy to remember location. (I use Dropbox or Minus, which makes the apk available on my phone without any further desktop steps.)
If not using a cloud storage option, connect your phone to your desktop and copy bootanimation.zip to your SD
That's it, you now have the bootanimation zip on your phone and can proceed to the next tutorial for installing/replacing a bootanimation
Click to expand...
Click to collapse
How to replace/add a boot animation
Download or extract a bootanimation.zip
Place the bootanimation.zip on root of your SD card (or use a cloud app i.e. Dropbox, Minus, Box, etc.)
Make a copy of the bootanimation and name it sanim.zip and move that to your SD card as well
Open a root manager app (I prefer Root Explorer)
Navigate to system/media
Select Mount R/W (top right in Root Explorer, on by defauly in ROM Toolbox) then either delete, or move existing bootanimation.zip and sanim.zip
Navigate back to sdcard, then copy or move bootanimation.zip to system/media and then repeat with sanim.zip
Some people replace only the bootanimation.zip and others only the sanim.zip, but I find each of those methods seem to create issues if the kernel you are running does not support custom bootanimations by default. So I replace both zips and it has worked well on multiple ROMs/Kernels. If this doesn't work for you, try replacing each individually. One of the three methods will definitely work for your ROM/Kernel combo.
User 12MaNy has created a thread with several bootanimations available as well some methods for install
Boot animation sounds can be found/added at /system/etc/poweron.wav and /system/etc/1_Power_on.ogg (may be listed as /system/etc/poweron.bak and /system/etc/1_Power_on.bak if these have been "muted".)
Also make sure to check and see if your dev has already moded the boot ani setup as nerys71 discovered here.
Click to expand...
Click to collapse
How to hack custom bootanimation support (Via chris41g) Only works with source built kernels. Thanks dtm_stretch.
Rename /system/bin/samsungani to something else... (eg samsungani.old)
Rename /system/bin/bootanimation to /system/bin/samsungani
After that it will load whatever bootanimation is at /system/media/sanim.zip
Click to expand...
Click to collapse
How to add/restore/change bootanimation sounds (you'll need a program like 7-zip, winrar, etc.)
Open the ROM zip that you want to run
Navigate to /system/etc/ and look for poweron and 1_Power_on
If they appear as poweron.wav and 1_Power_on.ogg you are good to go
If they appear as poweron.bak and 1_Power_on.bak you need to rename them as above
If they don't exist, you will need to add them to this location or replace them with similar sized sound files of your choice. Make sure to keep the filenames and formats as above
Click to expand...
Click to collapse
Stuck at a black screen, bootanimation, etc
No need to jump through all sorts of hoops. Simply download and flash a different CWM Kernel. You can try it first by holding down [Power] + [Vol. Up] until it takes you to recovery (it may reboot once or twice, just keep holding.) If it never does take you into recovery, you can flash a kernel via Odin. Once you have the kernel flashed you will either be up and running on your new ROM or you can now go into recovery and flash the ROM of your choice.
*Assumes you were rooted to begin with as you are in this thread and have previously flashed the ROM.
Click to expand...
Click to collapse
Lockscreen/Reboot Issues
If you are having issues with reboots and resets and are using a 3rd party lockscreen or the native lock pattern, make sure that the selected custom lockscreen is "None"
Settings>Lockscreen Settings>Lockscreen Settings>Lockscreen style>None
Click to expand...
Click to collapse
SOME HOT LINKS TO OTHER GREAT HACKS, MODS AND FIXES
[How To] Upload a custom PRL to your Epic Touch 4G by R1ptide Thanks to TonyTurboII for the recommendation
I used to use a similar hack from Techknowfile back on the EVO 4G and it did work well, just make sure to be aware of the risks if you overuse data while roaming.
Click to expand...
Click to collapse
Always make a NANDROID before you do anything!​
► New Modems - First, do not run out and flash the latest modem just for the hell of it. Use some restraint and think before you act. There are sometimes unknown hazards, such as the issue of no return from the EG31 modem to EG30 a few weeks back. Consider why you want the new modem. Are you having legitimate issues or do you just want the latest stuff? It's your phone, do as you please, just remember that you had a choice if something bad happens, like being stuck on an unofficial build.
► LoS issues - LoS issues really should be a thing of the past since the EK02 and EL13 modems emerged, but if for some reason you have not moved to those modems and you are having LoS issues flash a stock kernel! I prefer Rogue *STOCK* kernels, but pretty much any kernel listed as "stock" should help.
► Data/signal Issues - If you are having data/signal issues after flashing a modem, perform a Hands Free Activation, if that doesn't work, try pulling the battery for a few seconds (thanks Guillo1). If that still doesn't work you may need to call Sprint.
► Poor Battery Life - If you have poor battery life make sure you have calibrated your battery and given yourself several full charging cycles. And use either Battery Repair (Doctor Boost) ($2.69) or Battery Calibration (FREE). User evolart passed on this method as well: Best way to calibrate S2 Battery. I'm not quite ready to believe that calibration does nothing for us, but this is an alternative method to try for those who feel compelled. I sent messages to both app developers. I'll test and keep an eye out for other user's opinions and update this as necessary.
► Bootloops? -
Make sure that you have a default launcher selected and if using a 3rd party launcher that it is NOT set to auto update in the market as an update overnight would leave you without a default selected. (Thanks to 1BadHEMI, rickyq12 and playya for jogging my memory.)
If that didn't solve it and you are absolutely sure you wiped properly, you probably didn't so you might want to try that again. Recovery > Wipe Cache + Dalvik cache > Reboot (see Issues Flashing ROM below re: wiping)
If that doesn't work, flash a stock kernel via recovery or odin and start from fresh ROM again. This time let everything settle in before applying any changes (voltage tweaks, themes, mods, new apps, restoring settings, etc.)
► Issues Flashing ROM - If you are having issues flashing a ROM or an update here are some tips.
With some ROMs like Calkulin's ROMs, you generally do not need to wipe anything when going from one version to another. Just boot into recovery and apply the zip, his wipes for you. I have had the most success doing this and the Dev will note otherwise if the process changes. (It doesn't hurt to wipe cache + dalvik cache, so do that if you are fearful of not wiping anything.)
If coming from one ROM to another, you should wipe everything. I do it manually and use the Format_All zip, but you can do it anyway you like so long as everything (cache, dalvik, system, battery stats) gets wiped at least once. Some format system for good measure, I don't. Your choice.
If you have done either of these processes and are having issues it could be anything from a bad download to wiping issue to bad luck. Do it again and take a look at the Bootloops note above.
► Google Voice - when I answer my phone I get a recording where I have to press 1 to answer
Open Google Voice > Options (gear icon top right) > Voice Settings > Calls > Call Screening > toggle to "Off"
► Apps Issues - Apps missing, not working, acting strangely?
Reboot your phone
Reboot your phone
Reboot your phone
Fix permissions (ROM Manager > Fix Permissions or boot into recovery > Advanced > Fix permissions)
Clear app data (Settings> Applications > Manage applications > All > [the app] > Clear data)
Uninstall and reinstall the app
If it is something like Google music, Amazon Appstore, Spotify, etc. you may need to go to the web and clear some connected/authorized devices from the settings, there is a limit.
► Fresh Start - If you've tried everything else, try flashing the STOCK EG30 TAR or Stock EL13 TAR via Odin. Either will help you start fresh.
► More Links And a whole bunch more useful links in qbking77's thread.
► Post Logs - Super easy way to grab logs and post them for review. Install a log collector such as aLogcat and Pastebin from the market. Then run alogcat after the event, click share from the log and select Pastebin from the popup list. Copy the URL it provides you and send that or post it here.
GPS Fixes
Various fixes. If one doesn't work, try another. More posted as they come. Unfortunately, everything I have posted in this GPS fix section is sketchy at best, working for some not for others. Right now it is the best we have so it doesn't hurt to try, but remember, YMMV.​
Using the Supersonic GPS Driver Thanks
Download one of the drivers below. (CM7 version shared by ebuechler3 and daryelv and "flash3" version shared by colorado_al, thanks to lunchboxVA for pointing it out.
Download GPS Status and Toolbox App from the Market.
Boot into Recovery (Hold [Power]+[Vol. Up] or just Hold [Power] if your ROM supports boot menu)
Wipe cache + dalvik cache
Flash the zip
Connect to GPS
Turn on GPS Status and Toolbox and let it get a fix
Turn on the map/nav app of your choice and let it get a lock
*Lock should be significantly faster than before the flash (mine went from just under 5 min. to about 11 seconds.)
You'll want to come back and try again later in the day to make sure it's still working. You may have to flash again when changing ROM's making mods. Good thing it's easy
UPDATE: user adma84 brings up a good point in that this driver does not appear in /system/lib/hw after flashing and I am actually unable to locate the driver anywhere in /system at all. I am going to see if I can get any sort of explanation, but as of now the jury is out in if/how this fix actually works. I can confirm that I did extensive controlled testing on this process and I definitively experienced a quantifiable improvement in lock time and duration, however whether the improvement was coincidence or a result of flashing the zip is unconfirmed. I can also confirm that flashing the zip does nothing bad so that you should have nothing to lose by flashing it irrespective of whether it is actually proven to work or not. I will update if I learn anything new on this.
Click to expand...
Click to collapse
GPS Status & Toolbox Fix
Download GPS Status & Toolbox from Market
Enable GPS
Open GPS Status & Toolbox
Menu > Tools > Manage A-GPS state > Reset
Menu > Tools > Manage A-GPS state > Download
Menu > Tools > Compass calibration > follow popup directions
Other app options that I've had occasional success with are:
All FREE and found in the Market, Faster Fix, GPS Fix and GPS Test Each of these just seem to act as a catalyst to get things moving. I haven't had consistent success with any of them, but in a pinch these are three that I use.
Click to expand...
Click to collapse
GPS EPST (##GPSCLRX#) Fix
Get your Master Subsidy Lock (MSL) code (Use Terminal Emulator and type "su" then "getprop ril.MSL" (case sensitive and don't use stock swype as the "I" malfunctions.)
Launch phone dialer and dial ##GPSCLRX# (##4772579#)
Enter the MSL Number from above as the password
Your phone will automatically reboot
Once booted back in the ROM open Maps or Navigation and obtain a GPS fix (This is an important step!)
Click to expand...
Click to collapse
GPS Configuration tweaks post by Xenova
These tweaks have been around for a long time. I used them on MIUI on the EVO 4G and they seemed to work really well for some and not for others. This is definitely work a look if nothing else is working for you.
Click to expand...
Click to collapse
Exchange the Phone
Sadly the other option is to take your phone back to Sprint and see if you can get a new one. Several people have claimed to get better signal on a new handset. That wasn't the case for me, but my exchange was very early on after release of the phone, so who knows what hardware changes may have occurred since then.
Click to expand...
Click to collapse
Get Free Storage and Mount it as a Virtual Drive​
This is how to get a ton of free storage space and then mount it as a virtual drive on your Windows PC (sorry, haven't tested the Linux method personally and don't have a mac, but I'm sure someone slick can figure out a method based on my post.) The free storage is from Box.net and GMail. These are both workarounds/mods and neither method is sanctioned by Box.net nor Google. These have worked for me for quite awhile, but I am in no way responsible should either entity decide to penalize your accounts for use of these methods. Use at your own risk.
Box.net 50GB Promotion (there are several great tutorials on this hack here at XDA, I used tomcat420m's as I felt is was really clear)
This is a limited time promotion offered by Box.net for a free 50GB account upgrade for owners of LG PHONES. Some slick users came up with a method of modifying the build prop in order for any Android user to take advantage of the offer. It's a free 50gb Account and raised upload limit from 25mb to 100mb. The promotion ends 3/30/2012, but the 50GB is free forever. Here is the official promotion page Box.net.
Now hit the link to tomcat420m's tutorial and grab you some free space, then come back here to learn how to mount it as a drag and drop virtual drive!!
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Windows 7 (XP and Vista may works as well.)
Install MS Software Update for Web Folders or (\Downloads \MSWebfldrs-KB907306-ENU)
Open Windows Explorer
Right click on Network
Select Map Network Drive
Click on link (Connect to a Web site…)
Click Next
Click Choose custom network location, then Next
In the address bar paste http://box.net/dav
Click Next, then enter your box.net user name and password and click OK
Name your drive and drag it to link to the Favorites bar
Repeat the process with a second Box.net and so on for a whopping 50GB of storage per virtual drive!!
*Alternately, there are many services that let you mount multiple accounts such as Otixo which is free and Gladinet which is limited for free.
=========================================================================================
Mount Box.net Account(s) as Virtual Drives on Linux Thanks to Benjamin Kerensa for his howto on this.
What you are going to do is mount a WebDAV filesystem on Linux so that you can access the files like you do with any other folder on your desktop.
Open a Terminal window and install davfs2 by typing:
Code:
sudo apt-get install davfs2
Create the mount directory by typing:
Code:
sudo mkdir /media/box.net
Mount the WebDAV system:
Code:
mount -t davfs https://www.box.net/dav /media/box.net
(Note: The HTTPS should create a secure connection so your authentication will be safe)
Add your username and password:
Code:
sudo nano /etc/davfs2/secrets
echo “https://www.box.net/dav username password” >> /etc/davfs2/secrets
Benjamin notes you can access Box.net via Nautilus using WebDAV:
Just use Connect to Server to dav://www.box.net/dav and make sure to select Secure WebDAV.
A slightly different method by Andrew Martin can be found here.
======================================================================================
Mount GMail Storage as a Virtual Drive on Windows 7 (7.48GB per account)
DL and Install Gmail Drive Shell extension
Double click on the new mounted drive "GMail Drive"
Enter the credentials for one of your GMail accounts
Sign in and let it authorize
Download Gmail Drive Config utility from Convivea
Right-click the gmail_drive_config file and 'Run as administrator'
Click Add Drive
Enter a unique Label and another GMail user account name
You should receive a pop-up confirmation that reads:
DllRegisterServer in
C:\Windows\system32\ShellExt\GMFS004.dll succeeded.
Click to expand...
Click to collapse
Close all explorer windows
Re-open an explorer window
The new drive will appear under Computer after the last drive
Double-click this new drive to enter the password and login
Close all explorer windows...
Repeat steps 6-12 to add up 999 Gmail accounts
An neat little trick to Gmail Drive is that every file that shows up in your Gmail Drive is visible in your Gmail account with GMAILFS: somewhere in the subject. Gmail Drive can even organize files into folders based on the subject.
For example, sending yourself an empty email with a subject of GMAILFS: /music/ should create a music folder in your Gmail Drive. Then sending an email with an attached file called my_song.mp3 with the subject GMAILFS: /music/my_song.mp3 should place my_song.mp3 into your music folder in Gmail Drive, browsable with Windows Explorer.
I also setup filters to automatically label and archive any message with GMAILFS with my label of choice GMail Drive which keeps these all together and keeps my inbox tidy.
Warning: Be aware that if you upload too much too soon Google is likely to temporarily freeze your account for "Unusual Usage". Also, there's still a number of limitations of the file-system (such as total filename size must be less than 65 characters). Since the tool hooks up with the free Gmail Service provided by Google, changes in the Gmail system may break the tool's ability to function so there is no guarantee that files stored in this manner will be accessible in the future. The file size is limited to the same restrictions as Gmail attachment size, which I believe is 25mb.
{
"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"
}
Just because.
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
JohnCorleone said:
Can we just sticky this right now please? Nice job!!! If I didn't wait long enough, just let me know Just_s. Thanks!
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Lol, thanks. This is just a rough draft. It will be much more complete when I can get to it.
As far as sticky, I'm going to see if I can get it in Barnacles wiki. Jerdog wants to keep that first page clean, which is a good thing. I'll bump it from time to time as I keep it updated.
Sent from my SPH-D710 using xda premium
Wow! Definitely some good info for the newbies. Nice work man
Sent from my E4GT
One word. Awesome! Thanks for this. Hopefully it'll save alot of future questions.
Sent from my SPH-D710 using Tapatalk
Great job with this.
qbking77 should be dropping in soon
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
dtm_stretch said:
Awesome guide. Just a few notes:
-For some reason the "How to hack custom bootanimation support" does not work on stock pulled kernels, but does work on source built kernels, it will just send the phone into boot animation loops on stock pulled.
-For the "Stuck at a black screen, bootanimation, etc" you really could flash any kernel that has the appropriate recovery(CWM), it doesn't have to be that specific kernel.
Again great job.
Click to expand...
Click to collapse
Thanks! Alot of these are a couple of months old and most were in relation to Starburst ROM, so I am in the process of updating everything now. Hopefully others will follow your lead and let me know of any quirks such as the bootanimation hack.
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
cds0699 said:
Looks awesome, you and qbking77 would be a great how to team
Thanks for your time and work.
Click to expand...
Click to collapse
Thanks. Gotta respect qbking's work. He puts in some serious time making those awesome videos. There are some definite high powered users here and I think the more users that can contribute the better.
I'm hopeful that between qb's vids, Barnacles wiki, contributions like sfhub's and this thread, we can help the devs focus on dev'ing ROMs and Kernels rather than wasting time answering the same old played out questions over and over.
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
dr_gibberish said:
Thanks so much for doing this. I think this is a great resource for everyone.
Just FYI, I followed the steps in the Hands Free Activation section and while the phone rebooted, it never ran the hands free activation. Tried it three times. Am I missing something?
FYI, I am running Calkulins 2.6 ROM
Click to expand...
Click to collapse
Yes, definitely missing something. Are you following each step exactly? What happens after it reboots?
Drumrocker said:
Awesome guide !
I would like to suggest adding instructions for making a Nandroid backup.
Click to expand...
Click to collapse
Done.
JasonK75 said:
This thread is lame and posted by a lame person!
LOL
Love you bro! Great idea on this, we know that your tool kit on our MIUI.US forum was super helpful and popular
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Don't listen to this guy, he moved to MI willingly LOL Where you been?
stretchwookie said:
this is a fantastic guide! made it in my top 10 bookmark bar in Chrome
curious though. i want a VERY specific font flashed to my system and its not available in rom toolbox pro. does anyone have a link to a guide on how to get one into the system? im asking here because im assuming its very similar to what you posted for pushing/pulling apks, boot animations, and sounds? please slap me silly if this isnt the case
Click to expand...
Click to collapse
Really easy to do.
Download font apk
Install font apk
Go to Settings > Display > Screen display > Font style > choose the font you want
That's it
You can start with this FlipFonts. Also, a collection of font apk's you should be able to use here and a how to create your own thread here.

[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

How I got my Sprint LG G2 (LS980) to work on T-Mobile - Guide with Screenshots

I have a Sprint LG G2 (LS980) that I wanted to use on T-mobile. There is a ton of info scattered in various threads on achieving bits and pieces of this task, but nothing I could follow straight through to get it done. I did not come up with any of the info in here, I just assembled it to form a guide that I used to successfully get my LS980 working on T-Mobile. Thanks to all the hard work of everyone else who wrote the apps I used, and those who came up with the exploits that made it all possible.
(Also, I wrote this in HTML before I realized I had to use BBCode here. I used a HTML to BBCode converter, so if something looks formatted weird, let me know, I might have overlooked it)
Apps Used
RootBrowser
RadioSwitcher
RootChecker
ChangeAPN
ROMToolbox Lite
Flash Stock Rom
Based on steps here.
Downloads
Download firmware and dll files for your specific phone model
I used LS980ZVA_01.tot& LGLS980_20130904_LGFLASHv151.dll
Download LGDrivers
File name: 'LGUnitedMobileDriver_S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe'
Original article says to get the Verizon Drivers if you're doing a verizon phone, however since I'm dealing specifically with the Sprint LS980 I didn't get them.
Download LGFlashTool v1.8
Download MegaLock.dll
Install LG Drivers
Run the downloaded file 'LGUnitedMobileDriver_S51MAN313AP22_ML_WHQL_Ver_3.13.2.exe'
Click Next through the prompts, they require no real configuration.
If successful, you should get a prompt:
LG United Mobile Driver Installed Successfully.
Click to expand...
Click to collapse
{
"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"
}
Setup LG Flash Tool
Run the downloaded file Setup_LGFlashTool_1.8.1.1023.exe
Click Next through the prompts, nothing needs unique configuration. It will install by default to C:\LG\LGFlashTool\
Copy the downloaded MegaLock.dll from earlier into C:\LG\LGFlashTool, and over-write the one that is already there.
Boot into Download Mode
Plug usb cable to computer
On the phone, hold volume up and plug other end of usb cable into phone
Screen will show 'Download Mode'
The screen will then show 'Firmware Update'
The device is now in Download Mode and ready to be flashed
Configure Port for Phone
Open Device Manager and expand Ports (COM & LPT)
Right click LGEAndroidNet USB Serial Port and choose Properties
In the Properties window click the Port Settings tab, then click Advanced
In the Advanced Settings window, set the COM Port Number to COM41 and click OK
The entry in Device Manager should show as having COM41 now.
Flash the Phone
Run LGFlashTool as Administrator
"C:\LG\LGFlashTool\LGFlashTool.exe"
In the Model Config window that opens:
Check Select Manual Mode
DLL:"C:\LG G2\LGLS980_20130904_LGFLASHv151.dll"
S/W:"C:\LG G2\LS980ZVA_01\LS980ZVA_01.tot"
Click Ok
In the LG Flash Tool screen click the Yellow Arrow to Start
The Port 1 box should, after a second, show Ready!
If the Port 1 box does not start showing processing after a few seconds, unplug the phone then plug it back in. This should start it.
As it processes, the phone may reboot a couple times (I never counted how many times)
At 94% my phone will restart, and the app will show 'Waiting 120 sec for reboot'. When the phone restarts at this point, it is loaded into the OS and waiting to be configured. I have never gotten the Flash Tool it to hit 100% successfully, despite being in the phone. I have not seen this to be a problem yet.
Once inside the phone, close the Flash Tool.
Root the Device
The device has to be in debug mode before it can be rooted with this method.
Enable Debug Mode
Open Apps| Settings
Select About Phone
Choose Software Information
Click Build Number 7 times. After about 4 clicks you will see feedback indicating remaining clicks until you are a developer
You are now 3 steps away from being a developer.
Click to expand...
Click to collapse
After 7 clicks, you will see a popup that says:
You are now a developer!
Click to expand...
Click to collapse
Back out to the root of Settings and choose Developer options
In the Developer Options, check USB Debugging
Root the device
Download IOroot here.
Extract the downloaded ioroot.zip
Run ioroot.bat as Administrator
A cmd window will launch and show:
enable ADB connection..
Developer Options unlocked and ON.
USB debugging ON.
Accept RSA key fingerprint.
Press any key to continue...
Click to expand...
Click to collapse
On the Phone, click OK when prompted for Allow USB Debugging?
On the Computer, press ENTER to advance the batch
The batch script will next pause showing:
USB Connection Mode needs to be toggled.
Toggle USB mode to another setting and then back again.
Ex.
Charge Mode to MTP then MTP back to Charge.
Ethernet Mode to MTP then MTP back to Ethernet.
Sometimes unplugging USB and then plugging back in helps.
Then press ENTER to confirm ADB root...
--------------------------------------------------------
Click to expand...
Click to collapse
On the Phone, switch the USB mode to a different option,then switch it back.
On the Computer, press ENTER to advance the batch script
The batch will show:
adbd is already running as root
uid=0(root) gid=0(root)
If you do NOT see uid=0(root) gid=0(root) above then
it is likely your device firmware is not supported or
USB mode was not toggled properly. You can try to
run the script again or..
PRESS CTRL+c to stop this script...
If you DO see uid=0(root) gid=0(root) mentioned above...
CONGRATS.. Rooted ADB is now confirmed.
You will have a rooted ADB shell but no apps on the
phone will be able to access root functions.
PRESS ENTER to backup EFS and continue with full root.
PLEASE NOTE!
Continuing with full root can trip LG's rootchecker.
This means your phone will show ROOTED in Download mode.
You can remove root flag by flashing stock firmware...
.bin .cab .tot or .kdz
If you do not want to possibly invalidate your warranty
press CTRL+c to stop this script...
--------------------------------------------------------
Press any key to continue . . .
Click to expand...
Click to collapse
Make sure you see uid=0(root)gid=0(root) as shown in the screenshot above
Press Enter to continue The script will next show:
Backing up EFS...
6144+0 records in
6144+0 records out
3145728 bytes transferred in 0.626 secs (5025124 bytes/sec)
6144+0 records in
6144+0 records out
3145728 bytes transferred in 0.617 secs (5098424 bytes/sec)
2978 KB/s (3145728 bytes in 1.031s)
2977 KB/s (3145728 bytes in 1.031s)
________________________________________________________
EFS partitions now in ioroot folder on computer
named modemst1.img and modemst2.img
They will come in handy in case of an emergency.
Store them somewhere you won't lose them.
Press ENTER to continue with full root.
--------------------------------------------------------
Press any key to continue . . .
Click to expand...
Click to collapse
Press Enter to continue
The script will show:
Mounting system, pushing su binary...
2525 KB/s (121260 bytes in 0.046s)
WARNING: generic atexit() called from legacy shared library
0 KB/s (629 bytes in 1.000s)
Rebooting Phone.
________________________________________________________
You should hopefully now be fully rooted!!
IOroot complete.
Confirm root with Root Checker app from Play Store.
--------------------------------------------------------
Press any key to continue . . .
Click to expand...
Click to collapse
The phone should reboot and be rooted now.
Check Root with Root Checker
If nothing went wrong, the phone should be rooted now. To make sure, we can use Root Checker. (there are probably other apps that will do this as well, but I used this one)
Download, install, and launch RootChecker
In the application, click Verify Root
It should return back showing
Congratulations! this device hasroot access!
Click to expand...
Click to collapse
Unlock SIM
Steps here are from this article. I am just writing it out here with notes that helped me.
Download and install Root Browser (I only had success using version 2.2.3.)
Download ls980SIMunlockFinal.rar
Extract ls980SIMunlockFinal.rar (I used 7-zip)
Replace 'Carrier' folder
Within the extracted contents, copy the 'Carrier' folder onto the phones internal storage (I copied it to Internal Storage\Downloads)
On the Phone, open Root Browser and navigate to where the Carriers contents were copied
Note: My screenshots show me copying the files from where I copied the files to in Internal Storage\Downloads (storage\sdcard0\Downloads)
Click Storage
Click sdcard0
Click Download
Long press carrier
Click copy
Click the green back arrow until you're back at root
Click Paste
When prompted, choose to overwrite.
Note: Alternatively, you could rename the original 'carrier' folder for safekeeping... I never did though.
carrier already exists. Do you want to overwrite it?
Click to expand...
Click to collapse
Reboot the phone.
Replaceapns-conf.xml
From original post - "To make APNs stick automatically"
Note: I later add a new APN, despite having replaced the apns-conf.xml here. I honestly don't know if this step is necessary for that reason, but I did it in my process, so I'm adding it here.
Within the extracted contents, copy the apns-conf.xml onto the phones internal storage (I copied it to Internal Storage\Downloads or root\storage\sdcard0\download)
On the Phone, open Root Browser and navigate to where the apns-conf.xml was copied
Long press the apns-conf.xml and choose copy
Navigate to root\etc, and click paste
When prompted to overwrite, choose Yes
Note: Again, you could rename the original to keep a backup.
Navigate to root/data/data/com.android.providers.telephony/databases
Delete/Rename telephony.dband mmssms.db
Note: I didn't actually delete the telephony.db and mmssms.db originally, and I still had success. But I also don't know what deleting those so they can be rebuilt does, so I included the steps.
Reboot the phone.
Update build.prop
Backup build.prop
Open Root Explorer and navigate to root\system
Long press build.prop and choose Copy, then click Paste to create a backup.
Edit build.prop
Download and install ROMToolbox Lite.
We're going to use the Build Properties application included in the Toolbox for editing the build.prop.
Open Root Explorer and navigate to root\system
Click build.prop and choose to open with Build Properties
If you get the Welcome screen, click OK
Locate and click on each of the following settings, and set the Value as shown below, and click Save
persist.service.crash.enable=1
ro.build.target_operator=spr
ro.carrier=spr
Reboot the phone.
Switch the Radio
Download and install RadioSwitcher (I only had success with version 1.2.)
Open Radio Switcher, and set the Preferred network type to LTE/GSM/WCDMA
Create a New APN
Despite replacing the apns-conf.xml earlier, I still ended up having to create a new APN.
Download, install, then open ChangeAPN
Click Menu and choose New APN
Here are the settings I used in the APN from here
Name:*T-MOBILE
APN:*epc.tmobile.com
Proxy:<Leave in Blank>
Port:*<Leavein Blank>
Username:*<Leavein Blank>
Password:*<Leavein Blank>
Server:*<Leavein Blank>
MMSC:*http://mms.msg.eng.t-mobile.com/mms/wapenc
MMSproxy:*<Leavein Blank>
MMSport:*<Leavein Blank>
MCC:310
MNC:260
Authenticationtype:*<Leavein Blank>
APNtype:default,supl,mms
APNProtocol:Leave it to the Default one
Click to expand...
Click to collapse
Click Menu then Save
Reboot the phone
Notes
After all of this was complete, I had the LS980 working on my T-Mobile SIM card successfully. Some other threads I've read discussed installing recoveries like TWRP to make a backup, but every time I tried, it ended up causing a boot loop, so I ultimately didn't do it. From what I can tell it is not a necessity to simply get the phone to work on T-Mobile. Once all the settings/changes have been made, I just popped in my SIM Card from my other phone and it worked fine.
Known Issues
Since we got it running on T-Mobile, there are a few issues that we've been facing.
Unable to call some numbers
When trying to make calls, ff the number does not have a 1 at the beginning, I get a crash.
Unfortunately, the process com.android.phone has stopped.
Click to expand...
Click to collapse
Adding a '1' before the number has corrected it.
This article lists another possible more permanent fix, that I will eventually try out:
If you want to fix this manually, Follow the following fix found by jsergio123)
*To fix the issue of the com.android.phone process crashing when you don't dial a 1 in front of the number edit the /data/data/com.android.providers.settings/databases/settings.db file with a SQLlite editor and change in the "system" table "assist_dial" and "assist_dial_init_db_check" to "0". If you don't see those 2 rows then you can add them. Fix permissions, wipe cache and reboot.
Click to expand...
Click to collapse
Text Messages, and Multimedia Messages Fail to send
When trying to send texts, or picture messages, I was getting regular failures.
This article had a solution.
1. In dialer press ##443336772#, you will get a 6 digit SPC code, remember it!
2. In dialer press ##DATA# , this will take you to hidden Data settings
3. Select MMSC
4. Hit Edit, you will be prompted for your SPC code, enter it
5. Now have 3 options: Set URL, Gateway, and Set Port. Set all
My working settings:
Set URL: http://mms.msg.eng.t-mobile.com/mms/wapenc
Gateway: 10.12.0.2
Set Port: 80
6. Reboot
3g not working on My lg g2 ls980 plz solve it.
Moin. said:
3g not working on My lg g2 ls980 plz solve it.
Click to expand...
Click to collapse
See the section of the article on switching your radio.
Thank you Fuzz1303. This is, without question, the most thorough tutorial available for using an LS980 on a domestic GSM carrier. After weeks of trying to piece together various threads explaining the process, I stumbled upon your tutorial and BINGO, it was a cake walk. Again, thank you.
Now that it's done, will the unlock stick through custom ROM flashing? I have installed TWRP.
bibbin said:
Thank you Fuzz1303. This is, without question, the most thorough tutorial available for using an LS980 on a domestic GSM carrier. After weeks of trying to piece together various threads explaining the process, I stumbled upon your tutorial and BINGO, it was a cake walk. Again, thank you.
Now that it's done, will the unlock stick through custom ROM flashing? I have installed TWRP.
Click to expand...
Click to collapse
I dealt with the same sort of headache flashing mine, so I'm glad this helped.
As for the unlock sticking, I'm not totally positive. I never played much with the custom roms just as I kept having issues and finally got tired of battling it.
It is easier to get a Nexus 5 instead.
Fuzz1303 said:
I dealt with the same sort of headache flashing mine, so I'm glad this helped.
As for the unlock sticking, I'm not totally positive. I never played much with the custom roms just as I kept having issues and finally got tired of battling it.
Click to expand...
Click to collapse
Once again, thanks for this spectacular tutorial. FYI, my G2 is still chugging along strong and I'm safely running Resurrection Remix. I started with Lollipop and moved on to Marshmallow. So happy. Thanks.
I need help, I just get "adbd cannot run as root in production builds
uid=2000(shell) gid=2000(shell) groups=1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:toolbox:s0" and have no idea how to fix... help please!

Categories

Resources