This is a port of Ubuntu Touch to Xiaomi Poco F1 (Beryllium).
- Mobile Data
What Doesn't Work Properly
- Automatic Brightness
- Offline charging
You can track the overall porting status here : https://devices.ubuntu-touch.io/
Requires Unlocked Bootloader and Custom Recovery (TWRP recommended). Backup your files. We will be doing a clean installation.
Recommended way to install is using the Ubports installer: https://devices.ubuntu-touch.io/installer/
The instruction to install ubports without Ubports installer or pc: (Not recommended, as it will install old version of ubports which needs to be updated after installation. So do it only if not able to use the ubports installer)
Download the android pie firmware from here : https://xiaomifirmwareupdater.com/firmware/beryllium/stable/V22.214.171.124.PEJMIXM/
Download Ubports recovery from here: https://github.com/ubports-beryllium/artifacts/releases/download/v3/recovery.img
Download android pie vendor from here: https://github.com/ubports-beryllium/artifacts/releases/download/v3/vendor.img
Download the boot and system image from ubports gitlab ci. U can to select the latest "devel-flashable" ci job from the link. Then "Browse" artifacts from the right sidebar which u can get by clicking on the "<<" button in top right corner if u r using mobile phone to download it. Then click on the out folder. Download boot and system image file from there
As of writing this, the link of latest job is
Copy these files to pendrive using otg or memory card as we will format data.
Take backup of ur internal storage data, if needed, as everything will be erased during the installation.
Reboot into twrp. Wipe cache, system, etc. Then click "Format Data" option. This will erase all ur data.
Reboot into twrp AGAIN. Install the latest firmware zip file from memory card/otg pendrive.
U can use twrp to flash the image files too by clicking "Install image" option in twrp. Then select
Boot image and flash to boot partition.
Recovery image to recovery partition (remember twrp will be replaced with ubports recovery. This is needed for updating ubports properly)
Vendor image to vendor partition
System image to system partition.
Reboot to system. And it should hopefully boot Ubports. If it doesn't boot on the 1st attempt. Try rebooting few times and see if it boots.
Once it boots, go to settings and update the os 1st. As the ci has old version of ubports.
Feel free to report issues here: Gitlab. Do attach the below logs for debugging:
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat
Hack, Have Fun and Peace!