[LG G Flex] supreme83:
consolidated un-AT&T for those stuck, return to Stock 4.2.2, root, recovery, unlock

ALL Links should work in the following. sorry for the repeat info and possibly uncredited sources but i sent this to someone to help them and AM NOT going to retype everything in a context for folks here lol

-----this all "pretty much" came from this thread you are in and this one + a little searching and finding active links out on the interwebs for links that seem to be down.

--------- Original Message ---------

Un-AT&T Rom (..so you can use the flash tool again)

this is what you need. http://www.mediafire.com/?2zvvzpo945huj9o < that is the stock sprint rom as a flashable zip.

(UPDATE: There is a PROBLEM WITH ZIP giving this error while flashing "E: Can't copy META-INF/com/google/android/update-binary installation aborted"

In twrp it fails and gives same error. ..but it is BEING ADDRESSED (THANKS kintwofan )

We also want this http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip?retrieve_file=1 this is by chainfire root and will need to be flashed as well

maybe this rom will get you back able to do what we need without going through LG Tool Flash

I've attached instruction in case you want to do this on your own. It is actually a simple process. I will try to be available to walk you through the process if need be.

1. Please download both files and place them on the sdcard/internal memory of the phone.

2. Once they are moved to the phone we will use the app Freedom Flex. Once the app is open let it load and select the option to install Twrp(already install) and then "Reboot to Recovery". The phone will reboot into recovery mode

3. In the blue recovery called TeamWin or twrp select Wipe and use slider to verify that you want to factory reset the phone. Next click Advanced Wipe button and select system, dalvik cache, and cache and swipe to confirm wiping them as well. Back up to main screen of Twrp once finished.

4. Next, in the main screen of the custom recovery, select the "Install" option. In the install screen select "add zips"/"add more zips" option and you will be able to scroll through memory of phone and select http://www.mediafire.com/?2zvvzpo945huj9o. (the file downloaded above). Once selected select Add More Zips again and select http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip?retrieve_file=1. You might see that the 2 zips are listed in queue, confirm the selection in the next screen by swiping) You should see the files flashing on screen once you confirm. If you are unsure if both are being flashed then select one individually swipe to install and then back up and select the other and swipe to install.

5. After the install is complete, on the main recovery screen again, you will select "Wipe" again, and then an option that should say "Advanced Wipe". At this point you are done back on a stock rooted sprint LG G Flex and free to back up to main recovery screen and select "Reboot" and then "System"

FOR CWM -

In the CWM recovery we can use the volume keys to navigate around and the power button to select things.

We want to select Wipe/Factory Reset option (and then confirm the selection in the next screen)

Next we want to back up into the main screen of the custom recovery and select the "Install zip from SdCard"/"Install from SdCard" option

In the selection screen use the volume keys to scroll down to the Zip file (in CWM we do them individually) (and then confirm the selection in the next screen)

7. After the install is complete, on the main recovery screen again select "Wipe Cache" first and then you willl select "Advanced", and then an option that should say "Wipe Dalvik Cache". At this point you are done and free to back up to main recovery screen and select "Reboot System Now"

This will make the phone be a sprint phone again. Hopefully the next step wont be necessary but just in case these are the files to flash back to stock from the computer. Either way we needed to flash in recovery first.

Next Flash to Stock Using LG Flash Tool

Downloads:

1. Download Both Stock Image File & DLL file - http://storagecow.eu/Xda/LG G Flex/Stock/Sprint LS995/LS995ZV3_17.S3_17.P51098.zip

http://storagecow.eu/Xda/LG G Flex/Stock/Sprint LS995/LGLS995_20140116_LGFLASHv151.dll

2. LGFlashTools v1.8 link is the little download icon at top of page(two icons from "open with") https://docs.google.com/file/d/0B34qnFE3O_HbcHM5LWFKcU84WjA/edit

3. Drivers https://drive.google.com/uc?id=0BwSiHc_5wjHJUEozckdsb3ZDR2M

4.Megalock DLL File (unzip it to get the .dll file) https://docs.google.com/file/d/0B34qnFE3O_HbdkpkcmV6Z3ZpYmc/edit

Install:

1. Install the LG drivers downloaded above.

2. Install LGFlashTools v1.8 (but don't run it)

3. Extract.Unzip the TOT Stock image file from the ZIP

When LG Flash Tool is installed, do not launch it.

7) Copy MegaLock.dll to C:\LG\LGFlashTool or whevevr flash tool is installed, This may be a hidden folder so enable "hidden folders" on your pc

8) When the firmware is downloaded, boot your LG G Flex into Download Mode. To do this, press and hold the Volume Up key and then plug the USB cable.

9) Launch LG Flash Tool.

You might see a window with Korean language, just click on OK.

Check the Select Manual Mode on the top and options will un-grey

10) MAKE SURE UNDER, DEVICE MANAGER, YOUR COM PORT for the LG Flex IS SET TO COM 41 FOR YOUR DEVICE. (device properties> port settings> change port #)

11) Click the DLL box and choose the dll file from above for you phone model(downloaded with stock image tot).

12) Click the S/W box and select the firmware file with .tot extension.(the 2+ gb file from above)

13) Now click the Yellow arrow button on the top left of the main window.

The firmware installation will be triggered. and pc will freeze aka the app will hang. Let it sit. Ignore if you see any temporary error and just wait patiently till it is finished. You'll see regular functions resume after it is done processing.

Do not close the Flash Tool window or unplug device. pause for a second and breathe :)

14) Press and hold power button until phone turns off(you need to press volume up as soon as it is off so you can go directly back into download mode)

Again just for clarification, leaving usb cable connected to device AND computer ,hold power until phone is off and immediately hold volume up button until phone boots it into Download Mode. If you miss and it boots to android you are fine. Just unplug phone power off, press and hold the Volume Up key and then plug the USB cable

Your LG G2 will restart showing firmware installation progress in percent (%).

When all is done, the phone will reboot.

We will need to enable Developer Options and enable ability to install from "Unknown Sources". In settings go to About Phone and then Software Information and click "Build number" 10 times. Back up to main Settings screen and select "Developer Options", inside of which you will select USB Debugging. Back up to main Settings screen. Inside of Security settings select "Unknown Sources" to allow non market app installs.

Root + Custom Recovery + Unlock Procedure

Next install this

1. Root using IO root (download, unzip and run the .bat file and follow prompts of app)

2. install Freedom Flex on phone and use it to install custom recovery. It opens a little slow. just wait.

3. download this file http://xdaforums.com/attachment.php?attachmentid=2654111&d=1395953433 from http://xdaforums.com/showthread.php?t=2655133 and unzip it. Copy it's contents to your phone

4. Install ES File Explorer https://play.google.com/store/apps/details?id=com.estrongs.android.pop and open it's menu and select Root Explorer, R/W option, and then select /System/ button for R/W mount

5. Copy All Folders from carrier to /carrier/

6. Replace apns-conf.xml in Folder /etc/

7. Delete File telephony.db and mmssms.db in Folder /data/data/com.android.providers.telephony/databases

8 . Clear caches, etc in custom recovery by selecting advanced wipe option in twrp and clearing dalvik cache and cache

9. Go into settings > Network and Tethering > Mobile Network > and select GSM mode

10. Edit to ro.build.target_operator = OPEN (obsolete method so proceed with CAUTION)

11. Downloaded Tweakker, select provider and set up APN accordingly.

Profit :) at this point we should be able to use the straight talk simcard

12. Install ATTSprint ROM. if you want it