Lockpick_RCM payload - Official Thread


Description

Lockpick_RCM is a bare metal Nintendo Switch payload that derives encryption keys for use in Switch file handling software like hactool, hactoolnet/LibHac, ChoiDujour, etc. without booting Horizon OS.

Source: https://github.com/shchmue/Lockpick_RCM
Payload: https://github.com/shchmue/Lockpick_RCM/releases

Due to changes imposed by firmware 7.0.0, Lockpick homebrew can no longer derive the latest keys. In the boot-time environment however, there are fewer limitations. That means the new keys are finally easy to dump!

Usage
  • Launch Lockpick_RCM.bin using your favorite payload injector or chainload from Hekate by placing it in /bootloader/payloads
  • Upon completion, keys will be saved to /switch/prod.keys on SD
  • If the console has Firmware 7.x, the /sept/ folder from Atmosphère or Kosmos release zip containing both sept-primary.bin and sept-secondary.enc must be present on SD or else only keyblob master key derivation is possible (ie. up to master_key_05 only)
Big thanks to CTCaer
For Hekate and all the advice while developing this!

Known Issues
  • Chainloading from SX will hang immediately due to quirks in their hwinit code, please launch payload directly
 

Attachments

  • AB1248EA-8BB9-448B-83F5-FF68C2579FB1.jpeg
    AB1248EA-8BB9-448B-83F5-FF68C2579FB1.jpeg
    11.2 KB · Views: 0
Last edited by shchmue,

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
515
Country
United Arab Emirates
What does this error mean?

[FatFS] Error: NOFAT
unable to mount system paritition

These switches have their ORIGINAL eMMC never been swapped out yet every time I try to dump keys I end up having this error. This happens on multiple occasions not only one device. Both OFW+CFW work fine no issues whatsoever.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
What does this error mean?

[FatFS] Error: NOFAT
unable to mount system paritition

These switches have their ORIGINAL eMMC never been swapped out yet every time I try to dump keys I end up having this error. This happens on multiple occasions not only one device. Both OFW+CFW work fine no issues whatsoever.
It means your micro sd card has been formatted as exfat.
 
  • Like
Reactions: impeeza

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,011
Trophies
1
XP
21,083
Country
United States
Then this error should indicate an issue with the SD card which isn't. I have it in FAT32 which hekate itself formatted and partitioned.
Try to init your sd card.


That means deleting the partition and wiping and initializing MBR.
You can do this via diskpart commands in windows.
 

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
515
Country
United Arab Emirates
Try to init your sd card.


That means deleting the partition and wiping and initializing MBR.
You can do this via diskpart commands in windows.
I remember messing around with one card and fixing this error but I don't know exactly what fixed it.
Post automatically merged:

That is related to the SD card, this one "unable to mount system partition" which is what is puzzling me.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,011
Trophies
1
XP
21,083
Country
United States
I remember messing around with one card and fixing this error but I don't know exactly what fixed it.

Load up minitool partition wizard see if it is under GPT, you may as well reformat the card as FAT32, 32kb, primary partition under minitool partition wizard again.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Then this error should indicate an issue with the SD card which isn't. I have it in FAT32 which hekate itself formatted and partitioned.
Well maybe you installed exfat firmware on sysnand or emunand then, TBH it doesn't matter as long as your switch is working and can read the sd card, That error is just telling you it can't mount a fat file system, most likely because lockpic is reading from an exfat partition.
 
  • Like
Reactions: peteruk

Hassal

Well-Known Member
Member
Joined
Apr 22, 2023
Messages
568
Trophies
0
Age
24
XP
515
Country
United Arab Emirates
Well maybe you installed exfat firmware on sysnand or emunand then, TBH it doesn't matter as long as your switch is working and can read the sd card, That error is just telling you it can't mount a fat file system, most likely because lockpic is reading from an exfat partition.
I figured that might be the issue of updating the system to support exfat but I don't know how that relate to reverting the current file system partition.

The problem here is I cannot properly dump the keys to decrypt files.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,011
Trophies
1
XP
21,083
Country
United States
I figured that might be the issue of updating the system to support exfat but I don't know how that relate to reverting the current file system partition.

The problem here is I cannot properly dump the keys to decrypt files.

How come you can't dump your keys?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Keep current Gen consoles stock mod last gen imo