Xiaomi Redmi 4A (xiaomi-rolex)

Contributors

 * Nrdnandan

Maintainer(s)

 * Nrdnandan

How to enter into bootloader (fastboot)

 * Shutdown the phone completely.
 * Press and  button simultaneously to enter fastboot mode.

How to enter into recovery mode

 * Shutdown the phone completely
 * Press and  button simultaneously to enter the recovery (MI or Custom).

Forked kernel

 * The forked kernel used is thanks to - https://github.com/Nick89786/android_kernel_xiaomi_msm8917

Bootloader original status

 * The bootloader in new Xiaomi devices are locked. To unlock it, you need to go to https://en.miui.com/unlock/download_en.html and follow the instructions as given.

Installation
The following steps boots postmarketOS.


 * pmbootstrap flasher flash_rootfs
 * pmbootstrap flasher flash_kernel
 * pmbootstrap flasher boot