yashsingh1/xdaforums huggingface dataset:
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] beaubin:
If you've successfully flashed TWRP, you can go ahead and confirm "Yes" when prompted to wipe your phone (you should have 2 screens asking you that), and if TWRP was indeed flashed, even you confirm the wipe, it actually won't wipe anything, but if the TWRP flashing has failed, it WILL WIPE everything (Factory reset the phone).

Just in case, backup all your data ! I won't be held responsible for your data loss!

And oh, are you from China (under your name there says you are with the Chinese flag)? If so, are you sure you have the European G6 H870? Cos if you have the Asian H870DS, you won't be able to do any of the following - bootloader unlocking, TWRP flashing, rooting.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ZkPro1991:
So I do have to wipe it? I will try again, I have all my backups in the google acc. :D Im chinese, but I live in italy... I bought my G6 on amazon, its regular H870 :)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gparodi1410:
Why twrp made a partial restore??? Some apps are restored and some others are not restored?!?!?!? I dont know if the problem occured during backup or during restore.

Furthermore in that partial restore Play Store return error 504 and I dont install nothing!

Why??? Ty
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
Having big issues backup and restoring.

I get

Failed to unmount '/system'(Device or resource busy)

When backing up "boot, system & data"

When I restore I get an error and have to flash a ROM and start fresh. Very annoying.

Any ideas?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] JoaoVr:
Can you put the date the last build was updated in TOPIC? So I can follow the updates?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] lewux:
same
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] gewecht:
I've had the same problem. If you have an encrypted the /data partition TWRP refuses to mount /system. I can't explain why it works out that way. It's really annoying.

What I've found as a workaround (which probably won't meet your needs since you're trying to do a backup) is to skip mounting /data (i.e. do not put in the decrypt password when prompted). When that happens, /system can be mounted in +r or +rw mode.

Regardless, it drives me crazy every time I need to go into recovery!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basmeuter:
I can't find format data in TWRP, it's not there when pressed wipe. What can I do?? LG H780

PLEASE HELP

TWRP can't find internal storage (in file manager it does though)

System now shows LG H782 after the unlocking...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] chaos90222:
in wipe option
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basmeuter:
... Eventually it appeared to be a bad twrp file, so I flashed the right one
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basmeuter:
Me too, on latest twrp, failed to unmount /system

Can I flash an older version where it works or wait for next update?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] lewux:
basmeuter

try this https://drive.google.com/open?id=0B4kmCwjexcqvYlo4UVQzMC1TV28
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basmeuter:
Part 1 is flashing the recovery? Can I do that from within the recovery I have now and won't I lose data and rom running on my phone now?

Thanks! I just flashed the image and tried to backup, no error :D! Thanks!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] 5ne1ke:
So the official one can be used on US997 or not?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] raymund08:
Will this work on H870DS?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Velrix:
This works perfectly fine for my US997 on 15a.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] 5ne1ke:
Thanks for replying. Are you on stock or you flashed a custom?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Velrix:
Stock 15a, this TWRP, No-verity flashed with Magisk.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ahk31:
Does anybody know a fix for the incorrect date and time in TWRP? I was not able to find a working solution.

Here is the error I'm getting when I am trying to set the date/time in TWRP Terminal:

PS: This is on latest twrp-3.1.1-0-h870 from Jul 27, 2017.

PS2: I have forgotten to mount system. Now there is no error, but date/time can't be changed.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ErickG233:
It can't mount my 256g tf card(exfat) and it said invalid argument 。then i unpacked it and replaced the recovery.fstab。(i add the chinese too ) now it works great :o

I have uploaded it to mega

mega. nz/#!z4kCEaK Y!Uoqaz_rRP-1_H3az472uFr4ygxueccI 5KhTiRHjIpAI

(Sorry for my English)

---------- Post added at 01:03 PM ---------- Previous post was at 12:52 PM ----------

you shoud reboot to recovery again then format the system and you can flash rom;)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
This is not my issues... I can flash ROMS fine and have no issues there.

My problem is backup and restoring that backup.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] volteretero:
I have the same problem and I do not know how to solve this

Enviado desde mi LG-H870 mediante Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
I restored once with no issues.

Well it said it failed due to error but was all fine. Weird.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ErickG233:
i see, you just reboot to recovery again then you can backup or restore. This method works for me,i hope it could help you.good luck！ପ( ˘ᵕ˘ ) ੭ ☆(i know your issues but i don't know how to reply you(•̩̩̩̩＿•̩̩̩̩)it's my first time to use XDA)

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

Well, here are some issues i have encountered:

1 when i finished formatting system (it couldn't unmount system,but it could r/w)

2 when i finished backing up system,it couldn't unmount system

3 it shown failed to restore when i restored data(but actually it restored,but it couldn't restore dalvik-cache)

these are my issues,i don't know which one you have met.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] THERAJ12:
flashed this as instructed on US997 carrier free and it sticks but when I go to install a rom for US997 it says I have an H870....I did not see a US997 specific version on the links provided...any thoughts?

-edit - rashed version seems to work
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] adrin.jalali:
:good: saved my day!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] crabnebula:
You can't unlock the bootloader on that version and therefore you can't use a custom recovery.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
Restoring does not work.

Also its really Buggy sometimes you can't get rw on system... Need to reboot try again read only switch back and forth...
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] darkruby:
I can't get TWRP to stick around,

I'm following the instruction to the letter:

reboot to fastboot, flash recovery, hold power + vol down until I see logo (btw Logo appears twice, once immediately after reboot, then unlocked bootloader warning, then logo again) I release power, but hold vol down - it boots straight in to OS ...

--------------------

edit:

ok, answering my own question:

How to boot into recovery:

Power off the phone

Hold the Volume Down

While still holding Volume Down, hold the Power button

Hold both until the LG logo appears

When the logo appears, let go of only Power for a brief second

Continue holding both until Recovery appears
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Bubblewhip:
Can confirm on my 997. Restorations does not work. Do not depend on it to actually do any backups.

"/system device or resource busy" When trying to recover System partition

"extractTarFork() process ended with ERROR: 255" when trying to recover data partition.

Not much point in having a recovery when it can't recover anything.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] darkruby:
Is any one looking to fix backup/restore issues we are all having?

Also the link given above

where is it coming from, how safe is it to flash it?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
I doubt it, custom rom support etc is just **** for our phone.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] kimitza:
Found out a problem. Or it may be just me. Flashed stock 10T with lg up,then tried to flash twrp. Got the encrypt password issue and couldn't mount /system and /data. Flashed 10F, followed the same procedure, all ok. So,maybe they changed something in 10T? Could anyone try to replicate this? Thank you
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
3.2 released and working on h870.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] K3V1991:
Link?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
https://www.xda-developers.com/twrp-3-2-0-released-android-8-0-oreo-zips/

I used twrp app. Downloaded and flashed. No issues. Running 3.2.0
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
and does recovery work now? someone tested?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MagikGab:
Hi guys, I have 3 things to ask:

1) For making TWRP stick installed, instead of flashing Magisk (after bootloader unlock and data formatting to remove encryption), could I make a full nandroid backup (old habits) then flash directly a custom ROM like FulmicsOS?

2) Has the newest TWRP version issues about restoring backups (like I read in previous posts)?

3) Maybe this isn't pertinent with TWRP topic but... After I unlocked the bootloader and installed TWRP, could I directly boot into recovery with ADB commands instead of using "power+Vol -" buttons?

Thanks in advice!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] deep_freeze:
Can somebody confirm if it's safe now with twrp v3.2.0 to use the updater in lineage os? This twrp boot loop prevents me from updating my phone. (If not, is there any other fix for this issue I possibly missed?)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] darkruby:
3.2.0 still has the same issue: Failed to mount /system (device or resource busy)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] basicreece:
Yep same issue. Unable to backup and restore. Such a headache!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] morrga:
Has anybody already tried

twrp-3-2-1-0-hs870.img

??
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] darkruby:
confirming - unmounting system error persists

also, which Telegram channel are you referring to?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MartinIrrelevant:
Did one of you guys a format data wipe ? I mean the wipe option where you have to write yes to confirm .... This means ... EVERYTHING of the whole storage (phone memory gets wiped) (+system ...)

This option fixes (for me) mount issues who possible are caused from device encryption...

You have to restore a backup or install a rom, because after the wipe system and your data doesnt exist anymore :D

And .. if you want sticky twrp + stock rom without root flash the stock .kdz zip (in twrp and after you wipe everything)

Im not responsible for device bricks ;)

https://www.google.de/amp/s/xdaforums.com/lg-g6/development/rom-eu-lg-h870-10t-rom-t3654134/amp/

This is h870 eu 10t stock firmware. Search your version.

This rom safes twrp from getting wiped after the first boot... Or you flash magisk...

Im using twrp 3.1.1-0 (?) And this works perfect ... Of course there are some small issues.. but .. the major and impotant parts of the recovery works.:)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] zefie:
I believe there may be an error in the "Format Data" option. I'm not sure if its unique to the US997 variant of TWRP, but I know that one is based on this one, and been seeing talks about Backup & Restore not working on either model.

On my US997, backups restore, but fail on data. After some sluething I found that the "Format Data" option is creating a corrupt/broken format. TWRP is formating the /data partition in such a way that leaves it corrupted. Unmounting and running "e2fsck -f /dev/block/sda19" (assuming /data is the same over here) immediately after formatting will find and fix errors, which will then allow a restore in the GUI to complete successfully.

Could J0SH1X or nima0003 take a look at this? Thanks.

Edit: This was on 3.1.1, as I do not know of a 3.2.x for us997.

This seems to be fixed in 3.2.1 from Telegram.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jackthedipper:
Is it possible to keep encryption and gain read/write access with twrp or is it required to remove encryption for that?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Resync:
Can someone please upload the other version?

I don't want / have telegram.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ST Dog:
Delete
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jackthedipper:
Does anyone know that? And yes, would be very nice if someone could make the telegram-only version available. Thank you very much in advance!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] zefie:
See attachment.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jackthedipper:
[MENTION=759634]zefie[/MENTION]

That version works like a charm. Many thanks for sharing!

(sidenote: the original version didn't work correctly with decrypt and magisk for me, the telegram version does. \o/)
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Tatsuyamoto:
sorry to bother you but what is the button combo to boot from fastboot directly to recovery ??

thanks in advance
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] LordSimal:
Got a problem with the newest software update coming from LG (V11G)

Did following steps:

* Already have an unlocked bootloader

* Upgraded my phone with uppercut to "V11g-OPEN_EU"

* Reset all my data through default Recovery

* Got into Fastboot mode (with command "adb reboot bootloader") and successfully flashed twrp 3.2.1.0

* Rebooted my device with the button combo (holding down "power-button" + "volume-down" for a few seconds)

* Still holdind those 2 buttons till LG Logo appears, release Power-Button and press-holding it again to access recovery

* To my surprice the default Recovery shows up and not the TWRP Recovery

Whats wrong here?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
Something you've done, try again.

No problems on 11G here
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] LordSimal:
Im dumb, im really, dumb

Read through the unlock bootloader and root guide here

https://xdaforums.com/lg-g6/how-to/official-lg-g6-bootloader-unlock-t3614719

and seen, that you have to click through the "default recovery" to get to the TWRP Recovery.... thats what i was missing
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MacLaughlin:
Hi!

I just unlocked my bootloader and flashed TWRP. Sadly I'm not able to make a backup. I get the notification that /system (or something like that) cannot be mounted. I flashed the newest build of TWRP. I also formated data but the problem persists.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] two_handed:
That's a common problem which many users face. Which version do you use? The telegram one?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MacLaughlin:
Managed to find a solution for it. Used a different version. Some with a purple interface. Don't know the name anymore.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] droidsometimes:
Hi,

are you sure you attached the right archive?

Because that attached TWRP image has the same md5 sum as the one available at dl.twrp.me which I downloaded on 13th december.

(yet another H870 user here, suffering the '/system busy' problem when trying to update LineageOS to latest Nightly)

BTW, as a workaround, in TWRP, I killed (-15) a running 'logd' (after renaming the binary so it couldn't respawn), and then I could update LineageOS without losing root and without losing OpenGapps.

On various tries before that, phone was always unusable after update because Lineage su and OpenGapps were gone - but that's old news I guess.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ST Dog:
Interesting.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] zefie:
Can't say I'm 100% sure to be honest. Though I don't have much of the h870 in my archive, that was the build I seemed to have saved.

I've released an unofficial TWRP for both US997 and H870 in another thread, might be worth checking that out.

I normally wouldn't advertise my work on another thread, but until TWRP makes some changes to their code, my fix for the date/time issue could never make it into the official release.

Aside from my hack to fix date/time, a small hack to make TWRP and exFAT work with my kernel, and a custom re-tinted theme, its pretty much the current source base and would be the same as official.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jose_barradas:
Hi guys! Can anyone tell me if recovery for h870 is compatible with h870ds? I have the g6 h870ds 64gb quad dac, and i wanted to put him a twrp and a custom rom
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
H870DS has no bootloader unlock, this means no modding at all (no root, no custom recovery and no custom rom).
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] em06047:
TWRP Bootloop

Hi all,

First of all I want to thank this great community for all the info / tweaks for our LG G6.

All of a sudden I cannot access the TWRP recovery. When I boot into TWRP i get some sort of a bootloop in TWRP itself (TWRP logo screen starts blinking) and it stays there indefinitely. I tried reflashing TWRP through adb but no luck. I already made some research around xda but couldn't get a straight answer on this (maybe should have looked more).

If anyone knows how to solve this please let me know :).

Just for info I'm using Stock ROM(v10t), and all is working fine besides TWRP.

Thanks!
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] kimitza:
Format /data and then reflash the rom you are using. Don't forget by formating /data you will lose all your files.

Trimis de pe al meu LG-H870 folosind Tapatalk
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Zetup-EXE:
Hi there,

switched today from my beloved Galaxy S2 (with Android 7.1.1 Custom Rom) to the LG G6 H870 with V11g-EUR-XX Rom.

Everything worked fine, like install TWRP, Magisk.... except the System failed to mount thing in TWRP (use latest one 3.2.1.0). So i tried some experiments,

as i won't delete System and reinstall it just to get rid of the encryption thing. So here is what i did and what worked for me. Although u read very often that it is enough to flash SuperSu or Magisk for staying TWRP, u still need the "no-verity-opt-encrypt" file from here: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ (i used ver. 6.0) to prevent encryption.

Need working TWRP! Within TWRP do the following:

- Go to Wipe -> Format Data -> Enter "yes" and confirm it (Blue Button below right)

- Reboot again into Recovery

- Check whether you can mount System now (Mount, choose "System" if it stays marked, fine)

- Back to install section, install no-verity-opt-encrypt zip file

- Within the install section install Magisk

Thats worked for me, maybe it will work for you.

cu..

Zetup-EXE
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Kashkool:
Dears,

I'm start to Unlock the Bootloader for my device so I can install twrp following this steps:

https://appuals.com/officially-unlock-lg-g6-bootloader-install-twrp-root

So I can later flash the Fulmics Rom 3.0.

After going through the painful bootloader unlocking procedure, the process failed at the last step, emailing the unlock bin from LG, with the message "Unfortunately, your device (UAE) does not support unlocking the bootloader.

Anyway to bybass this step or change IMEI?

[IMG="imei"]https://photos.google.com/search/_tra_/photo/AF1QipMD-fYxyKuB29jEuGt4vuKTB6fiJBBJcSL75opZ[/IMG]
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] AsItLies:
Unfortunately, no.

The first step, in the directions you followed:

Requirements:

European LG G6 H870 or USA carrier-free US997

It does not appear you have one of these 2 phones?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MuttleyMB:
Hello everyone,

I just unlocked the bootloader of my G6 (H870) without any problems.

But now I find myself totally unable to access the recovery.

I tried multiple times flashing 3.1.1 TWRP but the only thing I can see is the green robot with the "no command" line.

Any advice on how to solve?

Many thanks in advance.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] andriyhar:
Don't reboot phone after install... because original room overwrite TWRP.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MuttleyMB:
Many thanks.

So, how can I access TWRP and flash LOS without reeboot and losing new recovery?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] andriyhar:
Power off, then start and hold button to load original recovery.

Then pres two time yes and TWRP will be loaded.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] MuttleyMB:
Now I can access only TWRP, everything I do it boots in TWRP.

I tried to install LOS and Fulmics Rom, wiped etc etc but nothing works. It keeps looping in TWRP! :/

What Can I do now?

Update: It looping in the LG's animation logo but with Uppercut I restored the stock firmware.

So now I wondering how I can install TWRP and a Rom like LOS/Fulmics without have the same problems of bootlooping.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] paabel:
What Rom do you have now? If you have 10T for example, format data, wipe dalvik, cache, install Magisk, reboot into recovery, and then install fulmics 3.

---------- Post added at 01:24 AM ---------- Previous post was at 01:20 AM ----------

"Everything worked fine, like install TWRP, Magisk.... except the System failed to mount thing in TWRP (use latest one 3.2.1.0)."

That happened to me too.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Gon Rouge:
If I were to unlock my bootloader and flash TWRP will it format my operating system? I just wanted to know because im iffy about doing so. Ive done it before but that was on a different device. If I were to do it what all can I do afterward other than root? Would it be worth it?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] TotallyGeeky:
Yes I believe it will wipe data. Once flashed, with TWRP you can do all the standard things, like root, flash custom roms, add hacks/mods, etc. Personally I run Fulmics 3.3 with Melina Kernel on my phone and it's definitely improved my G6 experience.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] ST Dog:
Unlocking the bootloader typically erased all data.

It's a security thing. Prevents someone for unlocking the bootloader and acessing your data.
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] Pino76:
Error

Hi, can you please fix the download link? I get an error at https://twrp.me/devices/lggh870.html:

Is there an alternative download link, please?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] andriyhar:
Try this one: https://dl.twrp.me/h870/twrp-3.2.1-0-h870.img
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] SantinoInc:
Thanks bro. Is the unlocking process and TWRP process difficult? How do you like this phone so far?
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] strikerdj2011:
unlocking is down to imei its easy same way htc does it i love the phone and i have came from s8 and a pixel
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] J0SH1X:
try this if its not working you have to be patient till friday

https://www.androidfilehost.com/?fid=673368273298967495
[LG G6 ROMs, Kernels, Recoveries, & Other Developme] jimbomodder:
Since I flashed SuperSU 2.82 on first TWRP and not wiped data Ive had no encryption issues at all, only issue I find is time zone, I'm UK so need to set it -6hrs with a 15min offset and that makes it 1 mine faster than the actual time.

Sent from my Nexus 6