Files
avbroot/tests/tests.yaml
T
Andrew Gunnerson bf53859bcd Ensure output files are zip64-compliant (again)
PR #110 fixed this incorrectly. I misinterpreted "set to zero in the
local header" from §4.4.4 in the spec as referring to the two 32-bit
size fields in the local header. However, the spec considers the zip64
extra record as part of the local header. The correct behavior for
writing zip64 entries to unseekable files is 0xffffffff in the 32-bit
local header size fields (to enable zip64), 0 in the zip64 extra record
(due to streaming writes), and the actual sizes in the data descriptor.

Fixes: #109

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
2023-07-03 16:30:09 -04:00

154 lines
6.5 KiB
YAML

magisk:
url: https://github.com/topjohnwu/Magisk/releases/download/v26.0/Magisk-v26.0.apk
hash: 9e14d3d3ca1f1a2765f8ca215ebbf35ea5fd2896fb147eea581fcaa3b4e77d25
device:
# What's unique: init_boot (boot v4) + vendor_boot (vendor v4)
cheetah: # Google Pixel 7 Pro
url: https://dl.google.com/dl/android/aosp/cheetah-ota-tq2a.230305.008.c1-6ac5ff2e.zip
sections:
- start: 0
end: 151715
- start: 21683150
end: 23179365
- start: 2043499985
end: 2043508325
- start: 2315331822
end: 2333060126
- start: 2344084950
end: 2344090066
hash:
original:
full: 6ac5ff2e14dc16755ea4ea30e6dbe25103b889a36a465194ef943bd0d665b91c
stripped: 549522015f0369a3b89385f532ab62235b47c2c39540bd0adaaf6acc81fdda94
patched:
full: 7a9d103fd82a034ff349e9684be942b47094de946c13175dd7cacfbd5a2801c0
stripped: a0f74619fc20a3d3d14d1b47247e06aaf801019ab9992f4a4bf97b51c260ecb9
avb_images:
init_boot.img: 07b5899a9259e4b054b1184226b07bec634a93933f5092c7f74089cf19dfb352
vbmeta.img: 903486b11bedb173e5f8ebfff3b80df3f4ac96e9267e98973e9a5c0dfd4a84e3
vbmeta_system.img: cf8c77dcf0a4474d49b5bdc2a44bdb3646464d5212fbe12aa5d3c5f531742f4f
vbmeta_vendor.img: 660d8f61acd95a4f8ad416b4cbe126e9c039706462b4236ad723953c72ac49a8
vendor_boot.img: a6746a6d8c8f1229984c063cb7f86198994f913b7f3fbbbac14337ffae15e9f0
# What's unique: boot (boot v4, no ramdisk) + vendor_boot (vendor v4, 2 ramdisks)
bluejay: # Google Pixel 6a
url: https://dl.google.com/dl/android/aosp/bluejay-ota-tq2a.230305.008.e1-915f9087.zip
sections:
- start: 0
end: 140787
- start: 1060207
end: 21612852
- start: 1886150700
end: 1886158844
- start: 2069112987
end: 2092260102
- start: 2098778558
end: 2098783674
hash:
original:
full: 915f9087b627b6961be9bb447dc63a7a1083b536753a78715e98641eaeb9c9d1
stripped: a3ee5b6e39e687665c31790118ab9f47715b0b8285ae9847dbf81307f963db14
patched:
full: ee904dacf01f340651dc50db9ba3732315ad66cc3147b7c8508017b083db3657
stripped: dd721a35fe2dac5d258c978eb8b4ce084f455aea21062936bee81761f3b3118d
avb_images:
boot.img: 74a7561ee562bf267f1e67243b431cf60538859d5bf7ca624bfc99fe4d425861
vbmeta.img: 1afe23814943ad79915fdf2c1aac82d53d99587eb8e2966eace106bf966287fa
vbmeta_system.img: 285b83e4290f3257dc3678f0c3191794830bb2d72fb0969b69fc8f09d7ddff12
vbmeta_vendor.img: 981f736586b91a9f4c93c4208a0d191a35ff15118c6fa505d755ee7fda8b2477
vendor_boot.img: 68454782e3e5107555b33567a6403a253aa8f63591889ab9c5afe29d03227393
# What's unique: boot (boot v3) + vendor_boot (vendor v3)
bramble: # Google Pixel 4a 5G
url: https://dl.google.com/dl/android/aosp/bramble-ota-tq2a.230305.008.c1-a925dd09.zip
sections:
- start: 0
end: 140531
- start: 496187
end: 11655082
- start: 1650283561
end: 1650287993
- start: 1884739919
end: 1908081011
- start: 1910894027
end: 1910899144
hash:
original:
full: a925dd09c8d613d46cf72677c16f4fadee18bc21734d57047c6ccf31f672507b
stripped: 79322b0b417359e8f072032de676d7e5bd2715a3b3554c48ed5cc9e9a25c6866
patched:
full: 24e83b01a8c17f803e15956ee94476eab398436a49c03377a71fc4cff70bd255
stripped: 308fa3da7c2836aa95a37b00b8aed4fab5a7fb0d2a7b3f3d7d2b12444f2b9a3c
avb_images:
boot.img: e15eb2ff0609c9d84fef085ef72ccd7523ae4ac2a39082ae917e0402efdfd2f3
vbmeta.img: 23cb8e2fe74b3a709b49e78808f1d8561c8681700f22f0fda1fd1a9fd198e3c5
vbmeta_system.img: 2fcd52d7462916a8510bbb07f2f5a14200afe2de97568396fe75e04c5c283152
vendor_boot.img: 34901182f5e29d9ab92d5ab0f50fc96b44c6efffaa41c6b380234a92da9a2b10
# What's unique: boot (boot v2)
sunfish: # Google Pixel 4a
url: https://dl.google.com/dl/android/aosp/sunfish-ota-tq2a.230305.008.c1-174fd16b.zip
sections:
- start: 0
end: 129700
- start: 476996
end: 34035261
- start: 1624751947
end: 1624756371
- start: 1823132563
end: 1823137581
hash:
original:
full: 174fd16b47ef994ea8f3cb0f3fb456df2654b0aa1f9ea6fb8e54e5c6319f2601
stripped: 943ce3ae2aac8a0ccd4a7e9d4e38a9c495c39639f2621c6853be4c7a3fa0fc26
patched:
full: 928bb6bca12d3b4c9fe7e327855e010632c626df0d18971ad8212b64ef7fe4ba
stripped: 6cb939f42385b91b1398a6157dc6171a7354a37f3fe4a86752b98ad5a872b8df
avb_images:
boot.img: 36d4a348b2ea54655c28a71d14f865eb1181bb860b71057845afeb151d054817
vbmeta.img: e0923a65c9cd77f2327b43a679524c7945fdc1f9f6cf707b75f7f215dcd852cd
vbmeta_system.img: 7cdb590bfc1056a5a8c7606ff05e99eb344efe108296682698b5cfe83905e0cd
# What's unique:
# - boot (boot v4) + recovery (boot v4)
# - boot images have VTS signature block filled with all 0s
# - payload.bin uses ZERO blocks
# Build info:
# - Unofficial list of full OTAs: https://forum.xda-developers.com/t/oneplus-10-pro-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4572593/
# - The North American builds are used because they're the only ones hosted on
# a well known domain
# - The build number can be found in <my_manifest>/build.prop since it's not
# obvious from the filename
ossi: # OnePlus 10 Pro
# Build NE2215_11_C.26
url: https://android.googleapis.com/packages/ota-api/package/4cacbe5e6a3ab6a6fade68cc40f44d0fa6a2928a.zip
sections:
- start: 0
end: 204048
- start: 19105432
end: 34966775
- start: 2657405750
end: 2657407254
- start: 4984045446
end: 5006377281
- start: 5114504441
end: 5114507197
- start: 5138158449
end: 5138159817
- start: 5140101511
end: 5140105324
hash:
original:
full: 929f892fbd70699cf7f118a119aac1ae1b86351e1ada17715666fa4401e63472
stripped: 4eabaf79b6c2b5df305e3ecdc2b9570c0dd27350b4e8d6434584000c4989ff3d
patched:
full: 2c44c34fa25feda472ded5ab693e9b7fdd746c770ecfcc0e3b95d06a1fe35a61
stripped: 24a8cbd86a3221aef9cca0751e9218a2221f33a8e1a34f3a60a10473fc18d495
avb_images:
boot.img: ec703e143c24e7eb5b2eb96beb1d4342c1dd2179b12612d41430b1b55e7dec0f
recovery.img: 2ff62bc52a5900eb170cc44df0f0ee8062ee6dcb48ecf1899ac556145161f53c
vbmeta.img: c022cf79da301a8430af5c49704944c490707fa0306031fe3ea22c39ce4734f6
vbmeta_system.img: 749616b7f04487c05e9e363ad2071a0ab3bae29d497daf1f1a7695f7c8cfa82a
vbmeta_vendor.img: a6037fce745384425fb12745b8568386b84fb57ca6f94f6e47bcf754de341ae4