Skip to content

cli: auto-detect active slot for flash and erase#126

Merged
adeebshihadeh merged 3 commits intomasterfrom
auto-detect-slot
Mar 8, 2026
Merged

cli: auto-detect active slot for flash and erase#126
adeebshihadeh merged 3 commits intomasterfrom
auto-detect-slot

Conversation

@adeebshihadeh
Copy link
Copy Markdown
Contributor

@adeebshihadeh adeebshihadeh commented Mar 8, 2026

Makes qdl flash system system.img work just like the fastboot CLI

When a partition name like "system" is given without a slot suffix (_a/_b),
the CLI now auto-detects the active slot and resolves to e.g. "system_a".
This matches fastboot's behavior and removes the need for callers to
separately query the active slot.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
adeebshihadeh and others added 2 commits March 8, 2026 14:25
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adeebshihadeh adeebshihadeh merged commit 80418f0 into master Mar 8, 2026
4 checks passed
@adeebshihadeh adeebshihadeh deleted the auto-detect-slot branch March 8, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant