yashsingh1/xdaforums huggingface dataset:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] QQboss:
How are you reflashing kdz? Thing is, that I am unable to flash almost any ROM somehow (error code 7). Today I was trying for whole day to KDZ to stock and flash everything from scratch.

I was not able to do it, bcs it was stating that this file is not able to ve used to refurbrish (uppercut and LG up).

After trying multiple recoveries and possible solutions, I was able to finally boot into stock with flashed .ZIP stock ROM. But, I am still not able to flash ROMs bcs the error keeps repeating.

1) how are you reverting back with KDZs? Since I am not able to.

2) anyone having od had same issues with error 7 and was able to fix it?

EDIT: I thought that it could be a problem with recovery, but one guy in Eliminater's AOSP thread fixed it by using KDZ back to Nougat. Did that, didnt work for me, will try again. Did not want to start OT, but I thought it has something to do with recovery. Thanks.

Thanks.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] pizza_pablo:
If this is an official TWRP for the US997, why is it not listed on twrp.me?

Only for H870 is listed.

https://twrp.me/lg/lggh870.html
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Because it's only for H870
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] pizza_pablo:
I thought I had found by searching the thread that this is for US997, also.

My apologies, I'm not familiar with LG, I'm just thinking about driving in and trying to figure out if any U997 can be rooted. I found one on Oreo and May 2018 security patch.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Us997 can be rooted. Best place to join is telegram chat group

---------- Post added at 01:06 PM ---------- Previous post was at 01:05 PM ----------

https://t.me/joinchat/FzTdQURW3-rdCeRrexIjlQ
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
You have to FORMAT data, not wipe it. Look in the recovery for the option. you will have to type "yes"

And then you won't be able to use encryptionuntil you flash and boot an official lg firmware via lgup
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] pizza_pablo:
Joined. Thanks!

Is the G6 ThinQ the same as the US997?

Is that forum just for questions and answers, and continuously scrolls, like a feed or can it be searched for research?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
If you need anything just quote me with [MENTION=6576153]jimbomodder[/MENTION]
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] kitelooper:
My bootloader is unlocked and i flashed twrp, i even see twrp screen after boot to recovery BUT after 2 seconds disappears and boot back to lg logo and reboot into system, i repeat this everytime and is always the same problem...Any solution??
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] AlDollaz:
Use this version of TWRP instead.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] KaiSa1:
I'm noob ,how to unlock bootloader, and root H872 Tmobile , thanks
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Rom:
Look at here: https://xdaforums.com/lg-g6/how-to/official-lg-g6-bootloader-unlock-t3614719
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] marcel259:
Hey by me it isnt working. i typed in bootloader mode fastboot flash recovery path to the img.

But after this i get a failure message and i cant start my handy now, after every restart im in the fastboot modus and cant get out.

I bought it rooted and i couldnt read the device id. Then i thinked okay it must be already bootloader unlocked.

But i think now its bricked?

Can anybody help me?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Which model is it? Need to get right bootloader flashed

Sent from my Nexus 6P
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tromzy:
Hi,

I spent most of my sunday trying to understand how Twrp and rooting work on the LG G6 device... I've been flashing and rooting Android devices for years but the G6 is such a PITA.

I am able to flash Twrp and boot to Twrp, but then I cannot permanently install it by installing Magisk, since the Magisk zip is on my data partition which is encrypted. I tried "1 2 3 4" and "default_password" as passwords as I read somewhere, but they don't work. I tried to FORMAT the Data and internal storage partitions but when I reboot to the Rom it gets encrypted again. I am out of ideas on how to permanently remove the encryption and install Magisk and permanently install TWRP. What did I do wrong or forgot to do ??? Thanks in advance.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] LLoTE:
I just straight up installed a new ROM that's one way to keep twrp or you can flash a kernel https://xdaforums.com/lg-g6/development/kernel-pre-rooted-rctd-disabled-dm-t3901803 this one it's pre rooted and for stock and it will keep twrp
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tromzy:
Thanks, but how can I install anything if I can't decrypt or mount internal storage, which is where zips and roms are ?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] LLoTE:
As i said just full wipe and flash a rom if you can't do that

And try this twrp https://xdaforums.com/lg-g6/development/twrp-t3828254/page24
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tromzy:
"Full wipe and flash a rom"

But there is nothing to flash if I wiped everything just before...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Chamelleon:
Just use my way, 1000% working. I use this after flashing any rom.

H870 Oreo TWRP without ForceEncryption - https://xdaforums.com/lg-g6/how-to/h870-oreo-twrp-forceencryption-t3853929
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] AlDollaz:
There is if you have the ROM on your SD card.

