How to install android P on Redmi 4 Prime

How to install android P on Redmi 4 Prime

Ondra
It's experimental, so don't cry if something bad happens

Group:
@PsemiGSI

Bugs:
-Notification LED works only for charging
-You need to enable mtp in developer settings
-Haptic feedback on hw navigation buttons doesn't work
-VOLTE
-Fingerprint may disappear - reboot to fix
-dt2w
-weird behavior on brightness slider
-wifi and Bluetooth can't run together

Instructions:
Flash treble twrp
Wipe everything excluding internal and SD
Flash vendor
Flash DP3 sGSI
Unmount Vendor
Mount Vendor
Flash post sGSI files
Reboot
Install up to date gsm
Flash treble magisk
Disable nav bar
Reboot
Edit generic.kl
Reboot
Enable mtp in developer settings


Fix dt2w:
Ebbg:
Openfile ini.qcom.post.boot.sh on vendor bin

echo 1 > /sys/devices/soc/78b7000.i2c/i2c-3/3-004a/wakeup_mode

Tianma:

Fix LED for notifications:

Long press on homescreen - home settings - notification dots - blink light

Install this app and configure you notifications

Get better deepsleep

Flash this in twrp

Magisk:

Flash normal 16.4 treble magisk
Magisk manager may not install so you'll have to install it manually
The apk is located in installer in:
common/magisk.apk

Links:

sGSI and post sGSI:
Android File Host

Vendor:
Mega

Disabling nav bar:
Play store

GSM:
Link

Generic.kl:
It's located here:
/system/usr/keylayout/Generic.kl
Switch 2 values, it should look like this:
key 139 APP_SWITCH
key 580 MENU

Report Page