• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][UBports GSI] Ubuntu Touch for Poco F1 [Pie Based][Alpha 2][Unofficial][Updated]

jodev

Member
Mar 25, 2020
21
75
13


logo.png


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:
Code:
dmesg
syslog:
Code:
cat /var/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
 

Attachments

Last edited:
G

GuestK00460

Guest
awesome

---------- Post added at 06:10 AM ---------- Previous post was at 06:08 AM ----------

is it official
 

thomashastings

New member
Sep 28, 2020
1
0
0
I'm very grateful for this ROM, this is the firs time I could experience Ubuntu Touch on a device I own. Based on the current state, we may not be very far from a daily driver Ubuntu release here!
I can confirm that the following functionality works well
- General stability (no crashes or reboots)
- Installing applications (xkcd viewer, 2048, some webapps tested so far)
- Wifi, camera, bluetooth

However, there are two device-specific problems I should mention
- Ubuntu does not respect the notch, so the top panel is not completely usable in its current state
- Since the Poco F1 has no physical back button, the user must rely on the given application's implementation of moving back, which is not always perfect, and one-handed use is not really possible.

Additionaly, after the first installation all wifi settings just disappeared after a reboot, and a clean flash was needed to get it back.

IMPORTANT: Going back to any other ROM caused a bootloop for me, I had to fastboot flash a factory image first, Lineage OS worked fine after that.
 

jodev

Member
Mar 25, 2020
21
75
13
Or do i have to install manually
If so, is anbox supported in this build??
Hey, anbox support is not available in the current build. I tried enabling anbox, although it works well, internet inside anbox/android apps doesn't work in the default anbox image. I had to create a custom anbox image with scripts to fix internet setup to get it working properly. Since it wasn't easy to set it up, i didn't enable those options in the initial build.
 
Last edited: