Huawei Maimang 5 (huawei-milan)

From postmarketOS
Huawei Maimang 5
Maimang 5 with lineageos
Maimang 5 with lineageos
Manufacturer Huawei
Name Maimang 5
Codename huawei-milan
Released 2016
Category testing
Original software Android
Original version 6/7
postmarketOS kernel 6.6.10
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
Type handset
Unixbench Whet/Dhry score 0.0
Features
USB Networking
Works
Flashing
Works
Touchscreen
Partial
Display
Works
WiFi
Works
FDE
Works
Mainline
Works
Battery
Works
3D Acceleration
Works
Audio
Partial
Bluetooth
Works
Camera
Partial
GPS
Partial
Mobile data
Broken
Internal storage
SMS
Partial
Calls
Partial
USB OTG
Partial
Sensors
Accelerometer
Partial
Magnetometer
Partial
Ambient Light
Partial
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Partial
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

  • Bzy-080408

Mainline Kernel

Note Note: Mainline kernel hasn`t merged.For mainline kernel, see https://github.com/bzy-080408/linux.

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.

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