yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludodo:
Thank you for your explanations

However it did not go well ...

I'll try to describe precisely what I've done and what happened

Before to start, I recharged my phone to battery to 100%.

I have used TWRP to :

1. Wipe / Format Data / "yes" : the script concluded it was a success , no error message (I went to step 2. using the "back" button", I did not reboot before going to step 2)

2. Install / LG-H85030f-Flashable.COMPLETE.zip : the script concluded it was a success , no error message (I did not reboot before going to step 3)

3. Install / UPDATE-SuperSU-v2.82-20170528234214.zip : the script concluded it was a success , no error message

4. Reboot System : TWRP offered me to install TWRP app : I denied

What happened :

The phone rebooted displaying a new message : "Your device software cannot be checked for corruption. Lock the bootloader. Visite this link on anoteher device : g.co/ABH. Press the Power key to continue / to pause boot. Your device will boot up automatically after a while."

It looped 5 times quickly and then got stucked on the LG logo for ages : I waited 120 minutes and then I went to sleep. This morning when I turned the phone on, same process : several loops then LG logo. Then it shutted down : the battery was empty.

The good thing is I can still access TWRP and I am actually recharging the battery.

What should I conclude ?

- did I do something incorrect ?

- is the LG-H85030f-Flashable.COMPLETE.zip not compatible with my phone ? (the ROM previously installed on it was Marshmallow 6.0.1 --> should I install a Marshmallow ROM instead of Oreo ?)

What can I do ?

- do the process again with the same LG-H85030f-Flashable.COMPLETE.zip ?

- do the process again flashing another ROM.zip with TWRP ? (how can I confirm the ROM will be compatible with my phone ?)

Thank you in advanced ! :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludodo:
Thank you [MENTION=2602248]ilyadan[/MENTION] for trying to help me (if you still have spare time ton consider my issue ... thanks trying to help again :) )

I have tried many things on my phone for the last days. As a result :

--> I have flashed in TWRP the LG-H85010E-Flashable.COMPLETE.zip then no-verity-opt-encrypt-6.0 and SuperSUv2.82

My phone is booting again in only one loop (youpi !) but still get stuck on the screen "Encryption in progress".

Given the fact I have flashed a ROM I do not understand why I still get this message.

I have got the impression that I am not doing something properly in the process of flashing SuperSu or no-verity-opt-encrypt (I swear I read a lot of informations on the internet about it ! Some say you need to

Format

Data first, some say to Format Data as a last step of the process, some say you only need to

Wipe

Data before to flash, others to wipe Data and Cache, some say you need to Wipe Cache and Dalvik after flashing ...)

Anyone can help to get rid of this Encryption issue or simply get a ROM to run on my phone by any proven method please ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludodo:
Solution found here !

https://xdaforums.com/lg-g5/how-to/solution-encryption-unsuccessful-format-t3931259

using an old version of TWRP saved my problem.

Hope this will help someone else

thanks to xda forum
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] BBCAtomic:
Hello, I would like to confirm my doubts that bothering me. Is this working with Oreo V30f? I wan't to root my Phone badly!

I am using LG G5 H850. Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Ludodo:
Hi

I have not tried again to flash oreo v30f on my H850. If you or someone do so I would be interested to get your feedbacks as well as any detailed procedure to do so ☺

Thx in advance
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] BBCAtomic:
I'm using v30f and its very stable right now but I have not yet to root my phone. I dunno what twrp version are compatible. :confused:

If you want to try 30f you can download the flashable zip see the post here and the procedure here in this link Flash 30a first then flash the flashable zip 30f and your done!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kira349:
Hey, I am stuck after flashing twrp, my volume down key is broken so I can’t load into recovery right after flashing, if I boot into system and then reboot into recovery using adb the stock recovery is replacing. Writing fastboot boot twrp-version.img saying error after showing boot.img download. So does someone have a solution how to boot into recovery from fastboot? ‘Cuz I don’t have a chance to fix the broken key now
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jofa news:
Just use

fastboot boot twrp-x.x.x-x-h850.img

or any other Image e.g for h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kira349:
Yeah I’ve tried it many times, it says error unknown command. I am assuming it’s because I have oreo, someone suggested to downgrade into nougat, I’ll try again if that works let you now, thanks anyway
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jofa news:
I installed TWRP under Nougat and then changed directly to LOS 16 (Pie).

I always manually updated TWRP without fastboot.

