UBports Installer 0.9.4-beta
Pre-releaseKNOWN ISSUE: System-image throw an error #2536
A snap package can be installed by running snap install ubports-installer --edge
on any Linux distribution.
You can help us test this release on UBports OPEN-CUTS.
Release notes
This release adds some new actions to make sure the UBports Recovery on the devices are capable of installing Ubuntu Touch. Some additional assertion actions make installation instructions more robust. The generated bug reports have been restructured a little to make them more useful for our developers and easier to understand for users looking for known issues. Last but not least, error handling for empty system image server channels and adb connection issues has been improved.
Changelog
- Add
verify_recovery
option tosystemimage:install
action to ensure the installed recovery is capable of installing Ubuntu Touch. Proposed by @Flohack74 and @amartinz in #2420 and ubports/halium_bootable_recovery#22 and implemented by @NeoTheThird in #2529 - Add
fastboot:assert_var
andadb:assert_prop
actions for #2505 by @NeoTheThird in #2529 ubports/promise-android-tools#61 ubports/installer-configs#178 - Improve bug report template structure by @NeoTheThird in #2524
- Handle empty system-image channels as seen in #2522 reported by @tsebastiani and fixed by @NeoTheThird in #2525
- Fix TypeError in plugin error handler, fixes #2528 reported by @paliwaljee and fixed by @NeoTheThird in #2530
- Handle adb
connection reset
error seen in #2528 reported by @paliwaljee and fixed by @NeoTheThird in ubports/promise-android-tools#63
Full Changelog: 0.9.3-beta...0.9.4-beta
Notes to Developers
You may use the newly added adb:assert_prop
and fastboot:assert_var
actions to assert the value of adb getprop
or fastboot getvar
. RegEx matching is supported as well. This allows us to verify that devices are actually running a working UBports Recovery, by checking for the ro.ubuntu.recovery
implemented in ubports/halium_bootable_recovery#22. As a quick shorthand, you can supply the verify_recovery
option to your systemimage:install
step, so you don't have to touch adb:assert_prop
directly for this.
Syntax Example:
- systemimage:install:
verify_recovery: true
- adb:assert_prop:
prop: "ro.ubuntu.recovery"
value: "true"
- fastboot:assert_var:
variable: "ro.ubuntu.recovery"
value: "true"
- adb:assert_prop:
prop: "ro.ubuntu.recovery"
regex:
pattern: "true"
flags: "i"
- fastboot:assert_var:
variable: "ro.ubuntu.recovery"
regex:
pattern: "true"
flags: "i"