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

    How can I get images for offline installing UBPorts?

    Scheduled Pinned Locked Moved Solved Support
    11 Posts 5 Posters 2.8k 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.
      • K Offline
        Kyrylo
        last edited by

        Hello!
        I am going to install Ubuntu touch on Oneplus 3.
        And I want to know whether I can install it via fastboot or otherwise.
        In other words, where can i download all needed images i tried to find them but couldn't.
        The reason I want to get those images - I want to be able to install Ubuntu without stable internet connection.
        Thanks in advance.

        KenedaK LakotaubpL 3 Replies Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @Kyrylo
          last edited by Keneda

          @Kyrylo
          If you use ubports installer, it will not start the install of image unless it retrieved all the image, so don't worry about unstability.

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

          K 1 Reply Last reply Reply Quote 0
          • LakotaubpL Offline
            Lakotaubp @Kyrylo
            last edited by

            @Kyrylo All you need is at the top of this thread https://forums.ubports.com/topic/3253/oneplus-3-3t/482

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              Kyrylo @Keneda
              last edited by

              @Keneda Yes, I believe that the Ubuntu-Installer will work correctly, but I have a question about the almost complete lack of communication in the countryside. So I want to have these files downloaded on the computer in full and in advance on the normal Internet.
              Therefore, all the same, if there is any way out of the situation, please tell me.

              1 Reply Last reply Reply Quote 0
              • K Offline
                Kyrylo @Lakotaubp
                last edited by

                @Lakotaubp Thank you for your help.
                Of course, I read what is written at the top of the topic that you indicated.
                First of all, I'm interested in what exactly will happen to my phone during installation.
                If I'm not mistaken all the actions performed by the installer I could perform sequentially on the command line.

                This is exactly the information I am looking for.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Kyrylo
                  last edited by

                  Thank You All!
                  I really appreciate your help, and I am very sorry to distract you from more important work of developing Ubuntu Touch.

                  Nevertheless...
                  I found a link to
                  https://cdimage.ubports.com/devices/halium-unlocked-recovery_oneplus3.img

                  also i found some information in the file https://system-image.ubports.com/16.04/arm64/edge/oneplus3/index.json:

                  • . . . . . .

                  • base 309

                  • description "tag=2020-05-28/2,ubports=20200528-5283,device=20200527-11943,keyring=archive-master,version=310"
                    ....

                  • files

                    • "/pool/ubports-b72b1222bc6bb47f0617eb5f561b1b51513232361413ac03c31c6444a9390917.delta-ubports-48ef63fb8c931c3070f89b5a1fb2b274f73c373345efee6f00e9ae49960869ca.tar.xz"
                    • "/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz"
                    • "/16.04/arm64/edge/oneplus3/version-310.tar.xz"

                  If I'm not mistaken, there should still be boot.img
                  I'm interested in the steps I need to take to install all the necessary files.

                  I will be grateful for any help in this question.
                  Thanks in advance.

                  1 Reply Last reply Reply Quote 0
                  • LakotaubpL Offline
                    Lakotaubp @Kyrylo
                    last edited by

                    @Kyrylo Ubuntu Touch is not a traditional ROM. There are no files to download and install you need the installer to install the UT Recovery then the OS. With the OP3 you may need twrp recovery to modify cache before installing but all details are in the link I posted.

                    1 Reply Last reply Reply Quote 0
                    • IngoI Offline
                      Ingo
                      last edited by Ingo

                      @Kyrylo Quite some time ago I did some reverse engineering of the installer for my FP2: https://forum.fairphone.com/t/state-of-the-ubports-installer-or-command-line/47035/23

                      But that was by observing a successful run on my computer and then looking at the logs.
                      I don't remember too well but looking at the JSON configs the installer downloads (and partly at the source code) I'm pretty sure that the individual steps are likely a little different depending on the device. Meaning that if you follow my steps for the FP2 with a different device I wouldn't guarantee it will work.

                      Edit: I almost forgot: there was a larger rewrite of the installer later, so I guess the steps are probably still the same but config files format and resource URLs probably have changed in the last ~1.5 years.

                      K 1 Reply Last reply Reply Quote 1
                      • K Offline
                        Kyrylo @Ingo
                        last edited by

                        @Ingo Thank You very much!!!
                        This is exactly the kind of help I expected.

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          Kyrylo
                          last edited by

                          Hello everyone!
                          Problem is solved.
                          Ubports-installer downloads files to ~/.caches/ubports/ (on Ubuntu Linux)
                          So I've downloaded https://cdimage.ubports.com/devices/halium-unlocked-recovery_oneplus3.img and
                          only large files from https://system-image.ubports.com/16.04/arm64/edge/oneplus3/index.json from the very ending of json file, but very last type:full version (not type:delta).
                          Then I've put them to ~/.cache/ubports/oneplus3/firmware/ and ~/.cache/ubports/pool/ respectively.
                          And the remaining few bytes Ubports-installer downloaded yourself.
                          So.
                          Maybe this information will be useful for someone else
                          Thank You all!

                          AppLeeA 1 Reply Last reply Reply Quote 0
                          • AppLeeA Offline
                            AppLee @Kyrylo
                            last edited by

                            @Kyrylo said in How can I get images for offline installing UBPorts?:

                            Problem is solved.

                            Great news.

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