Jump to content

Huawei Maimang 5 (huawei-milan)

From postmarketOS 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
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS 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
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
Charging and battery level reporting works
Works
Screen
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
WiFi
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
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Partial
Magnetometer
Sensor to measure magnetism
Partial
Ambient Light
Partial

Contributors

  • Bzy-080408

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 postmarketOS 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
  • Refer to "how to enter flash mode" above to get into fastboot mode, then re-attach your USB cable. Run the following command on your host:
fastboot oem unlock bootloader-code
  • 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 need test
boe_td4322_5p5_1080p_cmd need test
boe_test1906c_5p5_1080p_cmd need test
ctc_nt35596s_5p5_1080p_video need test
ctc_otm1906c_5p5_1080p_cmd Yes
jdi_r63452_5p5_1080p_cmd Yes
tianma_fic8736_5p5_1080p_cmd need test
tianma_focal8716_5p5_1080p_video Yes
tianma_otm1906c_5p5_1080p_cmd need test

Audio

Only speaker is not supported yet.

Modem

Modem works since 6.7.2. The SMS,calls and mobiledata workes by chinese SIM.

Parts

Touchscreen

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

Serial UART

Huawei put UART to type-c port,if you want to use it,you need to make a "Engineering line" by yourself

See also