This is a port of Ubuntu Touch to Xiaomi Poco F1 (Beryllium).
Sources: https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1
What Works
- Wifi
- Bluetooth
- Mobile Data
- Calls
- Audio
- GPS
- Fingerprint
- Sensors
What Doesn't Work Properly
- Automatic Brightness
- Offline charging
You can track the overall porting status here : https://devices.ubuntu-touch.io/
Instructions
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/V11.0.5.0.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
https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1/xiaomi-beryllium/-/jobs
As of writing this, the link of latest job is
https://gitlab.com/ubports/community-ports/android9/xiaomi-poco-f1/xiaomi-beryllium/-/jobs/1489635621/artifacts/browse/out/ -
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.
Issues/Bug Reports
Feel free to report issues here: Gitlab. Do attach the below logs for debugging:
kernel log:
dmesg
syslog:
cat /var/log/syslog
logcat:
sudo -s
then
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat
Hack, Have Fun and Peace!