Files
AXP-Resurection/docs/002-lab-stock-rescue.md
T
sunfish-admin 12d2179c20 AXP Magisk resurrection track: Speckit 009 port AXP/LOS22 to LOS23.
Ship Magisk like GOLDEN; KernelSU optional recycle only; parallel to sunfish-a16-rom standby.
2026-09-16 21:56:22 +00:00

64 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# LAB stock factory rescue — Pixel 4a (`sunfish`)
**Scope: LAB only.** Never use these steps on GOLDEN.
## Source (measured 2026-09-13)
Google’s public factory listing for sunfish is pruned. The former CDN URL now
returns **HTTP 404**:
`https://dl.google.com/dl/android/aosp/sunfish-tq3a.230805.001.s1-factory-82902ea9.zip`
Canonical build identity (final Android 13 / TQ3A, widely cross-checked):
| Field | Value |
|-------|--------|
| Build | `TQ3A.230805.001.S1` |
| File | `sunfish-tq3a.230805.001.s1-factory-82902ea9.zip` |
| Size | `2276267484` bytes |
| SHA-256 | `82902ea98c80f1a22706279a30d2bc46aa55cbe60703c9a02ba043bd052c6d99` |
| Primary index | https://developers.google.com/android/images (sunfish may be empty) |
| Fallback (measured) | Internet Archive item [`sunfish-tq3a.230805.001.s1`](https://archive.org/details/sunfish-tq3a.230805.001.s1) |
| Cross-check | CalyxOS `vars/sunfish` cites the same URL/hash historically |
Host storage: `/srv/rom/references/axp/lab/`
Download log: `/srv/rom/references/axp/logs/lab-factory-download.txt`
## Before flashing
1. Confirm the USB phone is **LAB** (serial/label) — not GOLDEN.
2. Backup anything you care about on LAB (full wipe).
3. Unlock bootloader only if required and already accepted for LAB.
4. Verify zip SHA-256 before `flash-all`.
```bash
sha256sum -c <<<'82902ea98c80f1a22706279a30d2bc46aa55cbe60703c9a02ba043bd052c6d99 sunfish-tq3a.230805.001.s1-factory-82902ea9.zip'
```
## Flash (factory package)
From an unpacked factory directory on the **laptop** (USB to LAB):
```bash
# device in fastboot; verify serial matches LAB
fastboot devices
cd /path/to/sunfish-tq3a.230805.001.s1
./flash-all.sh # Linux; erases userdata
```
Windows: `flash-all.bat`.
`-w` is typically included in Google’s script (data wipe).
Alternative: https://flash.android.com only if that build remains selectable (LAB only).
## After flash
- Confirm LAB boots stock.
- Re-unlock / re-setup only as needed for later `003` LOS experiments.
- Do **not** relock unless you intend stock-only LAB.
## Gate
FR-002 / SC-002: this doc + **SHA-256-verified** zip on host are required before
experimental `003` flashes on LAB.