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

    Call for Testing UBports Installer 0.5.6-beta

    Scheduled Pinned Locked Moved UBports Installer
    1 Posts 1 Posters 344 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.
      • N Offline
        NeoTheThird
        last edited by

        Y'all know the drill, UBports Installer 0.5.6-beta needs your love! A snap package can be installed by running snap install ubports-installer --beta on any Linux distribution. Other packages are available on the release page.

        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

        • @NeoTheThird Quit on macos, fixes #1047 86a4d8e
        • @NeoTheThird Implement additional fastboot flags, resolves #1459 71d46f7
        • @NeoTheThird Support both absolute and relative paths, fix #1320 11575a6
        • @NeoTheThird Add manual_download step, resolves #1456 055706d

        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"]
                    }
                  ]
                }
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post