Xiaomi Redmi Note 8 Pro - phhusson/treble_experimentations GitHub Wiki
Overview
Info |
Value |
Device codename |
begonia |
Release date |
September 2019 |
Stock ROM |
Android 9 to 11 (MIUI 12.5) |
VNDK |
30.0 |
Compatible Images |
ARM64 AB [vndklite] |
CPU |
Mediatek MT6785 Helio G90T |
Hardware support
Component |
Status |
Note |
RIL |
Working |
GSM / HSPA / LTE |
Double SIM |
Working |
|
MicroSD |
Working |
|
Display |
Working |
60Hz |
Camera 64MP |
Working |
limited to 16MP in standard cameras |
Camera Macro |
Working |
|
Camera Ultrawide |
Working |
|
Camera Depth sensor |
Working |
used as 2MP lense in standard cameras |
Camera Front |
Working |
limited to 5MP in standard cameras |
Speaker |
Working |
|
3.5mm Jack |
Working |
|
Mic |
Working |
|
Bluetooth |
Working |
|
WiFi |
Working |
hotspot as well |
GPS |
Working |
|
NFC |
Working |
not tested for payments |
IR blaster |
Working |
|
FM radio |
Not Working |
needs proprietary lib |
Fingerprint |
Working |
|
Offline Charging |
Partially Working |
boots to recovery |
Notification LED |
Working |
|
Software Support
Component |
Status |
Comment |
VoLTE |
Not Tested |
|
Auto Brightness |
Working |
|
Night Light |
Working |
|
Notch overlay |
Working |
|
D2TW |
Working |
Settings > Phh Treble Settings > Xiaomi features > Enable DT2W |
Face Unlock |
Working |
|
Camera
TODO
Installation
- Update to latest vendor (via OTA or fastboot package if bootloader is unlocked)
- Unlock bootloader (officially or via mtkclient)
- Recommended: backup sensitive partitions (in case you inadvertently wipe IMEI)
nvcfg
nvdata
nvram
persist
protect_f
protect_s
- Follow PHH flashing guide (see telegram note
#flash
)
Uninstallation / Back to stock MIUI
From a working device using fastboot
- Download a full ROM package, usually marked as
Fastboot
, from Xiaomi Firmware Updater
- Verify
.tgz
archive hash (MD5 hash is provided on download page)
- Open or extract
.tar
from .tgz
archive
- Extract ROM files from
.tar
archive to disk
- Connect your device in fastboot mode (verify using
fastboot devices
)
- Execute
flash_all
script (or flash_all_lock
if you want to relock bootloader)
.bat
for windows
.sh
for linux
- Device should reboot automatically, if not and no error was displayed try
fastboot reboot
- Device should boot on MIUI (on first boot splash logo can de displayed few minutes)
Unbricking
If something went terribly wrong and you need to completely reset the device here are some recommendations:
- Charge the battery by leaving the phone plugged for a while (even in bootloop)
- Try to hard restart the device by holding
POWER
for ~10 seconds
- Try to make a userdata backup using
mtkclient
BROM exploit
- Try to boot into fastboot or recovery mode via key combo (or by plugging the phone and only with volume key if it bootloops)
- recovery:
POWER
+ VOLUME UP
- fastboot:
POWER
+ VOLUME DOWN
- From recovery: Wipe Data !! this will format userdata and erase all your data from the phone !!
- From fastboot:
- dirty flash the same system image (data should be preserved)
- format data:
fastboot -w
- clean flash a system image
- Use SP Flash Tool and bypass utility: see postmarketOS unbrick guide
Testers
Thanks to previous testers hopefullyidontgetbanned, tvardero and timbortnik on early stages of GSI testing (May 2020).