I have mounted my system partition with hacdiskmount to a drive but when i try to enter it all i get is a message saying it needs to be formatted first... and as for looking for that file in save/************** i dont have that one.... mine all end in 0000000000000001, 8000000000000000, or 8000000000000124

Edit: Fixed my dumbass forgot my biskey 2
 
Last edited by OblivionReign,
are you sure you used the update title key and not the base game title key? there's a difference
ok new info here
Traceback (most recent call last):
File "get_titlekeys.py", line 4, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Nowhere has this guide asked me for an AES key.... so im not sure why i am erroring like this. and this is just from command "python get_titlekeys.py F:/PRODINFO.bin personal_ticketblob.bin"


Edit: I reinstalled PyCrypto and now i dont have the tracebakc error but it just tells me failed to open file "PRODINFO.bin"

This is the dump of PRODINFO from using hekate and then renaming the ext. to .bin...

did i miss something?
 
Last edited by OblivionReign,
ok new info here
Traceback (most recent call last):
File "get_titlekeys.py", line 4, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher

Nowhere has this guide asked me for an AES key.... so im not sure why i am erroring like this. and this is just from command "python get_titlekeys.py F:/PRODINFO.bin personal_ticketblob.bin"


Edit: I reinstalled PyCrypto and now i dont have the tracebakc error but it just tells me failed to open file "PRODINFO.bin"

This is the dump of PRODINFO from using hekate and then renaming the ext. to .bin...

did i miss something?
The prodinfo needs to be dumped decrypted. So you'll have to get the image from hacdiskmount (or whichever method you used to mount the nand).
 
Alright. I got everything ready and i ran the titlekeys command with my decrypted prodinfo but nothing dumps just tells me in command window my title keys. the next step mentions
"hactool -k path/to/prod.keys"
. what is this. i didnt get any files for anything like that prod.keys so im not sure what i do with that. @Khangaroo
 
Last edited by OblivionReign,
Alright. I got everything ready and i ran the titlekeys command with my decrypted prodinfo but nothing dumps just tells me in command window my title keys. the next step mentions
"hactool -k path/to/prod.keys"
. what is this. i didnt get any files for anything like that prod.keys so im not sure what i do with that. @Khangaroo
The prod.keys are just the normal keys which are needed for all hactool-operations. They're not obtained in this guide.
You can either dump them yourself or just google for them (don't link them here!)
 
The prod.keys are just the normal keys which are needed for all hactool-operations. They're not obtained in this guide.
You can either dump them yourself or just google for them (don't link them here!)
Well I mean I got keys.ini from layered FS guide. Want to link me to the guide that helps me get the asked for file? Please :) (not to keys themselves)
 
Well I mean I got keys.ini from layered FS guide. Want to link me to the guide that helps me get the asked for file? Please :) (not to keys themselves)
prod.keys is the 'real' name for the keys.ini. So just use the path to the keys.ini instead of prod.keys and you should be fine.
 
  • Like
Reactions: OblivionReign
Hi, this may sound dumb (and try not to be rude, please), but where are the title keys outputted? I get the keys printed in the command window, but no new files seem to have been created. Also, I get the error "Input path appears to neither be a NAX0, nor a NAX0 directory!" when I tried putting the path to my dumped keys.txt that I got in the LayeredFS tutorial. I also tried making the keys.txt into a keys.ini and I get the same error.
 
Last edited by ShaytheStar,
I'm getting "Invalid NCA header! Are keys correct?"

I'm pointing to the keys.ini file. Should it actually be prod.keys, or am I doing something else here that's incorrect?

This is the directory for the game I want to dump:
I:\Nintendo\Contents\registered\000000C1\eb5d0278545b20cb306627c077b37c69.nca

Edit: turns out that nax0 doesn't need a '-' switch, but I have another hurdle, which is the more common "NAX0 key derivation failed". I'm using keys I dumped myself, and I haven't touched my SD card since, and I made sure my pathfiles were correct. So I don't know.

Edit 2: again turns out that you need to have the slashes as '/' rather than usually on windows with '\'. Works now.

Edit 3: so I'm getting another error with "section 0 is corrupted", and I'm using the right titlekey with the title I'm dumping. Is anyone else able to solve this? And yes, I tried to add in the Master_Key_03 keys, which my dump didn't have, and it still throws up that error.
 
Last edited by FoxofGrey,
Hi, this may sound dumb (and try not to be rude, please), but where are the title keys outputted? I get the keys printed in the command window, but no new files seem to have been created. Also, I get the error "Input path appears to neither be a NAX0, nor a NAX0 directory!" when I tried putting the path to my dumped keys.txt that I got in the LayeredFS tutorial. I also tried making the keys.txt into a keys.ini and I get the same error.
save the title key cmd output to a txt for later and post the command you typed for the nax0 stuff (without your sd seed ofc) because you probably typed it wrong
I'm getting "Invalid NCA header! Are keys correct?"

I'm pointing to the keys.ini file. Should it actually be prod.keys, or am I doing something else here that's incorrect?

This is the directory for the game I want to dump:
I:\Nintendo\Contents\registered\000000C1\eb5d0278545b20cb306627c077b37c69.nca

Edit: turns out that nax0 doesn't need a '-' switch, but I have another hurdle, which is the more common "NAX0 key derivation failed". I'm using keys I dumped myself, and I haven't touched my SD card since, and I made sure my pathfiles were correct. So I don't know.

Edit 2: again turns out that you need to have the slashes as '/' rather than usually on windows with '\'. Works now.

Edit 3: so I'm getting another error with "section 0 is corrupted", and I'm using the right titlekey with the title I'm dumping. Is anyone else able to solve this? And yes, I tried to add in the Master_Key_03 keys, which my dump didn't have, and it still throws up that error.
dm me the console output and i'll take a look
 
save the title key cmd output to a txt for later and post the command you typed for the nax0 stuff (without your sd seed ofc) because you probably typed it wrong

All right, done. Here you go. Thanks for the help :)

hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath=/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00

Also, uh...hm...can't I just take that .nca and convert it to an .xci using a tool like Title Switch using my keys? I don't use Windows unless I'm forced to, so that seems like an easier way to achieve the same thing: decrypting the nca. Even so, it would be nice to know where I went wrong.
 
All right, done. Here you go. Thanks for the help :)

hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath=/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00

Also, uh...hm...can't I just take that .nca and convert it to an .xci using a tool like Title Switch using my keys? I don't use Windows unless I'm forced to, so that seems like an easier way to achieve the same thing: decrypting the nca. Even so, it would be nice to know where I went wrong.
hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00"

FIFY
 
hactool -k F:/keys.ini -t nax0 --sdseed=sdseed --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca\00"

FIFY

I'm still getting the input error :( Also, duh, the .nca is currently a folder in my sd card, so it's not as easy as I said.
 
I'm still getting the input error :( Also, duh, the .nca is currently a folder in my sd card, so it's not as easy as I said.
Are you using the modified Hactool linked in the Github?

hactool -k F:\keys.ini -t nax0 --sdseed=sdseed --sdpath="\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:\Nintendo\Contents\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca\00"

Also try that.
 
Are you using the modified Hactool linked in the Github?

hactool -k F:\keys.ini -t nax0 --sdseed=sdseed --sdpath="\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:\Nintendo\Contents\registered\0000008E\db0efb9c3352208b5249eaf40e9d442e.nca\00"

Also try that.
I wasn't before, but now I am. And I get a different error on both of those revisions. "Error: NAX0 key derivation failed. Check SD card seed and relative path?"
 
I wasn't before, but now I am. And I get a different error on both of those revisions. "Error: NAX0 key derivation failed. Check SD card seed and relative path?"
Alright, try to use the hactool within your C: drive. Make sure the keys.ini file is in the same directory as with the hactool application as well. Make sure it is the full path to keys.ini as well with the "\" slash rather than using the Windows "/" slash.
 
Alright, try to use the hactool within your C: drive. Make sure the keys.ini file is in the same directory as with the hactool application as well. Make sure it is the full path to keys.ini as well with the "\" slash rather than using the Windows "/" slash.
That didn't work either.... :(
 
That didn't work either.... :(
-k keys.ini -t nax0 --sdseed="your_sdseed_here_without_quotation_marks" --sdpath="/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca" --plaintext=game.nca "H:/Nintendo/Contents/registered/0000008E/db0efb9c3352208b5249eaf40e9d442e.nca/00"

Here you are, just make sure keys.ini is in the same directory with the hactool application and stuff with it.
 

Site & Scene News

Popular threads in this forum