How can I get images for offline installing UBPorts?
-
@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. -
@Kyrylo All you need is at the top of this thread https://forums.ubports.com/topic/3253/oneplus-3-3t/482
-
@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. -
@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.
-
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.imgalso 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. -
-
@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.
-
@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.
-
@Ingo Thank You very much!!!
This is exactly the kind of help I expected. -
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! -
@Kyrylo said in How can I get images for offline installing UBPorts?:
Problem is solved.
Great news.