Skip to content

UBports Installer 0.5.6-beta

Compare
Choose a tag to compare
@NeoTheThird NeoTheThird released this 25 Oct 09:21
· 347 commits to master since this release

A snap package can be installed by running snap install ubports-installer on any Linux distribution.

You can help us test this release on UBports OPEN-CUTS.

Release notes

This release adds support for additional configuration options when flashing fastboot images, such as --disable-verity (#1459). MacOS users can now quit the UBports Installer by pressing Cmd+Q (#1047). A bug has been fixed that prevented the installer from reading absolute paths to config files (#1320) using the -f option. A new step manual_download has been added, to support downloading files with licensing restrictions that make it impossible to re-host them on our own servers for automatic downloading (#1456).

Experimental automatic reporting

Experimental automatic reporting has been added recently. Please check the instructions here to learn more.

Changelog

7 changed files, 150 additions, 51 deletions

Notes for Developers

manual_download step

The manual_download configuration step has the following structure:

        {
          "type": "manual_download",
          "condition": {"var": "bootstrap", "value": true},
          "group": "firmware",
          "file": {
            "name": "package.json",
            "url": "https://github.com/ubports/installer-configs/blob/master/package.json",
            "checksum": {
              "sum": "907f030a2e37c99dc8b0cfbf42f95213ef95b2e6714900ec002b213fad4672a6",
              "algorithm": "sha256"
            }
          }
        }

fastboot flash flags

Additional flags for fastboot flash can be set in the fastboot:flash action for every file individually. The raw option tells the installer to use the fastboot flash:raw command rather than fastboot flash. The flags option takes in an array with additional flags. Use caution when selecting these flags. Make sure you actually need them; don't just add everything. If you're using flags, do so because it's the only option to make it work.

        {
          "type": "fastboot:flash",
          "condition": {"var": "bootstrap", "value": true},
          "flash": [
            {
              "partition": "boot",
              "file": "halium-unlocked-recovery_dora.img",
              "group": "firmware",
              "raw": true
            },
            {
              "partition": "recovery",
              "file": "halium-unlocked-recovery_dora.img",
              "group": "firmware",
              "flags": ["--disable-verity", "--disable-verification", "--force"]
            }
          ]
        }