Post Reply

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

OP WACOMalt

18th September 2013, 08:35 PM   |  #1  
OP Senior Member
Thanks Meter: 578
 
195 posts
Join Date:Joined: Jul 2009
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:
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:
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]
Last edited by WACOMalt; 12th December 2013 at 02:07 AM.
The Following 174 Users Say Thank You to WACOMalt For This Useful Post: [ View ]
18th September 2013, 08:53 PM   |  #2  
Senior Member
Thanks Meter: 144
 
977 posts
Join Date:Joined: 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
Last edited by Fidelio_o; 18th September 2013 at 09:10 PM.
The Following 2 Users Say Thank You to Fidelio_o For This Useful Post: [ View ]
18th September 2013, 09:39 PM   |  #3  
Woody's Avatar
Moderator & RC/RT Committees - Particle Physics Gives me a Hadron
Flag Immersed in Dark Matter
Thanks Meter: 9,287
 
6,839 posts
Join Date:Joined: Nov 2010
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
The Following 3 Users Say Thank You to Woody For This Useful Post: [ View ]
18th September 2013, 09:39 PM   |  #4  
Walter21026's Avatar
Senior Member
Flag San Antonio, texas
Thanks Meter: 111
 
299 posts
Join Date:Joined: Nov 2012
More
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: [ View ]
18th September 2013, 09:54 PM   |  #5  
Han Solo 1's Avatar
Senior Member
Thanks Meter: 163
 
677 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by Walter21026

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
18th September 2013, 10:00 PM   |  #6  
Senior Member
Thanks Meter: 111
 
1,030 posts
Join Date:Joined: 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: [ View ]
18th September 2013, 10:21 PM   |  #7  
imstill@g's Avatar
Senior Member
Thanks Meter: 143
 
673 posts
Join Date:Joined: 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
18th September 2013, 10:21 PM   |  #8  
jmill75's Avatar
Senior Member
Flag Ohio
Thanks Meter: 266
 
652 posts
Join Date:Joined: Dec 2009
Donate to Me
More
Quote:
Originally Posted by JustusIV

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
18th September 2013, 10:26 PM   |  #9  
bri315317's Avatar
Recognized Contributor
Flag South Carolina
Thanks Meter: 16,215
 
5,436 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Goo says no recovery found for this device.

Sent from my LG-D800 using XDA Premium 4 mobile app
18th September 2013, 10:26 PM   |  #10  
imstill@g's Avatar
Senior Member
Thanks Meter: 143
 
673 posts
Join Date:Joined: 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

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes


Top Threads in G2 Android Development by ThreadRank