Skip to content

Conversation

@R0rt1z2
Copy link
Contributor

@R0rt1z2 R0rt1z2 commented Dec 28, 2025

The da_erase function was incomplete - it only handled "user" partition types but lacked the else clause for other partition types (like boot1, boot2, rpmb, etc.) that other similar DA commands have.

This broke erasing special partitions such as preloader, which is needed to force devices into BROM mode (e.g. Motorola Moto G06 or G05/G15).

Fixed by adding the missing else branch following the same pattern used in da_wl() and da_es().

The da_erase function was incomplete - it only handled "user" partition
types but lacked the else clause for other partition types (like boot1,
boot2, rpmb, etc.) that other similar DA commands have.

This broke erasing special partitions such as preloader, which is needed
to force devices into BROM mode (e.g. Motorola Moto G06 or G05/G15).

Fixed by adding the missing else branch following the same pattern used
in da_wl() and da_es().
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