LG K10 (lg-m216)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
LG K10
Manufacturer LG
Name K10
Codename lg-m216
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 410 (MSM8916)
CPU Quad-core 1.2 GHz Cortex-A53
GPU Adreno 306
Display HD (720x1280)
Storage 16 GB
Memory 1.5 GB
Architecture aarch64
Software
Original software Android
Original version 5.1.1
postmarketOS
Category testing
Pre-built images no
Mainline yes
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Works
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Broken
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Partial
GPS
NFC
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps

Users owning this device


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 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

pmaports!1873 Initial merge request