Xiaomi Redmi Note 4 (xiaomi-mido)
Xiaomi Redmi Note 4 | |
Manufacturer | Xiaomi |
---|---|
Name |
Redmi Note 4 / 4X |
Codename | xiaomi-mido |
Released | 2017 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 625 (MSM8953) |
CPU | Octa-core 2 GHz Cortex-A53 |
GPU | Adreno 506 |
Display | 1080x1920 |
Storage | 16 GB / 32 GB / 64 GB |
Memory | 2 GB / 3 GB / 4 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 6 (MIUI 9) |
postmarketOS | |
Category | community |
Pre-built images | yes |
Unixbench Whet/Dhry score | 3697.5 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Partial |
Camera Flash | |
IR TX |
Works |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Partial |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Partial |
Miscellaneous | |
FDE |
Works |
USB OTG |
Works |
HDMI/DP | |
Sensors | |
Accelerometer |
Works |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
Maintainer(s)
Contributors
Users owning this device
- 6yntar05 (Notes: Daily Driver)
- Bczeman
- Eldyj (Notes: Daily driver, 32gb, chinese display (damaged)&battery, black screen when booting PMOS, running Voltage OS)
- Gravitos (Notes: Only visual damage)
- Icenowy
- Jan64X
- Joel
- Kiciuk (Notes: Daily Driver-currently mainlining)
- Lassebq
- Lucid (Notes: Daily Driver)
- Marc0x (Notes: 2 , one with broken display)
- Marineboy1
- Mighty (Notes: Daily Driver)
- Overbafer1
- Qwertz (Notes: Ubuntu Touch/PMOS)
- Selfisekai
- Serg12344
- Sliwkr
- Slwyts (Notes: 4GB RAM, 64GB Flash)
Device Notes
Touchscreen
- focaltech variant is enabled.
- goodix variant is added but disabled in dts. For enable custom lk2nd build is needed and goodix touchscreen-compatible should be selected. https://github.com/msm8916-mainline/lk2nd/blob/main/lk2nd/device/dts/msm8953/msm8953-xiaomi-common.dts#L73-L92.
// touchscreen-compatible = "edt,edt-ft5406";
touchscreen-compatible = "goodix,gt917d";
Modem
Modem works with ipa-lite since 6.7.2, but mobile data is not working on all variants yet, calls and sms are working.
Display Panels
LCD Vendor | IC Vendor | Supported? |
---|---|---|
BOE | Novatek NT35532 | Yes |
Tianma | Novatek NT35596 | Yes |
Tianma | otm1911 | Yes |
BOE | IlItek ili9885 | Need testing |
EBBG(Foxconn) | Synaptics r63350 | Yes |
Camera
Camera Sensor | Package vendor | Supported? |
---|---|---|
Sony IMX258 | Ofilm/qtech/sunny | imx258.c in mainline - need testing |
Samsung S5K3L8 | Ofilm/qtech/sunny | It was added to 6.7.5 and configuration is merged in megapixels. |
Samsung S5K5E8 | Ofilm/qtech/sunny | No support for now |
Omnivision ov13855 | Ofilm/qtech/sunny | No support for now |
Battery
Battery Vendor | Supported? |
---|---|
Desay lisheng 4v4 | Yes |
Sunwooda atl | Yes |
Sensors
Bosch BMI160 is supported since 6.6.8 All sensors are handled by remote processor and exposed via QMI, they all will work once proper driver lands in mainline.
IR led
IR led support is landed in 6.7.2.
It can be used with: # ir-ctl -S rc5:0x1e01
GPS
Qualcomm_Snapdragon_450/625/626/632_(MSM8953)#GPS
Installation
- Follow the Installation guide
Warning: Flashing lk2nd is required, as it is a hard dependency. Without it the mainline kernel will not select the display panel (resulting in black screen on boot). |
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs
How to enter flash mode
- Stock Fastboot: Power on the device with both Power and Volume Down buttons
- lk2nd Fastboot: Power on the device. After it vibrates, hold Volume Down
Note: Pressing the keys too early will cause the stock bootloader to handle the key combination. You will end up in the wrong Fastboot interface. |
- Recovery: Power on the device with both Power and Volume Up buttons