Jump to content

Huawei Honor 5X (huawei-kiwi): Difference between revisions

From postmarketOS Wiki
Maxnet (talk | contribs)
m clean up
Dsdsdas (talk | contribs)
m Add twrp image link
Line 28: Line 28:
| status_bluetooth = Y
| status_bluetooth = Y
| status_camera = N
| status_camera = N
| status_gps =  
| status_gps = N
| status_mobiledata =  
| status_mobiledata = N
| status_sms =  
| status_sms = N
| status_calls =
| status_calls = N
| status = Boots
| status = Boots
| booting = yes}}
| booting = yes}}
Line 56: Line 56:


* Hall effect sensor
* Hall effect sensor
* Notification LED


<code>hwtest</code>:
<code>hwtest</code>:
Line 90: Line 92:


* Modem starts and is detected, but every ~40s it crashes with following error. Should work just like msm8916, help appreciated.
* Modem starts and is detected, but every ~40s it crashes with following error. Should work just like msm8916, help appreciated.
Probably requires rmt_oeminfo and other services. Similar error described in [[Google_Nexus_6P_(huawei-angler)#Modem]]


<div class="toccolours mw-collapsible mw-collapsed">
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.6;">dmesg error</div>
<div style="font-weight:bold;line-height:1.6;">dmesg error</div>
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<pre>[  29.678876] q6asm-dai 4080000.remoteproc:smd-edge:apr:apr-service@7:dais: command[0x10bdb] not expecting rsp
<pre>[  91.795192] qcom-q6v5-mss 4080000.remoteproc: fatal error received: dog.c:1503:Watchdog detects stalled initialization
[  39.075708] rpmsg_chrdev remoteproc0:smd-edge.rpmsg_chrdev.0.0: channel DATA5_CNTL is busy
[  39.075724] rpmsg rpmsg0: failed to open DATA5_CNTL
[  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.795231] remoteproc remoteproc0: crash detected in 4080000.remoteproc: type fatal error
[  91.795322] remoteproc remoteproc0: handling crash #1 in 4080000.remoteproc
[  91.795322] remoteproc remoteproc0: handling crash #1 in 4080000.remoteproc
Line 107: Line 107:
</div>
</div>


* GPS is untested, but probably does not work at the moment.
* 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


Line 134: Line 134:
* {{Device package|huawei-kiwi}}
* {{Device package|huawei-kiwi}}
* {{Kernel package|huawei-kiwi}}
* {{Kernel package|huawei-kiwi}}
* [https://twrp.me/huawei/huaweihonor5x.html TWRP image]


== Contributors ==
== Contributors ==
* fyfyone
* fyfyone

Revision as of 15:26, 21 April 2021

Huawei Honor 5X
Huawei Honor 5X running Phosh
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
Features
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
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


What works

  • 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

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:device2 working
illuminance apds9930 /sys/bus/iio/devices/iio:device1 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 msm8916, help appreciated.

Probably requires rmt_oeminfo and other services. Similar error described in Google_Nexus_6P_(huawei-angler)#Modem

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 Volume Down + Power at the same time.

Installation

  1. Unlock the bootloader. See Bootloader#Huawei
  2. Install lk2nd. Although Huawei already provides a Fastboot interface, lk2nd contains various quirks for booting mainline.
  3. Please follow the Installation guide. Enable nonfree firmware for WIFI/BT/GPU
  4. Follow the steps displayed at the end of output the previous command to finally flash postmarketOS.

Photos

Links

Contributors

  • fyfyone