Xiaomi Redmi 6A (xiaomi-cactus)

Contributors

 * jdr

Maintainer(s)

 * jdr

How to enter flash mode

 * Shutdown the phone completely
 * Press Volume down(-) and Power button simultaneously to enter the fastboot mode.

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

Plasma Mobile
Need to modify the file /usr/bin/kwinwrapper

Add --framebuffer --fb-device /dev/fb0 to arguments of startplasma-wayland

Like this:

startplasma-wayland --framebuffer --fb-device /dev/fb0 --xwayland --libinput --inputmethod maliit-server --exit-with-session=/usr/lib/libexec/startplasma-waylandsession

This ensures that the plasma mobile is rendered using a frame buffer.