This tutorial shows the entire process of oficially unlocking, TWRP recovery flashing, and Magisk rooting your european LG G5.
- Unlocking bootloader wipes all your phone data, backup first.
- Do not flash no-verity-opt-encrypt.zip, it causes random issues and it's not needed unless you want a writable system partition, and you probably don't (it prevent stock roms from being updated).
- DO NOT WIPE data partition: As long user-data partition is encrypted with a key stored there, it will be no longer available.
- If you have working root support, remove it (binary and application) before installing Magisk.
- Root APPs with Magisk-related issues:
- All non-magisk root managers.