Jump to content

Huawei P8 Lite (huawei-alice)

From postmarketOS Wiki
Revision as of 17:54, 30 June 2023 by Knuxify (talk | contribs) (add WIP components table)
Huawei P8 Lite
P8 Lite with XFCE4
P8 Lite with XFCE4
Manufacturer Huawei
Name P8 Lite
Codename huawei-alice
Released 2015
Hardware
Chipset HiSilicon Kirin 620
CPU Octa-core 1.2 GHz Cortex-A53
GPU Mali-450 MP4
Display 720x1280 IPS LCD
Storage 16 GB
Memory 2 GB
Architecture aarch64
Software
Original software Android 5.0.2 (upgradeable to to 6.0)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.108
Unixbench Whet/Dhry score 2193.0
Features
Flashing
Partial
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Users owning this device


How to enter flash mode

Fastboot - hold Power + Volume Down

Recovery - hold Power + Volume Up

Bootloader

See Bootloader page

The Bootloader can be unlocked using PotatoNV.

TODO: There's a bootloader unlock guide on XDA developers, which doesn't involve buying any unlocking software or disassembling the device. See if this still works, and maybe figure out an alternative way to root the device instead of KingoRoot?

Installation

Flashing rootfs may not work, use sideload.

Mainline status and components

It may be possible to mainline this device, as its SoC is supported in the mainline kernel.

TODO TODO: This is just guessed from the defconfig, try to figure out the mess of DTSIs and see which parts are actually used
Element type Element Works? Notes
Chipset HiSilicon Kirin 620 (Hi6220) Y DTS in mainline
Graphics Mali-450MP4 Seems to have a node in the DTS?
Charger HI6521/BQ2419X BQ24190 is supported in mainline
PMIC HI6552 Appears to be supported in mainline
Touchscreen CYTTSP5 Supported in mainline.
USB switch FSA9685 Not supported in mainline
NFC NXP PN547/V8R2? Supported in mainline
Audio codec MAX98925, TFA9895 amp? Supported in mainline
WiFi, Bluetooth BCM4343/HI1101
Accelerometer ST_LIS3XH/ROHM_KX023 Both supported in mainline (first one not exactly, but should be the same as other ST accelerometers in mainline)
Proximity/light sensor APDS990X/RPR0521 Both supported in mainline
Compass AKM09911 Not supported in mainline
Hall effect sensor AK8789 Not supported in mainline
Cameras OV5648, IMX134, S5K4E1GA, OV13850, IMX328, OV8856, IMX219, HI843S TODO: figure out which one
Displays OTM1902B, OTM1282B, NT35521, LPM070W425C TODO: figure out which one

See also