I'm sorry
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] neotwrp:
unlocked LG G5 H850 delete TWRP when it was installed (Ubuntu)

unlocked LG G5 H850 delete TWRP when it was installed (Ubuntu)

It has his 2016 original driver

With SDcard I think is another way, but is a simple copy and paste file with Ubuntu?

---start---

dd Install Method (Requires Root):

Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:

su

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

---end---

source: twrp me lg lgg5h850 html (I am a new user and I could not post outside links in my messages)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kkscr:
Can I use `fastboot boot twrp...img` on LG G5 to recover data ?

Hello,

I forgot my pin and I can't run `adb` ( USB debugging disable behind screenlock ).

I would like to recover data, I was wondering I can boot to twrp without overwriting my user data using `fastboot boot twrp...img` ?

I tried with different twrp image ( 3.4, 3.3, and 3.2 ) and got the following error :

Sending 'boot.img' (21100 KB) OKAY [ 0.753s]
Booting FAILED (remote: 'unknown command')
fastboot: error: Command failed

Otherwise I heard I could boot to twrp by booting on the factory reset option and click `hard reset`, and this should boot to twrp. But look very scary to me. I installed lineageOS on this device with twrp but it was long time ago. How can I be sure twrp is still installed on my device ? If lineageOS is installed does that mean that twrp is also here de facto ?

Thanks for your help.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I think so, that or Lineage Recovery if that ever came with LOS - in any case, anything custom will probably ignore that hard reset command. I don't know for sure, and I was also puzzled when I first unlocked the phone.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kkscr:
Well I though that too, but it did erased all my data :( . So not all custom ignore the hard reset command
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
Sorry about that :( that's good to know, though, hopefully nobody else will fall for this
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] GalaxyS3only:
Hey!

I got a problem with TWRP 3.3.0 & the newest 3.4.1 on LG G5 and LineageOS 17.1:

TWRP can't decrypt my encrypted /data partition, password is right, but it says always wrong...i reproduced this error on other G5s...

This happens also if i do a OTA-lineage update: update works even with encrypted /data partition, but after that my magisk installation was broke and i can't un-or reinstall it because TWRP can't decrypt and Magisk can't handle it.

1. Somebody know a workaround to decrypt /data in twrp?

2. Anyone an idea how i could repair my magisk installation? It won't work in the app and because of the bug not in twrp atm...

Could a change to lineage recovery help? If yes, how to change from twrp to Lineage recovery? Is that possible without dataloss?

THX and GreeTz
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
like the above poster the unlock and install process went perfectly, up to the point of pulling the battery and booting back into twrp to install supersu, after rebooting once supersu was installed my phone keeps booting to a screen that says Encrypting with a box that says reset phone. this encrypting process never finishes (i've left it for 4 1/2 hours) and no matter what i do i can't get the phone to boot properly. is there any way to fix this?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
Great working with internal Data and i have also a full working twrp recovery.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
sorry got something wrong, could be deleted
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
Which SuperSU version? Try 2.68 - available here.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
thanks for the help bud, it was SuperSU 2.65, i'll go try 2.68 just now. if this doesn't work i'll just remove the encryption but i'd rather avoid that if possible
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
Removing encryption didn't help. Same warning message.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
Supersu 2.71 working good.

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
no difference i'm afraid, i still don't understand why this is only happening to certain people, same with the stuck on twrp issue only happening to certain people, i wonder if certain carriers are changing things?

i just got mine to work, flash the no-verity-opt-encrypt.zip then boot back into twrp and go to 'wipe' and then 'format data' once that completes reboot to system and it will be back working, though with no encryption on the phone
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
Great to hear! Are you able to re-encrypt from settings/security?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
the option is there under settings/general/fingerprints and security, but as it takes a while i'll leave it until tomorrow to try, as i want a full backup made before i try to turn it back on. i'll post back tomorrow and let you know how it goes bud
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
I find re-encrypt for sd card but not for internal?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
Yep, it works !

Thank you !
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
LG G5 now on TWRP Server: https://twrp.me/devices/lgg5h850.html
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
yeah mine says the same, but the option is also there when I remove the external sd from the phone. I'll be trying this later today so I'll let you guys know if it works out
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ItBankRock:
Will the H860-N (dual sim variant) get some love soon? I just got my device but I'm not planning to root it until next year (which will obviously by that time load up the G5 development section).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolfgart:
no H860 Official bootloader unlock and in my opinion : wil never be released.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
Is there a reason why nobody already uploaded the stock recovery ?

I don't know how to do it myself, and already have flashed TWRP, but I'm surprised.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
probably too much in hurry to get it rooted (like me lol) to stop and think to pull the originals off, either that or are unaware of the procedure. hopefully someone will do it soon, maybe jcadduono could edit the OP with a request?

---------- Post added at 03:05 AM ---------- Previous post was at 02:54 AM ----------

turns out that this option is only for encrypting the external sd card, so without a stock image to flash back and then trying to install twrp and root again and hoping the encryption issue doesn't happen I'm stuck for ideas to try for now.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
You could try using vdc to encrypt; first you would need to set a lock screen password.

Then open terminal emulator (or adb) and try:

su
vdc cryptfs enablecrypto inplace "your chosen password here"

Be sure to back up your data to an external media, as trying to encrypt might make your device fail horribly and need a reset.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] ItBankRock:
But do you at least think there will be a possibility to root this Asian variant in the future? (1 year from now)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] travis82:
root yes, bootloader unlocking it so you can flash AOSP or a modified kernel nope. That's why I don't buy LG HK variant. I'll go and find the EUR variant instead.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rurupy:
h850 system recovery please...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Just got my G5 (H850) today. Bootloader is not Unlocked yet, but I can pull the Stock Recovery for You Guys, if you still want it. Just give me the commands... I'm new to LG but I'm experienced with ADB/Fastboot. I will also Release some work on this forum in the Next few days... (ROM Stuff)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
that's great news bud, there's instructions in this post here >> http://xdaforums.com/showthread.php?p=66503130

but maybe [MENTION=5672995]jcadduono[/MENTION] can chime it with the exact method start to end?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
don't use fastboot flash recovery twrp.img

just:

fastboot boot twrp.img

once in twrp, connect via "adb shell" and do:

dd bs=2M if=/dev/block/bootdevice/by-name/recovery of=/tmp/stock-recovery.img

dd bs=2M if=/dev/block/bootdevice/by-name/boot of=/tmp/stock-boot.img

exit adb

adb pull /tmp/stock-recovery.img

adb pull /tmp/stock-boot.img

then upload those =)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolfgart:
Great !
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lycidias:
Beta 2 worked good. Now I have flashed twrp-3.0.2-0-h850.img and I'm Stuck in twrp splash

Is it possible to flash images in android with flashify app for example?

Edit: just flashed back to beta2 with Rashr app from playstore. Works Great.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
are you sure you flashed twrp-3.0.2-0-h850.img from twrp.me and not the older one i had on my site?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lycidias:
Yes i downloaded twrp-3.0.2-0-h850.img from official twrp site
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
The boot command isn't working for me. Sorry... My Bootloader is now unlocked and TWRP is installed. Flashed SuperSU 2.71 and the no encrypt ZIP. Now is my G5 stucking at "Encryption runs". below that, there is a "Phone Reset" Button... What is the Problem here? D:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolfgart:
Hey J,

I have to tell you that when i made 3 days ago by me the :

fastboot boot twrp......

Trying to backup my stock recovery,

Answer was : unknown command.

In my opinion LG has closed this specific Boot command .

I'm no surprised of that looking what they have disabled on H830 fastboot ...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
The answear is right in this thread. Right there.

I had the same issue, and all is working fine for now. But you'll loose encryption.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
I have got my G5 H850 yesterday, unlock and TWRP fine but seems because I format and then WIPED all the partitions (incl. boot and system) before install SuperSU, it cannot boot any more...

is there any chance to force trigger the factory reset with TWRP/adb?

or can I flash a boot/system image from other H850 to save my G5 for now?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jcadduono:
errr, it's supposed to be backup all the partitions before flashy, not wipe!

yes, when someone posts twrp backups of boot/system you should be able to restore them without issues.

you would need to place them inside microSDcard at TWRP/BACKUPS/<your serial number>/

you can get your serial number in the TWRP terminal (below) or by viewing properties of MTP when plugged in in windows:

getprop ro.serialno

alternatively, you can just back up anything and it will create the serial number folder for you. ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
now it's very clear :p

usually I do backup, wipe & flash, but this time my fingers won the brain maybe because of the long waited excitement... and first time jumped in a new phone so early even without stock firmware available yet :D

