[ROOT] H872 (up to and including 20g)

Did this method work for you?

  • Yes

    Votes: 117 61.6%
  • No

    Votes: 22 11.6%
  • No and I lost download mode

    Votes: 28 14.7%
  • No and I have a brick

    Votes: 23 12.1%

  • Total voters
    190

igorya79

Member
May 20, 2014
44
2
0
Hi guys.
I tried to root, but in the end I was stuck in a fastboot mode.
I can get into the downloads mode, and I can flash H87211g_00_1218.kdz, and the firmware runs successfully, but the phone does not boot into android, after each reboot I always get into the fastboot mode
IMAG0329.jpg
also wanted to clarify, that it was necessary to write after this step:
IMAG0328.jpg
and of course the main question: how to return the phone to life?
 

MetroWestMA

Senior Member
Apr 7, 2018
74
36
18
Hi guys.
I tried to root, but in the end I was stuck in a fastboot mode.
I can get into the downloads mode, and I can flash H87211g_00_1218.kdz, and the firmware runs successfully, but the phone does not boot into android, after each reboot I always get into the fastboot mode
View attachment 4478305
also wanted to clarify, that it was necessary to write after this step:
View attachment 4478306
and of course the main question: how to return the phone to life?
When you reflash the 872 11g KDZ with LGUP are you updating everything or just laf or other stuff? I think you need to update everything to reset it.

Also that last step you showed doesn't actually do anything -- it just lists the partitions...did you do the step afterwards where in your case, same as mine, you substitute 39 for 44 from the OP?

MW
 

igorya79

Member
May 20, 2014
44
2
0
When you reflash the 872 11g KDZ with LGUP are you updating everything or just laf or other stuff? I think you need to update everything to reset it.

Also that last step you showed doesn't actually do anything -- it just lists the partitions...did you do the step afterwards where in your case, same as mine, you substitute 39 for 44 from the OP?

MW
I wrote: 39,12294,21934080,6 - but nothing happened
it was necessary to write 44,12294,21934080,6?
-
I am update everything - but it does not help.
I also noticed, I had a vession: LGH872AT-01-V11g-310-260-DEC-18-2017-ARB01+0
but in the instruction link to H87211g_00_1218.kdz - because of the downgrade there may be problems?
 

purplekushDGK

Member
Apr 14, 2018
7
2
0
I wrote: 39,12294,21934080,6 - but nothing happened
it was necessary to write 44,12294,21934080,6?
-
I am update everything - but it does not help.
I also noticed, I had a vession: LGH872AT-01-V11g-310-260-DEC-18-2017-ARB01+0
but in the instruction link to H87211g_00_1218.kdz - because of the downgrade there may be problems?
you are supposed to write !COPY 39, 12294,21834080,6

---------- Post added at 04:44 AM ---------- Previous post was at 04:42 AM ----------

you are supposed to write !COPY 39, 12294,21834080,6
still going to continue looking at this page, but I bricked my phone not due to the root, it was all on my part messing with partitions/flashing. good luck everyone unless there is a solution to hard brick my life with the g6 is over for now. new phone on the way. :)
 
Last edited:

RLCircuit

Senior Member
Nov 28, 2017
58
17
0
I know I'm prob asking for too much at this moment; but...

Would it be possible to test this out (in the future, after bugs on the H872 are ironed out) on the H872PR? I believe we will never get any updates, seeing as the last update was released in october 2017.
 

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
question for everyone - finished the root process linked for H872 in FWUL - is step 3 (cleanup) necessary if I want to go straight to an LOS rom from flashing the corrected H872 TWRP? I will do a backup first...but not sure how useful that will be--any risk here? if true, what kind of wipe should I do? I assume data/cach/davlik/system yes?
 

Ken C

Senior Member
Mar 5, 2011
848
184
0
Hey ya'll,
Slowly figuring things out as I go along. got a question for those that have accomplished this feat. These commands that I've copied from the op;

git clone https://github.com/runningnak3d/lglaf
cd lglaf
git checkout h872-miscwrte

Please educate me if wrong, (don't learn if you don't ask right?) but once we get fwul up and running we're pulling these & the python scripts from his github repo correct?

Why I'm asking is that I can't get that thing to connect to my network & no amount of searching etc has worked but I've noticed that files of the same name do exist in the lglaf folder within fwul.
With that being said is there any way that I can just switch them out with what he calls for?
I can't even get the 'cd lglaf' command to work and that should run whether or not I've got his particular stuff in there correct?
I'm thinking no because there'd be dependencies and god knows what that goes along with them. and as I'm not seeing a ton of other folks posting questions along this line I thought I'd ask. I'm not the type to just wing something due to impatience I'd rather it be correct.

**Couple things I've learned for those that may be having issues that I was going through.**
1) If you're having trouble formatting the flash drive I've noticed that "sd formatter" seems to work when other won't & use "Rufus" which is linked within the fwul thread to burn it to the stick (make sure you use the DD option when it asks)
2) on Windows 10 to boot from USB you need to disable the secure boot option in the bios, just make sure you've got your BitLocker key to get back in afterward. ( on the 1st gen surface book it's volume up and a quick press of the power button, you keep the volume button pressed until the surface logo pops up then let go and it'll boot right into it)

---------- Post added at 07:23 AM ---------- Previous post was at 07:15 AM ----------

question for everyone - finished the root process linked for H872 in FWUL - is step 3 (cleanup) necessary if I want to go straight to an LOS rom from flashing the corrected H872 TWRP? I will do a backup first...but not sure how useful that will be--any risk here? if true, what kind of wipe should I do? I assume data/cach/davlik/system yes?
If your completely changing roms that was the wipe procedure. But I would point out that the op seems to recommend that you boot into the rom you've got the device first before going anywhere else with it. He even went so far as to say you didn't have to but that he didn't want us crying if something were to go wrong. For me that's a pretty big endorsement for not gooing from rooting right into flashing something completely different. Some others may have their own opinions and I wouldn't mind seeing what they have to say either but that's my thoughts on it. Since you've pulled it off maybe you could answer the question I posted about the same time you posted yours.;)
 

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
Hey ya'll,
Slowly figuring things out as I go along. got a question for those that have accomplished this feat. These commands that I've copied from the op;

git clone https://github.com/runningnak3d/lglaf
cd lglaf
git checkout h872-miscwrte

Please educate me if wrong, (don't learn if you don't ask right?) but once we get fwul up and running we're pulling these & the python scripts from his github repo correct?

Why I'm asking is that I can't get that thing to connect to my network & no amount of searching etc has worked but I've noticed that files of the same name do exist in the lglaf folder within fwul.
With that being said is there any way that I can just switch them out with what he calls for?
I can't even get the 'cd lglaf' command to work and that should run whether or not I've got his particular stuff in there correct?
I'm thinking no because there'd be dependencies and god knows what that goes along with them. and as I'm not seeing a ton of other folks posting questions along this line I thought I'd ask. I'm not the type to just wing something due to impatience I'd rather it be correct.

**Couple things I've learned for those that may be having issues that I was going through.**
1) If you're having trouble formatting the flash drive I've noticed that "sd formatter" seems to work when other won't & use "Rufus" which is linked within the fwul thread to burn it to the stick (make sure you use the DD option when it asks)
2) on Windows 10 to boot from USB you need to disable the secure boot option in the bios, just make sure you've got your BitLocker key to get back in afterward. ( on the 1st gen surface book it's volume up and a quick press of the power button, you keep the volume button pressed until the surface logo pops up then let go and it'll boot right into it)

---------- Post added at 07:23 AM ---------- Previous post was at 07:15 AM ----------


If your completely changing roms that was the wipe procedure. But I would point out that the op seems to recommend that you boot into the rom you've got the device first before going anywhere else with it. He even went so far as to say you didn't have to but that he didn't want us crying if something were to go wrong. For me that's a pretty big endorsement for not gooing from rooting right into flashing something completely different. Some others may have their own opinions and I wouldn't mind seeing what they have to say either but that's my thoughts on it. Since you've pulled it off maybe you could answer the question I posted about the same time you posted yours.;)

Right, I was able to boot fine into the rom. I also backed up the original to my MicroSD card. What happens is that whenever I go back to download mode and to TWRP, and then flash the H872 recovery, THEN attempt to wipe everything (advanced wipe) and install LOS 15.1 and Nano GAPPS---it says my recover is still on H870! So...my guess is that the updated recovery is not "sticking"

I am guessing this this is what the cleanup is in part 3---but perhaps like you, I cannot get the files from the git to write to my ADB within the terminal. I get a USB not found error---YES, I was able to do it during Step 2...but after that point I've tried dozens of attempts to get it to output the MISC.img that step 3 needs... any thoughts?
 

Ken C

Senior Member
Mar 5, 2011
848
184
0
Right, I was able to boot fine into the rom. I also backed up the original to my MicroSD card. What happens is that whenever I go back to download mode and to TWRP, and then flash the H872 recovery, THEN attempt to wipe everything (advanced wipe) and install LOS 15.1 and Nano GAPPS---it says my recover is still on H870! So...my guess is that the updated recovery is not "sticking"

I am guessing this this is what the cleanup is in part 3---but perhaps like you, I cannot get the files from the git to write to my ADB within the terminal. I get a USB not found error---YES, I was able to do it during Step 2...but after that point I've tried dozens of attempts to get it to output the MISC.img that step 3 needs... any thoughts?
Just got past my network stupidity. So simple, damn thing just wasn't clicking in me head. Left click on data icon move down the list (couldn't read that ant script don't at . 5pt font) got something that allowed me to see my router and connect.

I just did a new flash drive with the persistent img. And the network thing, so I haven't tried the those commands yet. I will also admit to running through a dry run just to see even if fwul threw me an error. Wasn't expecting "not found" though. So I'll try again in a few and see what I get and let you know.

I'm hoping it was just the network thing and it'll run fine by now.

You talking about it not "sticking" though has me thinking about a portion of the process where op mentions something about "if you do this it'll overwrite twrp back to stock recovery"
Can't say if that's it, your issue with pulling the files sounds like me though. Read over his post again I'm sure I read that in there. Been going between a bunch of places after info but I'm reasonably sure he mentions that.
Could be that all that's giving you the problem, if I think of anything that could help or how it worked for me I'll post it.
 

Ken C

Senior Member
Mar 5, 2011
848
184
0
Anyone else having a problem downloading the H918 kdz? I keep getting "failed-network disconnected" or "failed-network error" messages
There was another guy having the same issue. Somebody put a copy of it up on their own deal. It's in here couldn't tell you where though. Me, I let it sit overnight to get it
 
  • Like
Reactions: megamanfre

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
Just got past my network stupidity. So simple, damn thing just wasn't clicking in me head. Left click on data icon move down the list (couldn't read that ant script don't at . 5pt font) got something that allowed me to see my router and connect.

I just did a new flash drive with the persistent img. And the network thing, so I haven't tried the those commands yet. I will also admit to running through a dry run just to see even if fwul threw me an error. Wasn't expecting "not found" though. So I'll try again in a few and see what I get and let you know.

I'm hoping it was just the network thing and it'll run fine by now.

You talking about it not "sticking" though has me thinking about a portion of the process where op mentions something about "if you do this it'll overwrite twrp back to stock recovery"
Can't say if that's it, your issue with pulling the files sounds like me though. Read over his post again I'm sure I read that in there. Been going between a bunch of places after info but I'm reasonably sure he mentions that.
Could be that all that's giving you the problem, if I think of anything that could help or how it worked for me I'll post it.
Yes, will do. Ultimately I am just going to ensure I get root first by figuring out how to get Step 3 Cleanup completed. I have reformatted by USB with the Persistent version of FWUL, hopefully I will get traction when I try it later tonight. Thanks...

If anyone has a shortcut (that is safe) where I can just go straight to LOS/gapps after Step 2-let me know-but the sticking point is getting recovery to mount /system in the H870 TWRP. I have a working phone and completed Step 1 and 2 successfully, so it absolutely could be worse!

Thanks in advance...
 

onaikel

Member
Nov 20, 2010
6
7
0
Fired everything up again (after having some much needed rest), all systems are functioning and root has been obtained.
@runningnak3d - Going back to restoring stock LAF, you said we can extract it from the KDZ, but where to we flash it from? or it just a image we can do inside TWRP from recovery?
If you want to restore original laf:

1- Download original laf here: https://drive.google.com/file/d/1CfqXtGVMlyOHbOfzFGTFOKBECF1oGkML/view?usp=sharing

2- Copy laf.img to phone.

3- Enable adb on phone.

4- Open command prompt.

5- Adb shell, accept adb on phone.

6- Su, allow on phone.

7- dd if=/dev/zero of=/dev/block/platform/soc/624000.ufshc/by-name/laf

8- dd if=/sdcard/laf.img of=/dev/block/platform/soc/624000.ufshc/by-name/laf

Now you have stock laf and you can enter on download mode again.
 

megamanfre

Senior Member
Jul 29, 2012
107
23
0
Do I have to go right to phase 2 after phase 1? Im having issues installing fwul and running from my USB stick, but wanna do phase 1 now, and get it ready for when I get the chance to play around with getting fwul working properly.
 

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
Everyone - if you have successfully completed step 2 in this guide - as long as you flash (dont reboot, just flash the H872 TWRP file and go back, then go to reboot, and reboot to recovery--only then will it "stick" temporarily)---after that point, you are free to wipe your system/davlik/cache/data (I keep my Rom/GAPPS on my microsd) and Voila!
 
  • Like
Reactions: Ken C

agmyers76259

Senior Member
Feb 17, 2010
105
9
0
Does anyone have the Misc.img file they can post for step 3? I cannot get it to pull from the python repository---this will allow me to complete step 3 of the process.