Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Xiaomi Poco F1 (Beryllium)

    Devices
    7
    12
    1066
    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.
    • mikhael
      mikhael last edited by

      @joel Thank you very much! Works great!

      @TotalSonic said in Xiaomi Poco F1 (Beryllium):

      What is the current status for camera, camera flash/zoom, torch, and video encoding/decoding for the F1?

      Camera works, recording videos works, flash works, torch works. Haven't tried playing local video files other than taken with camera, but youtube in Morph works.

      1 Reply Last reply Reply Quote 0
      • F
        Fartroice @joel last edited by

        @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?

        AppLee 1 Reply Last reply Reply Quote 0
        • AppLee
          AppLee @Fartroice last edited by

          @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
          • mikhael
            mikhael last edited by

            @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.

            Peter Gamma 1 Reply Last reply Reply Quote 2
            • Peter Gamma
              Peter Gamma @mikhael last edited by

              @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 1 Reply Last reply Reply Quote 0
              • Peter Gamma
                Peter Gamma @Peter Gamma last edited by Peter Gamma

                @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 ☺ .

                libremax 1 Reply Last reply Reply Quote 0
                • libremax
                  libremax @Peter Gamma last edited by libremax

                  @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.

                  Peter Gamma 1 Reply Last reply Reply Quote 0
                  • Peter Gamma
                    Peter Gamma @libremax last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • Peter Gamma
                      Peter Gamma @Peter Gamma last edited by

                      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 1 Reply Last reply Reply Quote 0
                      • Peter Gamma
                        Peter Gamma @Peter Gamma last edited by

                        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?

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