Huawei Honor 5X (huawei-kiwi): Difference between revisions
Appearance
m Add twrp image link |
Update accelerometer status |
||
Line 24: | Line 24: | ||
| status_battery = N | | status_battery = N | ||
| status_3d = Y | | status_3d = Y | ||
| status_accel = | | status_accel = Y | ||
| status_audio = Y | | status_audio = Y | ||
| status_bluetooth = Y | | status_bluetooth = Y | ||
Line 36: | Line 36: | ||
== What works == | == What works == | ||
There are ~23 variants of this device. Yours might not be fully supported yet | |||
* Buttons | * Buttons | ||
Line 58: | Line 60: | ||
* Notification LED | * Notification LED | ||
* Accelerometer (<code>kx0231025</code>) | |||
<code>hwtest</code>: | <code>hwtest</code>: | ||
Line 72: | Line 76: | ||
| drm || - || /sys/class/drm/card0-DSI-1 || working | | drm || - || /sys/class/drm/card0-DSI-1 || working | ||
|- | |- | ||
| magnetometer || ak09911 || /sys/bus/iio/devices/iio: | | magnetometer || ak09911 || /sys/bus/iio/devices/iio:device1 || working | ||
|- | |- | ||
| illuminance || apds9930 || /sys/bus/iio/devices/iio: | | 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 || cyttsp5 || /dev/input/event6 || working | ||
Line 91: | Line 97: | ||
== What does NOT work == | == What does NOT work == | ||
* Modem starts and is detected, but every ~40s it crashes with following error. Should work just like msm8916 | * 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]] | 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. | ||
<div class="toccolours mw-collapsible mw-collapsed"> | <div class="toccolours mw-collapsible mw-collapsed"> | ||
Line 106: | Line 112: | ||
</div> | </div> | ||
</div> | </div> | ||
* GPS is untested, but probably does not work at the moment. Probably requires modem to run. | * GPS is untested, but probably does not work at the moment. Probably requires modem to run. | ||
Could work work after rebase onto https://github.com/msm8916-mainline/linux/pull/158 | Could work work after rebase onto https://github.com/msm8916-mainline/linux/pull/158 | ||
* FDE does not work without further config. | * FDE does not work without further config. |
Revision as of 12:08, 24 April 2021
![]() Huawei Honor 5X running Phosh | |
Manufacturer | Huawei |
---|---|
Name | Honor 5X |
Codename | huawei-kiwi |
Released | 2015 |
Hardware | |
Chipset | Qualcomm MSM8939v2 Snapdragon 616 |
CPU | Octa-core (4x1.2 GHz Cortex-A53 & 4x1.5 GHz Cortex-A53) |
GPU | Adreno 405 |
Display | 1080x1920 IPS |
Storage | 16 GB |
Memory | 2 GB |
Architecture | aarch64 |
Software | |
Original software | EMUI 3.1 on Android 5.1.1 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Broken |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Broken |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
Broken |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Works |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
What works
There are ~23 variants of this device. Yours might not be fully supported yet
- Buttons
- Display (
CMI_NT35532_5P5_1080PXA_VIDEO
)
- 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
)
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
- 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
- GPS is untested, but probably does not work at the moment. Probably requires modem to run.
Could work work after rebase onto https://github.com/msm8916-mainline/linux/pull/158
- FDE does not work without further config.
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.
Photos
Links
- pmaports!1739 Initial merge request (downstream, replaced by mainline kernel) Kernel used
- pmaports!1826 Initial mainline support
- Device package
- Kernel package
- TWRP image
Contributors
- fyfyone