Xiaomi Redmi Note 4 (MediaTek) (xiaomi-nikel)
Appearance
	
	
| This device is marked as not booting. | 
|  CHANGE_ME | |
| Manufacturer | Xiaomi | 
|---|---|
| Name | Redmi Note 4 (MediaTek) | 
| Codename | xiaomi-nikel | 
| Released | 2016 | 
| Type | handset | 
| Hardware | |
| Chipset | MediaTek Helio X20 (MT6797) | 
| CPU | Deca-core 2.1 GHz | 
| GPU | Mali-T880 MP4 | 
| Display | IPS LCD, 1080x1920 5.5", 16:9 ratio (~401 ppi density) | 
| Storage | 16/64 GB | 
| Memory | 2/3/4 GB | 
| Architecture | aarch64 | 
| Software | |
| Original software The software and version the device was shipped with. | Android (MIUI) 6 (MIUI 7) | 
| Extended version The most recent supported version from the manufacturer. | Android (MIUI) | 
| postmarketOS | |
| Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. | yes | 
Contributors
Users owning this device
- Flagship Polaris
- InfiniteCoder (Notes: Trying to get wifi working on downstream and use as a server)
- Tretdm (Notes: Restoring the functionality of sensors and fingerprint scanners for MTK-modified AOSP)
How to enter flash mode
Bootloader Unlocking
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock
The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)
Recovery mode
- Turn the device off (or restart also works)
- Hold and button
- Once you feel vibration and phone turns on, release button
- Keep holding until you get to recovery.
Flashing (Download, Fastboot) mode
- Same as recovery, but this time hold the and keys.
BROM mode
- Turn the device off (or restart also works)
- Recommended to disconnect the battery
- Hold and buttons
- Connect USB. You might also need to press and hold
From there can be flashed with SP Flash Tool or mtkclient without even unlocking the bootloader