[Recovery] TWRP LG H872 (Unofficial)

Jul 7, 2013
40
8
0
Ricardo,

You mentioned this which is great and encouraging, I think you also mentioned camera issues you had somewhat worked around. Would you be willing to start another thread on LineageOS 15.1 / h872? I'll take the plunge, but since this is my main phone, I need all the basics:
1) Visual VM even if it's TMobile's crappy app reinstalled.
2) Working camera / video for kids and work
3) Pulse text messages
4) I use Outlook for mail, so I would delete everything else
5) Working tethering (and ideally someway to hide it from TMobile, but with 10GB now, not a big deal)
6) Phone works fine (should get most settings from SIM anyway) while roaming, etc.
7) Music player
8) Access to play store (I think you can manually register your device)

I think that's all I can think of unless there are known popular apps that are not working well under Oreo / Lineage. Since you are the pioneer, it would be great to here more specifics!

MW

---------- Post added at 06:21 AM ---------- Previous post was at 06:14 AM ----------

Hi Everyone,

I tried to install the xposed framework tonight and ended up with a bootloop and had to restore using TWRP. Note sure if this was because of the xposed FW, or the fact that I wiped Dalvik / Cache which about 1/2 the instructions tell you to do.

Has anyone gotten this installed and working on their rooted 872?

MW
So just no help on my TWRP now after follow your directions, I get ignored?

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------

Lineage 15.1 is nearly 100% stable for me
Followed your instructions and now TWRP asks for a password for decryption and I don't have a password set on my phone. Help please?
 

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
So just no help on my TWRP now after follow your directions, I get ignored?
actually re-installed the unofficial TWRP tonight just to make sure I had done it right and needed it because I ran into the bootloop issue.

I never was asked for a decrypt password like you mentioned -- was this doing a restore or just running TWRP?

I would help if I had an answer, but I don't even understand your issue...
 

RicardoSal24

Senior Member
Feb 28, 2016
260
42
0
So just no help on my TWRP now after follow your directions, I get ignored?

---------- Post added at 11:39 PM ---------- Previous post was at 11:36 PM ----------



Followed your instructions and now TWRP asks for a password for decryption and I don't have a password set on my phone. Help please?
Boot into twrp that is on laf
 
Jul 7, 2013
40
8
0
actually re-installed the unofficial TWRP tonight just to make sure I had done it right and needed it because I ran into the bootloop issue.

I never was asked for a decrypt password like you mentioned -- was this doing a restore or just running TWRP?

I would help if I had an answer, but I don't even understand your issue...
I had whatever TWRP from doing the 11g root tutorial. I download the TWRP from this thread. I booted into TWRP like you said and just flashed the new img from this thread. Upon reboot into TWRP I get asked for decrypt password. My device boots just fine thank GOD. But recovery is screwed for me now because it cant mount data.

---------- Post added at 12:12 AM ---------- Previous post was at 12:09 AM ----------

Boot into twrp that is on laf
I don't understand what you mean by that. I flashed this H872 TWRP from whatever recovery I had installed from the 11g root tutorial. Per instructions above I just booted into my recovery from Magisk and flashed the one from this thread. I didn't use a computer for anything, not sure if I was supposed to? Is there a different way to access "laf recovery"
Is that different from just booting into recovery directly from Android?

---------- Post added at 12:42 AM ---------- Previous post was at 12:12 AM ----------

OKAY

I'd like to add a major note here.

LAF TWRP IS SOMEHOW DIFFERENT FROM REGULAR TWRP/RECOVERY that you can boot into from Magisk or wherever.

I plugged my phone into laptop to boot into "download" mode (TWRP/laf) and it didn't ask for password and was able to mount data. So I'm assuming this is where I should install the new recovery from this thread?
 

RicardoSal24

Senior Member
Feb 28, 2016
260
42
0
I had whatever TWRP from doing the 11g root tutorial. I download the TWRP from this thread. I booted into TWRP like you said and just flashed the new img from this thread. Upon reboot into TWRP I get asked for decrypt password. My device boots just fine thank GOD. But recovery is screwed for me now because it cant mount data.

---------- Post added at 12:12 AM ---------- Previous post was at 12:09 AM ----------



I don't understand what you mean by that. I flashed this H872 TWRP from whatever recovery I had installed from the 11g root tutorial. Per instructions above I just booted into my recovery from Magisk and flashed the one from this thread. I didn't use a computer for anything, not sure if I was supposed to? Is there a different way to access "laf recovery"
Is that different from just booting into recovery directly from Android?

---------- Post added at 12:42 AM ---------- Previous post was at 12:12 AM ----------

OKAY

I'd like to add a major note here.

LAF TWRP IS SOMEHOW DIFFERENT FROM REGULAR TWRP/RECOVERY that you can boot into from Magisk or wherever.

I plugged my phone into laptop to boot into "download" mode (TWRP/laf) and it didn't ask for password and was able to mount data. So I'm assuming this is where I should install the new recovery from this thread?
Correct. I did it this way and had no issue
 
  • Like
Reactions: roger.hernandez91

Goombs

Member
Dec 25, 2016
14
3
0
OP is acting pathetic. In the root guide, we flashed H870 TWRP to laf partition. OP is asking us to use the H870 TWRP to install this H872 TWRP to recovery partition. So after doing that, we have two TWRP installs, on on recovery, and one on laf. If you boot into recovery, either using an advanced reboot app, or using PWR+VOL_DOWN, it will load the H872 TWRP (the one in this post). If you boot into laf, using vol up and insert cable, it will load the H870 TWRP. The H872 TWRP, the one OP made, has the decrypt issue, and therefore fails to mount system. The H870 has a different system mount issue.

OP is asking us to install his TWRP, then boot into the H870 TWRP, and do our work from there. So then what's the point for installing this at all?

What fixed the system mount issue for me, is flashing the same H870 TWRP from the root guide onto the recovery partition, and booting into that.
 

RicardoSal24

Senior Member
Feb 28, 2016
260
42
0
OP is acting pathetic. In the root guide, we flashed H870 TWRP to laf partition. OP is asking us to use the H870 TWRP to install this H872 TWRP to recovery partition. So after doing that, we have two TWRP installs, on on recovery, and one on laf. If you boot into recovery, either using an advanced reboot app, or using PWR+VOL_DOWN, it will load the H872 TWRP (the one in this post). If you boot into laf, using vol up and insert cable, it will load the H870 TWRP. The H872 TWRP, the one OP made, has the decrypt issue, and therefore fails to mount system. The H870 has a different system mount issue.

OP is asking us to install his TWRP, then boot into the H870 TWRP, and do our work from there. So then what's the point for installing this at all?

What fixed the system mount issue for me, is flashing the same H870 TWRP from the root guide onto the recovery partition, and booting into that.
Flashing h870 onto recovery will not let you flash roms for the h872. To use data on the h872 recovery you have to format in recovery first. I have no issues with mounting the system on my h872
 

igloo0213

New member
Feb 12, 2008
2
0
0
Any chance of getting this updated to the Oreo kernel? Since flashing immns's Oreo 20a zip, TWRP can no longer decrypt or mount the data partition.
 

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
Any chance of getting this updated to the Oreo kernel? Since flashing immns's Oreo 20a zip, TWRP can no longer decrypt or mount the data partition.
I am having the same problem, but note that you can access it again by reformatting it in TWRO, and then you can go back to your previous backup. I think this is a TWRP problem.

Also, if you have X-plore or some other root explorer, you can access root and back it up...but yes something is wrong here...
 

immns

Senior Member
Nov 12, 2016
171
51
28
Yogyakarta
Also, if you have X-plore or some other root explorer, you can access root and back it up...but yes something is wrong here...
When formating data, and then intall magisk, Magisk Manager.apk will be installed right after first boot without manually install it. That means twrp is possibly do write on /data before bootloader locks it with dm-verity encryption.
 
Last edited:

bidhata

Senior Member
Apr 1, 2007
161
140
0
Kolkata
@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
Hi Brian,
Is it released yet ? I bit worried about bricking the device as just bricked my Nokia 8 NB1 when compiling TWRP :( . Please let us know.
 

runningnak3d

Recognized Developer
Nov 10, 2010
2,649
7,177
0
Largo
It is as automated as it is going to get for the foreseeable future.

My packet dumps for writing signed partitions match my dumps from LG UP, but for some unknown reason, I still can not write.

So, to get h918 laf you have to use LG UP.

-- Brian
 
  • Like
Reactions: wtumour and bidhata