This repository has been archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 663
Xiaomi Redmi Note 9
evolutech7711 edited this page Jan 6, 2023
·
1 revision
Tested on:
- LineageOS 18.1 20210808 from Andy Yan (with modified rw-system.sh), MIUI 12.5.1.0 vendor
Component | Status |
---|---|
Wi-Fi (2.4 and 5 GHz) | Working |
RIL | Working |
Bluetooth | Working |
USB tethering | Working |
Wi-Fi hotspot (2.4 and 5 GHz) | Working |
Fingerprint | Working |
Encryption | Working |
Speaker / Microphone | Working |
USB MTP/PTP/MIDI | Working |
Camera | Working, auxiliary modules are not tested |
NFC | Working |
VoLTE | Not tested |
IR blaster | Not tested |
Offline charging | Broken, stays at OEM logo |
You should have platform-tools and ADB/Fastboot driver installed
- Download GSI and unpack it (you should have .img file at the end)
- Reboot to fastboot (Power + Vol-)
- Reboot to fastbootd:
fastboot reboot fastboot
- Disable vbmeta:
fastboot flash --disable-verification --disable-verity vbmeta (path to stock vbmeta.img)
- Flash GSI:
fastboot flash system (path to your GSI .img file)
- Wipe userdata:
fastboot format:ext4 userdata
- Reboot
You should have platform-tools and ADB/Fastboot driver installed
- Download GSI and unpack it (you should have .img file at the end)
- Download one of these recoveries: OrangeFox R11.1, SHRP, TWRP 3.5.2_10.0 (be aware that these links might be outdated, to get latest recoveries go to @HelioG85_Updates)
- Reboot to fastboot (Power + Vol-)
- Disable vbmeta:
fastboot flash --disable-verification --disable-verity vbmeta (path to stock vbmeta.img)
- Flash recovery:
fastboot flash recovery (path to your recovery .img file)
- Reboot to fastbootd:
fastboot reboot fastboot
- Flash GSI:
fastboot flash system (path to your GSI .img file)
- Reboot to recovery:
fastboot reboot recovery
- Wipe->Format Data
- Install Magisk
- Reboot
Currently Phh Treble settings can't apply presets for some reason, so you have to enable these options:
Misc features->Use alternative way to detect headsets (fixes headphone jack)
Misc features->Force alternative backlight scale (fixes backlight)
Misc features->Force-disable A2DP offload (fixes Bluetooth audio)
For some reason blockdev errors out:
merlinnfc:/ # mount -o rw,remount /
'/dev/block/dm-0' is read-only
merlinnfc:/ # blockdev --setrw /dev/block/dm-0
blockdev: ioctl 125d: Permission denied
1|merlinnfc:/ #
This problem was fixed by this commit, however the UI is still a bit laggy.
End