Sanitized research log, build/reproducibility docs, DTS, kernel configs, patches, initramfs sources, bootchain migration plans and test logs. B5 direct boot PASS; B6 modem lifecycle in progress. No dumps, NV/EFS, vendor firmware or device identifiers included.
11 lines
834 B
Bash
Executable file
11 lines
834 B
Bash
Executable file
#!/bin/bash
|
|
# B5a rollback — restore pre-B5a state (aboot first, then boot). Needs 9008 (HW EDL: battery on, D+->GND, plug USB, release).
|
|
cd ~/doc/modem/jz08-aurora || exit 1
|
|
L=firehose/007050e100000000_394a2e47cf830150_fhprg_peek.bin ; O=logs/b5a/rollback ; mkdir -p $O
|
|
E(){ edl --loader=$L "$@"; }
|
|
E printgpt > $O/00-printgpt.log 2>&1
|
|
E w aboot bootchain-migration/aboot-lk1st-aurora.pad1M > $O/aboot-w.log 2>&1 # e4addbf8… (forced-fastboot lk1st)
|
|
E r aboot $O/aboot-rb.bin > /dev/null 2>&1 ; cmp bootchain-migration/aboot-lk1st-aurora.pad1M $O/aboot-rb.bin && echo ABOOT_RESTORED
|
|
E w boot partitions/boot.bin > $O/boot-w.log 2>&1 # 1342def7… (stock Android boot)
|
|
E r boot $O/boot-rb.bin > /dev/null 2>&1 ; cmp partitions/boot.bin $O/boot-rb.bin && echo BOOT_RESTORED
|
|
sha256sum $O/*.bin
|