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

    Libertine on Pixel 3a XL?

    Scheduled Pinned Locked Moved Solved Support
    16 Posts 2 Posters 691 Views 1 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.
      • T Offline
        thedeafenguy
        last edited by

        I have UT installed on my Pixel 3a XL, running the latest OTA (stable channel). When I try to setup libertine via the settings app, it downloads all the packages and sets up for 5-15 minutes, however, once done, the container just deletes itself. Is there a way to fix this?

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wynn1212 @thedeafenguy
          last edited by

          @thedeafenguy What is your system language? If you're system language is not English US, then you might encounter dnsmasq-base installation failure.

          To fix this problem. see this post:
          https://forums.ubports.com/post/79496

          My devices that were powered by Ubuntu Touch
          Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
          Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

          My devices that used Lomiri Desktop
          Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            thedeafenguy @wynn1212
            last edited by thedeafenguy

            @wynn1212 My system language is English, US (it may be possible it was changed in the past accidentally, however I deem this unlikely).

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              thedeafenguy @thedeafenguy
              last edited by

              @thedeafenguy While it was installing, I edited the nsswitch.conf and added the extrausers to the four lines. The install still failed as I described.

              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wynn1212 @thedeafenguy
                last edited by

                @thedeafenguy While installing container, can you click that container name, click the setting icon on the top-right corner, then click container information to see the installation detail to figure out what went wrong?
                screenshot20240429_214605228.png
                screenshot20240429_214803334.png
                screenshot20240429_214624285.png
                screenshot20240429_214626285.png

                My devices that were powered by Ubuntu Touch
                Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                My devices that used Lomiri Desktop
                Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  thedeafenguy @wynn1212
                  last edited by thedeafenguy

                  @wynn1212 Not really. The last of the 'Operation details' says something like "Created base system successfuly" and then the name, distribution, status change to unknown. Exiting the libertine tab in settings and going back to the libertine tab prompts me to install libertine again.

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wynn1212 @thedeafenguy
                    last edited by

                    @thedeafenguy Try this in terminal, and output the result here

                    phablet@ubuntu-phablet~$ LANG=C libertine-container-manager create -i focal
                    

                    My devices that were powered by Ubuntu Touch
                    Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                    Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                    My devices that used Lomiri Desktop
                    Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      thedeafenguy @wynn1212
                      last edited by

                      @wynn1212 The result of that is:

                      I: Base system installed successfully:
                      /usr/sbin/chroot.fakechroot: line 105: 78
                      709 Segmentation fault      env -u FAKECH
                      ROOT_BASE_ORIG FAKECHROOT_CMD_ORIG= LD_LI
                      BRARY_PATH="$fakechroot_chrot_paths" FAK
                      ECHROOT_BASE="$fakechroot_chroot_base" "$
                      fakechroot_chroot_chroot" "${@:1:$(($fake
                      chroot_chroot_n - 1))}" "${fakechroot_chr
                      oot_newroot#$FAKECHROOT_BASE_ORIG}" "${@:
                      $(($fakechroot_chroot_n + 1))}"
                      ChrootContainer.py:94: ERROR: create_libe
                      rtine_container():      Failed to create 
                      container
                      libertine-container-manager:126: ERROR: c
                      reate():        Failed to create containe
                      r: 'destroy_libertine_container() missing
                       1 required positional argument: 'force' '
                      phablet@ubuntu-phablet:~$
                      
                      W 1 Reply Last reply Reply Quote 0
                      • W Offline
                        wynn1212 @thedeafenguy
                        last edited by

                        @thedeafenguy Mine is working fine on both Fairphone 4 and Pixel 3a, maybe try upgrade your UT to latest development channel?

                        If problem still persist, maybe try restore back to factory Android 9.0 image PQ3B.190801.002 and flash UT again.

                        Here's the result of how should it finished

                        Preparing to unpack .../language-pack-gnome-en-base_1%3a20.04+20220818_all.deb ...
                        Unpacking language-pack-gnome-en-base (1:20.04+20220818) ...
                        Selecting previously unselected package language-pack-gnome-en.
                        Preparing to unpack .../language-pack-gnome-en_1%3a20.04+20220818_all.deb ...
                        Unpacking language-pack-gnome-en (1:20.04+20220818) ...
                        Setting up language-pack-gnome-en (1:20.04+20220818) ...
                        Setting up language-pack-gnome-en-base (1:20.04+20220818) ...
                        Reading package lists...
                        Building dependency tree...
                        Reading state information...
                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                        phablet@ubuntu-phablet:~$
                        

                        My devices that were powered by Ubuntu Touch
                        Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                        Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                        My devices that used Lomiri Desktop
                        Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          thedeafenguy @wynn1212
                          last edited by thedeafenguy

                          @wynn1212 I am currently on the stable channel (I am daily driving UT) and would like to stay on the stable channel if possible. Is there any other workaround to get libertine working? I have also messed with the read-only filesystem in the past (installing stuff via apt and editing readonly files), however, I do not think that is the cause of my issues, as libertine never worked, even before i made modifications to the read-only filesystem.

                          W 1 Reply Last reply Reply Quote 0
                          • W Offline
                            wynn1212 @thedeafenguy
                            last edited by

                            @thedeafenguy What is your UT OS Version?

                            My devices that were powered by Ubuntu Touch
                            Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                            Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                            My devices that used Lomiri Desktop
                            Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              thedeafenguy @wynn1212
                              last edited by

                              @wynn1212 My version is: Ubuntu Touch 20.04 (OTA-4). Stable channel.

                              W 1 Reply Last reply Reply Quote 0
                              • W Offline
                                wynn1212 @thedeafenguy
                                last edited by wynn1212

                                @thedeafenguy Is this your fresh 20.04 install, or have you upgrade from 16.04 before?
                                If you upgraded from 16.04 before, it is recommended to start from fresh due to various changes in 20.04

                                My devices that were powered by Ubuntu Touch
                                Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                                Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                                My devices that used Lomiri Desktop
                                Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thedeafenguy @wynn1212
                                  last edited by thedeafenguy

                                  @wynn1212 I am not entirely sure. I installed UT on 1/30/24, which is when OTA-4 came out. It is possible that the UT installer had not yet been updated yet that day, so I may have had 16.04 briefly before I updated to 20.04 (this info is off the top of my head, I may be wrong). I would say that I likely did have 16.04 briefly, as I do remember updating to OTA-4 on UT.

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

                                    @thedeafenguy said in Libertine on Pixel 3a XL?:

                                    Is there any other workaround to get libertine working?

                                    As far as I know, there isn't any other workaround to get Libertine working. Your Libertine container crashed when entering the second stage (chroot to container):

                                    I: Base system installed successfully:
                                    /usr/sbin/chroot.fakechroot: line 105: 78709 Segmentation fault      env -u FAKECHROOT_BASE_ORIG FAKECHROOT_CMD_ORIG= LD_LIBRARY_PATH="$fakechroot_chrot_paths" FAKECHROOT_BASE="$fakechroot_chroot_base" "$fakechroot_chroot_chroot" "${@:1:$(($fakechroot_chroot_n - 1))}" "${fakechroot_chroot_newroot#$FAKECHROOT_BASE_ORIG}" "${@:$(($fakechroot_chroot_n + 1))}"
                                    

                                    I would suggest reflashing the 20.04 stable image via ubports-installer without checking 'Wipe Userdata'. Additionally, you can always change the channel from stable to development or vice versa without losing your data.

                                    While this operation shouldn't erase your data, it's still recommended to back up your data before flashing. You can use TWRP 3.3.1 to back up your data partition to a USB-C drive. If you need to wipe userdata, you can restore the data partition via TWRP after a clean UT flash. I have already done this on both Fairphone 4 and Pixel 3a.

                                    If the problem persists after the reflash or channel change, consider restoring back to the factory Android 9.0 image PQ3B.190801.002 and then flashing UT again. After the clean flash, test immediately to see if Libertine works or not, and then decide whether to restore the data partition.

                                    If Libertine still doesn't work after a clean flash, there may be a bug specific to the Pixel 3a XL. In this case, consider file a bug report to UBports by following the bug reporting process.

                                    I hope this information helps.

                                    My devices that were powered by Ubuntu Touch
                                    Fairphone 4 (fp4) 8G/256G - 20.04 Development (main phone)
                                    Google Pixel 3a (sargo) 4G/64G - 20.04 Stable

                                    My devices that used Lomiri Desktop
                                    Surface Go 3 (8G RAM) - Ubuntu 24.04 LTS (By Ubuntu Unity)

                                    T 1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thedeafenguy @wynn1212
                                      last edited by

                                      @wynn1212 Yep, reflashing the android 9 image and reinstalling seems to have worked. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • T thedeafenguy has marked this topic as solved on
                                      • First post
                                        Last post