LG Optimus Vu (lg-p895)

Contributors

 * Clamor

Unlocking
Only known method of unlocking is flashing patched LG bootloader with kernel signature check disabled, but who needs this proprietary stuff with unknown properties (vendor bootloader I mean) if p895 supports open sourced bootloader - U-Boot.

Android kernel

 * 3.1 kernel based on LG sources with updates till Nougat support (Kernel)

Mainline (Grate)

 * Baseline kernel sources on p895: https://github.com/grate-driver/linux
 * Proper dts for P895 is added
 * Version: 6.4.0-rc6
 * Status: Boots. See status below.

Bootloader replacement
LG bootloader is highly NOT recommended to use with pmOS. To switch to open source booloader you need to use P895 re-crypt zip, it can be found here https://github.com/clamor-s/wheelie/releases/tag/p895 (one with re-crypt in its name) and you MUST use native Linux, virtual machine and WSL will NOT work.

Unpack zip and cd into it. Plug your P895 to PC and reboot it with holding both and. If all is done correct  should show   device. Instructions are in the commands file or you can see them below.

Now perform: If phone did not reboot automatically, force reboot with holding. This will replace LG bootloader with u-boot. For more deep look into u-boot actions refer to dedicated section below.

postmarketOS installation
Thanks to u-boot you have installed on previous step, entire p895 eMMC can be mounted as a simple storage device.

Boot into u-boot bootmenu by holding and. Then using volume buttons you can navigate bootmenu and using choose its entries.

Plug your p895 to PC and choose mount internal storage. Your p895 eMMC should be detected by PC as a simple mass storage. Then it can be flashed as any SD card using pmbootstrap.

Desktop environment
Since 3D acceleration is not available yet, all DE which use it will be painfully slow and laggy.

Currently xfce4 or mate are recommended.

U-Boot
Current U-Boot status on LG Optimus Vu

Serial console
LG Optimus Vu is an interesting device since it has factory soldered jtag directly on motherboard in pretty apposite and easily accessible place. To get to jtag you need only to take off back cover and plastic casing over motherboard. That is it, only one free socket is jtag. UART is UART-D (serial@70006300; 115200n8) and uses 3.3v.