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.
9 lines
559 B
Bash
Executable file
9 lines
559 B
Bash
Executable file
#!/bin/bash
|
|
# B5b rollback — restore pre-B5b cache (Android ext4, 817118e4). Needs 9008 via HW EDL. After this, power-on boots emmc1 from boot again.
|
|
cd ~/doc/modem/jz08-aurora || exit 1
|
|
L=firehose/007050e100000000_394a2e47cf830150_fhprg_peek.bin ; O=logs/b5b/rollback ; mkdir -p $O
|
|
B=b5b/backup/cache-current-817118e4.bin
|
|
edl --loader=$L printgpt > $O/00-printgpt.log 2>&1
|
|
edl --loader=$L w cache $B > $O/cache-w.log 2>&1
|
|
edl --loader=$L r cache $O/cache-rb.bin > /dev/null 2>&1 ; cmp $B $O/cache-rb.bin && echo CACHE_RESTORED
|
|
sha256sum $B $O/cache-rb.bin
|