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
    107 Posts 14 Posters 7.7k 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.
      • J Offline
        JayH @atarilinux
        last edited by

        @atarilinux From the boot.img on lineageOS 22.2-20250817 with working Verizon SIMM:

        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

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

          @mr_growl

          Thanks for checking! Unfortunately, I don't think that's it. I don't see the output beginning with console=.
          Did this come from deviceinfo_kernel_cmdline?

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

            @JayH @mr_growl

            Thanks! This looks like what we need! Is this from a Google Pixe 3a? Also, I wonder if there is any difference in the output between this and Lineage OS 19.1.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              JayH @atarilinux
              last edited by JayH

              @atarilinux Sorry, yes, this is bonito.

              and this is the only legible string in the boot.img file that looks anything like your example. It starts at 0x40 in the file. No deviceinfo_kernel_cmdline.

              The builds for both 19.1 and 22.2 contain the following line in BoardConfig-common.mk (I was unable to locate a boot.img for 19.1):
              BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 printk.devkmsg=on

              BoardConfig-common.mk:40:BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200n8 androidboot.console=ttyMSM0 printk.devkmsg=on
              BoardConfig-common.mk:41:BOARD_KERNEL_CMDLINE += msm_rtb.filter=0x237
              BoardConfig-common.mk:42:BOARD_KERNEL_CMDLINE += ehci-hcd.park=3
              BoardConfig-common.mk:43:BOARD_KERNEL_CMDLINE += service_locator.enable=1
              BoardConfig-common.mk:44:BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware
              BoardConfig-common.mk:45:BOARD_KERNEL_CMDLINE += cgroup.memory=nokmem
              BoardConfig-common.mk:47:BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
              BoardConfig-common.mk:48:BOARD_KERNEL_CMDLINE += loop.max_part=7
              BoardConfig-common.mk:49:BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/7c4000.sdhci
              

              It looks like lineageOS has been using the same kernel for bonito builds since lineageOS 16

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

                @JayH

                It looks kind of similar. Here is one from a UB Ports sample file that I am using for reference.

                deviceinfo_kernel_cmdline="console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xA84000 androidboot.console=ttyMSM0 printk.devkmsg=on androidboot.hardware=qcom video=vfb:640x400,bpp=32,memsize=3072000 androidboot.configfs=true loop.max_part=7 msm_rtb.filter=0x237 ehci-hcd.park=3 service_locator.enable=1 androidboot.memcg=1 cgroup.memory=nokmem androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 androidboot.boot_devices=soc/1d84000.ufshc systempart=/dev/mapper/system"

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

                  @ElliotLurie @Eric-H

                  Please see below. Does this look like what you need for device_info_kernel_cmdline? Will this complete the device_info file?

                  @JayH said in VoLTE Implementation For Google Pixel 3a/3a XL:

                  @atarilinux From the boot.img on lineageOS 22.2-20250817 with working Verizon SIMM:

                  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

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

                    @atarilinux Here's the one extracted from the lineage 19.1 signed zip that I used to flash the phone:

                    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=userdebug"
                    

                    That is lineage 19.1 (android 12.1) on bonito.

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

                      @atarilinux And a lineage 19.1 sargo for good measure 🙂

                      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=userdebug"
                      
                      1 Reply Last reply Reply Quote 1
                      • A Offline
                        atarilinux
                        last edited by

                        @mr_growl

                        Great! Thanks so much!

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

                          @atarilinux @mr_growl @JayH
                          There is a script to extract command line args and other needed fields.
                          See at https://docs.ubports.com/en/latest/porting/build_and_boot/standalone_kernel_build.html#extracting-values-from-stock-boot-img-vendor-boot-img

                          • Ubuntu Touch for Xiaomi POCO X3 NFC Telegram group
                          • Ubuntu Touch installation guide for Xiaomi POCO X3 NFC / X3
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post