GitLab CI method works.
Source:
https://gitlab.com/turanmahmudov/xiaomi-tissot/
Kernel & Device Source:
https://github.com/xiaomi-tissot-ubuntu
Instructions
-
Get boot.img and system.img here:
https://gitlab.com/turanmahmudov/xiaomi-tissot/-/jobs/2362910100/artifacts/browse/out/ -
Get vendor.img here:
https://gitlab.com/turanmahmudov/xiaomi-tissot/-/blob/master/prebuilt/vendor.img -
Get the latest TWRP with Treble Manager for tissot here:
https://forum.xda-developers.com/t/recovery-treble-twrp-3-3-1-0-with-tissot-manager.3976117/- Format Data in Wipe option (to remove Stock encryption), then Reboot into Recovery again.
- In TWRP, go to Advanced > Treble Manager and repartition the device by following the wizard.
-
Flash Ubuntu in fastboot mode:
fastboot flash vendor vendor.img
fastboot flash boot boot.img
fastboot flash system system.img
What doesn't work / Issues
- Camera
- GPS
- Fingerprint