LG G5 (lg-h850)

=== Flashing ===
lk2nd is supported on the LG G5 (H850 / European version.) Be mindful that there are several variants of the G5, one of them with a completely different SOC. Be sure you know which one you have before proceeding with anything:
https://www.phonemore.com/models/lg/g5/
Build lk2nd for target MSM8996 and flash it to the boot partition.
=== Partition Map ===
h1:/ # ls -la /dev/block/bootdevice/by-name 
total 0
drwxr-xr-x 2 root root 1400 1969-12-31 20:12 .
drwxr-xr-x 3 root root 1560 1969-12-31 20:12 ..
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 OP -> /dev/block/sda16
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 aboot -> /dev/block/sde6
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 abootbak -> /dev/block/sde7
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 apdp -> /dev/block/sde26
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 boot -> /dev/block/sde1
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cache -> /dev/block/sda14
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 cdt -> /dev/block/sdd3
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cmnlib -> /dev/block/sde22
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cmnlib64 -> /dev/block/sde24
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cmnlib64bak -> /dev/block/sde25
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cmnlibbak -> /dev/block/sde23
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 cust -> /dev/block/sda15
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 ddr -> /dev/block/sdd1
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 devcfg -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 devcfgbak -> /dev/block/sde17
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 devinfo -> /dev/block/sdb7
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 dip -> /dev/block/sdb6
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 dpo -> /dev/block/sde28
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 drm -> /dev/block/sda3
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 eksst -> /dev/block/sda8
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 encrypt -> /dev/block/sda7
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 factory -> /dev/block/sda6
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 fota -> /dev/block/sdb3
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 fsc -> /dev/block/sdf3
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 fsg -> /dev/block/sdb5
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 grow -> /dev/block/sda18
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 grow2 -> /dev/block/sdb8
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 grow3 -> /dev/block/sdc3
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 grow4 -> /dev/block/sdd4
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 grow5 -> /dev/block/sde29
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 grow6 -> /dev/block/sdf4
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 grow7 -> /dev/block/sdg2
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 hyp -> /dev/block/sde12
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 hypbak -> /dev/block/sde13
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 keymaster -> /dev/block/sde20
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 keymasterbak -> /dev/block/sde21
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 keystore -> /dev/block/sda11
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 laf -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 misc -> /dev/block/sda5
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 modem -> /dev/block/sde18
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 modemst1 -> /dev/block/sdf1
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 modemst2 -> /dev/block/sdf2
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 mpt -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 msadp -> /dev/block/sde27
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 persist -> /dev/block/sda12
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 persistent -> /dev/block/sdg1
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 pmic -> /dev/block/sde14
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 pmicbak -> /dev/block/sde15
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 raw_resources -> /dev/block/sde8
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 raw_resourcesbak -> /dev/block/sde9
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 rct -> /dev/block/sda9
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 recovery -> /dev/block/sde2
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 recoverybak -> /dev/block/sde3
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 reserve -> /dev/block/sdd2
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 rpm -> /dev/block/sde10
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 rpmbak -> /dev/block/sde11
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 sec -> /dev/block/sde19
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 sns -> /dev/block/sda4
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 spare1 -> /dev/block/sdb4
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 ssd -> /dev/block/sda10
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 system -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 tz -> /dev/block/sde4
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 tzbak -> /dev/block/sde5
lrwxrwxrwx 1 root root 16 1969-12-31 20:12 userdata -> /dev/block/sda17
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 xbl -> /dev/block/sdb1
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 xbl2 -> /dev/block/sdc1
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 xbl2bak -> /dev/block/sdc2
lrwxrwxrwx 1 root root 15 1969-12-31 20:12 xblbak -> /dev/block/sdb2
== Contributors ==
* Sporos
== Maintainer(s) ==
== Users owning this device ==
* Sporos (lgg5/RS988/H850)
== How to enter flash mode ==
== Installation ==
== See also ==