Jump to content

Huawei Maimang 5 (huawei-milan)

From Nura Wiki
Huawei Maimang 5
Maimang 5 with lineageos
Maimang 5 with lineageos
Manufacturer Huawei
Name Maimang 5
Codename huawei-milan
Released 2016
Type handset
Hardware
Chipset Qualcomm Snapdragon 625 (MSM8953)
CPU Octa-core (4x 2.0 GHz Cortex-a53)
GPU Adreno 506
Display 1920x1080
Storage 32GB/64GB
Memory 3GB/4GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 6/7
Extended version
The most recent supported version from the manufacturer.
Android
Nura
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Nura kernel
The kernel version that runs on the device's port.
6.6.10
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
0.0
Device package device-huawei-milan
Kernel package linux-postmarketos-qcom-msm8953
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Whether charging and battery level reporting work.
Works
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Partial
Camera Flash
Partial
Connectivity
Wi-Fi
Works
Bluetooth
Works
GPS
Partial
Modem
Calls
Works
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching.
Partial
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Partial
Magnetometer
Sensor to measure the Earth's magnetism
Partial
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Partial

Contributors

Users owning this device

Fastboot mode

When you access Fastboot mode, you can view information about the SoC and whether the bootloader (DEVICE STATE) is locked or unlocked.

While in Fastboot mode you can use a computer to issue Fastboot commands to flash firmware to the device and manage the current slot that the bootloader is using to boot the operating system.

You can also use Volume Up + Volume Down to select an action from the menu at the top of the screen, and Power to select the action; which include powering off the device, continuing booting to the operating system, and restarting the bootloader which is useful if Fastboot commands are failing.

Enter Fastboot Mode

With the device unplugged and powered off, hold Volume Up + Volume Down + Power. Once you feel the device power on, continue holding Volume Up + Volume Down until you reach Fastboot Mode.

Unlock the bootloader

Before installing Nura you have to unlock your bootloader.

If your device is not carrier locked

The following is all that's needed to unlock the bootloader:

  • If you does not have the bootloader-code, please buy it with e.g. Taobao or ask a friend to help you e.g. Coolapk or XDA
  • Enter fastboot mode, re-attach your USB cable and run fastboot oem unlock bootloader-code from your host.
  • Read the message displayed on your device screen, once you're happy confirm the unlock. THIS WILL ERASE YOUR DEVICE!

Installation

Use pmbootstrap to build your own installation image.

$ pmbootstrap init
$ pmbootstrap install --fde

Panel

Type Supported
boe_otm1906c_5p5_1080p_cmd needs testing
boe_td4322_5p5_1080p_cmd needs testing
boe_test1906c_5p5_1080p_cmd needs testing
ctc_nt35596s_5p5_1080p_video needs testing
ctc_otm1906c_5p5_1080p_cmd Yes
jdi_r63452_5p5_1080p_cmd Yes
tianma_fic8736_5p5_1080p_cmd needs testing
tianma_focal8716_5p5_1080p_video Yes
tianma_otm1906c_5p5_1080p_cmd needs testing

Audio

Only the speaker is not supported yet.

Modem

Modem works since 6.7.2. SMS, calls and mobile data work with a Chinese SIM card.

Parts

Touchscreen

Both digitizers work fine but are disabled in mainline. Either one must be enabled via lk2nd.

Type Vendor Supported
RMI4 Synaptics Yes (disabled in dts)
Ft5x06 EDT Yes (disabled in dts)

UART

Huawei puts UART to the USB-C port. If you want to use it, you need to make a "Engineering line" by yourself.