d0k3 / GodMode9

GodMode9 Explorer - A full access file browser for the Nintendo 3DS console :godmode:
GNU General Public License v3.0
2.12k stars 191 forks source link

GodMode9 ntrboot Issue #666

Closed ghost closed 3 years ago

ghost commented 3 years ago

When GodMode9 is flashed directly to a flashcard and launched via ntrboot, it fails to decrypt the NAND.

aspargas2 commented 3 years ago

Do you mean it just fails to show CTRNAND, and only on New3DS systems? That's a known issue, and happens because we don't embed the key(Y I think) for New3DS CTRNAND, and it's impossible to get it from somewhere else because it's in process9, which is part of native firm. We've considered embedding this and other keys in the past, but I'm not sure where everyone stands on it right now.

urherenow commented 3 years ago

If that's the case, I believe the readme mentions an MD5 for aeskeys.db, which isn't too hard to find anyway. Tells you where to put it as well.

Wolfvak commented 3 years ago

This issue really needs more info. What kind of system was this flashed on? Which version of GM9 did you flash, and was it a release build or self compiled? How does it "fail to decrypt the NAND"? Does it just not show the sysnand partitions or does it display an error message?

d0k3 commented 3 years ago

I think @aspargas2 is right.

It should work with the aeskeydb.bin file. The keys can also be hardcoded by putting the file inside the data folder when compiling.

ghost commented 3 years ago

This issue was encountered on a New 3DS. I used the GodMode9 v1.9.2 prerelease (precompiled release). I'm pretty sure it coukdn't decrypt the FIRM partitions either.

On 1/1/21, Wolfvak notifications@github.com wrote:

This issue really needs more info. What kind of system was this flashed on? Which version of GM9 did you flash, and was it a release build or self compiled? How does it "fail to decrypt the NAND"? Does it just not show the sysnand partitions or does it display an error message?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/d0k3/GodMode9/issues/666#issuecomment-753344075

aspargas2 commented 3 years ago

Could you make sure of that please, and be more specific about what the symptoms exactly are of these things you are claiming? If firm0.bin and firm1.bin are present in [S:] SYSNAND VIRTUAL and are recognized as FIRM files, it has decrypted the FIRM partitions. If you're talking about the decrypt option on a New3DS NATIVE_FIRM file, that's a different layer of encryption that may also be broken from this context.

ghost commented 3 years ago

Never mind, it was just the CTRNAND that failed to encrypt.