Skip to content

Factory reset and scheduled restore #611

@DigitalBrains1

Description

@DigitalBrains1

If you restore a backup with restore.py but don't finish the process (perhaps because you bricked your Precursor per #610), and then do precursorupdater --factory-reset, your Precursor will keep prompting for a backup key to finish the restoration process.

As bunnie found out at 38C3, this was due to a flag in flash not being erased by precursorupdater --factory-reset. The flag indicates that we are currently doing a restoration, but we actually cleared (part of) the PDDB and there is no restoration image to process. Clearing the flag allows us to reinitialize the Precursor (or redo the restore).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions