• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Xiaomi Poco F1 (Beryllium)

Scheduled Pinned Locked Moved Xiaomi
17 Posts 9 Posters 8.3k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      Fartroice @joel
      last edited by 16 Sept 2020, 07:43

      @joel said in Xiaomi Poco F1 (Beryllium):

      This is a port of Ubuntu Touch to Xiaomi Poco F1 (Beryllium).

      Sources: https://github.com/ubports-beryllium
      Kernel: https://github.com/ubports-beryllium/android_kernel_xiaomi_sdm845
      Device: https://github.com/ubports-beryllium/android_device_xiaomi_beryllium
      Halium: https://github.com/ubports-beryllium/local_manifests/blob/master/roomservice.xml

      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.
      • 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 : https://github.com/ubports-beryllium/projectmanagement/issues/20

      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 Lineage-16.0 (Pie) from twrp.
      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
        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 with fix, open the terminal app in the phone
        OR connect your phone to the computer with USB and ssh phablet@10.15.19.82
        and run the following commands (Internet Required)
        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!

      Issues/Bug Reports
      Feel free to report issues here: Github. 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! 🙂

      Hi, will this receive OTA updates in line with the official UBports Rom?

      A 1 Reply Last reply 16 Sept 2020, 13:23 Reply Quote 0
      • A Offline
        AppLee @Fartroice
        last edited by 16 Sept 2020, 13:23

        @Fartroice
        If I'm correct, depending on how well featured is the port it will then be added to the installer:
        https://forums.ubports.com/topic/4328/qa-checklist-for-ported-devices

        But I don't know the details.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mikhael
          last edited by 24 Dec 2020, 09:44

          @joel thank you for your work!

          I'm using Ubuntu Touch on Poco as my daily driver and with the latest update to the halium-boot it seems really stable and won't even discharge anymore! Really, today is fifth day since i've charged it and it still has 35% of battery remaining.

          P 2 Replies Last reply 24 Dec 2020, 12:54 Reply Quote 3
          • P Offline
            Peter Gamma @mikhael
            last edited by 24 Dec 2020, 12:54

            @mikhael Thanks for sharing. Xiaomi devices become more and more interesting. Xiaomi Redmi6 is one of the few devices which have native ANT+ support for sports sensors. I never saw a custom ROM with ANT+ support.

            PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

            P 1 Reply Last reply 29 Dec 2020, 16:09 Reply Quote 0
            • P Offline
              Peter Gamma @Peter Gamma
              last edited by Peter Gamma 29 Dec 2020, 16:09

              @joel, great work. I was looking for a mobile device for EEGLAB/BCILAB. EEGLAB runs on Linux Octave and needs according to the system requirements 4 GB of RAM. I wrote a feature request in the PinePhone community for more RAM for the PinePhone, but there are no signs that this dream comes true. So I will definitely have an eye on this powerful Xiaomi phone on the long term. Thanks a lot for your contribution :smiling_face: .

              PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

              L 1 Reply Last reply 29 Dec 2020, 18:06 Reply Quote 0
              • L Offline
                libremax @Peter Gamma
                last edited by libremax 29 Dec 2020, 18:06

                @peter-gamma said in Xiaomi Poco F1 (Beryllium):

                @joel, great work. I was looking for a mobile device for EEGLAB/BCILAB. EEGLAB runs on Linux Octave and needs according to the system requirements 4 GB of RAM. I wrote a feature request in the PinePhone community for more RAM for the PinePhone, but there are no signs that this dream comes true.

                This dream can't come true, the SOC Allwiner A64 support "Up to 3GB address space":
                https://files.pine64.org/doc/datasheet/pine64/Allwinner_A64_User_Manual_V1.0.pdf , page 62.

                Donate anonymously 1€/$ by year to UBports, all Ubuntu Touch users can do it ! Demonstration:
                https://forums.ubports.com/topic/1262/donate-anonymously-1-by-year-to-ubports-all-ubuntu-touch-users-can-do-it-demonstration/

                P 1 Reply Last reply 30 Dec 2020, 09:55 Reply Quote 0
                • P Offline
                  Peter Gamma @libremax
                  last edited by 30 Dec 2020, 09:55

                  @libremax thanks, good to know. Maybe the system requirements of EEGLAB (with the real-time EEGLAB plugin BCILAB) is 4 GB only in combination with Matlab, since Matlab requires 4 GB, and running on Octave it is lower, I did not test it, but it is better to be on the sure sight.

                  PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                  P 1 Reply Last reply 31 Dec 2020, 20:16 Reply Quote 0
                  • P Offline
                    Peter Gamma @Peter Gamma
                    last edited by 31 Dec 2020, 20:16

                    BCILAB does not run yet on Octave, but Arnaud Delorme, EEGLAB developer from the Swartz Center of Computational Neuroscience says:

                    "I do not think that it is too far out if somebody wanted to take the lead on that."

                    https://github.com/sccn/BCILAB/issues/36

                    If this software runs on the Pocophone F1, then it could become an attractive research device for neuroscientists.

                    PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                    P 1 Reply Last reply 14 Jan 2021, 09:01 Reply Quote 0
                    • P Offline
                      Peter Gamma @Peter Gamma
                      last edited by 14 Jan 2021, 09:01

                      There is a thread on xda developers about the Pocophone F1 and Ubuntu touch. He had problem with the SD card. Does SD card read write work with your installation?

                      PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        Peter Gamma @mikhael
                        last edited by 18 Jan 2021, 19:18

                        @mikhael said in Xiaomi Poco F1 (Beryllium):

                        @joel thank you for your work!

                        I'm using Ubuntu Touch on Poco as my daily driver and with the latest update to the halium-boot it seems really stable and won't even discharge anymore! Really, today is fifth day since i've charged it and it still has 35% of battery remaining.

                        This is great. Reviews say battery life of Poco F1 is around 7 to 8 hours. I'm looking for a linux device for 24h * 7d sensor data aquisition, this requires the device run. 24h * 7d. How long is battey life of the Poco F1 in this mode?

                        PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                        P 1 Reply Last reply 15 Feb 2021, 04:36 Reply Quote 0
                        • P Offline
                          Peter Gamma @Peter Gamma
                          last edited by 15 Feb 2021, 04:36

                          An advantage of the Poco F1: I suppose it should be possible to use it with an usb-c adapter, for instance to get an additional port for charging, HDMI, keyboard and other periferals:

                          https://forum.xda-developers.com/t/rom-ubports-gsi-ubuntu-touch-for-poco-f1-pie-based-alpha-2-unofficial-updated.4133513/page-4#post-84490099

                          Xiaomi Redmi 7 Onclite has no usb-c, only micro usb.

                          PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            Hasodikis
                            last edited by 7 Jan 2022, 07:15

                            I just installed Ubuntu Touch to my old Pocophone F1 using the Ubports Installer.
                            It was a pain in the @ss to do everything in mac os x (i even managed to unlock the bootloader in mac os x with an app that had to be modified and rebuilt)..... but in the end everything worked !!!!!

                            I am impressed by you job and efforts.... CUDOS!!!

                            The only thing that bothers me is the notch.
                            I applied the notch fix..... but still cannot see the top bar in the homescreen. It corrected things when i pull down the menu.... but at the "home" screen the notch still gets in the way...

                            P 1 Reply Last reply 30 Mar 2022, 16:45 Reply Quote 1
                            • KenedaK Keneda moved this topic from Devices on 19 Jan 2022, 02:41
                            • P Offline
                              Peter Gamma @Hasodikis
                              last edited by 30 Mar 2022, 16:45

                              The Poco F1 is a powerful device, I have several of those, but still genuine. Unfortunately, it is not possible to write to the external SD card with Ubports, which is essential for me personally, what I found out recently.

                              Solution:

                              • install PostmarketOS on it

                              • but before this, a solution which I could live with, what about:

                              Setting up a SMB(Windows) file server

                              https://forum.pine64.org/showthread.php?tid=4983

                              do you think it works on a Poco F1 Uborts?

                              PETER GAMMA (Physiologist), MEDITATION RESEARCH INSTITUTE SWITZERLAND

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                darkeye
                                last edited by 27 May 2022, 17:58

                                Hey,
                                Does anyone knows whatbisbthebissue with the automatic broghtness?
                                As it seems that the proximity and light sensors are working, is hust missing repowerd configuration or is there othee issues with it?

                                Thank you

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post