yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
A guy responded to a post of mine in Eliminator's aosp thread that had those IMG files one was an h and the other e if I remember correctly.

I'm getting about the same info on that myself. I thought I saw somewhere they said nougat bootloader.

But I get you man, there's nothing that says this here ->

That's why I mentioned that quote about it given to me in that thread. You may be ankle to make more sense of it than me.

On a good day I understand about half the highly technical stuff y'all go on about. Could I do any of it?

No, not gonna lie.

---------- Post added at 09:46 AM ---------- Previous post was at 09:41 AM ----------

I also wondered that same deal when it came to the laf images. Just flash the IMG in twrp to laf and be done with it.

Since I can't seen to edit that last post I'm thinking that's what those files may have actually been. I'll look for the post and put a link here or send it to y'all personally if its cool

---------- Post added at 09:53 AM ---------- Previous post was at 09:46 AM ----------

That post where it's mentioned.

https://xdaforums.com/showthread.php?p=77568353
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
I saw these posts too. Well.. I dumped my laf and bootloader bins to have as a backup. I think Im going to try flashing the bootloader and then reflashing AOSP Ex. and see what happens :fingers-crossed:
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
That was what they were then? Good

Good luck, hope it works damn use that fp thing more than I ever thought
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Did you ever get root? it looks like this will require root access

---------- Post added at 02:43 PM ---------- Previous post was at 02:32 PM ----------

well, I used adb shell to push the bootloader bins to the device. rebooted to recovery and I saw the nougat lg boot logo screen. it booted to TWRP fine so im flashing AOSP now. we'll see what happens

---------- Post added at 02:58 PM ---------- Previous post was at 02:43 PM ----------

Ok. Flashing the 11g bootloader did not change anything. I still dont have fingerprint options.

So it looks like the answer is to use adb shell to push 20a laf to the phone to restore DL mode and use LGUP to flash 11g and set up fingerprints before you flash the custom rom
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I got this weird half assed root. Magisk works I can flag in recovery etc. But up until I flash Eliminator's ROM I get nothing but encryption errors. Storage not mounting etc.

There's one thing I been meaning to ask y'all.

That "reset" button I keep hearing about. Is it on a white screen with doing it or not are you're only options?

I've only seen that once and wondering if that may be why I can't get the formatting trick to work. But I don't know how to get there. (Probably something stupid)

Does it pop up automatically?

---------- Post added at 11:06 AM ---------- Previous post was at 11:04 AM ----------

Good to hear on the progress. Maybe hear something even better later on I hope.

---------- Post added at 11:08 AM ---------- Previous post was at 11:06 AM ----------

Could you flash it in recovery? My adb push skills are rusty as all heck
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
The reset button shows up when you try to boot to android and it says it cant decrypt and you need to do a factory reset.

I can make a TWRP backup of my laf to share now that I flashed stock, and if you have 3.2.3 it will let you restore the laf partition.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I only got that once. Even did this whole deal with a back to stock state. Only got it that one time. Other than that it's that password deal in recovery

So restoring laf gives us back FP?

When I ask what sounds silly is to get it dead straight in my head.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
If you are on H87220a, have TWRP on laf, and you want DL mode back

Download this zip and extract the H87220a_LAF_TWRP folder to your phone's sdcard.

If you have TWRP 3.2.3 on recovery, boot to it and restore the backup from that folder to the LAF partition and you should have stock laf with DL mode again.

[MENTION=3756477]Ken C[/MENTION] Restoring laf will get download mode back so you can use LGUP and flash the 11g or 11h KDZ files (make sure you dont flash the recovery partition if you have twrp on recovery).

Since you cant seem to get TWRP to stick on recovery.. If you dont want to try any more to get it on there you can always put the 3.2.3 img file in your fastboot directory and 'fastboot boot twrp.img'. but if your storage is encrypted im not sure if it will give you problems.

If anybody has problems restoring this backup let me know and ill see what else I can do. But the idea behind this solution for FP is to do this, flash 11g or 11h with the patched LGUP in the OP. However, when I flashed 11h I let my phone reboot and lost recovery. So now I have to start from scratch and put TWRP on laf again :D
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
When you say fastboot directory your talking on the PC right? I know I can fastboot reboot from there but something makes me think your talking someplace else. Maybe on the phone itself?

Got a path to take by any chance?

I'm stubborn like that and really want to deal with this issue. I'm thinking if I go through your directions I should be OK.

I don't get the issues in recovery on aex. Could it be that his rom is 8.1 ? It's making me think the recovery is also and there's enough of a change between 8.0 and .1 to do all this mess. But thinking that way why is it working for everybody else and not me you know? Strange
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Yes. Whatever folder your adb and fastboot programs reside in on your PC. To boot from a TWRP image that is not flashed to your phone:

1. boot to fastboot. with your phone off, hold the volume-down button and plug in the USB cable (connected to your PC)

2. run command fastboot boot (twrp 3.2.3 filename) and it will boot to TWRP.

I'm not sure. Some ROMs already have encryption disabled. Others enforce it. I think it depends. aex is probably packed with a no-verity boot image and just disables encryption which is why you dont have issues.

We specifically chose this TWRP build because it is based on the 8.0 Melina Kernel which is compatible with the h872. Basically, if you have a stock android rom installed and you dont have a boot image that is patched to disable verity/forced encryption then the phone will encrypt data every time you boot to the OS. Formatting Data in TWRP will clear the encrypted data, and flashing magisk will then disable forced encryption if it can. I am not sure why TWRP is not able to decrypt it, but from what I have seen almost every unofficial TWRP has problems decrypting .
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
OK I follow you. So if I did this I would need adb/fastboot to be able to get into recovery from that point on?

Unless I'm on aex which doesn't have that issue.

I did see that kernel you were talking about during my misadventure.

Never know my asking you all this could make it easier for the next guy.

Appreciate your patience and help man.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Could this be the reason? You mentioned that one setting I believe in your last post talking about decryptingView attachment 4595993
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Won't let me post the pic.

In magisk under advanced I have "preserve forced encryption" ticked

If that's all it is I'm going to lmao. I never set it to that.

But, I'm thinking untick it and maybe clear magisk's cache and, or cache and delvik in twrp
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
nah, aex did that for me also. im not sure how it would behave if you unchecked it, tbh.

---------- Post added at 05:41 PM ---------- Previous post was at 05:40 PM ----------

and no problem man. I use this phone as my main so I'm trying to get things working too.

---------- Post added at 06:27 PM ---------- Previous post was at 05:41 PM ----------

So... the moral of the story here is to NOT update to Oreo if you want to be able to use custom roms (for now). I flashed 11g excluding recovery and I still managed to lose it. So now I get to start all over! :D
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
[MENTION=3167089]runningnak3d[/MENTION] from your experience with LGUP, is there a way to flash one of our stock kdz's without losing twrp on recovery?

After flashing 11h without recovery selected I couldn't catch the reboot and it rebooted to system. It looks now like recovery was erased.

Just curious if there is a way around that. My flawed plan was to boot to recovery after the flash and flash magisk.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Ya I was reading in that other thread what you were talking about.

Like the idea of packaging these kdzs' so they can be straight flashed without losing everything.

I'm going to run over everything later when I have the time to sit and work on it myself. Would love to hear you ended up getting everything worked out by then. No pressure or anything, I've taken a few programming classes so I got a half assed idea of what y'all are trying to pull off. And you got my respect for that man.

But at least you can start over.

There's always that.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I'm curious about what you mean by catching the reboot.

I've had that happen, lgup and the phone start to show different progress percentages. At first I thought it was be cause of the 10% you see when we change the laf out.

The phone reboots before lgup hits 100%.

I've always gone back into dl mode and continued from there. But if I'm supposed to "catch" something along the lines of pulling the cord during laf exchange.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Don't know if you've seen this. May mean nothing but it caught my eye https://xdaforums.com/showthread.php?p=77623166
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
What I meant is I wanted to flash full 11h except for the recovery partition and stop it from rebooting because I didn't want data to get encrypted or lose twrp
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
A I feel like I must sound stupid. (keep it to yourself to be polite please lol) but, if your picking which partitions your flashing to can't you exclude recovery? Wet do it when rooting Plus you got me thinking about what point that would get auto flashed like when doing the laf. Is there other stuff that needs flashing after recovery? Just trying to feel out where you've gotten for when I go back to what had already been said and try myself. I think you were on the right track. It was making sense to me.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Nah man it's all good. I know I sound stupid when I ask some of these veterans questions about how things work. But Yeah you're right. that's exactly what I did. I did the PARTITION DL in LGUP for every partition except recovery and recoverybak. But somewhere during the process it erased my recovery partition. I get the "no command" screen like you were getting.

No clue which part of the process erased it.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I'm wondering just so you may see what I'm talking about.

When I ran step 1 sometimes it would do its thing first time through. I did notice that I'd get the USB error occasionally. But mostly it ran fine, maybe a couple tries before it did its thing.

Then at least twice I can say for sure the script would run eventuality throw out a match and flash what looked fine according to the output.

But if I wasn't fast enough the script would run again without any input. I've never run it twice to see how it would play out.

Just a thought.

Also noticed that sometimes I'd get a double boot for lack of a better term. Once I went through everything else.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Well, good news. FP works, and it's a very clean part of the phone setup. So all the effort was worth it to me. This is a pretty sweet ROM.

The whole root process was as smooth for me this time as it was the first time. I did have a password on TWRP when I first booted to it, so I did get encrypted again. But the first thing I did was format data, wipe data and cache and then made sure it would mount system. I didnt run step2. I just manually flashed TWRP to recovery and then Magisk. I made sure it rebooted to recovery, and she was good to go.

That double boot you are talking about. That happens to me when I flash a rom plus magisk or other packages at the same time. It happens to me on other devices too. Seems just like a normal thing.

Now (as i type this) I'm going make a backup of everything as it is running 11g and then see if FP works in aex. I booted into nougat and set up a fingerprint. Then I installed Magisk manager to confirm root, and guess what? the preserve encryption box was checked again. It must be something different with v17 because v16 didnt do that.

Data was definitely was re-encrypted. TWRP again asked for a password.

So then I made my backup.

Formatted data, rebooted back to recovery.

wiped system, cache and dalvik

then I flashed aex, magisk again, and gapps. this time i noticed that when I flashed Magisk it logged that it detected encrypted data which is why it preserved encryption. no clue why that would be, unless aex has encrypted data in the rom

after all that i wiped cache and booted to system. it rebooted a couple times during startup which seems normal to me. took a few minutes. Started setting up the phone as usual ad the fingerprint setup popped up around the same time it normally asks you to set up a screen lock.

now im going to bedddddd
[T-Mobile LG G6 Guides, News, & Discussion] mike135566:
How i can unroot ?
[T-Mobile LG G6 Guides, News, & Discussion] tech4us:
After ROOT, I can make OTA update? If not, how I can make update (from nougat to oreo)?
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Depends what you're running. With 20a there's a zip of a stock build. You can flash that and it'll put you back to stock. Look for posts with my name attached was working with another guy concerning things like that

Idk of you can Ota but if you can get into dl mode you could flash one of the kdz files that would update you. But, if you did the same as i mentioned above I would think you'd get the ota since you'd gone back to stock at that poing. But I'm finding out that I may have wanted to stay and root an older version. Because from what I'm reading rooting these others may be more difficult.

---------- Post added at 01:20 PM ---------- Previous post was at 01:17 PM ----------

I have reached my thanks limit lol..

But awesome man.

I got a screaming baby in this house (not mine) which likes to keep me from being able to concentrate but I'll definitely be giving this a shot. Let you know how it goes.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
After reading that it seems like the same basic process just using a different kdz.

---------- Post added at 10:19 AM ---------- Previous post was at 09:47 AM ----------

Think your actually killing two of my birds with this process. Data mount and fp if I'm not mistaken.

I don't think it's mentioned that I've seen, to backup and wipe system also in that fix data mount deal, unless I just missed it.

And that could've been the whole issue there but wouldn't have resulted in fp working.

An A for tenacity man [emoji106]
[T-Mobile LG G6 Guides, News, & Discussion] gasto40:
Hi

I followed all the steps to root in Oreo, everything was done successfully, but when I tried to reboot to Oreo I got stuck in a bootloop. I'd like to flash stock KDZ again, but when I try to restore laf backup to enable download mode again I get "select partitions to restore" in TWRP and an empty space there. Any ideas on how to solve this?

Thanks a lot.

ediy: I was extracting the folder inside a folder on the SD card, I'll try to downgrade from 20a to 11g then to root.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
How long did you wait out the boot loop? Its normal for the phone to reboot a couple times before getting to the os first time after flashing everything.

And are you saying TWRP didn't list any partition options?
[T-Mobile LG G6 Guides, News, & Discussion] gasto40:
I waited for like 5 minutes, didn't seem normal. Anyway, I was able to restore the LAF backup after all. I downgraded to 11g and performed all the steps again, but then when the phone finally booted after running ./step2.sh I got a message that says "Encryption Unsuccessful". The only option I had was to reset the phone, so I did that, but there's no root now on the phone :/
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Look here and see if that helps you. https://xdaforums.com/showthread.php?p=77625109

---------- Post added at 07:10 PM ---------- Previous post was at 06:23 PM ----------

@weakNPCdotCom

Did you update the op? I just read through and saw all that restoring laf stuff you were talking about.

The wife is working on schoolwork so it's quiet enough for me to actually work on this.

My plan was to flash that stock 20a zip, go into dl mode, flash the 11g kdz and go from there with the op instructions and what you went through lastnight.

Oh, restoring a backup of that stock oreo rom gave me the white reset screen issue. Almost flashed aex to see if it would work from that point after wiping system etc. Getting ready to leave the house so needed something I knew would run.

There was a stock rooted 20a out there but it seems to have disappeared. If that was still out there couldn't your wipe everything deal then flash it fresh get rid of the encryption deal? Wouldn't give you fp on other roms but seems like it would or could stop that.

Seems there's a need for a rom that flashes in recovery after a system wipe to get around that right?

Which makes me think again of that laf deal. would it be less of a problem just to leave it alone?
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Yes I did. Since a lot of people have asked how to get DL mode back, or go back to stock. The only way for LGUP to read your phone is to have DL mode with stock laf.

The only reason I chose to flash the kdz to go back to 11g is because I can't find any 11g or 11h flashable ROMs.

If you use LGUP to flash 11g, you will have to follow the whole root process again. You need DL mode to use lgup, and you need twrp on laf to root unless you have it on recovery. But I couldn't get twrp to stick to recovery after using lgup.

If you are wanting to go back to nougat for FP, I would skip flashing stock 20a and just restore your laf. Then flash 11 and start everything over.

I don't know how I managed to disable force encryption the first time. I need to figure out a way to do that too. At least until [MENTION=3167089]runningnak3d[/MENTION] releases his twrp.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
So I'm still on my rooted (kinda) 20a, I downloaded those files, extracted to SD card. Went into recovery through magisk and got that password deal. Hadn't gotten that before (this is a backed up 20a) Didn't wipe anything but of course it didn't want to install still unable to mount error.

I think it may just be easier to do it the long way for me. Start at 0 and see how it plays. But your saying your still getting the error after your fix?

Probably gonna try anyways just curious

Ps.

If it's still encrypted I have aex to flash so I'm thinking I'll have a working recovery without mounting issues and fp use. Which in the end is the point right?
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Password field means encrypted. In order to flash to storage you have to mount it, so youll have to format your data and reboot to recovery. I have not been able to disable encryption since the first time i rooted the phone. I have no idea what i might have done to disable it, but yeah, you're going to get encrypted again until i figure out how to fix that.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Funny thing. So you read the post about trying to restore the lady stuff not taking. So I flashed that stock zip and it wouldn't bit to recovery like it shouldn't. But all my apps where still in there.

So I figured go for that do mode recovery and am looking at it right now.

Thinking I can get away with flashing the 11g at this point
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
11
[T-Mobile LG G6 Guides, News, & Discussion] Stephen30:
Thanks! That works for me!

I recovery the stock download mode by these steps!:)
[T-Mobile LG G6 Guides, News, & Discussion] televate:
Anyone else having issues downloading the 11g KDZ firmware? The link provided times out when it reaches 72%, and never goes past that. Are there any mirror links to the KDZ?
[T-Mobile LG G6 Guides, News, & Discussion] The_Anomalist:
It did that to me as well just let it sit there it will finish eventually.
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
Since I was able to get the twrp from them, does flashing .img to recovery work? Does the laf twrp img flashing work?
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Can somebody confirm the size of that download?

I think I got it last night (I just let it pull the file while asleep) ended up being just over 2gb.

Just checked its 2.71gb to be exact
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
That sounds right ;)
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I'm thinking so also because I've just tried to pull out again and I'm getting that (1) you get if you've already downloaded something.

Another question just came to mind. That twrp that's posted by somebody other than the op.

@ MudaTrucka Is that for the H872 or for that person that had bricked their phone?
[T-Mobile LG G6 Guides, News, & Discussion] KAsp3rd:
I had to reboot twice to get mine to mount. Are you checking the allow system modification box?
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
I checked mine and it was 2.7. The one I just posted is for the H872, the only problem I've found with this recovery is it doesn't mount the SD card
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Interesting,

I was having an issue with trying to download the recovery posted in the op. Didn't have my Linux hat on though and totally brained out about it and repos and all that with Linux so I ended up pulling the version he says to use from twrp itself.

Then the light went off and I realized I probably wasted my time going through that. Lol...
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
I don't think you even have to download the recovery, it's already there
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Once I started reading the commands he posted and saw what's in that repo referenced it dawned on me.
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
Well assuming you have everything ready make sure you actually do follow word for word look like it says, pull the cable right as it starts flashing "xbl" and after that you should be fine
[T-Mobile LG G6 Guides, News, & Discussion] televate:
Any chance you can mirror the firmware somewhere?
[T-Mobile LG G6 Guides, News, & Discussion] MudaTrucka:
Is the link in the OP not working? If not yeah I'll do it in a lil bit after I plug my laptop in
[T-Mobile LG G6 Guides, News, & Discussion] televate:
It seems to work at first, but gets stuck at 72 percent and never finishes. I would greatly appreciate it if you could.