[AT&T LG Optimus G] autoprime:
LGNPST E970 TeenyBin

DO NOT USE THIS ON NEXUS 4 CONVERTED PHONES!! BRICK CITY

TeenyBins do not help restore your N4 converted phones either.

Don't give me all the credit. Just as much goes to artlan for figuring out the tables and table offsets.

Special thanks to xonar_ for his LG Bin Firmware Extractor and releasing his source code.

Thank you Shelnutt2 for everything you do for the entire LGOG community.

Thank you k7raid for testing the first bin with major SBL changes.

And last and also least.. ha ha.. sawdey21 for suggesting the "updated" name change.

TeenyBin. Patent Pending.

Be sure to show them all thanks.

Background

After seeing tons of soft bricks on both the forums and IRC we have decided to look into how LG .bin files work. We've "cracked the code" and have been able to rebuild the .bins.. making the repair process both faster and easier. Normally the user must download a large .tot/.bin file(1GB+) to repair the phone. After a long download and 5+ minute LGNPST flash the phone is then completely stock... requiring a "re-root" and running the FreeGee unlock again.

TeenyBins are meant to do the bare minimum... fix your soft bricked LG OG and get you back into your rom.. or custom recovery to flash a new rom. These new .bins are as small as 32MB depending on what we build into the .bin. This means smaller files, shorter download times and a phone that's back up and running within minutes.

Other perks include...

Unlocking the bootloader.

SBL partitions safely flashed.

Preinstalled TWRP Recovery.

RPM/TZ partitions safely updated to support the latest AOSP roms.
​

Directions

E970 TeenyBins will quickly repair your soft bricked device. They will also unlock your phone, install the latest TWRP recovery and update your RPM/TZ partitions... which are needed to run the new AOSP roms based on the Mako kernel. These .bins are safe for any E970.

1. Download TeenyBin .zip and extract. You are going to use the .bin file inside along with LGNPST. LGNPST can be found in the "Additional Info" section at bottom of this post.

2. The TeenyBin LGNPST flash should take 30 seconds or less... your phone will reboot at either 67% or 85%. The flash is complete. All finished.. maybe...

3. Your phone still may not boot up!! If so you must reboot the phone.. boot into fastboot. No fastboot still? Flash the TeenyBin "AltBin" instead!!

4. From fastboot, boot into recovery. In recovery you can flash a rom. All fixed.

5. Nothing working? You're doing it wrong. Did you read this entire post... including everything under the "Additional Information" section at bottom?

Fastboot = Volume up + power

Recovery = once in fastboot.. press volume down, pause, volume down then power button
​

TeenyBins

These TeenyBins will repair a soft brick, unlock the bootloader, install custom recovery and upgrade rpm 'n' tz.

Remember to try the AltBin if the normal TeenyBin doesn't work. If you can't boot.. fastboot has to work. If you can't get to fastboot you're doing it wrong.

Fastboot = Volume up + power

Recovery = once in fastboot.. press volume down, pause, volume down then power button

DOWNLOAD:

E970 Original TeenyBin - This is the default TeenyBin every E970 user should LGNPST flash

E970 Original TeenyBin[AltBin] - Use this TeenyBin if your E970 still can't boot or get to fastboot

Current included recovery: TWRP 2.5.0.0 - Thank you Dees_Troy!

​

Additional Info

Q: Can you make *custom .bin here*?

A: Maybe... but I am lazy so make a good point.

Q: I flashed the small bin and still can't boot back into my phone.

A: First of all... it's a TeenyBin... but anyway.. booting directly back up into the rom may not always be possible. Your /system or boot.img may be damaged. You were soft bricked remember... how do you think the soft brick happened? In this scenario you will have to reboot into fastboot.. then enter recovery... and reflash a rom .zip

Q: How do I know if I'm soft bricked or perm bricked?

A: For most soft bricks you will see a LG or Google logo and then a black screen. You can also still get into download mode. If you think download mode may not even work, connect phone to a Windows computer and check device manager... if the phone is detected in a "QHSUSB-DLOAD" then there's a good chance you're perm bricked. Otherwise.. you may just be a n00b and aren't doing download mode correctly.

Q: Where's that LGNPST info you mentioned?

A: Hit the "Show Content" button below

LGNPST Guide

DO NOT ASK HOW TO USE LGNPST OR A VIRTUAL MACHINE IN THIS THREAD.

THIS IS A TEENBIN THREAD. THE FILES AND GUIDES BELOW ARE A BONUS ONLY. RESEARCH. READ. APPLY.

Downloads + basic guide HERE

Update - added a virtual machine with pre-installed LGNPST to the link above. This will be for those that aren't on Windows.. or just having install issues. Thanks to k7raid for that! Some files may need a password to extract... PW = lgog

BELOW IS A MORE DETAILED GUIDE FOR THOSE CONFUSED OR STUCK.

READ IT ALL AND MOST QUESTIONS SHOULD BE ANSWERED

Notice at the top it says LGNPST ACG and not some other weird version? And notice the version numbers. If yours don't match up then you installed the wrong version!!

1. COM port will show up if phone is connected properly in Download Mode. LGNPST will switch and say Emergency Mode.

2. Press the DLL button towards the bottom of Emergency tab.

3. Press the BIN button towards the bottom of Emergency tab. You should now see both both file names scrolling in LGNPST like the screenshot.

4. Press that START button.

5. A windows will pop up saying you will lose data.. you will NOT lose any personal data.. hit OK.

6. If LGNPST is working properly it will take 20 seconds or so before LGNPST hits 67% and reboots your phone. DONE. After your phone reboots at 67% or 85% it's safe to unplug and use phone.

7. If you still can't boot up, try booting into fastboot. Can't get into fastboot.. try flashing the AltBin. Still can't get into fastboot? you're doing it wrong.

Q: LGNPST Won't open and says "usb dongle not detected"

A: In the lgnpst folder where u ran the .bat to install it should be a lgnpst_acg.exe file somewhere. Copy it to your program files > lg electronics > lgnpst folder overwriting the current exe in that folder. Should work now.

Q: There's no LGNPST_LS970.dll file to select in LGNPST.

A: The install.bat should have registered your dlls but something went wrong. Check the link in the next answer.

Q: I still can't install LGNPST... help?

A: Check out this link.

​

​

[B]My other E970 thread..[/B]
[B][URL="http://xdaforums.com/showthread.php?t=2161611"][GUIDE] Backup/Restore LG Optimus G EFS Partitions[/URL][/B]

[B]My other LS970 threads..[/B]
[B][URL="http://xdaforums.com/showthread.php?t=2161498"][GUIDE] Backup/Restore/Repair Your EFS Partition [LS970][/URL][/B]
[B][URL="http://xdaforums.com/showthread.php?t=2049701"][HOW-TO] Enable DIAG mode without Service Code(MSL)[/URL][/B]
[B][URL="http://xdaforums.com/showthread.php?t=2052816"][INFO] LS970 Hidden Dialer Codes[/URL][/B]
[B][URL="http://xdaforums.com/showthread.php?t=2058506"][INFO] Optimus G AT Commands[/URL][/B]