Homebrew RELEASE kezplez-nx v1.0 : Get all your keys, straight from your switch!

do you care


  • Total voters
    244

Canna

Bad Ass Poisonous Mushroom
Member
Joined
Jul 14, 2018
Messages
1,396
Trophies
0
Age
36
Location
AZ
XP
1,539
Country
United States
So I just install the NRO and am good to go to launch via Homebrew? I just wanna make sure is all :)
Hekate is just a bootloader...
It will work on your system. just boot the hekate payload instead of your sxos one..
If you have not already you should prob follow my full guide anyway backup your system and the kezplez part comes at the end of the guide anyway

for kezplez your want the fork by shchmue . and you will need the ncap from the 6.0 version. and the latest nro
Or download my sd files and use the kezplez from there if you are not sure which files... link to the files are on my guide
https://gbatemp.net/threads/backup-...-your-biskeys-tseckeys-keys-txt-guide.513386/
 
Last edited by Canna,

macia10

Well-Known Member
Member
Joined
Aug 13, 2012
Messages
123
Trophies
1
XP
775
Country
Poland
Is there any way to het HMAC key with this? The one to encrypt jpg's so album app could read them. Or maybe it already does that? :P
 

Hielkenator2

Well-Known Member
Member
Joined
Jul 18, 2017
Messages
162
Trophies
0
Age
20
XP
296
Country
Albania
tesnos has been MIA for a few weeks and the latest commit doesn't work, so I forked the last one a few after the v1.1 release and fixed the 2168-0002 caused by the new hekate folder structure and TSEC keyfile name. now it works with either filename and either backup folder structure. if tesnos returns and fixes the new version i'll add this code to that, or tesnos can. it also needs error handling for failed file opens, but those are scattered throughout the code so i'd rather fix that in the new version since it'll take some work.

hope it helps anyone still having problems!

source: https://github.com/shchmue/kezplez-nx/commit/615e6c7cb3ce3addd33fe516a0a20d883f0cc1ed
binary: https://github.com/shchmue/kezplez-nx/releases
Thank you so much, your version worked like a charm. the original never worked for me , it only crashed. You are my HERO!
 

BDP

Member
Newcomer
Joined
Dec 27, 2015
Messages
17
Trophies
0
Age
50
XP
117
Country
United States
Need help, kezplez is crashing my system after a red screen stating it cannot find my tsec file.

Used Heakte to dump, files are in /backup/dxxxxx/dumps : evp_thunks.bin, bootroom_patched, bootrom_unpatched, fuses.bin, ipatches.bin, kfuses.bin, tsec_keys.bin, BOOT0, BOOT1. Also verified I had all files in the proper spot listed at the start of this thread.

Launched Reinx from Hekate.

Stock firmware 4.1.0 came with system, no updates.

256 Gig Fat32 Card.

Launched kezplex (tried many versions, lately using latest from here: https://github.com/shchmue/kezplez-nx/releases

What step am I missing?

Log:
general application initialization
locating dumps...

That's the entire thing. So it's not seeing the dumps, meaning I need to move them from where Hekate put them or something else...help please?

BTW the message is in red text, states it doesn't see tsec_key.bin or tsec_keys.bin then the switch crashes with an error code about 5 seconds after that.
 
Last edited by BDP,

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Need help, kezplez is crashing my system after a red screen stating it cannot find my tsec file.

Used Heakte to dump, files are in /backup/dxxxxx/dumps : evp_thunks.bin, bootroom_patched, bootrom_unpatched, fuses.bin, ipatches.bin, kfuses.bin, tsec_keys.bin, BOOT0, BOOT1. Also verified I had all files in the proper spot listed at the start of this thread.

Launched Reinx from Hekate.

Stock firmware 4.1.0 came with system, no updates.

256 Gig Fat32 Card.

Launched kezplex (tried many versions, lately using latest from here: https://github.com/shchmue/kezplez-nx/releases

What step am I missing?

Log:
general application initialization
locating dumps...

That's the entire thing. So it's not seeing the dumps, meaning I need to move them from where Hekate put them or something else...help please?

BTW the message is in red text, states it doesn't see tsec_key.bin or tsec_keys.bin then the switch crashes with an error code about 5 seconds after that.
try removing everything except tsec_keys.bin and fuses.bin from the dumps folder.
 

BDP

Member
Newcomer
Joined
Dec 27, 2015
Messages
17
Trophies
0
Age
50
XP
117
Country
United States
try removing everything except tsec_keys.bin and fuses.bin from the dumps folder.

Thanks so much for replying. Sadly same behavior (though I will note on the latest version from your builds I see the red missing keys error message BEFORE the 2011-0301 system crash, the earlier versions it goes right to the crash.)

I only have the one large 256GB FAT32 microSD card that works in the switch, my older microSD cards all seem incompatible (switch can't even read them in any format). I'm wondering if this is my SD card causing the problem since I don't have a second card to test with.

Do you think maybe just cleaning formatting the card with a fresh FAT32 format and only the reinx payload, kezplez app, and tsec_keys.bin and fuses.bin in /backup/d7xxxxx/dumps would work better? That I assume is the right location where hekate puts these right? I have read that ReINX is a good payload to run kezplez under, I think it crashed under Atmosphere too tho.

--------------------- MERGED ---------------------------

I got it to work. Reinx was the problem. I used the CFW that came with Hekate and it spun right up!
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Thanks so much for replying. Sadly same behavior (though I will note on the latest version from your builds I see the red missing keys error message BEFORE the 2011-0301 system crash, the earlier versions it goes right to the crash.)

I only have the one large 256GB FAT32 microSD card that works in the switch, my older microSD cards all seem incompatible (switch can't even read them in any format). I'm wondering if this is my SD card causing the problem since I don't have a second card to test with.

Do you think maybe just cleaning formatting the card with a fresh FAT32 format and only the reinx payload, kezplez app, and tsec_keys.bin and fuses.bin in /backup/d7xxxxx/dumps would work better? That I assume is the right location where hekate puts these right? I have read that ReINX is a good payload to run kezplez under, I think it crashed under Atmosphere too tho.

--------------------- MERGED ---------------------------

I got it to work. Reinx was the problem. I used the CFW that came with Hekate and it spun right up!
it'll run under any current CFW. it certainly may be SD card problems. if you have any games installed to SD you'll want to back up your Nintendo folder but yes a reformat is a good idea. i've only run it under Atmosphere and the Kosmos package but i'm told ReiNX works fine.

earlier versions don't look for it in the serial number folder, they just look in /backup/dumps which is a pre-4.0 hekate path. it also looks for tsec_key.bin iirc instead of tsec_keys.bin.

i should have a ground-up rewrite out this week if you're not in a hurry, but surely the current program should work under some situation.

if your old SD cards are <= 4GB the switch just doesn't support that at all.
 

BDP

Member
Newcomer
Joined
Dec 27, 2015
Messages
17
Trophies
0
Age
50
XP
117
Country
United States
It's a great tool, thank you for the work you did on it. Glad I finally found the right combo to get it working.
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
i've just tested your app but on fw 1.0 it doesn't work.
i've all the dump files in the the right folder, same happens for the boot0/1 files (also copied both on sd root)
as soon i tap on the app icon i can see just a flash with the rainbow background and than black screen,from there i can only power off the switch holding power for 15 sec.
checking sd card keys text file: only secure boot key and tsec are dumped, nothing more.
the log file says (i've masked the id folder, just in case):
Code:
general application initialization
locating dumps...
loading in tsec and sbk
opening tsec and sbk
old tsec path: /backup/4xxxxxxx/dumps/tsec_key.bin, new tsec path: /backup/4xxxxxxx/dumps/tsec_keys.bin, and fuse path: /backup/4xxxxxxx/dumps/fuses.bin
Failed to open old tsecfile, trying newer one
reading keys
hexlifying...
adding to the keyfile
over and over
cleanup
preparing hactool
main loop begins

package1 and 2 folder are empty

@shchmue please help
 
Last edited by snam11,

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
i've just tested your app but on fw 1.0 it doesn't work.
i've all the dump files in the the right folder, same happens for the boot0/1 files (also copied both on sd root)
as soon i tap on the app icon i can see just a flash with the rainbow background and than black screen,from there i can only power off the switch holding power for 15 sec.
checking sd card keys text file: only secure boot key and tsec are dumped, nothing more.
the log file says (i've masked the id folder, just in case):
Code:
general application initialization
locating dumps...
loading in tsec and sbk
opening tsec and sbk
old tsec path: /backup/4xxxxxxx/dumps/tsec_key.bin, new tsec path: /backup/4xxxxxxx/dumps/tsec_keys.bin, and fuse path: /backup/4xxxxxxx/dumps/fuses.bin
Failed to open old tsecfile, trying newer one
reading keys
hexlifying...
adding to the keyfile
over and over
cleanup
preparing hactool
main loop begins

package1 and 2 folder are empty

@shchmue please help
it's failing to find Boot0, so do you have
/backup/########/dumps/fuses.bin
/backup/########/dumps/tsec_keys.bin
/backup/########/BOOT0
like that? that's how it should be
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
yep, and i've also copied boot0/1 on the sd root.
i've attached a pic of the sd backup folder.

the app goes to black screen at launch, and i can barely see the raibow background...
 

Attachments

  • files sd.png
    files sd.png
    8.3 KB · Views: 337
Last edited by snam11,

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
actually you have both tsec file names but you still triggered
Failed to open old tsecfile, trying newer one
that's weird. try deleting tsec_key.bin. by the way you appear to be on mac, are you running the archive bit fix after connecting SD to your computer?
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
nope, sd works fine on mac and pc (if you want i can have a try coping the files from pc, but i guess is not the problem)
sd is fat32 (exfat is not possible on 1.0)

at first i did a try with the app, than after the first crash i've duplicated tsec_keys.bin and renamed to tsec_key.bin just to be sure it was not the problem. the first pic i've attached was after bin copy, that's why you see 2 bins in the pic and still the bin error on log...

edit: i just did another try on another sd (formatted and copied using win7), but i get same results: same log, same black screen at startup
 
Last edited by snam11,

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
yep, and i've also copied boot0/1 on the sd root.
i've attached a pic of the sd backup folder.

the app goes to black screen at launch, and i can barely see the raibow background...

so you put BOOT0 file on sdcard root and not sdcard:/backup/########/BOOT0 as said below?
that means you also put fuses.bin and tsec_keys.bin in dumps folder on the root of sdcard and not backup/########/dumps?

it's failing to find Boot0, so do you have
/backup/########/dumps/fuses.bin
/backup/########/dumps/tsec_keys.bin
/backup/########/BOOT0
like that? that's how it should be
 

snam11

Well-Known Member
Member
Joined
Jan 10, 2007
Messages
108
Trophies
1
XP
1,130
Country
United States
so you put BOOT0 file on sdcard root and not sdcard:/backup/########/BOOT0 as said below?
that means you also put fuses.bin and tsec_keys.bin in dumps folder on the root of sdcard and not backup/########/dumps?
i sayd i've copied boot0/1 ALSO on root of sd, as the guide says, but all the original files are where they should be (check the pic)
 

Garou

Well-Known Member
Member
Joined
Jan 13, 2015
Messages
1,213
Trophies
0
XP
1,667
Country
i sayd i've copied boot0/1 ALSO on root of sd, as the guide says, but all the original files are where they should be (check the pic)
okay then
I'm currently on mobile and the pic starts with BOOT0, so that's why I couldn't tell if they are directly on the root of sdcard or not
 
  • Like
Reactions: snam11

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: How are you @AncientBoi :tpi: :tpi: :tpi: :tpi: :tpi: