Skip to content

HUMAN: Flash the signed image to Pixel 10a units and run the OTA update and recovery drills #673

Open

Description

@lalalune

Current Pixel 10a operator handoff

December 4, 2026, 20:24 UTC. The main promotion merged at f16286075988 and built the corrected GCP compiler image. The stable launcher feed still serves v1378. The spare last reported v1378 on the November pilot at 00:22 UTC, and the USB and fastboot device lists are currently empty. OS enrollment was read directly from the installed system updater as false. Production image signing, artifact readback and the four physical drills await the first published production OS. Merged main · Compiler image · Device receipt

Use a backed-up, owner-approved spare. Download the disabled user/release-keys factory image and the newer, whole signed OTA from their versioned GitHub releases. Match both to their release receipts, including the exact GCP object generations. Check the hashes and retain a known-good image and the locked Google stock archive before changing the phone. The launcher’s one-time update on a v1174 device is a separate task in #889.

December 3 workstation readiness. The approved, unlocked spare reconnected on slot A of the November userdebug/test-keys image. It now runs the verified, self-installed public v1378 launcher after the ordinary v1174 Settings bootstrap. Alpha is the default Home app on validated unmetered Wi-Fi. The earlier stock v1330 → v1365 no-tap installation is a separate observation. Physical v1378 receipt

The workstation holds platform-tools 37.0.0 and the complete Google recovery ZIP, 4,475,372,209 bytes with verified SHA-256 d1d2550268de9fd4bfdd4ff0910cc4471fec6ba361506278c25f34f312106675. The four drills await verified, compatible production images A and B. Physical launcher receipt · Official stock archive

Google's retained stock archive declares rollback index 1791158400 at each of AVB locations 0 through 4. The workstation verified the signed headers and parent-authorized keys for vbmeta (0), vbmeta_system (1), boot (2), vbmeta_vendor (3) and init_boot (4) directly from the archive. The spare currently reports bootloader stallion-16.4-14791556 and the March 2026 security patch. For the A → B → recovery sequence, compare the actual signed images' firmware requirements and rollback indices with the chosen recovery archive before making a firmware change. Google recovery archive inventory and enrolled Alpha channel

The two firmware files in the retained Google archive also matched the reviewed vendor inputs in Eliza SDK 524639213f03 byte for byte. The bootloader is 19,241,000 bytes (SHA-256 a42e52ff1e1f4f99e767a85b1c67ad5921cf132db01f949efb9cc07b429b3ea7). The radio is 191,500,428 bytes (SHA-256 fb9dc630e991b58f3ef5180ba33a68c0b3c91eb4568d919da95d221aed4f6f78). Check A and B's actual signed factory requirements and AVB indices before flashing. Pinned firmware inventory

Build and verify the two disabled images

Use the first successful production Pixel run as A, the disabled baseline. Green main c481418daac2 automatically published launcher v1378. An anonymous download matched its private signing receipt and Android certificate, all 410,350,156 bytes and SHA-256 b1451ef34c8ec932d116d67d2a7129677f2f2e5ba6c7eebb7c39548357ed7e78. Its Pixel run admitted that launcher. Compute was canceled after the preceding v1365 build reproduced a physical product-name mismatch on the same SDK. That build stopped before compilation and signing. The corrected SDK passes six source and composition journeys. Select A only after an actual production build signs and its GitHub factory and OTA pass independent download checks. Launcher publication · Pixel admission · GCP failure · SDK repair

The proposed main promotion now uses canonical SDK f5c4faa71b1c. Its preflight read back all 410,350,156 signed launcher bytes and matched all 1,087 source projects with the correct physical device and production lunch target. The latest main CI held v1382. Use the successful production build and its actual release ledger to select A once downloadable. The emulator's v1378 no-tap install and reboot do not fill any of the four physical OS drill receipts. Canonical preflight · Main promotion · Emulator receipt

The GCP compiler used for SDK 524639213f03 had image ID 4887716908096036996. The enrolled signer has image ID 2678190443165715852. The next run resolves its compiler against the corrected SDK and records the exact compiler and signer identities. The November userdebug/test-keys pilot remains outside the production drills. Compiler and signer handoff · Earlier pilot verification

After A signs, use a distinct successful automatic production run as B, or start one fresh run after checking the Pixel queue. For the same still-public launcher, reuse A’s verified OS CI coordinates. Set all four variables below to the actual run IDs and attempts. This command also starts A when an earlier controller failed admission.

gh workflow run release-pixel.yml --repo AlphaPhone/alpha --ref main \
  -f purpose=release -f publish_run="$PUBLISH_RUN" -f publish_attempt="$PUBLISH_ATTEMPT" \
  -f os_ci_run="$OS_CI_RUN" -f os_ci_attempt="$OS_CI_ATTEMPT"

If the launcher channel has advanced, retain A’s signed factory image and record. Follow the newer launcher’s own successful publication or reconciliation and matching CI-created draft/source marker. Use those publication coordinates for B, together with that launcher's own or later compatible green OS source through the current controller. Omitting both os_ci_* inputs delegates that search to the controller. The admission job compares the live launcher digest, length and version before allocation. A previously published alpha-v<version> can receive a distinct later OS cut as alpha-os-alpha.<Pixel run>.<admission attempt>. The four-drill pair is established by the signed A-to-B compatibility check below. Admission · OS-only release handling

Record the two Pixel run IDs and their admission and signing attempts. Each fresh run produces its own alpha.<run>.<admission-attempt> build number and create-only private outputs. A signing retry continues its existing build. Both images keep os_update_enabled = false. Green main can sign and publish a disabled image automatically. The four physical drills govern device enrollment. A successful publication alone does not establish a physical boot or update. Pixel workflow

Download pixel-sign-<admission-attempt> from each exact Pixel run. Its member is sign-receipt.json; record the actual successful sign / sign job attempt separately. In that receipt .commit, .buildNumber, .launcherSha256, .builderImageId and .signerImageId identify the signed product. Fetch each file by its own .bucket, .object and .generation, then compare its byte count and SHA-256 with the receipt. Keep A’s .image, .avb, .targetFiles and .record for baseline and recovery. Keep B’s .ota and .record for the update. Private target-files and receipts stay in the private handoff. Set A_RECORD and B_RECORD to the two verified release-record paths and run the preflight before touching the spare.

pnpm --filter @repo/app aosp ota check --from "$A_RECORD" --to "$B_RECORD"

Require admitted: true. AOSP uses build time by default. Record both fingerprints, build dates and OTA digests. B needs a new fingerprint, strictly later date, matching OTA post-timestamp, the enrolled keys, and nondecreasing patch levels and AVB rollback indexes. Pinned AOSP clock · Compatibility checks

Prepare the physical spare

