Skip to content

Commit

Permalink
volla-mimameid: fix coming (back) from Android
Browse files Browse the repository at this point in the history
- If the current slot is 'b' (as it can be if Android has been updated),
  even if we set the (new) active slot to 'a', we still have to
  explicitly spell out the slot, otherwise bootloader will still
  flash to slot b.
- vbmeta has to be flashed, replacing the one from Android. The new
  bootstrap tarball is provided by Volla to include vbmeta.
  • Loading branch information
peat-psuwit committed Mar 7, 2024
1 parent 84cd0c2 commit 724b5b4
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions v2/devices/mimameid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ operating_systems:
- core:download:
group: "firmware"
files:
- url: "https://volla.tech/filedump/volla-mimameid-11.0-ubports-installer-bootstrap.zip"
- url: "https://volla.tech/filedump/volla-mimameid-11.0-ubports-installer-bootstrap-v2.zip"
checksum:
sum: "c0216239cc6dc11e23940884d0f6d1183b29898e63b561da8122bf69636f6c7c"
sum: "82ec6dd3d5602ecdd5cd445e09440c6c764b841648c22317a59ca536c502323b"
algorithm: "sha256"
condition:
var: "bootstrap"
Expand All @@ -64,7 +64,7 @@ operating_systems:
- core:unpack:
group: "firmware"
files:
- archive: "volla-mimameid-11.0-ubports-installer-bootstrap.zip"
- archive: "volla-mimameid-11.0-ubports-installer-bootstrap-v2.zip"
dir: "unpacked"
condition:
var: "bootstrap"
Expand All @@ -87,12 +87,16 @@ operating_systems:
- actions:
- fastboot:flash:
partitions:
- partition: "lk"
- partition: "lk_a"
file: "unpacked/lk.img"
group: "firmware"
- partition: "boot"
- partition: "boot_a"
file: "unpacked/boot.img"
group: "firmware"
- partition: "vbmeta_a"
file: "unpacked/vbmeta.img"
group: "firmware"
flags: [ "--disable-verity" ]
- partition: "super"
file: "unpacked/super.img"
group: "firmware"
Expand Down Expand Up @@ -333,13 +337,13 @@ operating_systems:
- actions:
- fastboot:flash:
partitions:
- partition: "dtbo"
- partition: "dtbo_a"
file: "unpacked_droidian/data/dtbo.img"
group: "firmware"
- partition: "boot"
- partition: "boot_a"
file: "unpacked_droidian/data/boot.img"
group: "firmware"
- partition: "vbmeta"
- partition: "vbmeta_a"
file: "unpacked_droidian/data/vbmeta.img"
group: "firmware"
- partition: "userdata"
Expand Down

0 comments on commit 724b5b4

Please sign in to comment.