This post related to the redmi note 5 pro AI (whyred).
I flashed this version on the rn5pro, coming from the global 9.5.17 using TWRP 3.2.2.0
At first I tried rooting it by flashing supersu 2.82 but it didn't work and my internal drive remained encrypted. I got those "Cannot mount /data and unable to find ***** footer" errors and couldn't do much about it.
Next, I formatted the internal data from TWRP, followed by flashing "magisk 16" and "DM-Verity and Forced Encryption disabler 6.0.zip". That worked!
At this point I installed and ran manual camera compatibility test from the play store and it showed nothing is supported by the device.
I edited 2 files using the mixplorer apk (google for it!) and opening the files using the code viewer (it has a search option):
I added the following line at the end of root\system\build.prop:
persist.camera.HAL3.enabled=1 (to allow for camera 2 API)
I also edited root\system\etc\device_features\whyred.xml, searched for the words "line support_4k_camera_quality" and I changed its corresponding value to "True".
Now I have 4K30 fps video in the miui camera app (with stabilization, but I haven't tested it yet), 1080p30 fps and also 1080p60 fps (and the lower res options as well, but I never use them anyway).
All seems to work smooth and good. Only 2 bugs -
1. when I receive a single message in whatsapp I see it once (that part is OK), but hear the notification tone twice in succession (that part isn't).
2. when I am in a phone conversation and I get a message, I hear an annoying notification tone through the ear speaker (sounds like one of those default tones used in earlier Android versions ~android 5.x).
I flashed this version on the rn5pro, coming from the global 9.5.17 using TWRP 3.2.2.0
At first I tried rooting it by flashing supersu 2.82 but it didn't work and my internal drive remained encrypted. I got those "Cannot mount /data and unable to find ***** footer" errors and couldn't do much about it.
Next, I formatted the internal data from TWRP, followed by flashing "magisk 16" and "DM-Verity and Forced Encryption disabler 6.0.zip". That worked!
At this point I installed and ran manual camera compatibility test from the play store and it showed nothing is supported by the device.
I edited 2 files using the mixplorer apk (google for it!) and opening the files using the code viewer (it has a search option):
I added the following line at the end of root\system\build.prop:
persist.camera.HAL3.enabled=1 (to allow for camera 2 API)
I also edited root\system\etc\device_features\whyred.xml, searched for the words "line support_4k_camera_quality" and I changed its corresponding value to "True".
Now I have 4K30 fps video in the miui camera app (with stabilization, but I haven't tested it yet), 1080p30 fps and also 1080p60 fps (and the lower res options as well, but I never use them anyway).
All seems to work smooth and good. Only 2 bugs -
1. when I receive a single message in whatsapp I see it once (that part is OK), but hear the notification tone twice in succession (that part isn't).
2. when I am in a phone conversation and I get a message, I hear an annoying notification tone through the ear speaker (sounds like one of those default tones used in earlier Android versions ~android 5.x).