[Recovery] TWRP LG H872 (Unofficial)

beany23

Senior Member
Jan 15, 2015
628
483
0
Works like a charm. No issues here, thanks bro.

---------- Post added at 02:27 PM ---------- Previous post was at 01:42 PM ----------

Also this recovery also fixes the error messages apon flashing mods and what not
 
  • Like
Reactions: Ken C

runningnak3d

Recognized Developer
Nov 10, 2010
2,649
7,177
0
Largo
@KAsp3rd W00T -- glad to see that you built this.

The new version of the lafsploit will be out later today, and with it you can use any recovery your want. It handles all the hash verifications internally. It is about as automated as I can make it.

It will be:

./flash-h918-laf.py # Flashes the h918 laf without the need of LG UP, so no brick risks if people aren't paying attention
./root-h872.sh <recovery.img> # If specified, it will use the recovery.img passed, if not, then it will use this version which will be included in the repo
./post-root.sh # This takes care of all the final steps.

So three commands, and that is it. If I could force a reboot back into download mode, it would be one command, but a reboot into download mode is required between each command..

-- Brian
 

MudaTrucka

Senior Member
Oct 11, 2014
166
39
0
Parma, OH
Can you tell me this method? I cannot get this image to stick, it always reverts back to H870, meaning I cannot flash anything custom (guess I could run Remix H870-would that work?)
Flash the image to recovery, use the steps in the root thread to get it to stick and make sure you're actually booting into recovery and not laf
 

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
@KAsp3rd W00T -- glad to see that you built this.

The new version of the lafsploit will be out later today, and with it you can use any recovery your want. It handles all the hash verifications internally. It is about as automated as I can make it.

It will be:

./flash-h918-laf.py # Flashes the h918 laf without the need of LG UP, so no brick risks if people aren't paying attention
./root-h872.sh <recovery.img> # If specified, it will use the recovery.img passed, if not, then it will use this version which will be included in the repo
./post-root.sh # This takes care of all the final steps.

So three commands, and that is it. If I could force a reboot back into download mode, it would be one command, but a reboot into download mode is required between each command..

-- Brian
Any idea when this might be ready good sir? I am not in a good place right now with my G6, could really use these commands---stuck in TWRP and can boot a rom, but somehow didnt follow your Step 3 in the Root guide, and my misc.img didnt get moved over, thus I have a rom that cannot connect to Wifi due to lack of MAC--this update would be huge, as I would go back to stock and restart this mess.

TIA
 

runningnak3d

Recognized Developer
Nov 10, 2010
2,649
7,177
0
Largo
That won't help you now. Hopefully you still have the backup of your misc partition that was made in step 2. If so, boot to TWRP, and run:

adb push misc.img /sdcard/
adb shell dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc

-- Brian
 
  • Like
Reactions: KAsp3rd

arandom

Member
Apr 29, 2018
21
23
0
Opemilekan's method actually worked, had to flash supersu then used flashify to flash h872 twrp. thanks for the response man
I used flashify and was promted for a decryption password upon booting recovery. Am I doing something wrong?

(Note that I can still access storage on the original download mode twrp, but not on this one)
 
Last edited:

IshsXda

Senior Member
Sep 24, 2017
92
19
0
Stupid question I think, but I get a "Traceback (most recent call last):" after entering ./partitions.py --restoremisc twrp-3.2.1-0-h870.img .

Is there a specific place to put the TWRP ing file ? I think when I run the command its not finding the img.
 
Last edited: