How to restore Mariko partial keys?

  • Thread starter Thread starter ikynx
  • Start date Start date
  • Views Views 5,773
  • Replies Replies 7

ikynx

Well-Known Member
Member
Joined
May 9, 2023
Messages
406
Reaction score
394
Trophies
0
XP
1,347
Country
United Kingdom
Hello,

When I initially hardmodded my switch OLED, the modchip was not properly installed and worked sometimes, sometimes not.
When it did work, I managed to Backup the SysNAND, and use LockPickRCM payload to backup both titles.keys and partialaes.keys (“Mariko Partial keys”).
I have all of them safely stored offline.
My issue is during the “Mariko Parital keys” backup, it is mentioned that this backup process wipes keys, and a console reboot is required subsequently to restore these keys.
At that very moment, my modchip unfortunately decided to not work anymore, and so the process was never properly completed.

Fast forwards several weeks :
I’ve had my modchip installation fixed, and when using the LockPickRCM payload again and making a backup of title.keys and partialaes.keys, there is a substantial difference in size and contents between the first partialaes.keys (containing all keyslots 0->15) and the new partialaes.keys (containing only keyslots 7,9,11,12,13,14,15). During the new backup process, onscreen were “Failed to validate keyslot X” (X=1,2,3,4,5,6,8,10) warning lines.

How do I restore all my keys properly?

I’ve already restored my initial SysNAND backup but it didn’t restore these keys (which makes sense, we wouldn’t need a separate key backup process with a specific payload if a SysNAND backup did the job in the first place).

Please advise!
Thanks in advance
 
Keyslot keys will be always rewritten on keyslot at boot, so you don't need to worry about it.

If you inject Lockpick_RCM and directly dump partial keys, you will get all 0-15 keyslot keys, but if you try to dump partial keys right after dumping normal keys(Dump from SysNAND / Dump from EmuNAND), some keyslots will be corrupted. And it's not a big issue.

Actually, you don't need to care about mariko partial keys, if you can boot HOS without problems.
 
  • Like
Reactions: ikynx
Keyslot keys will be always rewritten on keyslot at boot, so you don't need to worry about it.

If you inject Lockpick_RCM and directly dump partial keys, you will get all 0-15 keyslot keys, but if you try to dump partial keys right after dumping normal keys(Dump from SysNAND / Dump from EmuNAND), some keyslots will be corrupted. And it's not a big issue.

Actually, you don't need to care about mariko partial keys, if you can boot HOS without problems.
Thanks for this insight. But I'm still bothered that the initial mishap (after the successful backup of all partial keys) seems to have corrupted these keys, because since then, if I try to dump these same partial keys, the file-dump clearly has less keys than the initial dump... Am I to understand there is no way to ever restore these partial keys correctly, regardless of their actual usefulness?
 
Keyslot keys will be always rewritten on keyslot at boot, so you don't need to worry about it.

If you inject Lockpick_RCM and directly dump partial keys, you will get all 0-15 keyslot keys, but if you try to dump partial keys right after dumping normal keys(Dump from SysNAND / Dump from EmuNAND), some keyslots will be corrupted. And it's not a big issue.

Actually, you don't need to care about mariko partial keys, if you can boot HOS without problems.
You think ?



I don't think so.
https://src.honbra.com/mirrors/nxdu...=unified&whitespace=ignore-eol&show-outdated=
 

Attachments

  • 3f504171-19f5-4b79-a8bf-3ff6a3547e6b.jpeg
    3f504171-19f5-4b79-a8bf-3ff6a3547e6b.jpeg
    73.7 KB · Views: 106
Last edited by aoimatsuri,
Has any fixed been discovered for this I want to use dump tool but it says missing mareko keys
 

Site & Scene News

Popular threads in this forum