Xiaomi Redmi Note 5 Pro (xiaomi-whyred)
(Redirected from Xiaomi Redmi Note 5 (xiaomi-whyred))
Xiaomi Redmi Note 5 Pro | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi Note 5 Pro |
Codename | xiaomi-whyred |
Released | 2018 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 636 (SDM636) |
CPU | Octa-core Kryo 260 1.8 GHz |
GPU | Adreno 509 |
Display | 2160x1080 (403 PPI) IPS |
Storage | 64 GB |
Memory | 4/6 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 9 |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 4.4.78 |
Flashing | |
---|---|
USB Networking |
Works |
Internal storage | |
SD card | |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration | |
Audio | |
Camera | |
Camera Flash | |
Connectivity | |
WiFi | |
Bluetooth | |
GPS | |
NFC | |
Modem | |
Calls | |
SMS | |
Mobile data | |
Miscellaneous | |
FDE | |
USB OTG | |
HDMI/DP | |
Sensors | |
Accelerometer |
Broken |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
This device is based on the Snapdragon 636. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
- javabird25
Maintainer(s)
- javabird25
Users owning this device
- AAT596 (Notes: LineageOS 18.1, audio broken, internal speaker still works)
- Alexeymin (Notes: Test subject #3)
- Csoftware (Notes: Not working Wayland, Touch and Display is broken, controlled by usb otg mouse)
- Devajithvs (Notes: Possible Future Test subject)
- Fireman112 (Notes: Daily driver)
- ItsVixano (Notes: Requires USB charger port replacement)
- TheMooskyFish (Notes: Old Phone - Testing Device)
- Vincele (Notes: LOS 18.1, activity tracker)
- ZeroCool32 (Notes: runs pmos, modem doesn't work)
How to enter flash mode
- Turn off the device
- Press Power + Volume Down to enter fastboot
Installation
CAUTION: Flashing any image with antirollback index lower than 4 (Android 8 or lower, for example) could potentially brick your device due to Anti-rollback protection. See a related XDA Developers post for more information. |
Here's how to boot pmOS via fastboot:
- Install to a SD card with
pmbootstrap install --sdcard=/dev/sdX
- Insert the SD card into the device
- Connect the device to your PC
- Enter the fastboot mode
- In order to boot an image with fastboot, an 8-Kb image of zeros should be flashed to the
antirbpass
partition every time we want to usepmbootstrap flasher boot
orfastboot boot
. Create an image if you haven't done that already:$ dd if=/dev/zero of=dummy.img bs=8K count=1
- Flash the freshly created
dummy.img
to theantirbpass
partition:$ fastboot flash antirbpass dummy.img
- Finally, boot pmOS. Note that it does take a while to load the desktop:
$ pmbootstrap flasher boot
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:
- Create a recovery zip with
pmbootstrap install --android-recovery-zip
- Export the zip with
pmbootstrap export
, this will create a link to the zip at/tmp/postmarketOS-export/pmos-xiaomi-whyred.zip
- 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)
See also
- pmaports!1088 Initial merge request
- Device package
- Kernel package