Huawei Honor 5X/GR5 (2016) (huawei-kiwi)
| 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). |
| This device has been archived. This means that it no longer appears in pmbootstrap and is likely broken. It can still be selected in pmbootstrap init by typing in the vendor and codename, but you will have to build the kernel package manually. |
|
Huawei Honor 5X running Phosh | |
| Manufacturer | Huawei |
|---|---|
| Name |
Honor 5X GR5 (2016) |
| Codename | huawei-kiwi |
| Released | 2015 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 616 (MSM8939v2) |
| CPU |
Octa-core (4x1.2 GHz Cortex-A53 4x1.5 GHz Cortex-A53) |
| GPU | Adreno 405 |
| Display | 1080x1920 IPS |
| Storage | 16 GB |
| Memory | 2/3 GB |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android (EMUI) 5.1.1 (EMUI 3.1) |
Extended version The most recent supported version from the manufacturer. |
Android (EMUI) |
| postmarketOS | |
| Category | archived |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
1108.1 |
| Optional Generic Port | Generic MSM8916 (qcom-msm8916) |
| Device package |
|
| Kernel package |
|
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Whether charging and battery level reporting work. |
Broken
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Partial
|
Touchscreen |
Works
|
| Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Works
|
Camera |
Broken
|
| Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Broken
|
| Modem | |
Calls |
Broken
|
SMS |
Broken
|
Mobile data |
Broken
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Works
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Works
|
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Works
|
Proximity |
Works
|
Hall Effect Measures magnetic fields; usually used as a flip cover sensor |
Works
|
| This device is based on the Snapdragon 616. See the SoC page for common tips, guides and troubleshooting steps |
What works
There are ~23 variants of this device. Yours might not be fully supported yet
- Buttons
- Display (
CMI_NT35532andTIANMA_NT35596are supported for now, but notAUO_OTM1901A,BOE_OTM1901AorTRULY_HX8399A.)
- WIFI/Bluetooth
- SD Card slot
- Touch (
cyttsp5_i2c_adapter)
- Magnetometer (
ak09911)
- Ambient Light/Proximity Sensor (
apds9930)
- Audio / Microphone
- Vibrator
- Hall effect sensor
- Notification LED
- Accelerometer (
kx0231025)
- Full disk encryption (with the supported panel; hardware acceleration could probably be added)
hwtest:
| Category | Model | Path | Status |
|---|---|---|---|
| framebuffer | msmdrmfb | /sys/class/graphics/fb0 | working |
| drm | - | /sys/class/drm/card0-DSI-1 | working |
| magnetometer | ak09911 | /sys/bus/iio/devices/iio:device1 | working |
| accelerometer | kx0231025 | /sys/bus/iio/devices/iio:device2 | working |
| illuminance | apds9930 | /sys/bus/iio/devices/iio:device3 | working |
| input | cyttsp5 | /dev/input/event6 | working |
| input | samsung-a2015 Headset Jack | /dev/input/event5 | working |
| input | GPIO Buttons | /dev/input/event3 | working |
| input | GPIO Hall Effect Sensor | /dev/input/event2 | working |
| input | pm8941_pwrkey | /dev/input/event1 | working |
| input | pm8941_pwrkey | /dev/input/event0 | working |
What does NOT work
- AUO,BOE,TRULY panel can't work now
Add panel driver in kerneldir/drivers/gpu/drm/panel/msm8916-generated is useless of enable auo panel,the reason is AUO panel has ESD (electrostatic discharge)
- Battery fuel gauge
Can be found here https://gitlab.com/msm8939-mainline/linux/-/blob/v5.18-msm8916+msm8939-v2/arch/arm64/boot/dts/qcom/msm8939-huawei-kiwi.dts#L108-124 Uncertain whether the values are correct.
- Torch/Flash missing
- Modem starts and is detected, but every ~40s it crashes with following error. Should work just like any other msm8916 device.
Probably requires rmt_oeminfo and other services. Similar error described in Google_Nexus_6P_(huawei-angler)#Modem and https://github.com/msm8916-mainline/linux/pull/192, help appreciated.
dmesg error:
[ 91.795192] qcom-q6v5-mss 4080000.remoteproc: fatal error received: dog.c:1503:Watchdog detects stalled initialization [ 91.795231] remoteproc remoteproc0: crash detected in 4080000.remoteproc: type fatal error [ 91.795322] remoteproc remoteproc0: handling crash #1 in 4080000.remoteproc [ 91.795350] remoteproc remoteproc0: recovering 4080000.remoteproc [ 91.910476] snd-malloc: invalid device type 0 [ 93.595751] qcom-wcnss-pil a204000.remoteproc: unexpected response to sysmon event [ 93.595764] remoteproc remoteproc0: stopped remote processor 4080000.remoteproc
Using modem firmware from Xiaomi_Mi_4i_(xiaomi-ferrari) prevents this crash. And with User:TravMurav/Dual-Sim_QMI_draft the sim card can be unlocked. But getting the modem online does not work.
- GPS: Probably requires modem to run and config like in https://github.com/msm8916-mainline/linux/pull/158
How to enter flash mode
Hold + at the same time.
Installation
- Unlock the bootloader. See Bootloader#Huawei
- Install lk2nd. Although Huawei already provides a Fastboot interface, lk2nd contains various quirks for booting mainline.
- Please follow the Installation guide. Enable nonfree firmware for WIFI/BT/GPU
- Follow the steps displayed at the end of output the previous command to finally flash postmarketOS.
Audio
| WARNING: The speakers are rather loud on 100% volume and may produce distorted sound that may damage your speakers after long use. Please make sure to use reasonable volumes - your ears and your speaker will thank you! |
Users owning this device
- Adam (Notes: auo-otm1901a panel)
- Bolilingmeng89006 (Notes: GR5 2016 KII-L22)
- Divanchuk (Notes: Locked bootloader)
- Jojo autoboy
- Nieldv
- Weijia (Notes: Broken)
- WonderfulShrineMaidenOfParadise
Photos
Links
device-huawei-kiwi- Unmaintained downstream
device-huawei-kiwi-downstream - TWRP image