can someone upload me a H850 TWRP boot/system backup, or maybe only the boot partition, can already lead to a factory reset from the firmware partition? :angel:: pls:...

really sad to see the G5 here but stuck... after 2 months waiting time :o
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Whats the diffrence ? Flashing SuperSU 2.68 over 2.71 and it will work? I think i can't do anything... No Firmware to restore, no G5 for me :rolleyes:

Same here Man! A Backup or even a KDZ Firmware would save our Ass! My System Backup does not work. So no need to share it here :( But i will kiss anyones Feet for a working Backup! :angel:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
Dude, did you read the whole post ?

So, reflash the no-verity-opt-encrypt.zip, then boot into twrp, go to "wipe", and format only the data partition. Reboot into system and you're done.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Yes, and I'm not done with it... Flashed SuperSU 2.71 also 2.68 , no-verity-opt-encrypt . Wiped DATA,Cache and Dalvik. Reboot and it still shows the Message :eek: No chance to get over it, i can use the Power Menü, the Back Key is available and a Button the Reset the Phone. It's my first LG Device, so i've no idea how to get it back working. Damn, i own this Device now 24hrs and it's allready bricked :laugh:

BTW. No difference to what I've done before ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Will start to upload a twrp system image for the h850, that saved my ass... Will take some time, since it is over 3 GB .....
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
He said that you have to format data, not wipe it, wipe and format are to different things
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Whoa! Thanks for sharing it! You're our Hero!

My Internet Connection is slowed down to 250kbs. Will be a pain for me to download it but anyways... This will save us!

Can You also upload a Boot Backup? Will have just 16MB or so...:fingers-crossed:

---------- Post added at 15:00 ---------- Previous post was at 14:57 ----------

Edit: You can also use this app here to share the boot.img with us. Which will give us the ability to flash it with fastboot.

https://play.google.com/store/apps/details?id=com.gocshare.flashrecoveryboot
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
That's the point.

I did the same mistake, but following exactly what is mentioned did the trick.

So when you go in the "Wipe" menu of twrp, use the button bottom right, that says "Format Data", and don't swipe to factory reset or go in advanced wipe menu.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Sorry..
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Yeha, thats it... Works for me too. I've not read correctly...

NP, can You do it with TWRP? Or fastboot? We have no Option to Un-Root Systemless SuperSU without a Stock/Unmodified Kernel... The lack of Software sucks hard on the G5, but i really love this Phone! I'm Looking forward to the Development on it... First Flashable Stock ROMs come soon, and with that we will have no longer any Problems :fingers-crossed:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Can give TWRP a shot later. Upload started, but it says about 6 hours to be up, dont have a super fast internet here too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
Glad to hear that your phone is working back :)

Your data partition is now unencrypted, but the system launch.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
Thank you so much for the effort:good:!! cannot wait to have your files to bring my G5 back to life :fingers-crossed:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Yeha x) Thanks Man!

Only Problem i have is missing Sound Systen wide... No Audio Output on any Source :cyclops:

Waiting for Pinu'u's Backup here, which hopefully fixes it :fingers-crossed:

BTW. Any way to Reflash my Firmware with LG Bridge or LG Update Tool? Since i can boot the System it should work, or not? The G5 Download Mode does not...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RealLordK1:
His screenshot 4 posts above make me doubt :p

But someone will success, soon or later.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
At the moment it say 8 hours till finished.

Do you guys know a good place to upload files with the size of 2GB with faster upload speed ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Hmm, what about Google Drive? Dropbox, Box, One Drive... The Private ones are the fastet for my opinion :cowboy:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
or https://mega.nz/, it give 50GB free storage by creating an account.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Stock Kernel

Can anyone upload a TWRP Kernel Backup ? Mine is lost :rolleyes:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
you aren't having much luck with your g5 adventures are you lol :), I'll do one tomorrow morning for you if someone else hasn't done so before then
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Yup :mad: Feelin like a noob here...

I'm on Android since 2010, making ROM's and stuff for a lot of Devices in the last Years. Now my first LG, and it's just dead like a brick :D Well... I'm one of this learing by doing Guys. But this Devices makes me crazy, i hope there is coming a H850 KDZ Firmware soon... That will save all of us, and we can finally start with the Developing... (I will push also a Advanced Stock ROM)

But anyways, thanks for Your help Mate! Would be great if you can push it for me... Good that i have still my Nexus 6, saves my Ass :laugh: