Jump to content

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

From postmarketOS Wiki
Dsdsdas (talk | contribs)
m Update modem status
Dsdsdas (talk | contribs)
Update functional status
Line 22: Line 22:
| status_fde = N
| status_fde = N
| status_mainline = Y
| status_mainline = Y
| status_battery =
| status_battery = N
| status_3d = Y
| status_3d = Y
| status_accel =  
| status_accel =  
Line 34: Line 34:
| status = Boots
| status = Boots
| booting = yes}}
| booting = yes}}
== Contributors ==
* fyfyone
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
None


== What works ==
== What works ==
Line 61: Line 52:


* Audio / Microphone
* Audio / Microphone
* Vibrator
* Hall effect sensor


<code>hwtest</code>:
<code>hwtest</code>:
Line 79: Line 74:
| illuminance || apds9930 || /sys/bus/iio/devices/iio:device1 || working
| illuminance || apds9930 || /sys/bus/iio/devices/iio:device1 || working
|-
|-
| input || cyttsp5 || /dev/input/event3 || working
| input || cyttsp5 || /dev/input/event6 || working
|-
|-
| input || GPIO Buttons || /dev/input/event2 || 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/event1 || working
Line 95: Line 94:
<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">
<code>
<pre>[  29.678876] q6asm-dai 4080000.remoteproc:smd-edge:apr:apr-service@7:dais: command[0x10bdb] not expecting rsp
<pre>[  29.678876] q6asm-dai 4080000.remoteproc:smd-edge:apr:apr-service@7:dais: command[0x10bdb] not expecting rsp
[  39.075708] rpmsg_chrdev remoteproc0:smd-edge.rpmsg_chrdev.0.0: channel DATA5_CNTL is busy
[  39.075708] rpmsg_chrdev remoteproc0:smd-edge.rpmsg_chrdev.0.0: channel DATA5_CNTL is busy
Line 106: Line 104:
[  93.595751] qcom-wcnss-pil a204000.remoteproc: unexpected response to sysmon event
[  93.595751] qcom-wcnss-pil a204000.remoteproc: unexpected response to sysmon event
[  93.595764] remoteproc remoteproc0: stopped remote processor 4080000.remoteproc</pre>
[  93.595764] remoteproc remoteproc0: stopped remote processor 4080000.remoteproc</pre>
</code>
</div>
</div>
</div>
</div>
Line 123: Line 120:
# Unlock the bootloader. See [[Bootloader#Huawei]]
# Unlock the bootloader. See [[Bootloader#Huawei]]
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd]. Although Huawei already provides a Fastboot interface, lk2nd contains various quirks for booting mainline.
# Install [https://github.com/msm8916-mainline/lk2nd#readme lk2nd]. Although Huawei already provides a Fastboot interface, lk2nd contains various quirks for booting mainline.
# Please follow the [[Installation guide]]
# 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.
# Follow the steps displayed at the end of output the previous command to finally flash postmarketOS.


Line 131: Line 128:


[[File:Huawei-honor-5x-0.jpg|200px]]
[[File:Huawei-honor-5x-0.jpg|200px]]
== Mainline kernel ==
{| class="wikitable"
|-
! scope="col"| Parts
! scope="col"| Components
! scope="col"| In Torvalds tree?
|-
| scope="row"| Chipset
| MSM8939
| No
|-
| scope="row"| GPU
| Adreno 405
| ?
|-
| scope="row"| Touchscreen
| cyttsp5
| No
|-
| scope="row"| Fingerprint Sensor
| ?
| ?
|-
| scope="row"| Accelerometer + Gyroscope
| ?
| ?
|-
| scope="row"| Ambient Light/Proximity
| apds9930
| Yes
|-
| scope="row"| Magnetometer
| ak09911
| Yes
|-
| scope="row"| Sound
| ?
| ?
|-
| scope="row"| Notifications LED
| ?
| ?
|-
| scope="row"| Front Camera
| ?
| ?
|-
| scope="row"| Back Camera
| ?
| ?
|}


== Links ==
== Links ==
Line 190: Line 134:
* {{Device package|huawei-kiwi}}
* {{Device package|huawei-kiwi}}
* {{Kernel package|huawei-kiwi}}
* {{Kernel package|huawei-kiwi}}
== Contributors ==
* fyfyone
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
None

Revision as of 17:49, 4 March 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
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
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

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

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

Maintainer(s)

None