yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lukijs:
Yeah, that dient work. What I noticed was that i tried simple adb commands like reboot phone, when I teied them, I got the prompt adn everything, vould do them, but cant flash recovery etc. Still waiting for any device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] alexinc:
had exactly the seems difficulties... just checked, after enabling usb debugging on android and booting with adb reboot bootloader, device manager shows "android device" - "android bootloader interface". then fastboot and everything else works for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lukijs:
This worked finally, thank you.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] alexinc:
you're welcome. it costed me that many nerves to fiddle it out... ;) glad you can confirm it's working. guess it may solve lots of trouble for others too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] chintzle:
Hi folks, i have a problem that i couldn't install twrp... The new one 3.0.2-1 ADB doesn't find and the old one for Marshmallow gets an error while installing...

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.0.2-1-h850.img

error: cannot load 'twrp-3.0.2-1-h850.img'

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.0.2-0-h850.img

target didn't report max-download-size

sending 'recovery' (17524 KB)...

FAILED (command write failed (Unknown error))

finished. total time: 0.003s

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gwolfu:
re-check downloaded TWRP img file

might be corrupted

error: cannot load 'twrp-3.0.2-1-h850.img'
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Can we flash the new version from within the old one and will it work on CM13/RR 5.7.4 or is it only for Nougat?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gwolfu:
should be able to flash it within TWRP (I do recommend Flashify)

also this is not android version dependent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Well there was 1 release a few days ago made for N because the old one wouldn't work on it, so I figured I'd better ask.

Thanks :)

OK so I just flashed it but date + time are still way off ... date shows May 13th and time 19:38 even though it's only 10:16 :(

My system date/time is set to automatic and network provided time zone, so no idea why it won't show correctly.

Oh well, maybe next time ;)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] gwolfu:
well yeah as far as I've seen is that the date/time is the only noticeable bug left

backup went fine

restore went fine

formatting and flashing is good also

ohh and yeah, no more lag while flashing or doing backups

I do also notice a bit less heating while running operations

so yeah better
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
I never had any lag and barely any heat while running it, for me the date/time issue was the main reason for flashing the new version. Haven't had to do a backup/restore yet and probably won't until CM14 finally gets the CMTE and your RR includes it :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MetaIIica:
the Date/Time bug seems TWRP related, had this with my LG G4 H815 also so i think its not device specific

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PrinceLc:
Yes the date/time bug was on my old LG G2 too
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lolomin:
TWRP 3.0.2-1 and Nougat ?

Hi,

Just upgraded my G5 from v10e to v20a Nougat though KDZ.

Currently trying to install TWRP 3.0.2-1 from https://dl.twrp.me/h850/twrp-3.0.2-1-h850.img.html but can't succeed because every time I reboot TWRP does not seem to have been installed :

C:\fastboot>fastboot.exe flash recovery twrp-3.0.2-1-h850.img

target reported max download size of 536870912 bytes

sending 'recovery' (19068 KB)...

OKAY [ 0.433s]

writing 'recovery'...

OKAY [ 0.200s]

finished. total time: 0.636s

C:\fastboot>fastboot.exe reboot

rebooting...

finished. total time: 0.005s

Then after G5 rebooted if I do :

C:\fastboot>adb.exe reboot recovery

I have no TWRP available but the Android Recovery with No Command.

Am I missing something please ?

Thanks, regards !

Laurent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
#4 in OP
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lolomin:
Hi lordodin912,

Thanks for the info but already tried and got :

D:\Temp\LG_H850\Recovery>c:\fastboot\fastboot.exe boot twrp-3.0.2-1-h850.img

downloading 'boot.img'...

OKAY [ 0.423s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.445s

?

Laurent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] chintzle:
I downloaded it several times. Always the same message... :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] sickkside13:
Ill test for you i have a h830 and i was gonna ask you about your nethunter 7.0 kernel, is the kernel only gonna be compatible with stock rom or cm aswell?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lordodin912:
You re-flashed the recovery first right?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lolomin:
Here is the complete procedure I'm doing :

- Connect an USB cable when the G5 is running under Nougat.

- From the PC :

C:\fastboot>adb.exe reboot bootloader

so the G5 is rebooting to the Fastboot mode :

- C:\fastboot>fastboot.exe devices

LGH850e3bff00f fastboot

Then I run the following command to flash recovery :

- C:\fastboot>fastboot.exe flash recovery twrp-3.0.2-1-h850.img

target reported max download size of 536870912 bytes

sending 'recovery' (19068 KB)...

OKAY [ 0.443s]

writing 'recovery'...

OKAY [ 0.220s]

finished. total time: 0.666s

- Then to reboot into recovery :

C:\fastboot>fastboot.exe boot twrp-3.0.2-1-h850.img

downloading 'boot.img'...

OKAY [ 0.448s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.471s

But this one fails so I tried to pull down the battery as advised on another thread and boot directly in Recovery with Vol Down + Power but never succeed, the phone is always booting properly or sometimes asking if I want to do an Hard Reset :/

Regards,

Laurent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
Ok I'm sick of seeing your copy-pasted posts in like 4 threads now with the same problem, so here's a tip that I am surprised you did not already figure out yourself.

Dude you cannot do this:

It doesn't work. That command hasn't been supported in adb for like a billion years. I experienced the exact same problem and spent a bunch of hours searching google and looking through outdated threads and other bs on XDA and Android forums just to find an obscure article in google that the command was removed. This was like 9 months ago when I upgraded to MM.

Reboot into Recovery the old fashioned way after flashing. Google "LG G5 reboot recovery"

You need to just keep trying. It's really hard to get it to boot into recovery but eventually you will get it working. Watch a lot of videos and try and get the timing just right. You cannot force it to boot into recovery that way. It fails because the command is no longer valid. This is why we have modern methods like using flashify to flash recovery, or update from twrp directly and not through adb.

What you are trying to do WILL NOT WORK.

EDIT: Why can't you just do a simple 'adb reboot recovery' after flashing?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lolomin:
Hi leijonasisu,

Sorry for multiple paste but I'm just trying to understand why it doesn't work :/

So if this command to boot into recovery from fastboot is no longer valid, the OP should be modified and corrected I think ...

Concerning the "old fashioned way", on this phone (I'm used to Samsung Phones before) I have never been able to boot into recovery with the Vol-Down+ Power button method, it always leads me to the Hard Reset screen but nothing else :/ I can just remember that as you described, when I rooted the G5 a few months ago under MM this was a headache also to get into the recovery, I an't just remember how I've finally succeed.

About the Flashify, sorry but I need root to do this and after updating to Nougat through KDZ, I've lost root and recovery so basically I need to go on through the fastboot/adb method

About the "adb reboot recovery", this one is not working, I'm getting :

C:\fastboot>adb.exe reboot bootloader

C:\fastboot>fastboot.exe flash recovery twrp-3.0.2-1-h850.img

target reported max download size of 536870912 bytes

sending 'recovery' (19068 KB)...

OKAY [ 0.461s]

writing 'recovery'...

OKAY [ 0.229s]

finished. total time: 0.700s

C:\fastboot>adb.exe reboot recovery

error: device '(null)' not found

And so I'm blocked there ...

I'm simply thinking more and more that this phone is not for me : GPS hardware problems, problems to go into recovery :( will probably sell it and basta !

Thanks for your time and detailed answer. Will keep trying ...

Regards,

Laurent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
I will say this 1 time and one only.

Reboot to fastboot like you already know how to in adb. Or turn off the phone, hold volume down and insert the USB cable which is connected to PC, into your phone. It will boot into fastboot also.

Then flash the recovery like you have been doing. (JUST THE FIRST STEP, not the 'boot' step that I told you does not work).

LEAVE THE PHONE ON

Pull the USB

PULL THE BATTERY

Now... very carefully my dear frenchman :laugh:

Hold the VOLUME DOWN BUTTON... then

Hold the POWER BUTTON (at the same time as you are holding volume down)

As soon as you see the LG LOGO.

TAKE YOUR FINGER OFF THE POWER BUTTON ONLY, AND PUT IT STRAIGHT BACK ON(NOT VOLUME DOWN)

You will get the 'factory reset screen'

Select YES twice.

Voilá you are in twrp. Now you can eat croissants with a smile on your face.

Your problem was probably that you stop pressing volume down button too when taking finger off the power button for a second. Taking your finger off volume down makes it boot normally, no matter what you do.

Holding volume down keeps it searching for user input to boot into recovery mode.

P.S. I know it works because I just did it first time using exact steps above. I know some guides and videos are stupid and don't explain it properly. The key is not taking your finger off volume down, only the power button for a second.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lolomin:
@ Everyone, this guy above is the king !

Thanks a lot man, I've followed exactly what you advised on this procedure and with the video link you gave me on this thread : http://xdaforums.com/showpost.php?p=69818917&postcount=282 and everything was working like it should !

Like you say : I have never seen any tutorial, video or other posts explaining properly the way to do it like yours.

For my opinion, 2 important things to take attention are :

- Holding down the Vol-Down button and just hold off the Power button when LG logo appear and then pressing the Power button again until the Hard Reset screen appear.

- Then Select Yes to Hard Reset question two times (Yes for confirmation) even if it could scare some people like I was (because I was thinking the Hard reset/erase will occur) to get into TWRP !

Thanks again man for your time and efforts to help me. You're great !

Best (French) regards ;)

Laurent
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
My pleasure. Sorry that most of the guides and videos are useless and yeah it's stupid that even one minor deviation (like removing the wrong finger or being 0.001 seconds too slow) makes it not work.

Enjoy Android N and your device. I hope now you can start to enjoy the LG G5. It's an amazing phone.

P.S. I strongly recommend you back up your data (pics etc) on the local device memory (not SD card) and do a factory reset after booting into your device. Otherwise you will get many headaches.

Settings > Security/Data > Factory reset

Yes to everything. Let it reboot and set the phone up again from scratch. You will lose root also.

So download root again and flash the .zip in this post from chainfire which is working 100% in TWRP (you won't lose twrp from a factory reset)

https://plus.google.com/+Chainfire/posts/24xhJN724HG

Have fun.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Abort Retry Fail?:
DM-Verity

Great thread with very helpful and detailed instructions that even an idiot such as I can follow. Only problem was that neither of the mirrors in the OP for the dm-verity and encrytion disabler seem to be working. My browser can't or won't connect to the pages containing the downloads. Is there another link I can use?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crazyut:
I was stuck in the TWRP loop with the Encrypting screen with the reset phone button. I, too, needed the DM Verity.

I took a chance on one that I found on this site (I figured if it didn't work, I'd just LGUP reflash the crazy phone), http://rootjunkysdl.com/files/?dir=Redmi Note 3 Pro Kenzo/Root (lazyflasher-no-verity-opt-encrypt.zip,MD5: 0a90253710e85f8ec4a1608f469f52b2SHA1: 37e1e3dfd957ac0dfd79df52759ea8ba0dd4861f)

It fixed the problem and I am restoring my 178 applications as I type.

Note: I am not responsible if it jacks your phone (I followed the same instructions you referenced below but with this found DM verity file).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Abort Retry Fail?:
Many thanks for your quick and informative reply. I too looked around and found similar tools for different phones, e.g., Galaxy Note 7, but I was not going to risk my G5 with a tool for a different phone. Since it worked for your G5 I'll give it a try, and your warning note is acknowledged.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crazyut:
No problem.. hopefully, it works for you as it did me (this is too nice of a phone not to be rooted) :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Abort Retry Fail?:
Worked like a charm, and thanks again. Now if I can only get rid of that annoying dm-verity warning about my unlocked bootloader...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] crazyut:
I hear you on that; same thing on the LG G Pad 8.0 X deal as well :/
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Abort Retry Fail?:
Date Mystery on TWRP-3.0.2-1-h850

Discovered TWRP-3.0.2-1-h850 posted a few days ago, so I downloaded it and flashed it with TWRP-3.0.2-0-h850 (not Flashify). Went through the usual fine tuning in Settings, including the Eastern US time zone. So I was surprised when I made my first NANDROID backup to find that TWRP-3.0.2-1-h850 thought the date was 2015-12-31. It has incremented that dates properly since then (the NANDROID I made the next day bore the date 2016-01-01), but I always thought TWRP was drawing its dates from my LG. The date on my G5 is correct, and I'm running MMB29M.

This mystery certainly doesn't threaten to end the world as we know it (the NANDROIDs are fine; I've already restored one made with TWRP-3.0.2-1-h850), but it might be nice if I could get some advice on how to get TWRP-3.0.2-1-h850 to recognize the correct date from my G5.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Please share with us all if you find a way to do that :laugh:

It's been posted a few times (incl. twice by me) that the date & time are wrong in this devices TWRP. Someone even said it's an LG issue and present in other models too.

I simply rename the folder after I restart the phone so it has the current date, but it definitely is annoying ... esp. if you forget to do it once or twice :(
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Abort Retry Fail?:
Many Thanks, and 10,000 Apologies

I must apologize for missing the earlier posts on the problem about which I inquired. I do try to be scrupulous about searching for answers before posting a question, but somehow I failed this time. Thank you for your kind patience in answering a question that shouldn't have been posted, and I shall redouble my pre-post diligence. I've just moved up the the G5 from a G3 that gave up the ghost after years of good service, and I never experienced a TWRP date problem with the G3.

On the issue at hand, your suggestion had occurred to me, but as long as TWRP properly increments the dates from its mysterious starting point (which seems to be 2015-12-31) all my backups will be in correct chronological order. I simply need to decide if my OCD will let me work with correctly ordered but incorrectly labeled backups.:laugh:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4r44444:
Doesn't work, when booting to TWRP Green Android with Yellow things turns up and it boots to System instead of recovery...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lukijs:
So it works for everyone else, but not you. Ok
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4r44444:
Well it works now... op didn't mention that we need to remove Battery after flashing... had to search 5 other threads to find that.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nick216ohio:
Since updating twrp I get bootloops after flashing something and trying to restart within twrp. Anyone else have this issue? I searched this thread didn't see anyone mention my issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] opoeta:
fastboot boot twrp-x.x.x-x-h850.img dont work for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] andrerodr:
it will never work like that
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4r44444:
TWRP lost after Nougat Upgrad via KDZ... now tried to reflash as same procedure like in MM, doesn't work. using the newest BETA for 850 as mentioned in this thread... after send the new recovery via adb in bootloader and plug battery it just isn't here, dunno why, when I go in via combination vol down + power it reseting my Android and not going to twrp :/ Why?

\adb>fastboot flash recovery tw.img

target reported max download size of 536870912 bytes

sending 'recovery' (19068 KB)...

OKAY [ 0.484s]

writing 'recovery'...

OKAY [ 0.177s]

finished. total time: 0.664s
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] coronero:
I think I've managed to make it stick from the third or fourth trial. Maybe they're is some time based mechanism that reverts the recovery partition. Try unplugging the battery right after flashing and boot straight into recovery when replugging it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MetaIIica:
try fastboot boot twrp.img then flash it in twrp

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Alexgamerboy:
Can you make a twrp for h860 i have a chinese version rom with nougat
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MetaIIica:
if your Device can unlocked (important required!) a twrp is possible, but if not, its not possible

search your answer on the LG Unlocksite!

Gesendet von meinem LG-H850 mit Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 4r44444:
I found out what was wrong, in Tutorial it says we must press the Power Button FAST when see the LG LOGO, that's wrong, had it to push slow when I saw LG Logo, than everything worked.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oli87000:
Good evening everyone,

I try desperately to flash the recovery twrp on my h850 in version 20a without success ... an unexpected error code when I want to boot into recovery after flash.

I specify that the bootloader is well unlocked.

Here are all the commands I have typed from the command prompt:

F:\TÃ©lÃ©chargements\platform-tool>adb devices

List of devices attached

LGH8505e1635a7 device

F:\TÃ©lÃ©chargements\platform-tool>adb reboot bootloader

F:\TÃ©lÃ©chargements\platform-tool>fastboot flash recovery twrp-3.0.2-1-h850.img

target reported max download size of 536870912 bytes

sending 'recovery' (17524 KB)...

OKAY [ 0.523s]

writing 'recovery'...

OKAY [ 0.189s]

finished. total time: 0.717s

F:\TÃ©lÃ©chargements\platform-tool>fastboot boot twrp-3.0.2-1-h850.img

downloading 'boot.img'...

OKAY [ 0.531s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.566s

I tried several times, impossible !!!

Can someone tell me what to do next? I would like to have the twrp and root on my phone.

Thank you in advance for your answers.

Cordially.

Olivier.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] felleke:
flashing TWRP

C:\adbfastboot\Nieuwe map>adb reboot bootloader

C:\adbfastboot\Nieuwe map>fastboot flash recovery twrp-3.0.2-1-h850.img

< waiting for device >

And then noting. Put my phone in bootloader with "ADB reboot bootloader" and then waiting for device.

please can someone help me or put me in the right direction. Have de google driver, LG driver + sdk installed on my pc.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] King_lilrowrow:
Update Fastboot and ADB drivers (install the latest SDK Tools)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] PrinceLc:
Pull the battery after flshing Recovery and boot with vol.down and power button the same time when you see the LG Logo then relese the power button and press it again let the vol.down button pressed after you see a massage to factory reset confirm it and it should boot into Recovery
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Oli87000:
Hello,

Sorry, I had not had time to test and answer until later ...

That's it !!! I found the trick to start in recovery !!!

Now, new problems:

- when the Recovery starts, it asks me for a password

- when I try to enter the password to find in the tutorial ("youwillneverknow") the password is not good.

- when I click on "cancel" (two buttons "cancel" and "languages", no "skipe" at this step), I arrive on the TWRP menu.

My worry is that since nothing is "mounted", when I want to flash my root zip, I obviously do not find it in my internal sd.

What is the solution to finally get to flash my zip root and be root please?

It is complicated, I think, on LG G5 ... I had a Nexus 5 (2013) before this smartphone, and I was not as annoyed to flash and root.

Well, it's like that, is not it?

Can you give me a helping hand please, that I stop annoying everyone with my problems? ^^

Thank you in advance for your feedback.

Oh yes, just one thing, you never know: you can safely restart your phone if you are stuck in the TWRP like me,

only you need to remove the battery and do not "reboot" from the TWRP menu

.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] duckysempai:
Working here with H850. Bought from EE in the UK.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] doncompadre:
did u do anything else then flash the twrp img and then unplug batterie and direct restart to recovery ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] duckysempai:
I booted into system after unlocking before I flashed twrp. That's the only thing I did differently from others, I believe. Just tried loading twrp again incase the first time was just a fluke but worked just fine again .
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
I make the same. After unlock i boot in the System and thene i flashed twrp but not work. Have you use the original lg cable for flashing or other?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] duckysempai:
I used a choetech one I got from amazon. Do you have the cable connected when launching twrp? I have mine disconnected anytime i've tried. Having trouble getting fastboot to recognise the phone from system now that i'm rooted.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
With connected cable i can not boot in twrp, it load only in the bootloader.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] LBensley:
Did you have a password on your phone?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] optx:
Im here in germany, and mine has the freeze.

I also booted fully, before i flashed twrp.

What operating OS did you use ?

I did all on Linux

Edit: Please try without SD Card. Was fine for me without....
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Schrotty35:
Not help here. I have remove my card but only see the TWRP bootscreen. I use Windows 10 x64.