Xiaomi Redmi Note 5 Pro (xiaomi-whyred)

Contributors

 * javabird25

Maintainer(s)

 * javabird25

How to enter flash mode

 * 1) Turn off the device
 * 2) Press  +  to enter fastboot

Installation
Here's how to boot pmOS via fastboot:


 * 1) Install to a SD card with
 * 2) Insert the SD card into the device
 * 3) Connect the device to your PC
 * 4) Enter the fastboot mode
 * 5) In order to boot an image with fastboot, an 8-Kb image of zeros should be flashed to the   partition every time we want to use   or  . Create an image if you haven't done that already:
 * 6) Flash the freshly created   to the   partition:
 * 7) Finally, boot pmOS. Note that it does take a while to load the desktop:

Alternatively, flashing a zip image through the recovery does not appear to trigger anti-rollback protection. This has only been tested on one device with the following procedure, proceed at your own risk:


 * 1) Create a recovery zip with
 * 2) Export the zip with , this will create a link to the zip at
 * 3) Copy the zip to your device and flash with the recovery of your choice, though this has only been tested on OrangeFox Recovery R11.0.

Your recovery may show some warnings during the install process and warn you that no OS is installed after flashing postmarketOS. You can ignore those warnings.

For more info on using recovery zips, see Installation from recovery mode

Accessing UART

 * Disassemble the device
 * Unscrew the battery connector holder
 * Disconnect charging board connector (Note: UART test point is under the charging board connector so you can't use usb while accessing UART or you solder thin wires to it)