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: 338
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
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub: