yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] _ray_:
OK, so I have finally decided to root my phone :fingers-crossed: and have read through the whole thread.

It seems pretty straight forward but I have a few questions before I go ahead:

1- Are there any warning signs (yellow triangle etc ) after rooting/flashing twrp that come up during boot ?

2- Am i able to do a full Nandroid backup (system, kernel, data, boot partition , efs etc), if yes, does restoring it will make me lose root ?

3- Will i still get OTA considering i am on stock kernel/rom ?

4- Is there any functionality loss like fingerprint scanner, Netflix login etc ?

5- Can anyone confirm if xposed and viper4android are fully working ?

6- Since flashing TWRP disables encryption, does it really have any adverse side effects on phones performance/functionality ?

7- Finally, can someone please confirm the following steps for proper root that I will be taking:

(a) Download recovery img from here rename it TWRP and flash it using ''fastboot boot twrp.img'' command

(b) At TWRP splash screen swipe right to allow system modification

(c) Wipe using ''YES'' method to allow copying of data into internal storage in TWRP

(d) Do a Nandroid backup of everything

(e) Copy Supersu 2.71beta to internal storage and flash using install option in TWRP

(f) Flash xposed-v83-sdk23-arm64.zip and other needed modules.

(g) Wipe cache/dalvik

(h) Reboot system and hope for the best

Thanks :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Here is the system image from h850 for TWRP, hope it helps.

Just unzip it and put it on your device in the according TWRP folder.

Sytem.zip
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
Thanks a lot [MENTION=7426250]Pinu'u[/MENTION]!!!!! you made it through the ever-lasting upload run without interruption :D:D

can you also pull and upload the boot image, this one should be much smaller, maybe around ~40Mb? I wiped the partition also...

I just started downloading the file and cannot wait to check it out tonight...:fingers-crossed:

Best
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Hope it works out for you.

Sorry about the boot image, i have Nethunter installed, and that comes with a different Kernel, so dont know if that would be any good.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Whoa downloading right now... Finished in 2hrs.

About the Kernel. This Nethunter thing is looking like a Patch, without a Boot Image we are not able to flash it. Too bad... no real Kernel here for us. Can't boot the System without it :crying:

Would be very cool if you upload it too! Hitting the Thanks button hard for You Mate :angel:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
this links to a file that says it's for the galaxy s5 and was uploaded by optx,

is that the correct file?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Looks correct to me (Upload Date,OptX has Uploaded a Deodexed G5 System(I think))so i hope it's the right one. Just the wrong device section :) Download is nearly finished here. I just need a Kernel to get my G5 back to life :silly:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
i thought pinu'u was uploading his own stock system image?

and sorry bud the kernel slipped my mid :o here it is >> https://www.dropbox.com/s/rzvlvg5vpjqo9a0/lgh850-flashify-kernel-backup.7z?dl=0
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Maybe he has another Name on Filehost? Don't know... Hope he comes soon back Online:angel:

You're my HERO! Thanks for the backup, i will bring back my G5 to life right asap! Do you want feedback about the System backup? I can test it if you want to be safe...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
it's just that file is 1.7gb and pinu'u's original post said it's over 3gb so i'm not sure if that's his stock backup, or some other backup entirely.

no problem bud, helping each other out is what we're here for :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
NO WORDS

Thanks man, i'm Crying...:crying:

Today is a good Day! Haven't tested the Uploaded backup. Used my own... Plus Your Boot.img. If anyone's interested i can upload mine too... Wait for Pinu'u to confirm the Link :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
Yes, this is the right one. OptX is a friend of mine, and he has uploaded it for me, since i ran into trouble.

Sorry for the confusion with saying 'Samung'

The file is just so small, because i ziped it. When unziped, it should be right size.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rd-Target:
Thank you Pinu! You saved my phone.

After flashing TWRP and SuperSU I booted my phone, installed some apps that required root and everything seemed to be working fine. Until first reboot... Then my phone wouldn't boot.

Tried wiping cache, data etc. in TWRP and suddenly I was stuck at the Encrypting phone screen... Following the posted steps flashing no-verity-opt-encrypt and formatting data I got passed the Encrypting phone screen, but it wouldn't boot... Just stuck at LG logo.

Downloaded your system backup and restored on my phone, and now it boots! :D

Was afraid I'd killed it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
Thank you [MENTION=2835711]happyharrysco1[/MENTION]!! now I'll start recover my G5 using your boot image and [MENTION=7426250]Pinu'u[/MENTION]'s system image!!! really great having you guys can give a hand :D

