Skip to content

Commit 6b10da0

Browse files
peat-psuwitamartinz
authored andcommitted
volla-mimameid: fix coming (back) from Android
- 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.
1 parent 84cd0c2 commit 6b10da0

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

v2/devices/mimameid.yml

+12-8
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ operating_systems:
5353
- core:download:
5454
group: "firmware"
5555
files:
56-
- url: "https://volla.tech/filedump/volla-mimameid-11.0-ubports-installer-bootstrap.zip"
56+
- url: "https://volla.tech/filedump/volla-mimameid-11.0-ubports-installer-bootstrap-v2.zip"
5757
checksum:
58-
sum: "c0216239cc6dc11e23940884d0f6d1183b29898e63b561da8122bf69636f6c7c"
58+
sum: "82ec6dd3d5602ecdd5cd445e09440c6c764b841648c22317a59ca536c502323b"
5959
algorithm: "sha256"
6060
condition:
6161
var: "bootstrap"
@@ -64,7 +64,7 @@ operating_systems:
6464
- core:unpack:
6565
group: "firmware"
6666
files:
67-
- archive: "volla-mimameid-11.0-ubports-installer-bootstrap.zip"
67+
- archive: "volla-mimameid-11.0-ubports-installer-bootstrap-v2.zip"
6868
dir: "unpacked"
6969
condition:
7070
var: "bootstrap"
@@ -87,12 +87,16 @@ operating_systems:
8787
- actions:
8888
- fastboot:flash:
8989
partitions:
90-
- partition: "lk"
90+
- partition: "lk_a"
9191
file: "unpacked/lk.img"
9292
group: "firmware"
93-
- partition: "boot"
93+
- partition: "boot_a"
9494
file: "unpacked/boot.img"
9595
group: "firmware"
96+
- partition: "vbmeta_a"
97+
file: "unpacked/vbmeta.img"
98+
group: "firmware"
99+
flags: [ "--disable-verity" ]
96100
- partition: "super"
97101
file: "unpacked/super.img"
98102
group: "firmware"
@@ -333,13 +337,13 @@ operating_systems:
333337
- actions:
334338
- fastboot:flash:
335339
partitions:
336-
- partition: "dtbo"
340+
- partition: "dtbo_a"
337341
file: "unpacked_droidian/data/dtbo.img"
338342
group: "firmware"
339-
- partition: "boot"
343+
- partition: "boot_a"
340344
file: "unpacked_droidian/data/boot.img"
341345
group: "firmware"
342-
- partition: "vbmeta"
346+
- partition: "vbmeta_a"
343347
file: "unpacked_droidian/data/vbmeta.img"
344348
group: "firmware"
345349
- partition: "userdata"

0 commit comments

Comments
 (0)