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

    Installing dev packages

    Scheduled Pinned Locked Moved Volla Phone
    10 Posts 4 Posters 606 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.
      • L Offline
        LSRB
        last edited by

        Hello,

        Disclaimer: newbie to UT and UBPorts, though experienced with Fedora and SailFish OS

        Context: Vollaphone running OTA-15, developper mode on

        Requirement: willing to use my Vollaphone as a probe for cellular coverage, similarly to what I have been doing for 5+ years with Jolla and Sony Xperia devices running SailFish OS. In that respect, trying to get developement packages (buid-essential, automake, autoconf, libtool, libssl-dev, etc) and curl package up and running.

        Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?

        Issue #2: installing packages through Libertine fails as well. I understand from the forum there are issues with Libertine. Can anyone confirm?

        Issue #3: eventually, what would be the way forward?

        Thx in advance for your kind help,
        LS

        KenedaK TotalSonicT AntiDroidA 3 Replies Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @LSRB
          last edited by Keneda

          @lsrb said in Installing dev packages:

          Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?

          Yes i confirm. Systeme files are read only, however, if you know what's you're doing, you can make it read/write using Ubuntu Touch Tweak Tool from open store.

          Issue #2: installing packages through Libertine fails as well. I understand from the forum there are issues with Libertine. Can anyone confirm?

          I don't know very well Libertine, but sure there are some issue, but not only that could be yours, i think i've red that not all packages are availables through libertine.

          Issue #3: eventually, what would be the way forward?

          IF you know how to deal with linux files system, simpliest way is to make system files r/w like said above, and install what you need through apt.
          Be aware that doing this, you get out the normal working of the system, and from then you should not do OTA updates, as it will erase what you did, and maybe could brake something.

          Making uTouch system r/w is not endorsed nor supported by ubports, do it at your own risks.

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          L 1 Reply Last reply Reply Quote 0
          • TotalSonicT Offline
            TotalSonic @LSRB
            last edited by

            Libertine is working well for me with the Volla, although only some apps will successfully install and be somewhat usable (although usually clunky) with the small display (since the Volla does not support sending to external dislay yet).

            Apps that I have tested and have been proven ok with Libertine in Volla are:
            abiword, aisleriot, gedit, geary, gthumb, gtick, hardinfo, medit, mypaint, screenfetch, xournal.

            Gimp can be installed and works, but its gui is really unsuitable for a phone form factor.

            Firefox 84 that is in the default repos crashes, but Firefox-esr 78 works.

            The Midori, Qupzilla, and Epiphany-browser (aka Gnome Web) all crash or do not properly function.

            Best regards,
            Steve Berson

            1 Reply Last reply Reply Quote 0
            • AntiDroidA Offline
              AntiDroid @LSRB
              last edited by AntiDroid

              @lsrb I may be misunderstanding what you are trying to accomplish but you do not develop directly on the phone. You develop using Clickable which uses a pre-setup docker image containing a build environment for the phone. You then install any other packages you want in the docker image via the clickable.json file or more traditional build methods. Clickable then allows you to compile them for armhf, arm64 and amd64 for debugging on the desktop without ever having to push it to the device or have separate dependencies for each device architecture.

              OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
              OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                LSRB @AntiDroid
                last edited by

                @antidroid the set-up I have been using is running as a shell script triggering dbus-send and curl commands. Since there is a Terminal app, I am trying to adapt the shell script to Ubuntu Touch.

                BR,
                LS

                1 Reply Last reply Reply Quote 1
                • L Offline
                  LSRB @Keneda
                  last edited by

                  @keneda said in Installing dev packages:

                  @lsrb said in Installing dev packages:

                  Issue #1: "sudo apt update" fails in Terminal. I understand from Forum Topic #5747 that it's by design. Can anyone confirm?

                  Yes i confirm. Systeme files are read only, however, if you know what's you're doing, you can make it read/write using Ubuntu Touch Tweak Tool from open store.

                  Thx for the tip. curl package successfully installed. No system complaint so far. Will see how it turns out when OTA-16 is rolled out next month.

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

                    @lsrb said in Installing dev packages:

                    Will see how it turns out when OTA-16 is rolled out next month.

                    All should be overwritted 😊

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                    🇲🇫🇬🇧

                    L 1 Reply Last reply Reply Quote 0
                    • L Offline
                      LSRB @Keneda
                      last edited by

                      @keneda Based on your input, this is my expectation as well. Though, I reset the device through System Settings expecting curl to be wiped out, only to find it back after reset. I am confused. Is it not a full Factory Reset?

                      KenedaK AntiDroidA 2 Replies Last reply Reply Quote 0
                      • KenedaK Offline
                        Keneda @LSRB
                        last edited by Keneda

                        @lsrb said in Installing dev packages:

                        I am confused. Is it not a full Factory Reset?

                        Only devs can tell what exactly should do a "factory reset", i never did this, my MX4 is my daily driver since 2015, i never reseted it.

                        2015-2023 : Meizu MX4 ☠️⚰️✝️
                        2023-2024 : Nexus 5 ☠️⚰️✝️
                        2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
                        🇲🇫🇬🇧

                        1 Reply Last reply Reply Quote 0
                        • AntiDroidA Offline
                          AntiDroid @LSRB
                          last edited by

                          @lsrb It would be after an OTA that you will lose your modifications. An over the air update works by downloading an entire read only image and replacing the current one. All of your user directories are safe but not the root file system below home/phablet.

                          OnePlus One with UT OTA-15 daily driver. I would be testing the Halium 7.1 port if I could roll back to OTA-15
                          OnePlus 6T PostmarketOS Custom Gnome on Mainline Kernel

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