Hello
LockPick_RCM 20.0.0
I'm very bad at making this kind of support, the modification on the source code must not be very pretty but at least it works
Here is the proof that the keys from the 20.0.0 sysMMC are not being read properly. I have read them out via an Erista v1.
View attachment 501581
I've got a Switch Lite, which is probably why I don't have any problems of my own.
I saw that 2 SciresM offsets had been corrected by borntohonk, if it's indeed a mistake I'd redo a version of LockPick_RCM with the right offsets that would work for Erista.
Yes, I used this as a basis for modifying LockPick, and I may have figured out what was wrong, but I'm still checking.
Hello there, First at all Thanks a lot
@Zoria for all your work and effort. With the LockPick you posted I had the same error on my Erista V1 Unpatched.
I have a SysNAND UNTOUCHED SINCE I BROUGHT THE CONSOLE. so have no titles and is on FW 4.1, also I have a EmuNAND on FW 19.0.1 with several titles.
I changed the code (is attached to the post) and now dumping keys from EmuNAND works fine but «ssl_rsa_key» is not dump (that key never had been dumped on the past)
However, dumping the keys for SysNAND start and and the process jump to main screen not dumping any key. and trying to Reboot to hekate after that you get the error (sorry I tried long time and was no able to focus the screen with my phone)
hekate exception occurred (LR 40015786);
DABRT
Press any key...
Using trial and error I determined what the offending key for my SysNAND is «titlekek_source» commenting the line 643 of the "source/keys/keys.c" file (with the content «SAVE_KEY(titlekek_source);» ) generate a payload which dumps the prod.keys file without problem on my SYSNAND. and reboot to hekate without error
The strange thing is using the previous version of LockPick my SysNAND export ALL the keys without problem. Please tell me how can I help to diagnose this strange problem.
The changes I made to your code was:
On «source\hos\hos.h»
- I removed some commented definitions
On «source\keys\crypto.h»
- I corrected the values of «Production Device Master Kek Sources»
- added some comments to find easy the values on the Atmosphère's files
- remove a leadin space on line 94
- removed the extra line 101 which was the correct values of «Production Device Master Kek Sources» above
- removed some comas of the last array member on some definitions.
On «source\keys\key_sources.inl»
- Added some comments to find the values on Atmosphère's files
- Corrcted the values for «EristaMasterKekSource»
- Removed the line 95 I couldn't find that values on any Atmosphère source files from version 0.7.0.0 to latest commit for FW 20, please letme to know if that line is really needed as is for Mariko and I have not mariko console.
- Also removed some comas of the last array member on some definitions.