Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factory reset and scheduled restore #611

Open
DigitalBrains1 opened this issue Dec 31, 2024 · 1 comment
Open

Factory reset and scheduled restore #611

DigitalBrains1 opened this issue Dec 31, 2024 · 1 comment

Comments

@DigitalBrains1
Copy link

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).

@bunnie
Copy link
Member

bunnie commented Jan 9, 2025

Thanks for opening this issue! #609 adds an option to reset the backup flag which gives a fix to when you get into this situation, but the actual factory reset procedure should probably also absorb that option. I'll look into this in the next couple of weeks.

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

No branches or pull requests

2 participants