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

Superfluous MBR signature check while creating a new emuMMC. #117

Open
DarkMatterCore opened this issue Sep 4, 2023 · 0 comments
Open

Comments

@DarkMatterCore
Copy link

if (hexStr(mbr.signature, 2) != "55AA")
return ERR_OUTPUT_NOT_MMC;

This prevents the creation of a new emuMMC on storage media with no MBR at all, like VBR-formatted media (e.g. volume starts directly at LBA 0) or zeroed-out media (e.g. using dd, HDD LLF Tool or similar tools).

I've had to manually format SD cards using a MBR-based layout before attempting to create a new emuMMC on them because, otherwise, the process fails. In my experience, as long as you properly create and write the modified MBR (including its signature) after writing the eMMC dump, there should be no need to check for the MBR signature beforehand.

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

1 participant