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

    VoLTE Implementation For Google Pixel 3a/3a XL

    Scheduled Pinned Locked Moved Google Pixel 3a/3a XL
    volte
    120 Posts 14 Posters 9.4k Views 2 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.
      • A Offline
        atarilinux @atarilinux
        last edited by

        I got a runner and tried to run it, but the build failed. I may need some assistance with Gitlab as I haven't used it before. I'm more used to building on a local machine. It will take me a while to read up on it, and I don't want to slow anyone down.

        Here are the changes I made to deviceinfo if someone wants to fork and try it on their own:

        deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 printk.devkmsg=on msm_rtb.filter=0x237 ehci-hcd.park=3 service_locator.enable=1 firmware_class.path=/vendor/firmware cgroup.memory=nokmem lpm_levels.sleep_disabled=1 loop.max_part=7 androidboot.boot_devices=soc/7c4000.sdhci androidboot.super_partition=system buildvariant=user"
        
        deviceinfo_bootimg_header_version="2"
        deviceinfo_bootimg_os_version="12.0.0"
        deviceinfo_bootimg_os_patch_level="2022-05"
        
        

        This was taken from sargo-sp2a.220505.008-factory-071e368a which is the September 2022 build -
        12.1.0 (SP2A.220505.008, Sep 2022).

        M 1 Reply Last reply Reply Quote 1
        • M Offline
          mr_growl @atarilinux
          last edited by

          @atarilinux I haven't done much with gitlab but have experience with github runners. I'll try to get something going this weekend. I gather the error in your last build is due to not running as the root user. Maybe try putting a "sudo" in front of the apt commands in .gitlab-ci.yml ?

          A 1 Reply Last reply Reply Quote 0
          • Eric HE Offline
            Eric H @atarilinux
            last edited by

            @atarilinux
            unsure but maybe systempart=/dev/mapper/system is missing in cmdline

            from porting Telgram Group :

            system.img and rootfs.img are the same thing from a fastboot POV. your userdata should be freshly formatted as ext4, but yes that's what the bottom of the doc also explains, which one you need and how to flash it depends on if you included e.g. systempart=/dev/mapper/system on cmdline for devices with super partition

            also unsure about other fields

            • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
            • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
            A 1 Reply Last reply Reply Quote 0
            • Eric HE Offline
              Eric H @atarilinux
              last edited by

              @atarilinux
              it seem this this file should be updated too :
              https://gitlab.com/atarilinux/ubports-ubuntu-touch-google-sargo-volte/-/blob/main/.gitlab-ci.yml

              • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
              • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
              A 1 Reply Last reply Reply Quote 1
              • A Offline
                atarilinux @mr_growl
                last edited by atarilinux

                @mr_growl

                That's what I'm thinking too. When I looked at it again today, it looked like permission was denied because it wasn't running as sudo. I was using the runner on my local machine. I noticed it didn't prompt me for my password which was interesting. So, yes, we probably need to add sudo to the file.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  atarilinux @Eric H
                  last edited by

                  @Eric-H

                  Thanks for the info! Just to verify, should work for a retro-fitted partition too, right? I'll check this out in the file and see if I can find anything else that may need to be added.

                  Eric HE 1 Reply Last reply Reply Quote 0
                  • A Offline
                    atarilinux @Eric H
                    last edited by

                    @Eric-H

                    Thanks! I was looking at that one when I was messing with the runner. Good to know we are on the right track with thinking something was going on with that part!

                    1 Reply Last reply Reply Quote 0
                    • Eric HE Offline
                      Eric H @atarilinux
                      last edited by

                      @atarilinux
                      https://lucaweiss.eu/post/2023-03-30-retrofit-dynamic-partition/

                      • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                      • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                      A 1 Reply Last reply Reply Quote 1
                      • A Offline
                        atarilinux @Eric H
                        last edited by

                        @Eric-H

                        Thanks! This is a great post! Very helpful!

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          atarilinux
                          last edited by

                          I added Sudo to the Apt statements in .gitlab-ci.yml. I also added systempart=/dev/mapper/system to the deviceinfo file.

                          For this part,
                          https://lucaweiss.eu/post/2023-03-30-retrofit-dynamic-partition/

                          I'm trying to figure out where to add this on github. The code on github is referencing a number of other githubs by "clone." I'm trying to untangle it to get a since of what happens when and where. I want to make sure I'm not missing anything.

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