Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 47,314 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] INSTALLING TWRP on LGG2 (VZW, AT&T, TMobile, KT, d802, others) [UPDATED]

Tip us?
 
WACOMalt
Old
(Last edited by WACOMalt; 12th December 2013 at 02:07 AM.)
#1  
Senior Member - OP
Thanks Meter 549
Posts: 184
Join Date: Jul 2009
Default [GUIDE] INSTALLING TWRP on LGG2 (VZW, AT&T, TMobile, KT, d802, others) [UPDATED]

TOOK THE OTA AND GOT STUCK IN RECOVERY LOOP? DERP, DONT TAKE OTAS, DUH. ANYWAYS, IF YOU CANT GET INTO DOWNLOAD MODE AFTER OTA, DO THIS

GUIDE:

Thanks to Bliss who worked the exploit into Loki, Dees_Troy built TWRP for us, djkinetic, Huskehn, and myself tested.

So good news folks! TWRP is now working on LG G2 thanks to an updated loki patch from bliss. Note that Loki patch is not necessarily an unlocked bootloader, but for the end user there is basically no difference. We can flash kernels (when they exist) roms (when they exist) recoveries etc etc. A full bootloader unlock could come someday, but this is all you will need until then.

First off, if you have issues with ADB not connecting, try THESE DRIVERS

The install is super simple, and you have two or 3 options.

Download the img for your device:
AT&T IMG DOWNLOAD THE NEWEST VERSION ONLY!!! as of writing that is 2.6.3.3
Verizon IMG DOWNLOAD THE NEWEST VERSION ONLY!!! as of writing that is 2.6.3.3
TMobile IMG DOWNLOAD THE NEWEST VERSION ONLY!!! as of writing that is 2.6.3.3
Korean Telecom IMG DOWNLOAD THE NEWEST VERSION ONLY!!! as of writing that is 2.6.3.3
d802 IMG DOWNLOAD THE NEWEST VERSION ONLY!!! as of writing that is 2.6.3.3
For other models, click HERE and scroll down to find the files beginning with d2, and see if any of the folders sound like your model.
NOTE FOR THESE DOWNLOADS! READ ME! UPDATE! Ok, so if you look in the download page for your device and you are getting a zip file, this is a flashable zip, but it cannot be treated the same as an IMG file in this guide. You need to flash an older one that is a .img file, and then use that to flash the newer zip.



YOU MUST ALREADY BE ROOTED! follow This guide to do so if you arent. BE AWARE THAT THIS ROOTING METHOD ONLY WORKS BEFORE TAKING THE OTA. IF YOU ARE UPDATED AND UNABLE TO ROOT, FOR NOW THE ONLY WAY IS TO FLASH BACK TO STOCK AND ROOT BEFORE THE OTA, THEN TAKE THE OTA, THEN INSTALL TWRP

NOTE THAT ALL GUIDES BELOW ARE REFERENCING THE VZW img file. Be sure to replace it with whatever version you downloaded!
ABSOLUTELY DO NOT FLASH ANYTHING NOT MADE FOR YOU PHONE SPECIFICALLY!

OPTION 1 RECOMMENDED The way I tested it in #lg-g2 Possibly safer as loki runs some safety checks first. Download loki from github here Click download zip on the right. and go into the bin folder of the zip. push loki flash and the img like so:

Code:
Select Code
adb push loki_flash /data/local/tmp/loki_flash

adb push openrecovery-twrp-2.6.3.2-g2vzw.img /data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img

adb shell
(IF YOU DONT SEE A # prompt, type su to get it.)
cd /data/local/tmp

chmod 777 loki_flash

./loki_flash recovery /data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img

exit

adb reboot recovery
-------------------------------------------------------------------------------------

OPTION 2 via dd. Push just the recovery img like this:
Code:
Select Code
adb push openrecovery-twrp-2.6.3.2-g2vzw.img /data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img

adb shell
(IF YOU DONT SEE A # prompt, type su to get it.)
cd /data/local/tmp

dd if=/data/local/tmp/openrecovery-twrp-2.6.3.2-g2vzw.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

exit

adb reboot recovery
--------------------------------------------

OPTION 3 easy, untested (as of time of writing) install it from goomanager on the phone! This aparantly does work bu you have to manually browse to the file or something... anyone who's tried care to clarify?
I tried and cant figure out where you find the recovery. I recommend Option 1 or 2

----------------------------------------------

Troubleshooting:
If you get "Failed to open aboot for reading." when following method 1, Be sure you have the # prompt, not $. If you rooted properly you should alutomatically have # in shell, but if not just type su to get it. then run the flashing command.

If you had confusion based on the pushing steps because the two img names listed in the command were different, my bad. the filenames changed while I was writing from test version to final, I missed replacing the first name in the commands. Look at the post again as it is fixed now.

If adb reboot doesnt work, make sure that "exit" command fully exited you out of the adb shell prompt. you should be at standard command prompt for that. type exit again if you arent, or heck just open a new command prompt :P

-------------------------------------------------------------------------

Be happy with what you have, so soon. Be sure to thank all the devs and donate to them![/SIZE][/U]
The Following 165 Users Say Thank You to WACOMalt For This Useful Post: [ Click to Expand ]
 
Fidelio_o
Old
(Last edited by Fidelio_o; 18th September 2013 at 09:10 PM.)
#2  
Senior Member
Thanks Meter 142
Posts: 963
Join Date: Sep 2007
Got stuck trying to send the recovery to my ATT G2, replacing verizon files, renamed all the files including recovery file to RECOVERY and got it running. TWRP up and running. WOOOHOOO, let the roms begin lol
The Following 2 Users Say Thank You to Fidelio_o For This Useful Post: [ Click to Expand ]
 
Woody
Old
#3  
Woody's Avatar
Moderator & RC/RT Committees - Particle Physics Gives me a Hadron
Thanks Meter 8628
Posts: 6,565
Join Date: Nov 2010
Location: Immersed in Dark Matter
What? You mean no one cares whether or not I get this device only what @scrosler gets?
I kid, I kid.

Nice work on getting TWRP on the device. Now it is time for something truly awesome to happen, now that this first step has been taken.

Thread Cleaned
<a href=http://www.whiskey103.nl/x/sigs/Woody6_15fps.gif target=_blank rel=nofollow >http://www.whiskey103.nl/x/sigs/Woody6_15fps.gif</a>
ZFFZ

I GPL I

"The work of men of genius, however wrongly directed, hardly ever fails to open the eyes of men to new possibilities."
- Dr. Victor Frankenstein (Mary Shelley)
The Following 3 Users Say Thank You to Woody For This Useful Post: [ Click to Expand ]
 
Walter21026
Old
#4  
Walter21026's Avatar
Senior Member
Thanks Meter 111
Posts: 299
Join Date: Nov 2012
Location: San Antonio, texas
can someone confirm sucessful TWRP installation via GooManager? This is the only way i feel comfortable installing it at the moment can someone confirm this method is working?
The Following User Says Thank You to Walter21026 For This Useful Post: [ Click to Expand ]
 
Han Solo 1
Old
#5  
Han Solo 1's Avatar
Senior Member
Thanks Meter 162
Posts: 664
Join Date: Aug 2013
Quote:
Originally Posted by Walter21026 View Post
can someone confirm sucessful TWRP installation via GooManager? This is the only way i feel comfortable installing it at the moment can someone confirm this method is working?
I'd like to know this as well, please
 
JustusIV
Old
#6  
Senior Member
Thanks Meter 99
Posts: 979
Join Date: Jan 2008
This doesn't mean anything about the bootloader does it? You still have to run the stock kernal?
The Following User Says Thank You to JustusIV For This Useful Post: [ Click to Expand ]
 
imstill@g
Old
#7  
imstill@g's Avatar
Senior Member
Thanks Meter 142
Posts: 672
Join Date: Jun 2007
If this works as the loki for the S4 did, then we will have access to flash everything. Kernel, modem, and ROM. There are no boundaries.

Sent from my LG-D800 using Tapatalk 4
 
jmill75
Old
#8  
jmill75's Avatar
Senior Member
Thanks Meter 258
Posts: 638
Join Date: Dec 2009
Location: Ohio

 
DONATE TO ME
Quote:
Originally Posted by JustusIV View Post
This doesn't mean anything about the bootloader does it? You still have to run the stock kernal?
Currently this is a work around. Bootloader is still locked up tight
 
bri315317
Old
#9  
bri315317's Avatar
Recognized Contributor
Thanks Meter 11449
Posts: 4,008
Join Date: Oct 2010
Location: South Carolina

 
DONATE TO ME
Goo says no recovery found for this device.

Sent from my LG-D800 using XDA Premium 4 mobile app


Please log ISSUES with my Dynamic Kat for the Note 3 in this spreadsheet to help me help you!

Please log ISSUES with my Dynamic Kat for the S5 in this spreadsheet to help me help you!
 
imstill@g
Old
#10  
imstill@g's Avatar
Senior Member
Thanks Meter 142
Posts: 672
Join Date: Jun 2007
Basically the bootloader no longer matters except for the purity of beating them at their own game. I am sure there are other benefits, but crackflashers will have our fix

Sent from my LG-D800 using Tapatalk 4

Tags
bootloader, custom recovery, lg g2, recovery, twrp
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes