yashsingh1/xdaforums huggingface dataset:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] westwood24:
Not working. same as before.

trotzdem danke mach dir kein stress ;)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
same with me mate seems people with magisk thats got the problems

---------- Post added at 01:28 PM ---------- Previous post was at 01:26 PM ----------

can you go into bit more detail of what the exact problem your facing :good:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] westwood24:
encryption / decryption problem internal sd. ext sd working fine. with rasheds recovery from nimas thread internal works fine but ext sd does not.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
because rash build mate it optional to decrypt this build dont you need to do what i said few posts back and it will work
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] piggarello:
no problem here with encryption, formatted data and flashed magisk....
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] davidporter1010:
+1 :good:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] westwood24:
With rash's recovery, I am currently good. I wait until someone makes it right.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
mines not a fix its what you normally have to do now with all oems and one you decrypt it cant be undone if you want to boot a custom rom when they come you will need to do what i done or it wont boot

from twrp them selves >>>>

HOW-TO INITIALIZE TWRP: (for new phones)

1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.

2. Select "Keep /system RO". (Don't swipe right or you may not be able to boot into system if you failed to complete next steps. However, you can swipe right to allow modifications if you are confident that you can complete next steps.)

3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.

4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.

5. Download the latest dm-verity and force encryption disabler zip on your computer.

6. Transfer the zip to your phone.

- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)

- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".

- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.

7. Go to "Install" menu of TWRP and flash the zip.

TWRP is initialized and fully functional at this stage. Now you can either reboot into system or root, flash custom ROMs via TWRP.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Indeed, I said sod it I don't use bank apps and any other any there's almost a way round haha

Sent from my Nexus 6
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] drigerott:
For me works..data sdcard system all

Decrypted or encrypted

Nice job.... I'll wait aokp

I'm on last rom from autoprime and magisk 13 ...I tried also SuperSU and works too...

Backup and restore works too
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] vickolnr:
Can I ask one question?

it will work for DS version someday?

Can't wait to root this phone :laugh:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
if your boot loader get s an unlock then maybe :D
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Why deal with all those issues while waiting for official TWRP? All you guys have to do is flash the TWRP provided by Rashed97 in the other TWRP post in this section and format your external sd card in FAT32. that's what i did and i have fully working TWRP with internal and external storage readable, all partitions mount OK ald everything works just fine. Just move your files from your ext sd somewhere for a moment, reformat your ext sd to FAT32, move files back to ext sd and you're done!

DO NOT FORMAT to ext4 if you want to keep your external sd as a removable storage. If you decide to choose ext4 file system for your external sd android will auto mount it as internal storage.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tharock911:
hello

this twrp work with lg-h873?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tylerdurden:
Come on guys, unless the Bootloader of your Phone can't be unlocked, you won't be able to install TWRP or an other ROM.

Here is the list, which Phones are unlockable by LG:

http://developer.lge.com/resource/mobile/RetrieveBootloader.dev?categoryId=CTULRS0703
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
As here and if you take one min and look in rashed code you will see decryption isn't working aswell ? and you just can put cards over 64gb in fat32 and it limits files to less then 4gb so some guys just need exfat

Gesendet von meinem LG-H815 mit Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Pino76:
That was a fast reply, thanks a million!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ZinX09:
Hi, sorry to bother you but I get an error Failed to mount /system device or resource busy
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Gon Rouge:
Sounds good to me but im afraid that it will not work with my phone. 0_0 I rooted and done stuff like that before but im a bit iffy will it block me from certian apps and stuff? Not sure but anyways im prabably not going to root but at least run a different rom to improve my performance and things like that. Ill have to think about it. Btw what all roms are there for the G6?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] lordoftheflows:
Same for me, also see my post in the other TWRP thread.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MuttleyMB:
Try to reboot in TWRP. I solved this issue in this way.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mprovi_15:
Someone could solve the /system error, device or resource busy with twrp 3.2.1 or solve the encrypted data in 3.1.1?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Znuf:
Hi everyone,

I just get the G6 and try to install TWRP.

I have unlocked my bootloader. When i install twrp it seem to be good (picture) but when i reboot in recovery I have te original one and if i use the buttons (power+vol down) I have a screen to do a factory reset.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
You have to manually reboot to recovery with button combination, do the reset and TWRP will boot.

If the phone boots normally even once then you'll need to flash TWRP again.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Znuf:
Thank you. just do it and it works !
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DAXX:
Does this support the LG G6+ US997U?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Indiant:
Could you unlock the bootloader?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DAXX:
Not sure, I just ordered the phone.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Indiant:
Then forget the recovery. :(
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DAXX:
It does have oem unlock. I just enabled it.

---------- Post added at 11:12 AM ---------- Previous post was at 10:44 AM ----------

Doesn't seem like LG supports it... :(
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Indiant:
So you may could now unlock the bootloader manually. How you get an unlock file? LG unlock page not support the phone. (by IMEI)

8 tries and your phone is out. (I already got 1)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DAXX:
no luck...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
hey here is a update (unoffcial again, darn gerrit i still havent found someone who could teach me how to use it)

changelog:

Newest twrp version

Fixed LineageOS OTA Bootloop

Download
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Gaptain4:
Hey there if you could edit your first post and change it so ppl could be clear abt it
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] sm1ly:
I cant get fastboot, phone shows only wipe all user data... h870ds.

any suggestions?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] siggey:
On ds bootloader is locked and unlockable.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] hector2001:
Tested OK on LG G6 H870.

I don't get any errors like other versions of TWRP.

Thank you.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] clouds5:
I have trouble installing TWRP correctly. At least I guess that is my issue... Is there something I'm missing or doing wrong when installing it?

I use minimal ADB to

fastboot flash recovery twrp.img

then I reboot and use the power button to enter recovery, klick "Yes" twice to enter twrp. Then I'm in TWRP.

Then I formatted data partition to remove encryption and I can mount /system and everything. But I still cannot flash ROMs (tried different roms all result in bootloops even though installation went fine without errors) and I cannot flash Magisk successfully - always ends up with an error message.

Something is wrong but I can't see what!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Reboot back to recovery to flash anything
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] clouds5:
I did that. I rebooted recovery multiple times. No change still can't flash certain things.

Also sometimes the recovery resets...? You know how you have to swipe to allow modifications when you boot into recovery for the first time? But then you can tick the box so it won't appear the next time. That doesn't "stick" for me, sometimes!

I managed to flash SuperSU though which works nicely. So I have stock rom with SuperSU now. Not ideal bu at least the device is usable now :D
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] eleete0712:
Is it just me or is something wrong regarding time and date / timezone? My TWRP shows something like 12th January 2018 18:45 although the phone shows 1st May 2018 19:10 correctly.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
+1
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] zefie:
Since you are going unofficial, here are the fixes I had in my recovery. The link (if the anchor jump works) will bring you to the date/time fix, but there is also some extra code if you want to go further unofficial to offer to wipe the lock screen security settings that get foobar'd during restores.

If you are trying to stay official, a variation of the time fix might end up upstream at some point, I did make an issue on their git a while ago.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ghekua:
Im in H870 v11K, bootloader unlocked.

Every time I flash recovery successfully, type fastboot reboot recovery not work for me, fastboot boot recovery Failed. And when phone reboot, it boot to a screen like "cant look if the phone is corrupt...press enter to pause boot", then it did boot to the system as normal. Please guide me through how to boot into twrp, or I need to kdz back to lower version like 11I 11J?

Thank you guys in advanced :D
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
You have to manually boot in twrp the first time.

Keep pressed vol- and power until the screen goes off, keep pressed them until the LG logo appears, leave only the power button and quickly keep pressed both again until it shows a reset mode, there you need to do the reset to enter in twrp (if the twrp has been correctly flashed than you won't lose data).

After that flash supersu or magisk to make twrp stuck.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] wtel:
Cannot install TWRP

I am having the same problem too.

I got the phone unlocked, downloaded twrp 3.2.1.0 with gpg signature verified, then flashed recovery without error:

fastboot flash recovery twrp-3.2.1-0-h870.img
target reported max download size of 536870912 bytes
sending 'recovery' (21420 KB)...
OKAY [ 0.629s]
writing 'recovery'...
OKAY [ 0.213s]
finished. total time: 0.854s

Pressing power button or any key combo doesn't reboot the phone in bootloader, so I had to run

fastboot reboot

and hold volume down with power immediately.

When LG logo appears after warning that device is unlocked, I released only power button and hold it again. Reset mode appeared and I chose Yes twice. Data is erased and TWRP isn't installed. If I use the volume down-power key combo again, I only enter a screen with "No command" with a dissected Android bot in the background :crying:.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
You must not reboot to the bootloader, it's useless and rebooting deletes the TWRP and reinstall the stock recovery, just turn it off as i explainec by keeping pressed power and vol- until the display goes off, and follow the procedure, if the phone boots then you need to flash twrp again:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] wtel:
Thank you. After a while of trial and error, I am now able to boot into TWRP. The key is DON'T use

fastboot reboot

to reboot the device.

The reason that I couldn't reboot by pressing volume down with power button is that I did not disconnect the USB cable before pressing the buttons.

So the critical order is to:

Unlock bootloader

Enter bootloader (by shutdown phone, hold volume down and plug in the USB cable)

Flash recovery

Unplug USB cable

Hold volume down and power button to reboot (release power button only when LG logo appears and press to hold again)

After entering TWRP twrp-3.2.1-0-h870, I found the error

Failed to mount "/system" (Device or resource busy)

while installing ROM. Googled and found that should use Melina TWRP.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mrbeem:
Hi Josh :). Cluld you look into getting TWRP to work on H870 oreo? Atm after flashing via adb and rebooting with button combo it shows TWRP welcoming screen for a couple of seconds, then the phone reboots and restores stock recovery :/
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
can confirm it does not work with oreo

Please fix :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mariusz1972:
Confirmed that no working twrp for Oreo at this moment :crying:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
flash 3.1.1-0 to get twrp
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
will try thanks!

EDIT

works!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mariusz1972:
twrp 3.1.10 get ROOT Flash Magisk succes

Tnks works for me, get root on Oreo ,without problem flashed Magisk .:)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Mikes:
Are you able to flash modules? I can't mount /data with this version as well.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mariusz1972:
Hi. To make modules work, you must flash magisk 16.4 first 16.0 doasnt work. Android pay works well and youtube Vanced as well. :good:

---------- Post added at 11:12 AM ---------- Previous post was at 11:03 AM ----------

by the way in twrp 3.1.1.1 try to flash magisk 16.4 unmount and mount then try again must work for you as me.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Mikes:
Weird because I was flashing 16.4 from the very beginning.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] juntulis:
doesnt work with twrp-3.2.1-0-h870?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] mariusz1972:
Works for me with Twrp 3.1.1.0 only.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tgm28:
I've installed fresh oreo from kdz files, installed twrp (3.1.1.0) and I get (after booting into recovery) password box to decrypt data.

When I format /data to ext4 I get info that my data are corrupted and I have to do a factory reset.

It's like TWRP is not working with emmc file system, and oreo is not working with ext4...

Any ideas how to solve it? Please, help :)

Yes, I have unlocked bootloader

Yes, I can install magisk

No, I can't do any backup from twrp.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] cgdams:
Same here. I simply pressed Cancel to skip it, flashed magisk 16.0 (again ignoring the Messages 'bout the inability to decrypt and mount data), and it worked.

I'm rooted now...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tgm28:
Yeah, Me too, but I can't do a factory reset (wipe) :(

[IMG="bad"]https://i.stack.imgur.com/JDoqF.png[/IMG]

cuz I get this
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
Twrp successful. But won't boot into twrp.

It shows twrp logo then few seconds later just boots to system.

Any ideas? I need root.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tgm28:
I've founded info that these bugs are common in twrp + oreo.

Also there is a fix for Note 8 <== Here

Maybe this will help someone to create a fix for G6
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
How did you manage to root? I get a mounting error
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] daviss101:
So i flashed 3.1.1.0 yesterday but soft bricked my phone in the process trying to get twrp to stick after a reboot. I flashed a non opt verity patch from an old post but it put me in a bootloop so after flashing kdz i was fine but still cant get it to work..
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tgm28:
I did this like that:

1. Flash oreo rom from kdz

2. Flash TWRP via fastboot

3. Reboot to recovery by Button Combo

4. Format data as ext2, then format as ext4 (you may lose files in /data and internal storage)

5. Flash Magisk

6. Reboot to system

For me it works (except mounting /data in twrp after reboot to system, but it is a recovery<=>oreo bug)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] daviss101:
Ah okay im going to try those steps.. One more thing you could clear up for me is that iv seen conflicting statements that its vol - & power button after flashing twrp but iv seen its vol + & power for recovery so which is the button combo?

Many thanks for helping.. Was stressful few hours yesterday thinking i fully f'd another phone lol
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] tgm28:
Vol Down & Power
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] cgdams:
I did also get this mounting error, but i ignored it. I was rooted after the Restart.

I have to admit i reverted to unrooted since, by using Uppercut and the upgrade Option. My phone was very (very!) laggy when rooted, so it became an unpleasant experience to use.

Nice Thing was that the upgrade Option in LGUP did not delete my Apps and Settings, so reverting to unrooted was quite an easy process.

I will wait for xpirt now to perhaps release a new Version of Fulmics ROM (was using Fulmics 4.2 as my daily Driver before). Fulmics was (and will be) the best Option.

For the time being, i like using Oreo, even unrooted.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] clouds5:
Did you root with Magisk or SuperSU? And why do you think root made your phone laggy?

Works great for me with Magisk 16.4, but it would be great to have a fully working TWRP eventually.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] cgdams:
I rooted with Magisk 16.0

I have no clue to why my phone was so laggy afterwards, but i know that by simply reverting to unrooted it returned to normal Speed.

Perhaps I'll try Magisk 16.4 again.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] fusk:
Just flash magisk right after you've booted into 3.2 as you won't be able to afterwards, then you should be good to go.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jeidsoter:
use twrp 3.1.1.0 img file

https://eu.dl.twrp.me/h870/twrp-3.1.1-0-h870.img.html
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] asdfffas:
getting "waiting for any device" while flashing twrp
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] DJPRMF:
Make sure your devices is in Fastboot and is being detected (drivers, etc, everything must be right on the system)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] asdfffas:
My device was in fastbook. I installed several drivers, tried "platform-tools" and minimal adb fastboot, not working for me somehow. Can you maybe tell me what drivers exactly I need and where I get those, etc? There are different ones
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] asdfffas:
nevermind, got it to work FINALLY!! I had to install the drivers in the device manager. I clicked on the device in Device-Manager > update drivers > browse computer > let me pick a list... > clockworkmod > and installed to one with LG in it. Now no "waiting on any device" error!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jean0927:
is this compatible with H870DSU (LG G6+) :confused:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Rom:
Full backup issue

Hello @J0SH1X

I get an issue when i tried to make a full backup on my external sdcard.

I have open an issue on your git with the logfile, if any other logfile is needed, tell me.

https://github.com/J0SH1X/android_device_lge_h870/issues/2
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] blackhawk_LA:
I'm using latest version 3.2.2 and I'm surprised that despite the phone is encrypted, this recovery is able to read (and write) /data without asking for any password.

On the other hand, it still has problems with /system , not being able to mount it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
Heyas,

is 3.2.2-0 supposed to work with stock H87020b firmware?

Because the phone reboots after showing the TWRP splash screen.

Flashed it twice already.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Neophyte_TC:
Same for me, came from 3.1.1, flashed 3.2.2 and I only get the Splash screen and then it boots up normal
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
Yep same here it's broken. (H870)

I guess publishing something without testing is a thing now?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
Hmm. What OS are you guys running on your H870?

Because I wiped my LOS 14.1 and went back to latest stock, in preparation to do a clean 15.1-unofficial install.

And I thought that maybe H87020b stock firmware is too new or something.

Will try TWRP 3.2.1-0-h870 later, which used to work, at least with Nougat stock and LOS 14.1.

Edit/update:

TWRP 3.2.1-0 is also no longer working and gives me the reboot treatment after splash screen. :(

Will try to downgrade stock firmware to H87020a, to see if that fixes it.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
Nope, downgraded to H87020a, neither TWRP 3.2.2 nor 3.2.1 is working.

So I guess it's either waiting, or trying to go back to Nougat, meh.

I liked my G6 with LOS 14.1, and I wouldn't mind giving 15.1 unofficial a spin.

Definitely. I work in IT, and it's all 'rolling' and 'rapid' these days - stable/reliable is a thing of the past. :/
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
I ended up going back to the latest Open EU Nougat firmware, turned out that's a prereq for x86cpu's unofficial LOS 15.1 anyway. And that made latest official TWRP work again.

One thing I still have to do on each LOS upgrade, or I will lose root (and will have to reflash LOS addonsu) is:

After TWRP boot, go straight into terminal and issue

mv /sbin/logd /sbin/logd.old

killall logd

This fixes the system remount errors temporarily, also it allows me to flash LOS + Addonsu + OpenGapps in one go, without rebooting to TWRP inbetween.

BTW, the original maintainer of this TWRP: is he inactive?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ej_424:
I keep hitting the encryption issue. A wipe of data doesnt fix it, it just then says I need to factory reset on next boot which requires me to then use LGup to flash kdz file again and go through the pain all over. I treid 3 different versions both official and non officla for LG G6. So frustrating... what is the deal?