Huawei Honor 7 (huawei-aum)

From postmarketOS Wiki
Huawei Honor 7 (AUM)
Blue Honor 7
Blue Honor 7
Manufacturer Huawei
Name Honor 7 (AUM)
Codename huawei-aum
Model AUM-L41
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 430 (MSM8937)
CPU Octa-core 1.4 GHz Cortex-A53
GPU Adreno 505
Display 720x1440
Storage 16/32 GB
Memory 2/3 GB
Architecture aarch64
Software
Original software Android
Original version 8.0
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline partial
postmarketOS kernel 3.18.68
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories.
This means that it cannot be selected in pmbootstrap.
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Battery
Works
Screen
Works
Touchscreen
Works
Keyboard
Touchpad
Stylus
Multimedia
3D Acceleration
Built-in DVB
Audio
Camera
Camera Flash
IR TX
IR RX
Connectivity
WiFi
Broken
Bluetooth
Ethernet
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB-A
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
Power Sensor


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 ramdisk and kernel partitions.
Note This device has a locked bootloader.

Although it has only been tested with AUM-L41, technically, this should work with both AUM and LND models that have the MSM89*7 SoC.

How to Enter Flash Mode

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

Installation

Note The fastboot boot command works. You can use pmbootstrap flasher boot to boot without flashing.

Hard Way Around

Note eRecovery has its own kernel and ramdisk partitions.

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

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

Use mkbootimg.

Make the ramdisk image:

$ ./mkbootimg --kernel /dev/null --ramdisk /path/to/file/initramfs --base 0x80000000 --kernel_offset 0x00008000 --ramdisk_offset 0x02000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --pagesize 2048 --header_version 0 -o /path/to/file/pmOS_RAMDISK.img

Make the kernel image:

$ ./mkbootimg --kernel /path/to/file/vmlinuz --ramdisk /dev/null --base 0x80000000 --kernel_offset 0x00008000 --ramdisk_offset 0x02000000 --second_offset 0x00f00000 --tags_offset 0x00000100 --pagesize 2048 --header_version 0 -o /path/to/file/pmOS_KERNEL.img

Using lk2nd

Note This device falls under the 'quirky' devices category. Make sure to read the notes.

Install it following the standard procedure.

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

  • The touchscreen stops responding after ~5 minutes of inactivity.
  • Unable to get the Wi-Fi to work.

Gallery

See also