Xiaomi Redmi 4 Prime (xiaomi-markw)

Contributors

 * User:JIaxyga
 * User:Vipaol

Maintainer(s)

 * User:Vipaol

How to enter flash mode
[Power] + [Vol-] to fastboot mode

Sensors
Connected to i2c-gpio

Bluetooth
To fix it in phosh: rc-update add bluetooth boot

Suspend
The device can't wake up from suspend (but turning display off is working). You can disable it in your UI's settings.

FDE
Atmel touch works incorrectly in osk-sdl (focaltech is untested). You can just use more modern unl0kr instead of osk-sdl.

Installation

 * Follow the Installation guide

Installation:
 * Use the  flag during   to get the lk2nd package.
 * Do not use "android recovery zip" method, because it can't install lk2nd.
 * If you want to use FDE, you need to add  to use unl0kr instead of broken osk-sdl.
 * On SD-card:
 * Find your SD-card:
 * Install (change /dev/sdX to your card)


 * On internal memory

Flash lk2nd:

Then boot into lk2nd and flash the kernel: