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

    [Porting] Call for Testers

    Scheduled Pinned Locked Moved Google Pixel and XL
    122 Posts 38 Posters 46.9k Views 15 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.
      • flohackF Offline
        flohack
        last edited by

        Alright guys I am working on the new instructions, this time in a pastebin, since the pad was destroyed over time: https://pastebin.com/EFLhqfLv

        And this is my upload folders for marlin and sailfish: http://twoot.bin.org.in/nextcloud/index.php/s/iAZDDkRYYAiN6Kk

        I wil refresh the images there tonight hopefully ๐Ÿ˜‰

        My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

        khimarosK 1 Reply Last reply Reply Quote 0
        • khimarosK Offline
          khimaros @flohack
          last edited by

          @flohack looking at the nextcloud instance, the newest images are from 4 months back. are those the latest ones?

          flohackF 1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack @khimaros
            last edited by

            @khimaros No, will provide newer ones ^^

            My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

            khimarosK 2 Replies Last reply Reply Quote 0
            • khimarosK Offline
              khimaros @flohack
              last edited by

              @flohack thank you! i was also able to produce a working droidian install on sailfish using your work as a base. really grateful for your efforts here.

              1 Reply Last reply Reply Quote 0
              • khimarosK Offline
                khimaros @flohack
                last edited by

                @flohack actually, would you be willing to teach us how to fish? is there a way we can build or extract these vendor.img and system.img ourselves?

                is the halium-boot.img the same as from https://ci.ubports.com/job/UBportsCommunityPortsJenkinsCI/job/ubports%252Fcommunity-ports%252Fjenkins-ci%252Fmarlin-sailfish/job/main/ ? is the vendor.img in halium_sailfish.tar.xz the correct one?

                flohackF 1 Reply Last reply Reply Quote 0
                • flohackF Offline
                  flohack @khimaros
                  last edited by

                  @khimaros yes our CI builds already all the necessary parts in this job. vendor.img and system.img are Androis sparse files. So you need to convert them first, then you can mount them as an ext4 image.

                  My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                  khimarosK 2 Replies Last reply Reply Quote 0
                  • khimarosK Offline
                    khimaros @flohack
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • khimarosK Offline
                      khimaros @flohack
                      last edited by

                      @flohack thank you. the system.img doesn't seem to be present, but there is a system/ directory. is it as simple as creating an ext4 filesystem from that tree of files?

                      also the boot.img provided there doesn't seem to honor break= or bootmode= kernel command line args. does it need to be built with special flags to enable that?

                      1 Reply Last reply Reply Quote 0
                      • khimarosK Offline
                        khimaros
                        last edited by

                        i can produce a working ubtouch install by using the images you have linked from your nextcloud.

                        i was able to build halium-9.0 from source by emulating some steps in https://gitlab.com/ubports/community-ports/jenkins-ci/halium-build-tools/-/tree/main/ -- if i push the halium-boot.img and vendor.img produced by that build, everything continues working.

                        if i push the latest android-rootfs.img from Jenkins-CI to /data/, the system also continues working.

                        if i push the latest vendor.img from Jenkins-CI, with or without the latest android-rootfs.img, the WiFi and Bluetooth break but the system otherwise continues working, including mobile data.

                        if i flash the latest Jenkins-CI boot.img to that installation, the device will then only boot into the recovery mode. i believe there is a compatibility issue with the "combined" boot image produced here and it might be worth changing the 4th parameter in the Jenkinsfile here to false: https://gitlab.com/ubports/community-ports/jenkins-ci/marlin-sailfish/-/blob/main/Jenkinsfile#L2

                        i'm still not totally clear on how you are producing the system.imgthat you have in your nextcloud.

                        1 Reply Last reply Reply Quote 0
                        • flohackF Offline
                          flohack
                          last edited by

                          Ok so here are the usual steps that we are doing for UT to boot and be installable later with a) our installer b) with the OTA system-image upgrader inside the device:

                          • First, we need to decide:
                            -- Is the device an slotted device (with A/B partitions and bootloader able to change slots)
                            -- Or does it use only the traditional partition layout? slotted devices were only around I thin for Android between 8 and 9. Whats important is the factory version that the device came with. If, for example, a device is later upgraded to Android 9, but was shipped with 7.1, it will not be slotted.
                          • For a slotted device, we build the kernel with mka bootimage
                          • For a traditional device we build it with mka halium-boot
                          • But: Both ways just produce a boot.img file in the $OUT directory of the Android build
                          • Next: Some devices need a DTBO image, too. You can always try to mka dtboimage and see if that yields an image file called dtbo.img. If so, this needs to be flashed together with the corresponding boot.img from the same build. They need to match, and failure to do so can create bootloops or stuck devices.
                          • Next: Some devices using verity have signed partitions, and any attempt to mount them will fail if the kernel detects that the partition has been tampered with. So, try to build mka vbmetaimage - if that yields a vbmeta.img file in the $OUT folder, this needs to be flashed one time with fastboot --disable-verification flash vbmeta vbmeta.img to disable verity.
                          • Now comes finally system image: We just build mka systemimage and this is the usual make target for what LineageOS is doing, with some changes by Halium and some patches. Nothing special here.
                          • The created system.img file from $OUT folder is an Android sparse partition image, not ext4, and so it cannot be mounted directly. This will be converted by installer and OTA updater, but for development purposes this is not usable directly
                          • Rather we use halium-install script or replace-android-image script to make a conversion to an ext4 image.
                          • Our CI builds all of those targets, tars the results up and publishes the artifacts as you already found out
                          • Our system-image server combines that tarball with the rootfs tarball to form another archive which can be downloaded and extracted for installation
                          • Now, for installation, 2 ways are possible:
                            -- Halium install method: rootfs.img and either system.img or android-rootfs.img live as image files side-by-side in the userdata partition (usually /data)
                            -- rootfs.img is extracted into system partition /usually /system or /system_root) and the system.img or android-rootfs.img is placed inside this partition into /var/lib/lxc/android
                          • Both boot.img or halium-boot.img will determine the layout and mount the images accordingly (some devices will need a datapart= kernel cmdline parameter to find data partition)
                          • If the Android system requires a system-as-root layout (And also Halium 9 requires this currently), you need to build your system image with BOARD_BUILD_SYSTEM_ROOT_IMAGE := true and then name it android-rootfs.img to indicate its system-as-root.
                            TLDR; I produced the system.img like described above, on my local PC ๐Ÿ™‚

                          My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                          KenedaK 1 Reply Last reply Reply Quote 4
                          • KenedaK Offline
                            Keneda @flohack
                            last edited by

                            @flohack
                            All in the details, wow ๐Ÿ˜ฎ

                            2015-2023 : Meizu MX4 โ˜ ๏ธโšฐ๏ธโœ๏ธ
                            2023-2024 : Nexus 5 โ˜ ๏ธโšฐ๏ธโœ๏ธ
                            2024-***** : FPOS Fairphone 5 waiting UT for freedom ๐Ÿ˜‰
                            ๐Ÿ‡ฒ๐Ÿ‡ซ๐Ÿ‡ฌ๐Ÿ‡ง

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dasein
                              last edited by

                              Currently attempting to use other distros/OS on Marlin, it's been tricky through fastboot & twrp but despite me messing around with both a/b partitions... I managed to just flash the original image again

                              It's a treble compliant device with latest update being Android 10, is there anything that can simply be flashed from twrp? I don't mind wiping the system partition from both slots. My phone has a faulty battery anyway and im pretty much fine with the risks ๐Ÿ‘

                              flohackF 1 Reply Last reply Reply Quote 0
                              • flohackF Offline
                                flohack @Dasein
                                last edited by

                                @dasein No unfortunately the last situation is still that our rootfs + system image combo does not fit onto 2.5GB system partition and that prevents further porting of the device. Unless we invent a kind of split boot mode this is a severe blocker.

                                It might be therefore that this port never reaches installer and stable state.

                                My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  crazyc4t
                                  last edited by Keneda

                                  Hello everyone! Am new to the forum, my current phone is the Pixel Xl (marlin) since my primary phone was damaged, am using the pixel XL with lineage OS but I really want to try out ubuntu touch! I don't use my phone much so I will not have a problem with some things not working, Am going to install ubuntu touch this evening, and I'll let you know how it goes! Let me know if I can help with something.

                                  • Crazyc4t

                                  My languages: ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡บ๐Ÿ‡ธ

                                  KenedaK 1 Reply Last reply Reply Quote 0
                                  • KenedaK Offline
                                    Keneda @crazyc4t
                                    last edited by Keneda

                                    @crazyc4t
                                    Please do not post links like that if not relative to the topic.
                                    If you have a personnal website to share, use your profile settings, there is a specific field for that.

                                    And by the way, welcome on the ubports forums ๐Ÿ˜‰

                                    2015-2023 : Meizu MX4 โ˜ ๏ธโšฐ๏ธโœ๏ธ
                                    2023-2024 : Nexus 5 โ˜ ๏ธโšฐ๏ธโœ๏ธ
                                    2024-***** : FPOS Fairphone 5 waiting UT for freedom ๐Ÿ˜‰
                                    ๐Ÿ‡ฒ๐Ÿ‡ซ๐Ÿ‡ฌ๐Ÿ‡ง

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sansgaming
                                      last edited by sansgaming

                                      hey i have a pixel xl and i would like to help

                                      1 Reply Last reply Reply Quote 0
                                      • flohackF Offline
                                        flohack
                                        last edited by

                                        Unfortunately I have to use my time for UBports elsewhere currently, so not much progress. I will roll a current build manually for all of you who want to try it out again.

                                        Ping me in a week if I didnยดt โ›

                                        My languages: ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡ฌ๐Ÿ‡ง ๐Ÿ‡บ๐Ÿ‡ธ

                                        1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          kuzco @flohack
                                          last edited by

                                          @flohack Hello! Thank you for all your work on this. I was able to get to the halium-install-standalone.sh stage but the link to the images appears to be broken (website won't load because of PHP version issues). Might I ask for another way to get at those files? Maybe we can put them on GitHub or something? Thanks again!

                                          1 Reply Last reply Reply Quote 0
                                          • L Offline
                                            lordzeed
                                            last edited by

                                            I would like to download some version of Ubuntu touch for the pixel I love your work

                                            1 Reply Last reply Reply Quote 0
                                            • W Offline
                                              wllpwr
                                              last edited by

                                              Is this port dead?

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