• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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
      Keneda @Kyrylo
      last edited by Keneda 27 May 2020, 23:16

      @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 28 May 2020, 11:04 Reply Quote 0
      • L Offline
        Lakotaubp @Kyrylo
        last edited by 28 May 2020, 04:14

        @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 28 May 2020, 11:33 Reply Quote 0
        • K Offline
          Kyrylo @Keneda
          last edited by 28 May 2020, 11:04

          @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 28 May 2020, 11:33

            @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 28 May 2020, 11:46

              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
              • L Offline
                Lakotaubp @Kyrylo
                last edited by 28 May 2020, 13:04

                @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
                • I Offline
                  Ingo
                  last edited by Ingo 28 May 2020, 13:23

                  @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 28 May 2020, 13:41 Reply Quote 1
                  • K Offline
                    Kyrylo @Ingo
                    last edited by 28 May 2020, 13:41

                    @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 1 Jun 2020, 23:56

                      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!

                      A 1 Reply Last reply 2 Jun 2020, 09:13 Reply Quote 0
                      • A Offline
                        AppLee @Kyrylo
                        last edited by 2 Jun 2020, 09:13

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

                        Problem is solved.

                        Great news.

                        1 Reply Last reply Reply Quote 0
                        11 out of 11
                        • First post
                          11/11
                          Last post