View attachment 5153867
Ubuntu Touch for Poco F1
This rom is based on Ubuntu Touch linux distribution which uses halium as its hardware abstraction layer. Its not a typical android ROM. Ubuntu Touch is a mobile version of the Ubuntu operating system that was originally developed by Canonical Ltd. and is now being developed by the UBports community.
More can be read here :
UBports Link &
Halium Link
THIS ROM IS IN ALPHA STAGE. In short, it's not meant to be your daily driver, you may face many bugs.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications and if
* you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
*
*/
Changelogs:
Alpha 2:
- Fixed battery drain issue. Should get multi-day standby now
- Now using Lineage based kernel rather than Mi original kernel. So we got relatively new patches compared to older build
What Works
- Wifi
- Bluetooth
- Mobile Data
- Calls
- Audio
- GPS
- Fingerprint
- Sensors
What Doesn't Work Properly
- Dual Sim usage. Sometimes calls on sim 1 crash with dual sims. Best config is a single sim on slot 2.
The wifi driver doesnt go into sleep mode leading to battery drain when left on for a long time. (Fixed in Alpha 2 release)
- Overall Reliability. This is an early/initial effort to run linux on Poco F1. Expect lot of bugs.
You can track the overall porting status
here
Instructions
Requires Unlocked Bootloader and Custom Recovery (TWRP recommended). Backup your files. We will be doing a clean installation.
1. Wipe Dalvik/ART Cache, Cache, System, Data.
2. Download Android Pie firmware V11.0.5.0 from
here and install it from twrp.
3. Download and install the
UNOFFICIAL Lineage-16.0 (Pie) from twrp (I built it from source since OFFICIAL pie builds are no longer available from lineage website).
4. After installing lineageos, FORMAT DATA from twrp. (Your Internal Storage will be wiped)
5. Download the latest UBports GSI image from
here and copy it to your device and install the zip file from twrp.
6. Download the latest halium-boot image from
here
7. You can copy it to device, and use "Install Image" option in twrp to install the halium-boot.img to the
Boot partition.
or
7. You can use your computer to flash the halium boot image using fastboot.
8. Reboot to the system. Ubuntu should boot.
9. Both the default username and password is "phablet". You can change it later from terminal using `passwd` command as in linux os.
10. To install the proper camera app, open the terminal app in the phone
OR connect your phone to the computer with USB and `ssh
[email protected]`
and run the following commands (Internet Required)
Code:
wget https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.2+gstdroid3_armhf.click
pkcon install-local --allow-untrusted com.ubuntu.camera_3.1.2+gstdroid3_armhf.click
Thats it!
Downloads
Firmware (Pie) V11.0.5.0 -
https://xiaomifirmwareupdater.com/archive/firmware/beryllium/
Lineage-16.0 (Pie) -
https://download.lineageos.org/beryllium
UBports GSI by Erfan Abdi-
https://build.lolinet.com/file/halium/GSI/
Halium Boot kernel -
https://github.com/ubports-beryllium/android_kernel_xiaomi_sdm845/releases
Issues/Bug Reports
Feel free to report issues here:
Github. Do attach the below logs for debugging:
kernel log:
syslog:
logcat:
Code:
sudo -s
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat
You can also reach out to the respective telegram group mentioned below for support.
Contribute
Do contribute to the project by helping in fixing bugs, adding features and testing. You can reach out to the community through
Credits
@erfanoabdi for his work on the Ubuntu Touch GSI. You can read his XDA thread on UBports GSI
here
@geekyneo for helping in testing and bug reports.
@notkit, @RealDanct12
UBports and Halium Community for their extraordinary work and support.
Hack, Have Fun and Peace!
(This is my first ever thread in XDA, pardon my ignorance if any

)
XDA:DevDB Information
UBports Beryllium, ROM for the Xiaomi Poco F1
Contributors
jodev
Source Code: https://github.com/ubports-beryllium
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: V11.0.5.0 from
https://xiaomifirmwareupdater.com/archive/firmware/beryllium/
Based On: Ubuntu Touch, LineageOS
Version Information
Status: Alpha
Created 2020-07-14
Last Updated 2020-11-04