Jump to content

Huawei Honor 7 (huawei-aum): Difference between revisions

From postmarketOS Wiki
Frost I7 (talk | contribs)
mNo edit summary
Frost I7 (talk | contribs)
mNo edit summary
Line 16: Line 16:
| memory = 2/3 GB
| memory = 2/3 GB
| architecture = aarch64
| architecture = aarch64
 
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = P
| status_flashing = P
| status_touch = Y
| status_touch = Y
| status_screen = Y
| status_screen = Y
| status_wifi =  
| status_wifi = <!-- Wireless network works? -->
| status_xwayland =  
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde =  
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = -
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = P
| status_battery = Y
| status_3d =  
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_audio =  
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_bluetooth =  
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera =  
| status_camera = <!-- Taking photos and videos works. -->
| status_gps =  
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_mobiledata =  
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_sms =  
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_calls =  
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_otg = Y
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_nfc =  
| status_nfc = <!-- Near-Field Communication (NFC) works -->
| status_usba = -
| status_usba = -
| status_hdmidp = -
| status_hdmidp = -
Line 41: Line 41:
| status_touchpad = -
| status_touchpad = -
| status_irtx = -
| status_irtx = -
| status_trustzone =
| status_accel =  
| status_accel =  
| status_magnet = -
| status_magnet = -
Line 49: Line 48:
| status_barometer = -
| status_barometer = -
| status_powersensor = -
| status_powersensor = -
| status_fossbootloader =  
| status_fossbootloader = <!-- Device has a free and open source bootloader -->
| booting = yes
| booting = yes
}}
}}
Line 63: Line 62:
== Information ==
== Information ==
{{note|This device has a separate boot (so-called ramdisk) and the kernel partitions.}}
{{note|This device has a separate boot (so-called ramdisk) and the kernel partitions.}}
{{note|This device has a [https://wiki.postmarketos.org/wiki/Bootloader#Huawei locked bootloader] with no official way to unlock it.}}
{{note|This device has a [[Bootloader#Huawei|locked bootloader]] with no official way to unlock it.}}
Technically, this should work with both AUM and LND models that have MSM8937 SoC.
Technically, this should work with both AUM and LND models that have MSM89*7 SoC.


== How to enter flash mode ==
== How to enter flash mode ==
Line 118: Line 117:


== See also ==
== See also ==
* [https://github.com/FrostI7Alex/linux-huawei-aum linux-huawei-aum] - Downstream Kernel.
* [https://github.com/FrostI7Alex/linux-huawei-aum Downstream kernel with a few patches]

Revision as of 07:11, 20 January 2023

Huawei Honor 7 (AUM)
AUM
AUM
Manufacturer Huawei
Name Honor 7 (AUM)
Codename huawei-aum
Released 2018
Hardware
Chipset Qualcomm Snapdragon 430 (MSM8937)
CPU Octa-core 1.4 GHz Cortex-A53
GPU 450 MHz Adreno 505
Display 720x1440
Storage 16/32 GB
Memory 2/3 GB
Architecture aarch64
Software
Original software Android
Original version 8.0 Oreo (EMUI 8)
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 3.18.68
Features
Flashing
Partial
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
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
Sensors
Accelerometer
No data
Ambient Light
No data
Proximity
No data
Haptics
No data


Contributors

  • Frost_I7 (I'll try to keep the wiki page up-to-date with the available info when I'm active.)

Users owning this device


Information

Note This device has a separate boot (so-called ramdisk) and the kernel partitions.
Note This device has a locked bootloader with no official way to unlock it.

Technically, this should work with both AUM and LND models that have MSM89*7 SoC.

How to enter flash mode

Hold Power and Volume Down buttons (while connected to the USB) to boot into the fastboot.

Installation

Note fastboot boot command works on this device, so you can use pmbootstrap flasher boot to boot without flashing.
Note eRecovery has its own kernel partition, so you can install it there, but you need to flash via TWRP.

You need to separately flash initramfs as ramdisk and vmlinuz as kernel.

You can flash it to either the system (ramdisk and kernel), to the first recovery (recovery_ramdisk and kernel) or to the second recovery (erecovery_ramdisk and erecovery_kernel).

Use mkbootimg.

Create a ramdisk image:

$ ./mkbootimg --kernel /dev/null --ramdisk /path/to/file/initramfs --cmdline 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci slub_min_objects=12 unmovable_isolate1=2:192M,3:224M,4:256M androidboot.selinux=permissive buildvariant=user' --base 0x80000000 --kernel_offset 0x00008000 --ramdisk_offset 0x02000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --os_version 8.0.0 --os_patch_level 2019-01 --pagesize 2048 --header_version 0 --hashtype sha1 -o /path/to/file/pmOS_RAMDISK.img

Create a kernel image:

$ ./mkbootimg --kernel /path/to/file/vmlinuz --ramdisk /dev/null --cmdline 'androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci slub_min_objects=12 unmovable_isolate1=2:192M,3:224M,4:256M unmovable_isolate2=2:64M,3:80M,4:80M androidboot.selinux=permissive buildvariant=user' --base 0x80000000 --kernel_offset 0x00008000 --ramdisk_offset 0x02000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --os_version 8.0.0 --os_patch_level 2019-01 --pagesize 2048 --header_version 0 --hashtype sha1 -o /path/to/file/pmOS_KERNEL.img

Downstream

hwtest

$sudo hwtest
Category         Model                Path                                                                                           Status     Value
framebuffer      mdssfb_80000         /sys/class/graphics/fb0                                                                        working    U:720x1440p-59
framebuffer      mdssfb_a0000         /sys/class/graphics/fb1                                                                        working
input            huawei,ts_kit        /dev/input/event3                                                                              working
input            gpio-keys            /dev/input/event2                                                                              working
input            fingerprint          /dev/input/event1                                                                              working
input            qpnp_pon             /dev/input/event0                                                                              working

xrandr

$xrandr
Can't open display

Issues

  • Touchscreen stops responding after 5 minutes of inactivity.
  • Can't get the Wi-Fi to work.

Gallery

See also