Xiaomi Redmi Note 8 Pro (xiaomi-begonia)
![]() Redmi Note 8 Pro running Weston | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi Note 8 Pro |
Codename | xiaomi-begonia |
Released | 2019 |
Hardware | |
Chipset | Mediatek MT6785 (Helio G90T) |
CPU | Octa-core (2x2.05 GHz Cortex-A76 & 6x2.0 GHz Cortex-A55) |
GPU | Mali-G76 MC4 |
Display | 1080 x 2340 |
Storage | 64/128/256 GB |
Memory | 6/8 GB |
Architecture | aarch64 |
Software | |
Original software | Android 9.0, MIUI 11 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
postmarketOS kernel | 4.14.218 |
Unixbench Whet/Dhry score | 5577.1 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Broken |
Audio |
Broken |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Partial |
Bluetooth |
Broken |
GPS |
Broken |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
No data |
USB OTG |
Works |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Broken |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Contributors
Maintainer(s)
Users owning this device
- Cxt
- KittyLe (Notes: running pmOS)
- Michaelskyf (Notes: Daily driver - LineageOS 19.0)
- Operachi (Notes: Droidian Phosh)
- PiotrZPL (Notes: Sold after the Mediatek CPU ruined my mental health.)
- Prowindows62 (Notes: cannot be used for testing)
- Sohrabbehdani (Notes: running CrDroid)
How to enter flash mode
Unlocking the bootloader
Sign up for a Mi Account, register your device in the settings, and wait for a week. More info
Before you go any further
Please read Redmi Note 8 Pro XDA Megathread
Entering recovery
+
Entering fastboot
+
Installation
!!! Install CFW 2.0
Redmi Note 8 Pro doesn't quite like custom ROMs normally, so you have to flash a few blank files to get different custom ROMs to work.
- Download CFW2.0 and unzip it.
- Go to a folder with your device's codename in it.
- Run
!_FLASH_IT_L.sh
on Linux/macOS or!_FLASH_IT_W.bat
on Windows. - After this, follow the next steps.
Via fastboot
pmbootstrap init
pmbootstrap install
pmbootstrap flasher flash_rootfs
pmbootstrap flasher flash_kernel
fastboot reboot
Via zip
pmbootstrap init
pmbootstrap install --android-recovery-zip
pmbootstrap export
- Transfer the zip to the device
adb push /tmp/postmarketOS-export/pmos-xiaomi-begonia.zip /sdcard
- Flash the zip
- Reboot
Unbricking
If something went terribly wrong (eg. boot.img doesn't contain valid DTB) your device will hard-brick. Fortunately these days it's pretty easy to unbrick the device.
Requirements (GNU/Linux):
- Kernel patched with this patch
- Python3:
pyusb pyserial json5
- SP Flash Tool (tested with version 5.2208)
- Mediatek Bypass utility
- Known working partitions (from backup or Android ROM)
- MT6785 scatter file
Steps:
- Run the exploit
- Connect the device via USB and hold Volume Up (+)
- When "Protection disabled" message appears, open SP Flash Tool
- Select partition images that you want to write and click Download
- After green checkmark image appears, restart your phone
Misc
Andoid memory map
$ sudo cat /proc/iomem
Booting process
1. BROM (Boot ROM)
Boots when power is applied to SoC. Initializes flash storage and starts preloader
2. PL (Preloader)
Initializes basic devices like usb, gpio, timers, etc. If Volume Up (+) is held, PL will hand controll back to BROM wth EDL (Emergency Download Mode).
3. LK (Little Kernel)
Displays logo and verifies some partitions (TODO: which partitions).
If it fails to verify partition, it won't continue.
!IMPORTANT! LK WILL USE DTB (Device Tree Blob) FOUND IN BOOT.IMG which means that if DTB is invalid, the device will be hard-bricked
4. Linux
Additional info
See also
- pmaports!1909 Initial merge request