P.S. This version of TWRP is old. Use this version instead.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tromzy:
Well, thanks for all your answers guys, will try soon. Just a last question to be sure : I should use exFat as file system when I format /data and internal storage, right ?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Chamelleon:
No, you just have to format "data (media)" partition with default TWRP settings and then apply patch to disable decryption. Just do it as I described and all gonna be working.

Of course you can use newer Magisk, don't need to use 17.1. There is 17.1 because when I made this tutorial it was the latest version.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
Use a micro sd card or copy files to internal memory after formatting (you may have to reboot recovery to do the latter)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Vortell:
You just go into TWRP and then go to wipe them go to format data and type in yes. The thing is most TWRP kernels will allow you by to connect to computer through USB and use mtp. Aka drag and drop. So go into TWRP do your format then connect to computer and copy files over. If that falls to learn adb a bit. Pull up a guide there are tons of them. Assuming you have "rom.zip" on your computer you can use something similar to 'adb push "c:/Downloads/rom.zip" /storage/emulated/0/Download' command to copy it to your phone.

Use this TWRP.

https://xdaforums.com/lg-g6/development/twrp-t3828254
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tromzy:
Well I followed all your advice and I have been able to keep TWRP installed permanently, remove encryption, install Havok Rom and Magisk ! Thanks a lot guys !
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] dudeistpriest:
Official has been updated to 3.3.0. Has anyone tried if it now works on H870?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Vortell:
There is no real advantage for us right now... So why the rush.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] paul_zm:
I remember someone have tried, not work for stock Oreo,
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Atrate:
The recovery does work.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] dudeistpriest:
Official changelog for 3.3.0 states decryption updates. So... any word if the decryption of /data problem on our phones been solved? Anyone tried encrypting/decrypting yet?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Atrate:
Decryption doesn't work for me
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] xabzzz:
In this thread (the official one given by TWRP team for LG G6), I cannot see the TWRP upgrade into 3.3.1-0-h870.img	21M	2019-05-19 22:08:04 EDT as downloadble here : https://eu.dl.twrp.me/h870/

Does this mean that J0SH1X does not provide the new version ?

If so, this thread should be closed.

In case someone wonders, I tried the LG G6 TWRP V3.3.1 on a stock v20i version ... Unfortunately, it does not work ....

The version that worked for me was Eliminater74 as modded by RunningNak3d ...

And here it is : https://xdaforums.com/lg-g6/development/twrp-t3828254

Too bad ... for J0SH1X and TWRP Team ... and Thanks to RunningNak3d for his good job !​
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] eviv-bulgroz:
Hello,

I'm trying to install twrp-3.3.1-0-h870 on my: unlocked h870 following Maintainer: J0SH1X instructions.

Everything works fine until h870 reboots to recovery; It shows the TWRP logo for about five seconds then the phone reboots itself...

Any clue?

Many thanks

Patrick
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] AlDollaz:
Yes, install this TWRP instead.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] eviv-bulgroz:
Worked fine.

Many thanks

Patrick
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] 5unsh1ne:
I installed the new official TWRP 3.4.0-0 but cannot boot to recovery anymore. The device won't enter TWRP and will simply reboot again and load the OS (LineageOS in my case). Does anyone else have this problem?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] xabzzz:
Try to replace it with the TWRP given in 2-3 threads above yours ...

Or try searching for alternatives to TWRP ... built for LG G6 H870 ... One is fox "something" ...

Sorry for lack of infos, but I had no time to try these alternatives.

;)

By the way, any alternative ROM such as lineage cannot use LG Stock apps (such as camera, or bluetooth, and hence, except for security updates, they are a pain in the a... because they deprive you from the main feature for an LG G6 : its camera quality with LG stock APP.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] HandyE:
Hi. Same here!

Version 3.4 is not working (not loading into recovery).

I had to downgrade to twrp-3.3.1-0, which is working.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] hello_world.c:
Thanks, man. This should be in the original post - was driving me nuts!

Not being able to make TWRP persistent is a first for me.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Technology time:
Flash TWRP

Hello i have a lg g6 t mobile h872.i try root unsucessful, i try to install TWRP i download the android sdk software file then i needed to download the image file for my specific model when i search for my phone only one g6 was their an its h870. do you know which custom recovery software would work for my module.would the h870 international work athouh my model is h872
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] xabzzz:
I'm no geek, but ... I have a LG H870.

I know nothing about the H872.

You seem to be a newbie, and I'm a newbie too ... except I now have some experience.

My advice :

1 - check twrp.me site for h872 model compatibility.

2 - is your phone "branded" ? (it seems so ... Tmobile)

3 - is your phone unlocked ? (it does not seem so .... )

Check these 3 things and post your question again ...

Maybe, then, someone will be able to answer you.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] izmenar:
hi

I instaled this recovery, then instaled no-verity-opt-encrypt-4.1 , and then i sideloaded magisk 20.4 , because the twrp cand see the DATA partition, and i cand use a microsd card (damaged sim slot), i also created a folder on the system partiton with the Magisk zip, not to use sideloading again if i format DATA

The phone boots, works ok, rooted ,but the main thing that remains is than the TWRP cant see the DATA PATITION ( 0 MB).
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Funny... Because i have the internal storage decrypted in TWRP by rashed. Fastboot Flash TWRP, then flash SuperSu 2.82, reboot and done. To encryption.

I agree with you, exFat is far better than Fat32 and as soon as Official TWRP is released i will reformat to exFat, but my piont is, why bother trying this and that to make this TWRP work if we have a TEMPORARY solution delivered by Rashed97, providing you change file system of your external sd to Fat32 until official TWRP arrives and it should be any day now :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Well I have the TWRP from [MENTION=5646556]J0SH1X[/MENTION] currently, it runs fine for both internal and external, my external SD card is 126GB SAMSUNG. I used [MENTION=5197535]nima0003[/MENTION]'s TWRP first, failed at encryption if I wiped data. So I went back stock and started again, this time I ONLY flashed SuperSU 2.82 and rebooted, I didn't wipe anything. Booted fine but no internal. The I flashed [MENTION=502924]rasheed[/MENTION]s and got only internal, then I flashed the current one and both work fine, and no I haven't decrypted my device.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Funny thing, when i flashed J0SH1X TWRP i wasn't able to mount /System in recovery.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Which root system? Plus did you swipe to allow modifications
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Supersu 2.82 and yes, i did swipe :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Hmm, interesting. Seems everyone has a different experience with this device, did you ever flash stock recovery and factory reset then try again with TWRP?

Sent from my Nexus 6
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
My external SD card is formatted exFAT, works fine
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
You know that if official twrp will come its based on my device tree so feel free to compare mine and rashed and tell me what he got to make encryption work ? and I will add it but in my opinion the trees are identical with only one big difference mine was done from source and he ported g5 tree maybe its the kernel of you can get me g6 boot.img I will replace it with orginal one because my kernel is from nimas twrp, that would be very helpful

Gesendet von meinem LG-H815 mit Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
If you want to insult me okay do it but then wait for someone to grab this work up and if not and if you want to report a bug add logs or get the **** out

Gesendet von meinem LG-H815 mit Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Dude... Why do you think I would want to insult you? All i said was that for some reason i was not able to mount /system partition after i had flashed your TWRP. When and in what exact words that i said do you think i insulted you?? I have H87010H installed on my phone (polish carrier branded rom), maybe something to do with that, i don't know. I'm not a developer, but i respect every bit of devs work (see my replies in other LG G6 TWRP post), but i guess you are a bit to sensitive about your work. I did not add any log file to this post 'cause after flashing your recovery i ran into problems with mounting /system partition, so without thinking i just reflashed recovery that worked on my G6 before (rashed97 TWRP). AND THAT IS IT! I don't like wasting time since i don't have alot of it to spare, that's why i got my G6 working without digging into why your recovery doesn't let me mount /system partition. Like i said... Official TWRP for H870 should be out very soon, and big thanks to all you guys who helped creating it, congrats to you J0SH1X if your release becomes official (i will attach log file if the /system mount issue happens to me again). For now all i know for sure is that perhabs someone should look up a definition of a verb TO INSULT ;)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
This was a question with two answers one was if you wanted to insult me the other was if nor and yes I am a bit sensitive because when I did linrsge os for galaxy s6 I not got any thanks a got a big ****storm about being a kanger etc but we have good look for official reviewer asked some questions about my tree and then forked it

Gesendet von meinem LG-H815 mit Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
I get it, and it's good that you dropped Galaxy S*** in favour of LG devices, but you gotta chill out a bit... LG phone users are much more polite and laid back than the ones who use SCHEISSUNG mobiles and here no one insults another, people who know how to, they work super hard to deliver quality software (yes, that includes you) and those why don't quite get it, (yes, i'm in this group) wait and try to help as much as they can :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
[MENTION=5646556]J0SH1X[/MENTION] it's true, I've been Sammy user for years and seen a sh1t ton of Devs say screw this and quit due to the abuse,y phones were..... Galaxy ace-S2-S4 mini-S4-S5-note 4 then I went to current Nexus 6 and it was so much nicer, people didn't complain and Devs stuck with the ROMs they created. As for LG I can't say as the G6 is my first ever LG.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
lets play nice guys dont want mods closing thread

some have problems some dont but if you dont INITIALIZE TWRP: (for new phones) like your supposed to dont come complaining its not working if you do it the right way properly and it dont work then come and say its not working :)

---------- Post added at 06:49 AM ---------- Previous post was at 06:16 AM ----------

https://www.mediafire.com/?k8p8536mb3jxg3a

boot image if you need it [MENTION=5646556]J0SH1X[/MENTION]
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] piggarello:
And now.......CUSTOM ROM!!

let's focuse on it...

:)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
I have an appointment tomorrow for technics guy from Provider then I should be online between 12am and 6pm then I can look what I can do

Gesendet von meinem LG-H815 mit Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] murok9042:
I am currently using twrp by rashed97 but want to use twrp by j0shix. How shall I do it?

Is it enough if I reboot to the BL again and flash the recovery via ADB?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Mjuksel:
Yes. Or you can flash the .img file from within TWRP.

Go to Install , and press Image (on the bottom i think)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
Dumb question but this is only for the h870?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Yep

sent by the power of Nexus 6 on Resurrection Remix 7.1.2
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
If your lucky enough to own the 997 usa version thats noe got official unlocking via lg
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
Thanks for your response.i figured it out after i flashed it and it didnt work lol.guess ill just wait but atleast the boot loader is unlocked
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
what exactly inst working ?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
For All with decryption iusses pls try the version at end of op post
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
think he means he flashed it on the g6 997 usa unlocked as lg allowed it to be on the official unlock list
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
I have the us997 version was just seeing what happened
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
fire him over your boot img and he will knock up twrp for your device we just been talking about it
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
Yeah he messaged me im trying to figure out how to do that now.its pretty awesome the time you guys take to do this for us if not everyone i know i really appreciate it and thank you guys alot.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
all boils down to [MENTION=5646556]J0SH1X[/MENTION] hard work i am just a tester lol to make sure it works :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
Can i get the boot image out of a stock system dump?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
yes think you can not 100% sure

---------- Post added at 05:06 PM ---------- Previous post was at 05:02 PM ----------

am downloading 997 stock rom will try get boot of that
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gillim74:
Ok im downloading the system dump i already have the stock kdz.im just learning the developement part if things so bear with me again i really appreciate your guys help

---------- Post added at 08:36 PM ---------- Previous post was at 08:09 PM ----------

Ok i got the system dump what folder would boot img be in
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] nima0003:
US997 TWRP: https://xdaforums.com/lg-g6/development/recovery-twrp-lg-g6-us997-unofficial-t3629883
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
We made it offcial TWRP for lg g6 first build just finished will start work on US997 now
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Aid777:
I am stuck. I hope someone can help. I have unlocked H870 and flashed TWRP image "twrp-3.1.1-0-h870.img". Then I flashed the Magisk zip "Magisk-v12.0.zip" and started the phone. Magisk is installed, but when I clicked on it it went to the play store to attempt an update which it cannot do because it's not there. I then installed the apk for Magisk "MagiskManager-v4.3.3.apk". I was then able to start Magisk app but the phone was not rooted. I then flashed the uninstall zip in TWRP and removed Magisk and when I started the phone again, magisk was still there, so I uninstalled the app. i have now lost TWRP so need to start again, but why did I t have root? I am sure I have got the correct files from here.

One other worrying thing is that the internal storage displays 0MB in TWRP and so I cannot flash any zip from there, so use the sd card. Another guide I read states if this happens go to wipe and format data, but that sounds like it would format the internal memory and delete everything.

There's like 2 or 3 guides here for TWRP and root, is this the correct one?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] odysseus84:
[Solved] When I was asked for the encryption PW I had to cancle that and keep rhe system read only. After that I was able to mount all the partition... now I have to check for the restore caüability...

Hello guys,

I am not able to do a back up. It says is is not able to mount the system partition.

Does someone has tip?

thanks

Edit: I am using the offical version...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Aid777:
So you managed to root then and twrp stuck? what does the memory say in twrp for internal memory?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] odysseus84:
Yep, root works flawless... internal memory says 0MB but the external is okey.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
That's weired I had everything to test did you use a version from. Android file host or official version from twrp
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] murok9042:
[MENTION=4771012]Aid777[/MENTION]

After flashing magiskv12.zip and installing the magisk apk I had same problem like you did - no root!

I rebooted phone to twrp again and flashed supersu.zip - now I have root.

Sent from my LG G6 (H870)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
delete data deletes everything part from the os you need to delete data for it to work properly use su instead of magisk

---------- Post added at 12:25 PM ---------- Previous post was at 12:23 PM ----------

it will say 0mb till he deletes data