admire your snapshot, congraz!!:D:D god bless me to be able to also have my G5 back and shoot one tonight :fingers-crossed::laugh:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Paulour:
thank you guys, FANTASTIC!! thought have to hold my G5 brick till the stock firmware get available but you guys saved me from the foreseeable misery days...:D...

you guy rock :angel:

will setup my phone and let's looking forward the upcoming roms for the new scenes!!

:good::good::good:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Miustone:
Hehe, nice Man! Glad that we've TWRP working on the H850... Now i can start with the Development/Cooking. I will upload some work for the G5 soon! If You want to Join my Community just search "Fluence HD" on Google Plus. I will Post updates about my Progress there...

I'm out here! Thanks to everyone! I feel much love here... :o
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] _ray_:
Bump - Any help would be appreciated :)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
1: yes there is a warning triangle

2: yes you can do a full backup by booting from the twrp img first and doing the backup. yes if you restore the stock backup you will loose root, but still be bootloader unlocked.

3: don't know about that one, but I presume so if you stick with all stock bar the twrp recovery, others with more lg knowledge can better answer this (my only other lg manufactured device was a nexus4)

4: nothing stops working hardware wise, but due to beeing rooted and unencrypted some premuim streaming services will no longer work.

5: not personally but I've read other threads here where people have them working.

6: having to unencrypt doesn't happen to everyone, I don't know why some like myself had to do it and others didn't but I know not everyone has this happen

7: i'd follow the insructions in the first post of this thread and get twrp installed and the phone backed up then rooted. once that is done and working then I would move on to xposed etc. less variables to go wrong etc incase something goes awry

---------- Post added at 12:08 AM ---------- Previous post was at 12:02 AM ---------- [MENTION=4756773]Miustone[/MENTION] & [MENTION=3026519]parlour[/MENTION] no worries guys, glad it was usefull, I'm just glad [MENTION=5672995]jcadduono[/MENTION] released the g5 twrp build for us :)

[MENTION=7426250]Pinu'u[/MENTION] is that not a full stock nandroid then?

[MENTION=1754607]_ray_[/MENTION] any chance that before rooting you can fastboot boot from the twrp image and do a full backup including the stock recovery and upload it somewhere bud?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Hey Guys

I have bricked my G5 H850 europe/international version yesterday with no backup. I have twrp installed ok cannot revive the os i have used the system bup without any look any other ideas to get this sorted back to normal or i am out of luck has anybody got a bup i can reflash or any ideas --- thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] _ray_:
I would not mind but would need step by step instructions on how to perforn the whole operation.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
[MENTION=1754607]_ray_[/MENTION] follow the instructions on the front page up to no2, then boot your phone to flashboot, once it boots enter flashboot boot twrp.img, that will boot your phone into twrp without modifying the stock image. then in twrp choose backup, select everything but cache and back it up to your sd, once the backup is complete reboot your phone and connect to your computer in mtp mode. go into the phone storage/sdcard/twrp/backups and copy the folder and it's contents to your desktop, zip it and post it online somewhere. then you can go back to following the first post to flash twrp and root your device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Has anybody got a full all partitions twrp recovery for a h850 international handset, so i can restore my g5, if you can help it will be great as the partitions are nuked on mine. I have tried to recover without any luck and there is no firmware out at present to fix it or restore to factory not for the h850 version.

I have messed up due to Adoptable Storage merging the sd card with internal memory, i decided to reset the phone without a bup being made - thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
There are already two kdz for the the h850:

http://xdaforums.com/lg-g5/how-to/list-lg-g5-stock-kdz-firmware-t3365941
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Thanks for the info I will look into it
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Just looked into it can't flash the kdf without the DLL unlock security yet thanks anyway I will just have to wait until I get an updated firmware live and learn by errors lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
see post #117 and post #123 there is a system dump and my kernel dump that you should be able to use with twrp to recover your device, two other members have used them and recovered their devices
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
Hi! "Your device software can't be checked for corruption"

Any ideas? I can't boot into TWRP
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] happyharrysco1:
that screen shows up as soon as you unlock the bootloader, this is not what's causing your phone not to boot. can you connect to your phone in fastboot? if so try flashing twrp again
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
Yes, i can boot it normally, and i've tried to flash 2 TWRP versions putting the files into, from, the ADB folder… the CMD shows all ok, but it didn't work. Just appear a screen ask to reset or not, and always the yellow logo. Too tired for me for today.

Thank U!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Just an update I have just fully restored my bricked phone from the kdf that autoprime configured as flashable I have adoptive storage aswell and rooted great work guys. Thanks for all your help regarded the bricked device
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
Hi! Could u link it? If, hope don't, got problems…

And… anyone knows why in bootloader ADB changes into Marshall London Android drivers?

Yeah! Have to clean up all rest and install a wright package for LG G5. Still trying to get installed the TWRP…

Thank u all for your work!

Enviado desde mi HM NOTE 1LTE mediante Tapatalk

I HATE ADB mode and Windows 10 drivers!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pinu'u:
http://xdaforums.com/lg-g5/development/stock-h850-10c-eu-kdz-flashable-zips-t3369794
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] steelmm:
Hi you need the Google drivers installed latest version. Also follow the link below posted by another member this is to restore a bricked device or to install stock again. Please follow the recovery step by step and once twrp installed root the device as per forum and follow my user ID then u need to change the permissions through fastboot how to change to adoptive storage . please note if you want to access as in Sd card you need to partition 30 % instead of 50 % this will make another SD card say if you have 200gb the 64 GB of it will be accessible through a PC you can then move your data to the fixed partition like marshmallow in the app storage and this will allow you to move the data freely between internal and external storage , your internal memory to be used when required by your apps that need the internal and frees up more memory for you as you will only have 24 GB to play with on you device.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
Hi! Thank you very much for your helping answer… but just 2 q's, please:

1) did u pull out the battery after flashing TWRP and then u could reboot into it? (It must, I know, as the guide describes)

2) Is the SD partition format needed? I just wanna use Tita Bkup, AdBlock and Xposed… and I do not understand quite well how you discribe it.

Thank u again, and sure this would help more and improve de LG G5 scene in XDA.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] drumsen:
Thanks everyone in here!

Thanks a bunch to you guys for the helpful comments here. Managed to **** up the rooting process after flashing TWRP and soft-bricked the new phone on Day 1.

Anyway, by flashing the provided kernel in this thread I fixed that.

Huge shoutout to the friendly and patient bros and bras in the #twrp IRC channel aswell, since they helped me a ton during that process. Learned alot and got my LG G5 rooted and working.

You are awesome!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
...and finally stuck in the "encrypting" (reboot the phone) screen... bad idea to buy this... really bad.

Any ideas, please? Thank U.

…

And finally, IT'S ROOTED! Thanks all of you, u'r great. Next: try to write a guide into Spanish, obviously, with credits to XDA ;)

See u here… testing, playing and always LivinG/LaughinG.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Am I the only one that has the wrong date + time in TWRP :confused:

The date is January 2016 and the time is several hours off, no matter how often I change the timezone. I tried with automatic time settings in the phone, I also tried turning them off, setting date + time manually and then rebooting into recovery.

I know there was an issue like that in a previous TWRP version that could be solved by deleting time_daemon in /system/bin since it wasn't needed under CM. Not sure if I should try that on a stock rom though :angel:

Am I missing something here and/or does anybody have a solution?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lusagad:
No, u'r not, me too. But when u make a back up, the TWRP folder will display the "right" time…

Enviado desde mi LG-H850 mediante Tapatalk
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Hmm no, mine had the wrong time (and date). I renamed them to at least the correct date now, I'd still love to know how to fix it and why it even happens? I didn't have that problem with the S4, very strange :confused:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mkpcxxl:
Here too, wrong date and time.

Regards

mkpcxxl
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Lycidias:
After a complete restore i had Pin problems (not sim) and needed to Format Internal storage because apps couldn't write.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pphish20:
[MENTION=5672995]jcadduono[/MENTION]

Anyway we could add the ability to back up the efs partition to next update?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] MaxLG:
LG G5 international

TWRP cannot backup - no space . But actually I have plenty of space. Solution?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] felleke:
Can't update software, TWRP asks voor password, when rebooting. Can't decrypt data.

Bootloader is unlocked en phone is rooted. Please help!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Pphish20:
Twrp asks for password because data partition is encrypted... Hit cancel and flash either SuperSU or dm-verity patch
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] felleke:
I have SuperSU and working, but still asks voor password.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mkpcxxl:
Where can I find dm-verity patch for my H850 ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Nimueh:
Maybe try the first post ... :rolleyes:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] RoughNeck1971:
Works on my H850 exactly in the way described on first post. Looking forward to new versions when finally encrypted data might also be supported. Thanks!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trotirider:
Hi, does someone could explain to me in this case what does "encrypted data" mean?

I don't know if that is really important or not.

I really want to root, but I can wait a little if it's worth.

Thanks.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mkpcxxl:
Oh yes, sorry for not see it...:good:

Thanks for your help.

Regards

mkpcxxl
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Erario:
With "encrypted data" enable you cant' read and backup the "data" partition with TWRP.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trotirider:
Ok thanks, so it's not a matter for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
Is this still the best way to root the LG G5 (H850)? I've been looking around and the root bounty thread is still going... So is there a better method than this? I'm getting fed up of not having root on my G5.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dahikino:
Hello all,

I tried to install TWRP and SUPERSU but I finally reboot. And stay stuck on screen of "encrypting..."

I would like to know what is the procedure to be able to have partition data not Encrypted and with TWRP and SuperSU installed on 10c stock rom version?!

Thanks
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
This is the only way to obtain root on g5.

Boot in twrp, go in wipe and do a "format data", you will lose all your data.

And by format, I mean format, not wipe
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] trotirider:
Here is my post about it:

http://xdaforums.com/showpost.php?p=66925686&postcount=173
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
Thank you very much for your answer.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] dahikino:
[/COLOR]

Thanks for the precision, format vs wipe !!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
So I unlocked my bootloader. However it seems I can't flash TWRP...

I ran the flash command:

C:\Users\xxxxx\Desktop\G5>fastboot flash recovery twrp-3.0.2-0-h850.img
target reported max download size of 536870912 bytes
sending 'recovery' (17524 KB)...
OKAY [ 0.403s]
writing 'recovery'...
OKAY [ 0.141s]
finished. total time: 0.546s

However when I run the boot command:

C:\Users\xxxxx\Desktop\G5>fastboot boot twrp-3.0.2-0-h850.img
downloading 'boot.img'...
OKAY [ 0.400s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.420s

So I tried then turning it off and rebooting with VOLUME DOWN + POWER.

Tried this in like 5 different ways. It ALWAYS just booted the phone normally. Googled, and watched videos and tried many methods.

Recovery never booted even once.

So I tried now using adb bridge to boot straight into recovery with the following command as normal:

adb reboot recovery

It reboots into the dead android with the red '!' symbol over its chest. (Example pic below)

Obviously my recovery isn't flashing correctly or something? What is going on?

I'm using the latest TWRP on twrp.me. ("twrp-3.0.2-0-h850.img")

Can anyone help? So far looks like I unlocked my bootloader for nothing...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] kchannel9:
The bounty thread is still going because we only have root on the European H850 and the US T-Mobile H830.

All other variants are not yet rooted, and so the bounty thread continues...
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
Flash the twrp again, then power off the G5, hold power and vol- until the lg logo, release quickly only the power button and immediately hold power again with vol-, now the G5 will boot in the "Hard Reset" mode, answer yes and if you flashed the TWRP the phone will boot in TWRP, otherwise an hard reset will be performed.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] leijonasisu:
HOLY S***T GOT IT!

Thank you so much sir! If you were here I would buy you a nice big cold beer!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Killua96:
Good to hear =)
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] 007live:
please help me...!

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

adb server version (31) doesn't match this client (35); killing...

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:

Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss

) nur jeweils einmal verwendet werden. (10048)

could not read ok from ADB Server

* failed to start daemon *

error: cannot connect to daemon

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

adb server version (31) doesn't match this client (35); killing...

* daemon started successfully *

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem device-id

...

(bootloader) ----------------------------------

(bootloader) Device-ID

(bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

(bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

(bootloader) ----------------------------------

OKAY [ 0.060s]

finished. total time: 0.062s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash unlock unlock.bin

target reported max download size of 536870912 bytes

sending 'unlock' (1 KB)...

OKAY [ 0.034s]

writing 'unlock'...

FAILED (remote: cannot flash this partition in unlocked state)

finished. total time: 0.062s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot

rebooting...

finished. total time: 0.006s

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

adb server version (31) doesn't match this client (35); killing...

* daemon started successfully *

error: device offline

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader

adb server version (31) doesn't match this client (35); killing...

* daemon started successfully *

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.0

.2-0-h850.img

target reported max download size of 536870912 bytes

sending 'recovery' (17524 KB)...

OKAY [ 0.473s]

writing 'recovery'...

OKAY [ 0.141s]

finished. total time: 0.618s

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

img

downloading 'boot.img'...

OKAY [ 0.473s]

booting...

FAILED (remote: unknown command)

finished. total time: 0.497s

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot recovery

adb server version (31) doesn't match this client (35); killing...

* daemon started successfully *

error: no devices/emulators found

[/url][/IMG]

LG G5 H850 AUSTRIA