This port is deprecated. Please refer to this page.
Efforts in running PostMarketOS (https://postmarketos.org/) on Xiaomi's "Daisy" device (Mi A2 Lite).
All of the credit for the kernel bases go to xiaomi (xiaomi-daisy) and Aarqw12 (xiaomi-daisy-2).
- Unlock your Mi A2 Lite's bootloader
- Clone repo and install pmbootstrap (https://wiki.postmarketos.org/wiki/Installation_guide)
- Move your selected kernel variant's folder to your aports/pmaports folder (https://wiki.postmarketos.org/wiki/Porting_to_a_new_device)
- Try editing some params the config, adding patches etc.
- Build linux-xiaomi-daisy(-2), see if build is successful, do the same for device-xiaomi-daisy(-2), if you feel ok with deleting any previous chroots then run 'pmbootstrap zap'.
- Run 'pmbootstrap install' and then use 'pmbootstrap flasher flash_rootfs' with device connected in fastboot mode. After the system image flash is successful, run 'pmbootstrap flasher flash_kernel' to flash the necessary files to boot pmos.
- Check if you got stuff to work, the main focus right now is on getting the framebuffer to work and fixing ssh errors.
- If you get any improvements, feel free to make a pull request and include all necessary files for linux and device building.
Progress on xiaomi-daisy (based on daisy-q official kernel from xiaomi):
-kernel loads
-logo shows up and display lights up
-device not recognised by pc, can't telnet/ssh into it
-weston NOW LOADS!
Progress on xiaomi-daisy-2 (based on https://github.com/Aarqw12/kernel_loki):
-kernel loads
-screen remains off, logo does not show up
-able to telnet into the device if the debug initfs hook is set before running 'pmbootstrap install'
-plasma-mobile does not load. screen remains off