The owner authorized erasing the plugged-in Pixel for OS qualification after the stock unattended launcher test. December 2 readback found Google stock stallion Android 16 build CP1A.260305.018, March 5 security patch, verified boot green, locked, slot A. The active firmware is bootloader stallion-16.4-14791556 and radio g5400i-251201-260127-B-14784805. The complete retained Google factory archive for the recovery drill matched all 4,475,372,209 bytes by SHA-256 d1d2550268de9fd4bfdd4ff0910cc4471fec6ba361506278c25f34f312106675. Its nested factory image requires stallion-17.0-15819938 and g5400i-260604-260807-B-16035863, both included in the outer archive. Check the actual signed Alpha factory bundle for its own required firmware and rollback indexes before the initial flash. This installation subsequently took public v1365 automatically and kept Alpha Home after reboot. OEM unlocking is checked in stock Developer options, and the bootloader remains locked. Preserve it until signed A/B and the restoration plan verify. Stock evidence and physical drill fields.

  1. Obtain explicit owner approval for this spare’s unlock, erase and any later relock. Verify the backup is recoverable. Bootloader state transitions erase user data and require on-device confirmation. Record fastboot getvar product (stallion), the current slot, bootloader/baseband versions and security patch. Confirm OEM unlocking is available and compare the signed image’s android-info.txt, its security patch and AVB rollback indexes with the handset. A stock launcher update alone does not enroll a custom OS. Google bootloader states and custom AVB keys
  2. Retain A’s complete signed fastboot ZIP and its public avb_pkmd.bin from the same receipt. Verify each size and SHA-256, including the joined whole factory ZIP if it was downloaded as parts. The enrolled AVB key SHA-256 is ef17e93cb331c37187cb15c666c09b3861d539f8b24662f4fa3fd7314d806daa. Also retain Google’s stallion-cp3a.261005.005-factory-d1d25502.zip, SHA-256 d1d2550268de9fd4bfdd4ff0910cc4471fec6ba361506278c25f34f312106675. Have a USB data cable and current platform-tools. Product and recovery pins · Google factory images
  3. Only on the backed-up, owner-approved spare, enroll the verified public key in avb_custom_key in the unlocked bootloader and install A’s signed fastboot image. Verify A boots, Android reports the expected release fingerprint and AVB identity, SELinux is enforcing, and the expected system launcher is installed. Any relock requires separately confirming compatibility and its own data-wipe acceptance. Exercise B using the enrolled Alpha recovery or the documented operator path. Recovery verifies the OTA signing certificate even for a cable sideload. The pinned OTA certificate SHA-256 is 66046a0729fe8d14b9bb53051b2225b396f7bcb07b2a757eac6fc799b1aee11e. AOSP OTA signing · Release evidence and enrollment

Keep A's verified factory image, target-files and signed release record for recovery. Exercise B's exact OTA by cable and record the four device outcomes below. A slot fallback requires the updated slot to be current and unconfirmed and the original slot bootable. On Virtual A/B the snapshot must still be unmerged and snapshotted. If those checks fail, use only a recovery image allowed by the device's stored rollback indexes. Bind the drill report to B’s actual signed OTA generation, hash, Pixel run, admission attempt and signing attempt. If B has already published, verify that its bytes and header match the exact public manifest. A recovery publication uses B’s original signed coordinates. Slot checks · Publication procedure

Before flashing, confirm the connected device is stallion with adb -s "$SERIAL" shell getprop ro.product.device. In the bootloader, check fastboot -s "$SERIAL" getvar product. Record the initial slot and verified-boot state. Prepare the backup and restore materials before the owner approves an unlock or wipe. Follow the AOSP fastboot procedure for the initial image and Google’s factory-image instructions for the stock drill. The source handoff records the verified stock digest.

Record four individual physical results:

  • A newer correctly signed update boots and preserves the data expected by the release record.
  • The interrupted update can be reconciled and recovered; record the interruption point, engine, active slot, next-boot slot and observed boot.
  • The phone recovers to the retained compatible known-good build under the documented recovery procedure. Record the rollback index and signer identities.
  • The owner can restore and boot the digest-verified stock factory image.

Record each drill in the release ledger, the channel configuration and its redacted evidence file. Independently verify the production OS publication and anonymous archive/manifest readback. The private lab-feed qualification lane needs both the four completed drills and the first signed production publication; capture cache retention and authenticated applied-update recovery there before fleet enrollment. Production operator commands

Original physical acceptance criteria

Current physical recovery handoff (Nov 30, 2026). Use the current device commands and evidence checklist after the build-machine handoff. The original issue below records the earlier acceptance plan.

Why

No signed image has been installed on a Pixel 10a and none of the update/recovery drills has run. These need physical units with OEM unlocking, the unit owner's consent to each flash or reset, and the release owner.

Prerequisites

Signed image and OTA with a known-good release (image build issue); pilot units named (pilot roles issue).

Steps (docs/human-actions.md H-24, H-25)

  1. H-24: flash the signed image, enroll avb_pkmd.bin with fastboot flash avb_custom_key, decide the bootloader lock with the release owner, check boot, enforcing SELinux and Alpha as HOME, and that the provisioning overlay resolves true (node scripts/verify-pixel10a-image.mjs --listener). Record the physicalDevice gate with the runbook's per-unit checks.
  2. H-25: run the signed update, interrupted update, compatible rollback and stock recovery drills; record each in the channel's drills (downgradeAllowed: false) and the signedUpdateRecovery gate. For APK-only updates, scripts/pilot-update.mjs checks an in-place update.

Already in place

docs/pixel10a-staging.md, docs/pilot-acceptance-runbook.md, android/aosp/pixel10a-ota-channel.json, android/aosp/pixel10a-qualification-gates.json.

Evidence expected

npm run human:status shows the physicalDevice gate and every drill passed. Device evidence; distinct from Cuttlefish boot.

Requirements: AP-14. Umbrellas: #377, #399, #400.

🤖 Generated with Claude Code

Activity

  1. added
    human-action
    on Oct 28, 2026
  2. lalalune commented on Oct 29, 2026

    @lalalune
    CollaboratorAuthor

    Owner prep is in PR #709 (branch i-release, not merged).

    What's prepared

    • docs/runbooks/673-pixel10a-device-day.md: the H-24 per-unit procedure with a proposed fastboot sequence (img_from_target_files, then bootloader and radio from the locked factory archive, -w update, flash avb_custom_key, optional flashing lock), the verifier and pilot-runbook checks, and the H-25 four-drill procedure with aosp-ota-update.mjs. No agent ran the sequence, and the release owner must review it before the first unit. The pilot runbook deliberately gives no flash commands, and no repository tool flashes a release image.
    • Evidence templates, one class each:
    • scripts/owner/evidence-class-check.mjs and its test: refuses any of these:
      • a Cuttlefish record under physicalDevice, or the reverse
      • an unclassified release entry
      • an unfilled or failed record under a passed gate
      • one file cited by two gates
      • a channel drill marked passed without its own drill record

    Read-only findings (main 94676c8)

    • human:status reads the physicalDevice gate for H-24, which is now development. For H-25 it reads all four channel drills plus the signedUpdateRecovery gate: every drill is not run and the gate is not run. H-25 is done only when all four drills and the gate are passed. The new test covers this.
    • human:status trusts the recorded status. The shared gate rules check the evidence level (development vs release) but not whether a record comes from a device or from Cuttlefish, which is why the class check was added. It reports 0 problems today and 2 notes for the two development records that predate classes.
    • verify-pixel10a-image.mjs refuses orange (unlocked) verified boot. A unit left unlocked cannot pass the physicalDevice verifier.
    • Stock recovery starts with fastboot flashing unlock, which needs OEM unlocking already enabled on the unit.
    • The signed-update, interrupted-update and rollback drills need a second release-signed build (N+1) from the same keys, because check refuses a candidate that is not newer.

    Decisions for the owner (in the runbook)

    1. Bootloader: relock with the custom key (yellow, recommended) or leave unlocked (orange).
    2. OEM unlocking on pilot units: left enabled or disabled.
    3. Which unit runs the destructive drills.
    4. Where the N+1 release comes from.

    Remaining human steps

    1. Make the 4 decisions and review the fastboot sequence.
    2. Produce N+1 through HUMAN: Stage, build and sign the Pixel 10a production image and OTA, and boot the candidate on Cuttlefish #672.
    3. H-24 on every consented unit: per-unit records from the unit template, then the physicalDevice gate.
    4. H-25: the 4 drills on the drill unit, with drill records, the channel drills and the signedUpdateRecovery gate.
    5. Run node scripts/owner/evidence-class-check.mjs --strict, node --test test/pixel10a-gates.test.mjs and npm run human:status.

    This is device evidence and stays separate from the Cuttlefish boot (#672).

  3. lalalune commented on Oct 29, 2026

    @lalalune
    CollaboratorAuthor

    Owner decisions, 2026-10-29 (recorded by Claude from the owner's answers in session):

    • Bootloader: leave the Pixel 10a pilot units unlocked after avb_custom_key enrollment. Verified boot shows orange, so this isn't production-representative.
    • Get each unit owner's consent before any flash or reset.
  4. lalalune commented on Oct 29, 2026

    @lalalune
    CollaboratorAuthor

    Follow-up owner prep in PR #720 (branch i-release, not merged).

    What's prepared

    Read-only findings

    Remaining human steps

    1. Finish HUMAN: Stage, build and sign the Pixel 10a production image and OTA, and boot the candidate on Cuttlefish #672 (signed release and known-good record).
    2. Release owner: review the fastboot sequence and decide on the bootloader lock, OEM unlocking, the drill unit and a second signed release.
    3. Operator: flash the pilot units and fill one unit record per device (H-24).
    4. Run the four update and recovery drills on a physical unit and record them as drill evidence (H-25). Cuttlefish results never count for either gate.
  5. added a commit that references this issue on Oct 29, 2026
  6. lalalune commented on Oct 29, 2026

    @lalalune
    CollaboratorAuthor

    Cycle 2: known-good and recovery drills (H-25)

    The cycle-2 APK release work moves staging, judging and updating onto the shared packages/os release modules. It is in #711 (open, waiting on the repin), and #713 (merged) adds the development-only About row for the update-channel check. That work adds retain-known-good and a known-good reflash plan. Neither has been exercised.

    What's needed:

    Record the result in the channel's drills and the signedUpdateRecovery gate. Nothing here was run on an image or a device.

    🤖 Generated with Claude Code

  7. lalalune commented on Nov 10, 2026

    @lalalune
    CollaboratorAuthor

    OTA audit clarification, 2026-11-10:

    Keep this image and physical recovery gate open. android/aosp/pixel10a-ota-channel.json still has UNSET OTA/AVB identities and known-good release fields; all four drills are not run. Alpha stages the shared OS updater as a disabled candidate. A compiled APK or a staged add-on does not prove a booted image, SELinux/UpdateEngine integration or wireless OS update.

    For launcher APKs, scripts/pilot-update.mjs performs adb install -r. That is useful in-place update evidence but is not the anonymous-channel automatic OTA drill. The full launcher acceptance matrix, including already-delivered pending confirmation followed by process death, is tracked in #889. OS cache retention and applied-candidate/channel-change policy are tracked in #890 and #891. Do not enable OS enrollment before these gates, the signed image and the physical recovery drills are complete.

  8. lalalune commented on Nov 11, 2026

    @lalalune
    CollaboratorAuthor

    Anonymous public readback of the current preserving OS pilot completed on 2026-11-11. The former and canonical repository manifest URLs returned identical SHA-256 122fdec12eac1cc70d5f98132bdc78e77fe9400df3b9e6426f5955f74488e633. All 1,399,320,806 ZIP bytes matched the published and protected receipt SHA-256 6d214f49c33f2f57504a384ed88b53e2d0a4e45c739b95509e670ac7310085e4. A final manifest read returned the same digest. The signed pilot receipt reports device and release qualification false. Keep physical boot, A/B recovery and acceptance open. Pilot release

  9. lalalune commented on Nov 11, 2026

    @lalalune
    CollaboratorAuthor

    Current boot and recovery handoff

    Use node scripts/verify-pixel10a-image.ts on Pixel USB ADB or node scripts/verify-cuttlefish-launcher.ts on the explicit Cuttlefish loopback serial. Supply --serial, --user 0, the reviewed --descriptor, the expected --fingerprint, the expected --apk-path and a fresh --out receipt. The staged APK path is /product/app/AlphaPhone/AlphaPhone.apk, or /product/priv-app/AlphaPhone/AlphaPhone.apk when the reviewed identifier privilege is enabled. Pixel readback requires a locked green/yellow verified-boot state and enforcing SELinux. For the current listener-free build, omit the listener option and qualify conversation voice independently. This readback is interim. The AOSP listener requirement and G1–G7 evidence remain open in #664, per the owner correction on P-78.

    Use npm run aosp:retain-known-good -- with the reviewed release record, signed target-files, signed image and a new archive directory. node scripts/aosp-ota-update.ts owns check, recovery apply, status, fallback, stock-archive and verify-stock. Operator execution of apply and fallback requires --execute and the corresponding explicit confirmation. Compatible rollback is an advancing signed release. Stock recovery is a distinct operator-confirmed wipe drill.

    The OTA and AVB identities are now pinned. Known-good retention and the four physical drill receipts remain open. Keep OS enrollment disabled pending #890, #891 and the remaining signed-device gates. #889 tracks the separate wireless launcher acceptance on both distribution paths.

    Pixel readback · Cuttlefish readback · Recovery operator commands

  10. lalalune commented on Nov 11, 2026

    @lalalune
    CollaboratorAuthor

    Please retain a separate physical receipt for unattended OS installation through the real UpdateEngine and enrollment path when #890/#891 and the signed-device gates are ready. The operator-confirmed recovery sideload, compatible forward recovery, and stock restore are distinct drills. An app APK replacement under #889 supplies separate launcher evidence.

  11. lalalune commented on Nov 30, 2026

    @lalalune
    CollaboratorAuthor

    Current Pixel OTA recovery handoff · Nov 30, 2026

    Start with the exact production user/release-keys image, release record, signed target-files and newer signed OTA from Build-machine handoff. The current os-pilot feed serves a test-key image. The four physical drills still need owner-run evidence, and the known-good release fields are unset.

    • Use a backed-up spare Pixel with owner approval. Capture the current build, slot, verified-boot state, enforcing SELinux, expected roles, installed launcher digest and seeded test state. Read back the signed image with pnpm --filter @repo/app aosp verify --target pixel10a --serial SERIAL --user 0 --expected EXPECTED_JSON --out RECEIPT. Keep os_update_enabled=false.
    • Keep the verified release with aosp ota retain-known-good. Use aosp ota check, apply, and status for the newer signed update and a separate interruption. Keep the exact apply journal and compare the resulting fingerprint, slot, and test data. Exercise supported compatible fallback while the tool admits it or a compatible advancing recovery as appropriate to the boot state.
    • Verify the pinned Google factory package with aosp ota stock-archive before the owner-approved destructive stock restore. Use aosp ota verify-stock after boot. Record the four outcomes with aosp os --ledger FILE ... drill using the actual receipts.
    • Exercise UpdateEngine, cache retention (Bound OS update cache growth without deleting applied or uncertain payloads #890), the held candidate schedule (Define recovery when the OS channel changes after apply and before reboot #891), and safe reboot timing during active voice/work during controlled qualification. Capture a separate unattended UpdateEngine receipt on the enabled pilot after enrollment. Keep the owner-assisted sideload evidence in the four-drill record. APK replacement belongs in Run real wireless launcher OTA acceptance on sideloaded and image-preinstalled phones #889.
    • After the production OS payload is published and the gates pass, an enabled enrollment overlay goes into a new signed image for the pilot. Keep the retained stock and known-good archives for recovery. The ledger records approval and the signed image carries the setting.

    GCP production image and enrollment

    The GCP release workflow landed on main. Its first production run needs the admitted source image and release-project access tracked in #672. Download the private, generation-pinned production baseline and newer signed OTA named in its receipts. Run the recovery drills on the disabled production images. After actual device evidence and publication, follow OS updater enrollment on GCP. The same temporary machines can build the enabled image, and the operator installs that first enabled image on the spare before demonstrating the next unattended OTA. Keep this issue open until those device receipts exist.

  12. lalalune commented on Dec 1, 2026

    @lalalune
    CollaboratorAuthor

    The backed-up spare passed the bootloader product check for stallion. Its installed and embedded launchers used a development certificate, so Android refused the public v1174 APK over the installed package. The owner authorized a wipe. Google’s digest-verified CP3A.261005.005 factory package completed its bootloader, radio and partition flashes, erased userdata and metadata, and rebooted. The bootloader was left unlocked. The workstation can see a Pixel 10a on USB. Stock fingerprint readback awaits Android setup and USB authorization.

    This is preparation for the launcher checks in #889. All four Alpha release-image drill results remain open, including the eventual return from the signed Alpha image to stock.

    For the signed baseline and its newer OTA, dispatch two separate private Pixel release runs. Both can reference the same previously published launcher. Each OS build gets its own alpha.<Pixel workflow run ID>.<attempt> incremental. Compare the signed metadata and require the second image’s actual OTA post-timestamp to exceed the installed baseline before the device test. Record both signing receipts and retain the baseline fastboot image for recovery. Build command · Release procedure

  13. lalalune commented on Dec 2, 2026

    @lalalune
    CollaboratorAuthor

    For the workstation with the spare Pixel, the first production build 46800128415 has admitted the qualified v1294 launcher. Its protected build is still waiting for the GCP bootstrap. Signing has not produced a production image or OTA generation. The public os-pilot manifest currently identifies a November userdebug/test-keys build.

    Once the disabled production baseline and a newer signed OTA exist, obtain both by the exact private generations and SHA-256 values on their signing receipts. Complete the four physical drills above and record actual boot slots and recovery results. This existing run predates the automatic download-page job. The release handoff shows how to publish it from its original sign receipt after the drills. The later spare-only lab lane requires the completed drills and the first protected production publication.

    Administrator handoff · Versioned release tracking

  14. lalalune commented on Dec 3, 2026

    @lalalune
    CollaboratorAuthor

    The authorized spare completed the public v1330 → v1365 launcher OTA while on stock. A fresh stock boot retained v1365 and Alpha Home. The spare is ready for a later OS preflight. Physical launcher session and bytes

    • December 3 live readback reports Pixel 10a stallion, Android 16 API 36, google/stallion/stallion:16/CP1A.260305.018/14887507:user/release-keys, March 5 patch, slot A, locked, green verified boot and enforcing SELinux. The current bootloader is stallion-16.4-14791556 and radio is g5400i-251201-260127-B-14784805. Stock Developer options showed OEM unlocking enabled and checked. The switch was left untouched, and the phone returned to Home.
    • Google’s retained stock factory archive for CP3A.261005.005, 4,475,372,209 bytes, SHA-256 d1d2550268de9fd4bfdd4ff0910cc4471fec6ba361506278c25f34f312106675, contains the bootloader and radio required by its nested factory image. Its actual android-info.txt names stallion-17.0-15819938 and g5400i-260604-260807-B-16035863. Read A's own android-info.txt and rollback indexes before choosing the firmware transition. Google factory images
    • Before changing the spare, retain the exact signed A image, AVB key, target-files and release record, and B’s signature-verified OTA and release record. Verify each digest, each private object generation, the anonymous published bytes and a successful pnpm --filter @repo/app aosp ota check --from "$A_RECORD" --to "$B_RECORD". A must remain recoverable at the device's rollback indexes. In fastboot on the matched unit, record product, slot, firmware and fastboot flashing get_unlock_ability. The person holding the phone must physically accept the unlock/wipe prompt. A later relock needs its own compatible image/key and owner decision. AOSP bootloader confirmation
    • For signed-update, retain before/after fingerprints, boot dates, patch levels, slots, enforcing state, expected retained data and exact B payload. For interrupted-update, retain the original journal, interruption boundary, recovery or engine status, active and next slot, and the resumed final boot. For compatible-rollback, retain the stored rollback indexes and signer digests, pre-fallback slot bootability/confirmation and snapshot merge state, then the expected known-good fingerprint and enforcing boot. For stock-recovery, retain the archive digest, restored firmware, actual stock fingerprint and ota verify-stock --serial "$SERIAL" result. Record each redacted observed report as schema: 1, its named drill, outcome and evidence. Only a completed physical drill receives result: "passed". Operator and evidence format

    All four OS drills remain pending. Pixel run 47063285491.1 stopped in pre-compilation secure-camera source verification before it produced a signed image. Build failure

  15. lalalune commented on Dec 3, 2026

    @lalalune
    CollaboratorAuthor

    One spare, two distinct A → B transfers

    A successful first install leaves the spare running B. A second transfer needs the phone back on A. The operator refuses a fresh A → B journal on B, and reopening the completed journal sends no bytes. After a successful sideload it requests a reboot immediately. A guarded slot fallback is available only while the target slot is current and unconfirmed, the source slot is bootable, and Virtual A/B is still snapshotted. The release ledger permits recording each drill when that drill has actually run. Operator start and resume · Slot guards · Release ledger

    With the two signed disabled releases and a compatible route back to A, use this physical order on the approved spare.

    1. Boot and verify A. Retain its signed factory image, signed target-files and record. Seed a benign local marker, then run the clean A → B update in its own journal. Read back the marker, B fingerprint, patch, new slot, lock state and enforcing SELinux.
    2. Exercise compatible recovery back to the retained A and read back the actual boot. Use guarded slot fallback only when its preview admits it. Otherwise use the compatible signed factory recovery plan with its wipe, after B’s snapshots settle and firmware/index compatibility is established. A printed plan records no drill. If A is ineligible and the fallback window has closed, keep this result pending. A separate compatible advancing recovery/release or another provisioned spare is needed for the remaining transfer. Record which mechanism actually worked. Retained-image checks and plan · Virtual A/B fastboot behavior
    3. From verified A, seed the marker again after a wipe. Start the interruption drill with a new journal. Interrupt the OTA data transfer only, record the observed state and use aosp ota status --serial "$SERIAL" --journal "$J2" to reconcile it. Resume with the original serial, records, B OTA and that same J2. Confirm the resulting boot, slot and marker. Keep both sessions’ distinct redacted receipts. Journal and device observations
    4. Exercise the digest-pinned Google factory restore last, then run aosp ota verify-stock --serial "$SERIAL". The plan uses the unlocked bootloader, erases the Alpha key and restores the Google bootloader, radio and OS. The verifier permits an unlocked phone with a readable verified-boot state. Record the actual locked/unlocked and green/orange observations. A spare restored while unlocked supplies evidence for that operating mode. A locked-fleet recovery claim would additionally need an independently supported forward path, appropriate trust and a real locked-device result. Factory plan · Stock readback · Google factory instructions

    Check both recovery paths on the workstation. The stock-plan exit status covers the Google archive. To require both the selected stock archive and retained A, run this from the Alpha checkout with the two verified local paths and A’s signed record. Use a private output path for the plan.

    set -e
    A_FINGERPRINT=$(jq -er '.build.fingerprint | strings | select(length > 0)' "$A_RECORD")
    pnpm --silent --filter @repo/app aosp ota stock-archive \
      --archive "$STOCK_ZIP" --known-good "$RETAINED_A" > "$PLAN_JSON"
    jq -e --arg expected "$A_FINGERPRINT" '
      .executed == false and (.steps | length > 0) and
      .knownGood.fingerprint == $expected and (.knownGood.steps | length > 0) and
      ((.knownGood.problems // []) | length == 0)
    ' "$PLAN_JSON"

    The pinned production SDK was exercised with the official 4,475,372,209-byte Google ZIP and its verified digest. With an invalid retained Alpha directory it returned eight stock steps, zero Alpha steps, one Alpha problem and exit 0. Running stock alone returned the identical eight steps. A damaged stock ZIP returned exit 1. All were read-only. Upstream deliberately preserves the stock fallback when optional Alpha recovery fails. Original API contract · Pinned result handling

    Compare the actual signed A and B AVB indices by location with the intended recovery image and the applicable bootloader/radio requirements. The Google archive has 1791158400 at locations 0–4. A → B admission checks the direction of the update only. A later build timestamp does not establish return compatibility, and ota status reads slots and snapshots, not device-stored index values. Record unavailable hardware counters as unknown. Locked AVB checks hardware-stored floors per location, which may advance after a slot is successful. Standard unlocked AVB has different verification behavior; vendor bootloader/radio rollback restrictions still need separate evaluation. Retained Google archive and observed firmware · Signed-record compatibility · AVB rollback protection · A/B stored-index updates

    This handoff was checked against the pinned release code and the existing stock evidence. All four signed OS results still require observations from the actual spare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    human-action

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions