State of the UBports installer, or command line

I did today’s update not via updater app but with the installer.
Latest version 0.1.21-beta plus some additional log output (see my pull request at https://github.com/ubports/ubports-installer/pull/611).

Here are - most of - the steps I did:

  • use the AppImage version and run it as normal user on opensuse Leap 15.0[*]
  • the model of my phone wasn’t autodetected
  • selected the “16.04/devel” channel and kept everything else as default (I do QA on a test device, most regular users would want to go for “stable” when using as a daily driver)
  • I got “Fastboot: Unknown error: downloading ‘boot.img’…FAILED (data transfer failure (Protocol error))” while in fastboot mode
    • known issue: https://github.com/ubports/ubports-installer/issues/473
    • –> I clicked the “Try again” button and simply started over; didn’t happen again
    • (I think the error window also said I wasn’t using the latest version but that’s a message I ignore in general)
  • when instructed to boot into bootloader mode I did so with the indicated Power + Volume Down buttons
    • don’t use adb reboot bootloader from a different terminal, the UT installer uses port 5038 instead of the default 5037 so that a) the command would not work and b) a second running adb server will cause the installer to not see the phone in recovery mode
  • everything else went as expected

If someone wants to analyze what the installer does, here is the full log of the successful installation: https://paste.ubuntu.com/p/NvWw3Qf4Xs/

Executables for linux/windows/mac that include the additional (error) logging can be found at https://ci.ubports.com/blue/organizations/jenkins/ubports%2Fubports-installer/detail/PR-611/1/artifacts for now. I hope those changes will get merged to the official version soon.

[*]: opensuse doesn’t have /usr/local/bin in $PATH for commands run with sudo, so I created symlinks for adb/fastboot in /usr/bin (suse has not packages for those tools); if you don’t do that, the installer will fail to detect that the phone is in fastboot mode

1 Like