LG K10 (lg-m216)

From postmarketOS
Jump to navigation Jump to search
LG K10
200px
CHANGE_ME
Manufacturer LG
Name K10
Codename lg-m216
Released 2016
Category testing
Original software Android 5.1.1
Hardware
Chipset Qualcomm MSM8916 Snapdragon 410
CPU Quad-core 1.2 GHz Cortex-A53
GPU Adreno 306
Display HD (720x1280)
Storage 16 GB
Memory 1.5 GB
Architecture aarch64
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Works
Xwayland
Works
FDE
Mainline
Works
Battery
Broken
3D Acceleration
Works
Accelerometer
Works
Audio
Works
Bluetooth
Partial
Camera
Broken
GPS
Mobile data
Works
SMS
Works
Calls
Works
USB OTG



Users owning this device

  • cristian_ci

Unlocking the bootloader

  1. Clone this repository that includes LGLAF script for communication with LG devices in download mode (make sure to enable developer mode first from android).
  2. Follow instructions listed in lglaf github page, power off the device and enter download mode connecting device via USB as peripheral while holding Volume Up button.
  3. Download aboot_patched.img from here and flash it to aboot partition, running the following commands in a terminal:
$ cd lglaf && python partitions.py --wipe aboot
$ python partitions.py --restore /path/to/aboot_patched.img aboot
Note: You could find useful to make a backup of aboot partition by running python partitions.py --dump /path/where/to/save/file aboot (or making a full backup by running python extract-partitions.py -d /path/where/to/save/files --max-size 0). You can also view a list of partitions by running python partitions.py --list.
  1. Power off the device and download TWRP from here. Then, enter download mode again as shown above and flash TWRP image to recovery partition, running the following commands in a terminal:
$ cd lglaf && python partitions.py --wipe recovery
$ python partitions.py --restore /path/to/twrp-3.5.2_9-0-m216.img recovery
  1. After turning off the device, you can enter recovery mode holding Power + Volume Down until the LG logo appears, then release both and press them again. Finally, choose Yes twice in the next screens. Once TWRP screen appears, you'll be able to flash bootloader images using this known custom recovery.

How to enter flash mode

Once lk2nd image has been flashed to boot partition using TWRP, you can get to flash mode just turning the device on. The screen should display lk2nd menu.

Mainline installation

Follow the Installation_guide.

Download lk2nd from https://github.com/msm8916-mainline/lk2nd and flash it to the device.

Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation.

See also