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

do you care


  • Total voters
    244

rrocha

Developer
Developer
Joined
Nov 21, 2016
Messages
137
Trophies
0
XP
1,812
Country
Portugal
@shchmue build 1.2.2 crashes for me on es/main. the dumped file is 0 bytes. Running 1.2.1 works flawlessly
I'm on 4.1.0 with the exfat driver. Booted Hekate 4.1 for this test. Happens the same for exfat and fat32 formatted cards.

Edit: Looking at the keys.txt within the kezplez-nx folder and comparing to a correct output from 1.2.1, the only one missing in 1.2.2 is eticket_rsa_kek so the fix might be incomplete or opened up a new bug for 4.1.0 (at least)
 
Last edited by rrocha,

alucard_xs

Well-Known Member
Member
Joined
Oct 31, 2012
Messages
703
Trophies
1
Age
113
XP
2,747
Country
Canada
hi dudes,

I'm getting black screen … 5.0.2 here,
I tried the first version (balck screen) and the 1.2.1 version (telling me to use hekate or Something like this in red letters) … any ideas (I'm using Reinx paylaod)
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
@shchmue build 1.2.2 crashes for me on es/main. the dumped file is 0 bytes. Running 1.2.1 works flawlessly
I'm on 4.1.0 with the exfat driver. Booted Hekate 4.1 for this test. Happens the same for exfat and fat32 formatted cards.

Edit: Looking at the keys.txt within the kezplez-nx folder and comparing to a correct output from 1.2.1, the only one missing in 1.2.2 is eticket_rsa_kek so the fix might be incomplete or opened up a new bug for 4.1.0 (at least)
interesting! I'd need to see your /switch/kezplez-nx/log.txt for the failed run but plz redact the keys in it. did you ever use ChoiDujour? I think that puts ncas in folders sometimes and that might have done it

hi dudes,

I'm getting black screen … 5.0.2 here,
I tried the first version (balck screen) and the 1.2.1 version (telling me to use hekate or Something like this in red letters) … any ideas (I'm using Reinx paylaod)
you have to dump fuses and tsec from hekate-there's no way around this
 
Last edited by shchmue,
  • Like
Reactions: alucard_xs

rrocha

Developer
Developer
Joined
Nov 21, 2016
Messages
137
Trophies
0
XP
1,812
Country
Portugal
interesting! I'd need to see your /switch/kezplez-nx/log.txt for the failed run but plz redact the keys in it. did you ever use ChoiDujour? I think that puts ncas in folders sometimes and that might have done it

general application initialization
locating dumps...
loading in tsec and sbk
opening tsec and sbk
old tsec path: /backup/********/dumps/tsec_key.bin, new tsec path: /backup/********/dumps/tsec_keys.bin, and fuse path: /backup/********
/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
setting up thread-ab-1b92d060-487c8be0-486a1180-c0000d401-c200000000thread started, received args are-1b92d060-487c8be0-486a1180
boot0 path: /backup/********/BOOT0
Dumping BOOT0 via fs because it was not dumped from hekate
Opening bis storage partition of id 00000000
Partition is 00400000 bytes large
Dumping partition (bytes dumped so far: 00000000)
Dumping partition (bytes dumped so far: 00010000)
Dumping partition (bytes dumped so far: 00020000)
Dumping partition (bytes dumped so far: 00030000)
Dumping partition (bytes dumped so far: 00040000)
Dumping partition (bytes dumped so far: 00050000)
Dumping partition (bytes dumped so far: 00060000)
Dumping partition (bytes dumped so far: 00070000)
Dumping partition (bytes dumped so far: 00080000)
Dumping partition (bytes dumped so far: 00090000)
Dumping partition (bytes dumped so far: 000a0000)
Dumping partition (bytes dumped so far: 000b0000)
Dumping partition (bytes dumped so far: 000c0000)
Dumping partition (bytes dumped so far: 000d0000)
Dumping partition (bytes dumped so far: 000e0000)
Dumping partition (bytes dumped so far: 000f0000)
Dumping partition (bytes dumped so far: 00100000)
Dumping partition (bytes dumped so far: 00110000)
Dumping partition (bytes dumped so far: 00120000)
Dumping partition (bytes dumped so far: 00130000)
Dumping partition (bytes dumped so far: 00140000)
Dumping partition (bytes dumped so far: 00150000)
Dumping partition (bytes dumped so far: 00160000)
Dumping partition (bytes dumped so far: 00170000)
Dumping partition (bytes dumped so far: 00180000)
Dumping partition (bytes dumped so far: 00190000)
Dumping partition (bytes dumped so far: 001a0000)
Dumping partition (bytes dumped so far: 001b0000)
Dumping partition (bytes dumped so far: 001c0000)
Dumping partition (bytes dumped so far: 001d0000)
Dumping partition (bytes dumped so far: 001e0000)
Dumping partition (bytes dumped so far: 001f0000)
Dumping partition (bytes dumped so far: 00200000)
Dumping partition (bytes dumped so far: 00210000)
Dumping partition (bytes dumped so far: 00220000)
Dumping partition (bytes dumped so far: 00230000)
Dumping partition (bytes dumped so far: 00240000)
Dumping partition (bytes dumped so far: 00250000)
Dumping partition (bytes dumped so far: 00260000)
Dumping partition (bytes dumped so far: 00270000)
Dumping partition (bytes dumped so far: 00280000)
Dumping partition (bytes dumped so far: 00290000)
Dumping partition (bytes dumped so far: 002a0000)
Dumping partition (bytes dumped so far: 002b0000)
Dumping partition (bytes dumped so far: 002c0000)
Dumping partition (bytes dumped so far: 002d0000)
Dumping partition (bytes dumped so far: 002e0000)
Dumping partition (bytes dumped so far: 002f0000)
Dumping partition (bytes dumped so far: 00300000)
Dumping partition (bytes dumped so far: 00310000)
Dumping partition (bytes dumped so far: 00320000)
Dumping partition (bytes dumped so far: 00330000)
Dumping partition (bytes dumped so far: 00340000)
Dumping partition (bytes dumped so far: 00350000)
Dumping partition (bytes dumped so far: 00360000)
Dumping partition (bytes dumped so far: 00370000)
Dumping partition (bytes dumped so far: 00380000)
Dumping partition (bytes dumped so far: 00390000)
Dumping partition (bytes dumped so far: 003a0000)
Dumping partition (bytes dumped so far: 003b0000)
Dumping partition (bytes dumped so far: 003c0000)
Dumping partition (bytes dumped so far: 003d0000)
Dumping partition (bytes dumped so far: 003e0000)
Dumping partition (bytes dumped so far: 003f0000)
Dumping partition (bytes dumped so far: 00400000)
Dump complete, closing partition
BOOT0 Dumped.
setting up thread-ab-1b92d860-487c8be0-486a12d0-c0000d401-c200000000thread started, received args are-1b92d860-487c8be0-486a12d0
pkg2_decrypted path: /backup/********/pkg2/pkg2_decr.bin pkg2_ini1 path: /backup/********/pkg2/ini1.bin pkg2_kernel path: /backup/********/pkg2/kernel.bin
Dumping package2 via fs because it was not dumped from hekate
Opening bis storage partition of id 00000015
Partition is 00800000 bytes large
Dumping partition (bytes dumped so far: 00000000)
Dumping partition (bytes dumped so far: 00010000)
Dumping partition (bytes dumped so far: 00020000)
Dumping partition (bytes dumped so far: 00030000)
Dumping partition (bytes dumped so far: 00040000)
Dumping partition (bytes dumped so far: 00050000)
Dumping partition (bytes dumped so far: 00060000)
Dumping partition (bytes dumped so far: 00070000)
Dumping partition (bytes dumped so far: 00080000)
Dumping partition (bytes dumped so far: 00090000)
Dumping partition (bytes dumped so far: 000a0000)
Dumping partition (bytes dumped so far: 000b0000)
Dumping partition (bytes dumped so far: 000c0000)
Dumping partition (bytes dumped so far: 000d0000)
Dumping partition (bytes dumped so far: 000e0000)
Dumping partition (bytes dumped so far: 000f0000)
Dumping partition (bytes dumped so far: 00100000)
Dumping partition (bytes dumped so far: 00110000)
Dumping partition (bytes dumped so far: 00120000)
Dumping partition (bytes dumped so far: 00130000)
Dumping partition (bytes dumped so far: 00140000)
Dumping partition (bytes dumped so far: 00150000)
Dumping partition (bytes dumped so far: 00160000)
Dumping partition (bytes dumped so far: 00170000)
Dumping partition (bytes dumped so far: 00180000)
Dumping partition (bytes dumped so far: 00190000)
Dumping partition (bytes dumped so far: 001a0000)
Dumping partition (bytes dumped so far: 001b0000)
Dumping partition (bytes dumped so far: 001c0000)
Dumping partition (bytes dumped so far: 001d0000)
Dumping partition (bytes dumped so far: 001e0000)
Dumping partition (bytes dumped so far: 001f0000)
Dumping partition (bytes dumped so far: 00200000)
Dumping partition (bytes dumped so far: 00210000)
Dumping partition (bytes dumped so far: 00220000)
Dumping partition (bytes dumped so far: 00230000)
Dumping partition (bytes dumped so far: 00240000)
Dumping partition (bytes dumped so far: 00250000)
Dumping partition (bytes dumped so far: 00260000)
Dumping partition (bytes dumped so far: 00270000)
Dumping partition (bytes dumped so far: 00280000)
Dumping partition (bytes dumped so far: 00290000)
Dumping partition (bytes dumped so far: 002a0000)
Dumping partition (bytes dumped so far: 002b0000)
Dumping partition (bytes dumped so far: 002c0000)
Dumping partition (bytes dumped so far: 002d0000)
Dumping partition (bytes dumped so far: 002e0000)
Dumping partition (bytes dumped so far: 002f0000)
Dumping partition (bytes dumped so far: 00300000)
Dumping partition (bytes dumped so far: 00310000)
Dumping partition (bytes dumped so far: 00320000)
Dumping partition (bytes dumped so far: 00330000)
Dumping partition (bytes dumped so far: 00340000)
Dumping partition (bytes dumped so far: 00350000)
Dumping partition (bytes dumped so far: 00360000)
Dumping partition (bytes dumped so far: 00370000)
Dumping partition (bytes dumped so far: 00380000)
Dumping partition (bytes dumped so far: 00390000)
Dumping partition (bytes dumped so far: 003a0000)
Dumping partition (bytes dumped so far: 003b0000)
Dumping partition (bytes dumped so far: 003c0000)
Dumping partition (bytes dumped so far: 003d0000)
Dumping partition (bytes dumped so far: 003e0000)
Dumping partition (bytes dumped so far: 003f0000)
Dumping partition (bytes dumped so far: 00400000)
Dumping partition (bytes dumped so far: 00410000)
Dumping partition (bytes dumped so far: 00420000)
Dumping partition (bytes dumped so far: 00430000)
Dumping partition (bytes dumped so far: 00440000)
Dumping partition (bytes dumped so far: 00450000)
Dumping partition (bytes dumped so far: 00460000)
Dumping partition (bytes dumped so far: 00470000)
Dumping partition (bytes dumped so far: 00480000)
Dumping partition (bytes dumped so far: 00490000)
Dumping partition (bytes dumped so far: 004a0000)
Dumping partition (bytes dumped so far: 004b0000)
Dumping partition (bytes dumped so far: 004c0000)
Dumping partition (bytes dumped so far: 004d0000)
Dumping partition (bytes dumped so far: 004e0000)
Dumping partition (bytes dumped so far: 004f0000)
Dumping partition (bytes dumped so far: 00500000)
Dumping partition (bytes dumped so far: 00510000)
Dumping partition (bytes dumped so far: 00520000)
Dumping partition (bytes dumped so far: 00530000)
Dumping partition (bytes dumped so far: 00540000)
Dumping partition (bytes dumped so far: 00550000)
Dumping partition (bytes dumped so far: 00560000)
Dumping partition (bytes dumped so far: 00570000)
Dumping partition (bytes dumped so far: 00580000)
Dumping partition (bytes dumped so far: 00590000)
Dumping partition (bytes dumped so far: 005a0000)
Dumping partition (bytes dumped so far: 005b0000)
Dumping partition (bytes dumped so far: 005c0000)
Dumping partition (bytes dumped so far: 005d0000)
Dumping partition (bytes dumped so far: 005e0000)
Dumping partition (bytes dumped so far: 005f0000)
Dumping partition (bytes dumped so far: 00600000)
Dumping partition (bytes dumped so far: 00610000)
Dumping partition (bytes dumped so far: 00620000)
Dumping partition (bytes dumped so far: 00630000)
Dumping partition (bytes dumped so far: 00640000)
Dumping partition (bytes dumped so far: 00650000)
Dumping partition (bytes dumped so far: 00660000)
Dumping partition (bytes dumped so far: 00670000)
Dumping partition (bytes dumped so far: 00680000)
Dumping partition (bytes dumped so far: 00690000)
Dumping partition (bytes dumped so far: 006a0000)
Dumping partition (bytes dumped so far: 006b0000)
Dumping partition (bytes dumped so far: 006c0000)
Dumping partition (bytes dumped so far: 006d0000)
Dumping partition (bytes dumped so far: 006e0000)
Dumping partition (bytes dumped so far: 006f0000)
Dumping partition (bytes dumped so far: 00700000)
Dumping partition (bytes dumped so far: 00710000)
Dumping partition (bytes dumped so far: 00720000)
Dumping partition (bytes dumped so far: 00730000)
Dumping partition (bytes dumped so far: 00740000)
Dumping partition (bytes dumped so far: 00750000)
Dumping partition (bytes dumped so far: 00760000)
Dumping partition (bytes dumped so far: 00770000)
Dumping partition (bytes dumped so far: 00780000)
Dumping partition (bytes dumped so far: 00790000)
Dumping partition (bytes dumped so far: 007a0000)
Dumping partition (bytes dumped so far: 007b0000)
Dumping partition (bytes dumped so far: 007c0000)
Dumping partition (bytes dumped so far: 007d0000)
Dumping partition (bytes dumped so far: 007e0000)
Dumping partition (bytes dumped so far: 007f0000)
Dumping partition (bytes dumped so far: 00800000)
Dump complete, closing partition
package2 Dumped.
setting up thread-ab-1b92d860-487c8be0-486a1680-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a1680
Hello from extract_package2_simple!
Extracting package2 from BCPKG_21 because it was not dumped from hekate
Extraction complete.
setting up thread-ab-1b92d860-487c8be0-486a1790-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a1790
Extracting package1 from BOOT0, the wrong way
Searching for target string PK11...Found!
Extraction complete.
setting up thread-ab-1b92d860-487c8be0-486a2740-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a2740
Getting keys from package1 code...
Adding keyblob_mac_key_source to the key file
Adding keyblob_key_source_00 to the key file
Adding master_key_source to the key file
setting up thread-ab-1b92d860-487c8be0-486a2860-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a2860
Adding keyset keyblob_key_source_xx to the key file
setting up thread-ab-1b92d860-487c8be0-486a18e0-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a18e0
Extracting package1 from BOOT0, the right way
Extraction complete.
setting up thread-ab-1b92d860-487c8be0-486a19c0-c00000000-c200000000thread started, received args are-1b92d860-487c8be0-486a19c0
Decrypting package1...
Retrieving keyblobs from boot0...
Keyblobs obtained, deriving all possible keys...
Saving newly obtained keys...
Adding keyset keyblob_key_xx to the key file
Adding keyset keyblob_mac_key_xx to the key file
Adding keyset keyblob_xx to the key file
Adding keyset master_key_xx to the key file
Adding keyset package1_key_xx to the key file
Preparing for package1 decryption...
Decrypting package1...
Package1 Decrypted!
setting up thread-ab-1b930fe0-487c8be0-486a28d0-c00000000-c200000000thread started, received args are-1b930fe0-487c8be0-486a28d0
Getting keys from TZ code...
Adding package2_key_source to the key file
Adding aes_kek_generation_source to the key file
Adding titlekek_source to the key file
package2_key_source = *******
Adding keyset package2_key_xx to the key file
Adding keyset titlekek_xx to the key file
package2_key_00 = *******
setting up thread-ab-1d936430-487c8be0-486a1b60-c00000000-c200000000thread started, received args are-1d936430-487c8be0-486a1b60
Extracting package2...
Package2 was not from hekate, so doing full extraction
Extracting package2...
Extraction Complete!
setting up thread-ab-1bb8ffb0-487c8be0-4869abd0-c00000000-c200000000thread started, received args are-1bb8ffb0-487c8be0-4869abd0
Decompressing spl kip1...
reading sizes...
tloc: 00000000, tsize: 0001ee68, tfilesize: 000129a0
rloc: 0001f000, rsize: 0000caac, rfilesize: 000048ec
dloc: 0002c000, dsize: 00001d40, dfilesize: 00000870
toff: 00000100, roff: 00012aa0, doff: 0001738c
bss-size: 00000001
decompressing sections (t)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00000100, compdata_size:000129a0, total:00012a94
loc:00012a94
loc:00012aa0
compressed_size:000129a0, init_index:0000000d, uncompressed_addl_size:0000c4c8
creating decompression buffer...
decompressing...
decompressing sections (r)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00012aa0, compdata_size:000048ec, total:00017380
loc:00017380
loc:0001738c
compressed_size:000048ec, init_index:0000000e, uncompressed_addl_size:000081c0
creating decompression buffer...
decompressing...
decompressing sections (d)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:0001738c, compdata_size:00000870, total:00017bf0
loc:00017bf0
loc:00017bfc
compressed_size:00000870, init_index:0000000f, uncompressed_addl_size:000014d0
creating decompression buffer...
decompressing...
joining sections...
cleaning up...
Result: spl_size == 0002d654
Decompressing FS kip1...
reading sizes...
tloc: 00000000, tsize: 00139738, tfilesize: 000abc7c
rloc: 0013a000, rsize: 0007a65c, rfilesize: 0003428c
dloc: 001b5000, dsize: 00130680, dfilesize: 000355c4
toff: 00000100, roff: 000abd7c, doff: 000e0008
bss-size: 00000001
decompressing sections (t)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00000100, compdata_size:000abc7c, total:000abd70
loc:000abd70
loc:000abd7c
compressed_size:000abc7c, init_index:0000000f, uncompressed_addl_size:0008dabc
creating decompression buffer...
decompressing...
decompressing sections (r)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:000abd7c, compdata_size:0003428c, total:000dfffc
loc:000dfffc
loc:000e0008
compressed_size:0003428c, init_index:0000000c, uncompressed_addl_size:000463d0
creating decompression buffer...
decompressing...
decompressing sections (d)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:000e0008, compdata_size:000355c4, total:001155c0
loc:001155c0
loc:001155cc
compressed_size:000355c4, init_index:0000000e, uncompressed_addl_size:000fb0bc
creating decompression buffer...
decompressing...
joining sections...
cleaning up...
Result: FS_size == 0002d654
setting up thread-ab-1bc3fbf0-487c8be0-4869ad30-c00000000-c200000000thread started, received args are-1bc3fbf0-487c8be0-4869ad30
Opening decompressed spl kip1...
SPL_SIZE == 0002d654
Adding aes_key_generation_source to the key file
setting up thread-ab-1bb8ffb0-487c8be0-4869ae20-c00000000-c200000000thread started, received args are-1bb8ffb0-487c8be0-4869ae20
Opening decompressed FS kip1...
FS_SIZE == 002e4414
Adding key_area_key_application_source to the key file
Adding key_area_key_ocean_source to the key file
Adding key_area_key_system_source to the key file
Adding sd_card_kek_source to the key file
Adding sd_card_save_key_source to the key file
Adding sd_card_nca_key_source to the key file
Adding header_kek_source to the key file
Adding header_key_source to the key file
setting up thread-ab-1bc3fbf0-487c8be0-486a2a90-c00000000-c200000000thread started, received args are-1bc3fbf0-487c8be0-486a2a90
Doing final derivation...
Final keys derived, adding them to the keyfile...
Adding encrypted_header_key to the key file
Adding header_key to the key file
Adding keyset key_area_key_application_xx to the key file
Adding keyset key_area_key_ocean_xx to the key file
Adding keyset key_area_key_system_xx to the key file
Deriving eticket_rsa_kek...
Preparing nca context...
Locating ES nca...
Opening SYSTEM as bis filesystem
Mounting SYSTEM
Checking nca header of 008f3be3dc40eaa235bce74d48cfd7ef.nca
Checking nca header of 0123af42b957ab74968292f47e87f2d5.nca
Checking nca header of 026a67622779dfc0317f081e8d1bee3f.nca
Checking nca header of 04f346096751fd5a6b85d755875c4a05.nca
Checking nca header of 050a6d2e6e8428e8b2c2110ddc4c98c7.nca
Checking nca header of 05a2acfe54e46573be31d9b00fb0200d.nca
Checking nca header of 0651957648070e92c86c28476b0712aa.nca
Checking nca header of 07a8eba3188510ea132c1d026c42319c.nca
Checking nca header of 08228b3726f5475d42aa1535d52da94d.nca
Checking nca header of 091891adf2f0654696283eeb967b8949.nca
Checking nca header of 0a3a07cda1c2cd0e7bc16d20ac2476bb.nca
Checking nca header of 0a3e79e302032c6683ad8d10ea2c8a08.nca
Checking nca header of 0a7cd7da3eb7a18efe1920a4bf0f3479.nca
Checking nca header of 0a973af34b01b4d4d6317897fa368ddf.nca
Checking nca header of 0b739afa5a991ad6d357b3322234dca2.nca
Checking nca header of 0d715607cd75fb7a84435c2192816186.nca
Checking nca header of 0e2e5e7427053bde47d6e3074c6eaa06.nca
Checking nca header of 102c115ab5f830afefa8ed0f24879944.nca
Checking nca header of 10835fc5335c79b287017e0213f1bbe2.nca
Checking nca header of 1125dba73918daa9dc10689ebdad7c0a.nca
Checking nca header of 11f21b6ef8d0e41e551f81c52f2c4921.nca
Checking nca header of 125e5d56762d5441d19a1f53b08893c1.nca
Checking nca header of 14e5cc6743f915c4ab26c765791bbbbd.nca
Checking nca header of 1583acc6b89399d2ce3baf35d5dd7988.nca
Checking nca header of 15f5f57d50edcc0f4c3acf8c95673ab8.nca
Checking nca header of 16314a48995e607d61d514edc3fc2336.nca
Checking nca header of 169ff7a746d2c89f271b41ee506a0172.nca
Checking nca header of 16cbc9eeb16c02f955367939b2ad419b.nca
Checking nca header of 1948bd80df5580b9203c56c3d45475c1.nca
Checking nca header of 1ce6f5db81ef605de41a0fd74c5c4474.nca
Checking nca header of 1d6a127f5c1f8415fbf5360409c88dbb.nca
Checking nca header of 1fd444259440e23722cc0e0d0d8d0f0b.nca
Checking nca header of 2352ff3eb66b47fa47c0953220af6c15.nca
Checking nca header of 238dc7301eb30e1ad2e9d445ac19d276.nca
Checking nca header of 27478e35cc6872b4b4e508b3c03a4c8f.nca
Checking nca header of 2820585bb7e22c078275a78181259fed.nca
Checking nca header of 2a3f62e1866b18676896d2535fccf481.nca
Checking nca header of 2bcfa7646674a554336bcab85b7047d6.nca
Checking nca header of 2caebf202acf6d8c3d87797c8e5b964f.nca
Checking nca header of 31742dcceb3448ff70bbb8ac0d38c50f.nca
Checking nca header of 319a7986a207ac5d760b8ce4629fc826.nca
Checking nca header of 330edb3158332b5264e2f50651724807.nca
Checking nca header of 34bc2ed66c538605ef27f0ba6e266a17.nca
Checking nca header of 378c3831263b4c214a597f6665e96018.nca
Checking nca header of 3870238803306e46e082f5cb48452671.nca
Checking nca header of 399052cb503309acbc52d3352568a0ad.nca
Checking nca header of 39a704dd3eeaaf6e0d8c052d08e2a5c4.nca
Checking nca header of 3dd6b7fbee794808c6ef9c16929f43a8.nca
Checking nca header of 3e3a47a0e8e177d9ca120a71000efc46.nca
Checking nca header of 3fe4a8bbfdc91c71586c80b27fda8025.nca
Checking nca header of 3ff47dd887fa5f6538b6109f8c09726a.nca
Checking nca header of 414e7657f890ca1b2674de5699814d79.nca
Checking nca header of 4213b955a9f5917a58b4707b331bc502.nca
Checking nca header of 42e8cd42d69c3a14a028b7011679c2d6.nca
Checking nca header of 43229704d3a8d046bf92f19492aeac63.nca
Checking nca header of 43502a9c52a230e71540520018ca6170.nca
Checking nca header of 44382dc9928489420f998ff1061600d1.nca
Checking nca header of 445389565d8985171cd31547fb9e12ad.nca
Checking nca header of 4637e85b308b14001efb22eb8decb3db.nca
Checking nca header of 47a0ab26045af68b73e1233541ee9e96.nca
Checking nca header of 47a8daa8f156da113b6ce3898e1f7452.nca
Checking nca header of 4976de96928cc583146e081a7c3a1122.nca
Checking nca header of 4b68f93fda48e76cb43d0f4aa4c59d28.nca
Checking nca header of 4f88aa3942bb65cba4e9faf774d8465b.nca
Checking nca header of 51000f9d10e52194aadbff2628fd661b.nca
Checking nca header of 5121f7e83a166ec92650624db3c73134.nca
Checking nca header of 51fa355f76905f389b2b31181a309fd3.nca
Checking nca header of 525a22f9bcc13c2a868f42ff0752636e.nca
Checking nca header of 54cde473f2b0e60859ba21290cf2943a.nca
Checking nca header of 54e014e63fe44d9c370999e3932131fe.nca
Checking nca header of 5e3eb32f4d3de39256690d7cf0caee77.nca
Checking nca header of 5e4121e1ad3ec36982363de326ee96a9.nca
Checking nca header of 607149499d56797cb84f12f0d7d5deac.nca
Checking nca header of 6150aae101624a31b657835ad60f0c43.nca
Checking nca header of 620bfe8c3277e64b2b5b972a85fa0b15.nca
Checking nca header of 6424366294e76a336e26492e868e452e.nca
Checking nca header of 643b2102b7a7d1a7c77d5a751df2ae40.nca
Checking nca header of 6601949f7d9e25a3913c81850199630e.nca
Checking nca header of 67b95996bacadb658ccea7bf7067add6.nca
Checking nca header of 68797cfc0f151310da59acdadeaef54b.nca
Checking nca header of 6a95647a25340c5d53db55cd1d626183.nca
Checking nca header of 6c4719a1a8541fff17376f0630a4f734.nca
Checking nca header of 6caa57407cc3139ec0deffa3f2e4245e.nca
Checking nca header of 6e9893d77cdf108330480254cb08ff80.nca
Checking nca header of 706a3c8f0ae39205c4659878fd60aff1.nca
Checking nca header of 7095a545b913d366f77754cbbd07e8d9.nca
Checking nca header of 711ce1aebde6547f466700c655156a58.nca
Checking nca header of 716be399812b6637fc5aded40c61aa57.nca
Checking nca header of 73f625902c89a8120065fdff2d624706.nca
Checking nca header of 746c9bc6a4628cbce34f285a8b2c4924.nca
Checking nca header of 753003cbf51f9bb33530b1a9c78bc0ea.nca
Checking nca header of 77c7aa6dad7ada94b54d982ee6e2c4b6.nca
Checking nca header of 77d1d08445b1494e8e96edeaee6c20b3.nca
Checking nca header of 77da5bf862a8a8c551edd7e687783b3e.nca
Checking nca header of 77e1ae7661ad8a718b9b13b70304aeea.nca
Checking nca header of 79f9d09ab3ce0f6da1a14e70ed7ff7a8.nca
Checking nca header of 7c1c3ce183ea954a269658f3560b728a.nca
Checking nca header of 7e410efa2b2f066dd5a0b71caf662155.nca
Checking nca header of 7fd1a7a11a4d581b092646eae3c7776e.nca
Checking nca header of 8066dfb974764f08de716dc6c7f0e0a0.nca
Checking nca header of 807ff3ec27ae4838257debaff248f60a.nca
Checking nca header of 80f14bf194d098a4f296c06e215f94ea.nca
Checking nca header of 81ea07c764752a40c90b573d2e991c8c.nca
Checking nca header of 82ebe3ba430796335b0ac01d63e71697.nca
Checking nca header of 8333d473aa7f693a60dcc15fc26140e5.nca
Checking nca header of 838ded166ce851d5a0fe2bdf70cb550c.nca
Checking nca header of 8419b8291207805c9477a82455b51365.nca
Checking nca header of 84ed7e1c80441da4ab400dd2f82800bf.nca
Checking nca header of 8743dfe2312121b1258783408d54f044.nca
Checking nca header of 88872f14bfb428db2087f45f2b965ec6.nca
Checking nca header of 8889681e995da309172b98c17b4387fb.nca
Checking nca header of 8a9ca377f064e7ea84e9020fcec15657.nca
Checking nca header of 8b0b36cdf03ec84fa7201ba690031075.nca
Checking nca header of 8c2da77b1e1830a0e4ddd470a63319ee.nca
Checking nca header of 8f4c8dd259167df194eda5ee07a56c40.nca
Checking nca header of 912e3869d7b5d7e456c6f1170324c002.nca
Checking nca header of 927b942c878e5ddf7ad91032685f9852.nca
Checking nca header of 935c75a0973e51d41d777eb41dec1777.nca
Checking nca header of 938739f3650c39fb0bed77ea040e14eb.nca
Checking nca header of 94ecb95d8b0adbe9f4d0ca88701ec7f1.nca
Checking nca header of 97e95c33c742332942ef9731a059a73b.nca
Checking nca header of 9971b91851ec579f0f806400439093a7.nca
Checking nca header of 9a3c873144d4e24b24354614a33854bd.nca
Checking nca header of 9a7a8a66780584a38b7367678ec002cc.nca
Checking nca header of 9c7476d7ae4fd84e8ae6bdc29f00ac9b.nca
Checking nca header of 9e1826547571fd023ca2d282b40317d3.nca
Checking nca header of 9e951327fc402c3cbacd7b247b853856.nca
Checking nca header of 9f1660543fb3a4ba87dd6087b131ace7.nca
Checking nca header of a0088c4cf4e368f7fce436252b1c9b6d.nca
Checking nca header of a0aef82415d468e059d9f927368129a7.nca
Checking nca header of a0b6963488b2e758ee6fc7240826d74f.nca
Checking nca header of a31454f9f171c6ceb64e4946e63a6a65.nca
Checking nca header of a3834549ee7289d96f6a5a1c6dc357e5.nca
Checking nca header of a4d340a9b2ba9077a9495eadd9d87561.nca
Checking nca header of a4d8dfaf6d7b9466738c9fab20433f6f.nca
Checking nca header of a4e7c7e1a7a086299e2aeeec3502d8ff.nca
Checking nca header of a5f93fbab16fd50e9047a014d87f5eff.nca
Checking nca header of a66e8762c957340b94062703a9f9ca66.nca
Checking nca header of a712444cc31b1422d1a3793f76c31358.nca
Checking nca header of a77fb0823f1263724b0043ff73d5ca2b.nca
Checking nca header of a8a136fc2d4db659648bc519e6685b22.nca
Checking nca header of a9a9ff3c9946716e5a9cee538fcb36fc.nca
Checking nca header of aa7a59d0290056c8f9b1c4fb4f688f2e.nca
Checking nca header of ac16183e4bdfe09403c246381105ec61.nca
Checking nca header of ae01de28d181e64238b39e8ad7ca3770.nca
Checking nca header of aebd558d8a71fb46da415415047cde91.nca
Checking nca header of aef3d4786af10225aaa2fbc52d2ace82.nca
Checking nca header of af7bd6287ea856c2accb057e0658dea8.nca
Checking nca header of afde40c95a8afbe65bd506bd8feae6f5.nca
Checking nca header of b105cd15106a316082b16b65dab00035.nca
Checking nca header of b1e0160868663d8d4cf90947a65b8d55.nca
Checking nca header of b2ca129bfcce459a487b6368e337afff.nca
Checking nca header of b72a1e8da4008d786be42ba109b29e6c.nca
Checking nca header of b8388c3869cf10aaa63638f205f4ce6d.nca
Checking nca header of bdb170fd079ae97ca1126948bdd42516.nca
Checking nca header of be4e71c3ec1b4ff1bd3de39e9c7af660.nca
Checking nca header of c43e047cea98405bd95123e186796103.nca
Checking nca header of c7b4b56bfcfd944a253e62b0e340cc78.nca
Checking nca header of c7ebc98fdc4063aa7ea6bf7b1bd51c1e.nca
Checking nca header of c833412873cad13e68534f462ea3aa58.nca
Checking nca header of cd50ed1495408d12ff6e9b841862b6dd.nca
Checking nca header of cfd266f6ef22afba54bc88189c56ea75.nca
Checking nca header of d0a41918cb8ac1d745a06a85da8fd123.nca
Checking nca header of d14ab49f396a3e08e82099a5fb9b9c1a.nca
Checking nca header of d237efa4d1b1fc633ef9de91a01cd5e1.nca
Checking nca header of d3c13053f9a93a5b50d1117210af7661.nca
Checking nca header of d73bbf03186a7c6cf66bd0ef1a349b77.nca
Checking nca header of d770f3cc174c8551b213dc7a2c67dacb.nca
Checking nca header of d906ebf8c2d26221f9bdf5a569cd20e7.nca
Checking nca header of da23aefffdb4f97038f811b1d172d411.nca
Checking nca header of db226dae2858e2fca177d6d75e09bea7.nca
Checking nca header of dc36cb6ab911f20ac4159ef0453f3ece.nca
Checking nca header of dc63788d60dd87c1ce40a27b541bd4f6.nca
Checking nca header of ddeb12b16e1c0b1d2552dfd5358fc212.nca
Checking nca header of df22e6fd67be3b7b4d1be98783cc9197.nca
Checking nca header of dfef31398f6fe27a64782d91e1093ab6.nca
Checking nca header of e0fe8b424715f1d32585383b8514d9f4.nca
Checking nca header of e3797f8658d6580b58e2c06a92ff6205.nca
Checking nca header of e3f1b6afbffa0eda13094c041238f418.nca
Checking nca header of e73e7d226848a31721cebbebf18fd527.nca
Checking nca header of e92f61c3a696c64733e2145f8fbddb7a.nca
Checking nca header of ebc92f9e5d23e228b929aa419b8a1169.nca
Checking nca header of ef2a633249af282f7c163f5688eb2cc7.nca
Checking nca header of f048386385b32a3348d22356093d7267.nca
Checking nca header of f078bfa1f13e67b6c5c25ffee8be9c5e.nca
Found es nca. Decrypting es...
Greetings from sunny nca_process!
done. saving nca
nca_save entered
Saving section 0...
Saving main to /switch/kezplez-nx/es/main...
nca_save_section_file

@shchmue log above makes the app fail with the error "Failed to open main something something..."
If you can't figure it out, I can do another run later on and get you a screenshot
 
Last edited by rrocha,

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
worked flawlessly. Do you still need the log?
that'd be good yeah i'm curious why it's working differently, i didn't change anything about the algorithm i just added more logging and double-checking. is it giving you a eticket_rsa_key at all? do you have a /switch/kezplez-nx/es/main file? is it greater than 0kb in size?
 
Last edited by shchmue,

rrocha

Developer
Developer
Joined
Nov 21, 2016
Messages
137
Trophies
0
XP
1,812
Country
Portugal
I have it all the keys now. I haven't changed a thing on my setup .I'm running SX OS but tried with both SX and Hekate 4.1
For the other runs, tried twice and both failed. Ejected the card, reverted to your previous build and ir worked. Now I cleaned up the directory and replaced with this NRO and it worked. Maybe my switch was acting up??? Either way, here the new log:

general application initialization
locating dumps...
loading in tsec and sbk
opening tsec and sbk
old tsec path: /backup/********/dumps/tsec_key.bin, new tsec path: /backup/********/dumps/tsec_keys.bin, and fuse path: /backup/********/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
setting up thread-ab-2d72cfb0-38880be0-387591e0-c00000000-c200000000thread started, received args are-2d72cfb0-38880be0-387591e0
boot0 path: /backup/********/BOOT0
Dumping BOOT0 via fs because it was not dumped from hekate
Opening bis storage partition of id 00000000
Partition is 00400000 bytes large
Dumping partition (bytes dumped so far: 00000000)
Dumping partition (bytes dumped so far: 00010000)
Dumping partition (bytes dumped so far: 00020000)
Dumping partition (bytes dumped so far: 00030000)
Dumping partition (bytes dumped so far: 00040000)
Dumping partition (bytes dumped so far: 00050000)
Dumping partition (bytes dumped so far: 00060000)
Dumping partition (bytes dumped so far: 00070000)
Dumping partition (bytes dumped so far: 00080000)
Dumping partition (bytes dumped so far: 00090000)
Dumping partition (bytes dumped so far: 000a0000)
Dumping partition (bytes dumped so far: 000b0000)
Dumping partition (bytes dumped so far: 000c0000)
Dumping partition (bytes dumped so far: 000d0000)
Dumping partition (bytes dumped so far: 000e0000)
Dumping partition (bytes dumped so far: 000f0000)
Dumping partition (bytes dumped so far: 00100000)
Dumping partition (bytes dumped so far: 00110000)
Dumping partition (bytes dumped so far: 00120000)
Dumping partition (bytes dumped so far: 00130000)
Dumping partition (bytes dumped so far: 00140000)
Dumping partition (bytes dumped so far: 00150000)
Dumping partition (bytes dumped so far: 00160000)
Dumping partition (bytes dumped so far: 00170000)
Dumping partition (bytes dumped so far: 00180000)
Dumping partition (bytes dumped so far: 00190000)
Dumping partition (bytes dumped so far: 001a0000)
Dumping partition (bytes dumped so far: 001b0000)
Dumping partition (bytes dumped so far: 001c0000)
Dumping partition (bytes dumped so far: 001d0000)
Dumping partition (bytes dumped so far: 001e0000)
Dumping partition (bytes dumped so far: 001f0000)
Dumping partition (bytes dumped so far: 00200000)
Dumping partition (bytes dumped so far: 00210000)
Dumping partition (bytes dumped so far: 00220000)
Dumping partition (bytes dumped so far: 00230000)
Dumping partition (bytes dumped so far: 00240000)
Dumping partition (bytes dumped so far: 00250000)
Dumping partition (bytes dumped so far: 00260000)
Dumping partition (bytes dumped so far: 00270000)
Dumping partition (bytes dumped so far: 00280000)
Dumping partition (bytes dumped so far: 00290000)
Dumping partition (bytes dumped so far: 002a0000)
Dumping partition (bytes dumped so far: 002b0000)
Dumping partition (bytes dumped so far: 002c0000)
Dumping partition (bytes dumped so far: 002d0000)
Dumping partition (bytes dumped so far: 002e0000)
Dumping partition (bytes dumped so far: 002f0000)
Dumping partition (bytes dumped so far: 00300000)
Dumping partition (bytes dumped so far: 00310000)
Dumping partition (bytes dumped so far: 00320000)
Dumping partition (bytes dumped so far: 00330000)
Dumping partition (bytes dumped so far: 00340000)
Dumping partition (bytes dumped so far: 00350000)
Dumping partition (bytes dumped so far: 00360000)
Dumping partition (bytes dumped so far: 00370000)
Dumping partition (bytes dumped so far: 00380000)
Dumping partition (bytes dumped so far: 00390000)
Dumping partition (bytes dumped so far: 003a0000)
Dumping partition (bytes dumped so far: 003b0000)
Dumping partition (bytes dumped so far: 003c0000)
Dumping partition (bytes dumped so far: 003d0000)
Dumping partition (bytes dumped so far: 003e0000)
Dumping partition (bytes dumped so far: 003f0000)
Dumping partition (bytes dumped so far: 00400000)
Dump complete, closing partition
BOOT0 Dumped.
setting up thread-ab-2d72d7b0-38880be0-38759330-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-38759330
pkg2_decrypted path: /backup/********/pkg2/pkg2_decr.bin pkg2_ini1 path: /backup/********/pkg2/ini1.bin pkg2_kernel path: /backup/********/pkg2/kernel.bin
Dumping package2 via fs because it was not dumped from hekate
Opening bis storage partition of id 00000015
Partition is 00800000 bytes large
Dumping partition (bytes dumped so far: 00000000)
Dumping partition (bytes dumped so far: 00010000)
Dumping partition (bytes dumped so far: 00020000)
Dumping partition (bytes dumped so far: 00030000)
Dumping partition (bytes dumped so far: 00040000)
Dumping partition (bytes dumped so far: 00050000)
Dumping partition (bytes dumped so far: 00060000)
Dumping partition (bytes dumped so far: 00070000)
Dumping partition (bytes dumped so far: 00080000)
Dumping partition (bytes dumped so far: 00090000)
Dumping partition (bytes dumped so far: 000a0000)
Dumping partition (bytes dumped so far: 000b0000)
Dumping partition (bytes dumped so far: 000c0000)
Dumping partition (bytes dumped so far: 000d0000)
Dumping partition (bytes dumped so far: 000e0000)
Dumping partition (bytes dumped so far: 000f0000)
Dumping partition (bytes dumped so far: 00100000)
Dumping partition (bytes dumped so far: 00110000)
Dumping partition (bytes dumped so far: 00120000)
Dumping partition (bytes dumped so far: 00130000)
Dumping partition (bytes dumped so far: 00140000)
Dumping partition (bytes dumped so far: 00150000)
Dumping partition (bytes dumped so far: 00160000)
Dumping partition (bytes dumped so far: 00170000)
Dumping partition (bytes dumped so far: 00180000)
Dumping partition (bytes dumped so far: 00190000)
Dumping partition (bytes dumped so far: 001a0000)
Dumping partition (bytes dumped so far: 001b0000)
Dumping partition (bytes dumped so far: 001c0000)
Dumping partition (bytes dumped so far: 001d0000)
Dumping partition (bytes dumped so far: 001e0000)
Dumping partition (bytes dumped so far: 001f0000)
Dumping partition (bytes dumped so far: 00200000)
Dumping partition (bytes dumped so far: 00210000)
Dumping partition (bytes dumped so far: 00220000)
Dumping partition (bytes dumped so far: 00230000)
Dumping partition (bytes dumped so far: 00240000)
Dumping partition (bytes dumped so far: 00250000)
Dumping partition (bytes dumped so far: 00260000)
Dumping partition (bytes dumped so far: 00270000)
Dumping partition (bytes dumped so far: 00280000)
Dumping partition (bytes dumped so far: 00290000)
Dumping partition (bytes dumped so far: 002a0000)
Dumping partition (bytes dumped so far: 002b0000)
Dumping partition (bytes dumped so far: 002c0000)
Dumping partition (bytes dumped so far: 002d0000)
Dumping partition (bytes dumped so far: 002e0000)
Dumping partition (bytes dumped so far: 002f0000)
Dumping partition (bytes dumped so far: 00300000)
Dumping partition (bytes dumped so far: 00310000)
Dumping partition (bytes dumped so far: 00320000)
Dumping partition (bytes dumped so far: 00330000)
Dumping partition (bytes dumped so far: 00340000)
Dumping partition (bytes dumped so far: 00350000)
Dumping partition (bytes dumped so far: 00360000)
Dumping partition (bytes dumped so far: 00370000)
Dumping partition (bytes dumped so far: 00380000)
Dumping partition (bytes dumped so far: 00390000)
Dumping partition (bytes dumped so far: 003a0000)
Dumping partition (bytes dumped so far: 003b0000)
Dumping partition (bytes dumped so far: 003c0000)
Dumping partition (bytes dumped so far: 003d0000)
Dumping partition (bytes dumped so far: 003e0000)
Dumping partition (bytes dumped so far: 003f0000)
Dumping partition (bytes dumped so far: 00400000)
Dumping partition (bytes dumped so far: 00410000)
Dumping partition (bytes dumped so far: 00420000)
Dumping partition (bytes dumped so far: 00430000)
Dumping partition (bytes dumped so far: 00440000)
Dumping partition (bytes dumped so far: 00450000)
Dumping partition (bytes dumped so far: 00460000)
Dumping partition (bytes dumped so far: 00470000)
Dumping partition (bytes dumped so far: 00480000)
Dumping partition (bytes dumped so far: 00490000)
Dumping partition (bytes dumped so far: 004a0000)
Dumping partition (bytes dumped so far: 004b0000)
Dumping partition (bytes dumped so far: 004c0000)
Dumping partition (bytes dumped so far: 004d0000)
Dumping partition (bytes dumped so far: 004e0000)
Dumping partition (bytes dumped so far: 004f0000)
Dumping partition (bytes dumped so far: 00500000)
Dumping partition (bytes dumped so far: 00510000)
Dumping partition (bytes dumped so far: 00520000)
Dumping partition (bytes dumped so far: 00530000)
Dumping partition (bytes dumped so far: 00540000)
Dumping partition (bytes dumped so far: 00550000)
Dumping partition (bytes dumped so far: 00560000)
Dumping partition (bytes dumped so far: 00570000)
Dumping partition (bytes dumped so far: 00580000)
Dumping partition (bytes dumped so far: 00590000)
Dumping partition (bytes dumped so far: 005a0000)
Dumping partition (bytes dumped so far: 005b0000)
Dumping partition (bytes dumped so far: 005c0000)
Dumping partition (bytes dumped so far: 005d0000)
Dumping partition (bytes dumped so far: 005e0000)
Dumping partition (bytes dumped so far: 005f0000)
Dumping partition (bytes dumped so far: 00600000)
Dumping partition (bytes dumped so far: 00610000)
Dumping partition (bytes dumped so far: 00620000)
Dumping partition (bytes dumped so far: 00630000)
Dumping partition (bytes dumped so far: 00640000)
Dumping partition (bytes dumped so far: 00650000)
Dumping partition (bytes dumped so far: 00660000)
Dumping partition (bytes dumped so far: 00670000)
Dumping partition (bytes dumped so far: 00680000)
Dumping partition (bytes dumped so far: 00690000)
Dumping partition (bytes dumped so far: 006a0000)
Dumping partition (bytes dumped so far: 006b0000)
Dumping partition (bytes dumped so far: 006c0000)
Dumping partition (bytes dumped so far: 006d0000)
Dumping partition (bytes dumped so far: 006e0000)
Dumping partition (bytes dumped so far: 006f0000)
Dumping partition (bytes dumped so far: 00700000)
Dumping partition (bytes dumped so far: 00710000)
Dumping partition (bytes dumped so far: 00720000)
Dumping partition (bytes dumped so far: 00730000)
Dumping partition (bytes dumped so far: 00740000)
Dumping partition (bytes dumped so far: 00750000)
Dumping partition (bytes dumped so far: 00760000)
Dumping partition (bytes dumped so far: 00770000)
Dumping partition (bytes dumped so far: 00780000)
Dumping partition (bytes dumped so far: 00790000)
Dumping partition (bytes dumped so far: 007a0000)
Dumping partition (bytes dumped so far: 007b0000)
Dumping partition (bytes dumped so far: 007c0000)
Dumping partition (bytes dumped so far: 007d0000)
Dumping partition (bytes dumped so far: 007e0000)
Dumping partition (bytes dumped so far: 007f0000)
Dumping partition (bytes dumped so far: 00800000)
Dump complete, closing partition
package2 Dumped.
setting up thread-ab-2d72d7b0-38880be0-387596e0-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-387596e0
Hello from extract_package2_simple!
Extracting package2 from BCPKG_21 because it was not dumped from hekate
Extraction complete.
setting up thread-ab-2d72d7b0-38880be0-387597f0-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-387597f0
Extracting package1 from BOOT0, the wrong way
Searching for target string PK11...Found!
Extraction complete.
setting up thread-ab-2d72d7b0-38880be0-3875a840-c0000d401-c200000000thread started, received args are-2d72d7b0-38880be0-3875a840
Getting keys from package1 code...
Adding keyblob_mac_key_source to the key file
Adding keyblob_key_source_00 to the key file
Adding master_key_source to the key file
setting up thread-ab-2d72d7b0-38880be0-3875a960-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-3875a960
Adding keyset keyblob_key_source_xx to the key file
setting up thread-ab-2d72d7b0-38880be0-38759940-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-38759940
Extracting package1 from BOOT0, the right way
Extraction complete.
setting up thread-ab-2d72d7b0-38880be0-38759a20-c00000000-c200000000thread started, received args are-2d72d7b0-38880be0-38759a20
Decrypting package1...
Retrieving keyblobs from boot0...
Keyblobs obtained, deriving all possible keys...
Saving newly obtained keys...
Adding keyset keyblob_key_xx to the key file
Adding keyset keyblob_mac_key_xx to the key file
Adding keyset keyblob_xx to the key file
Adding keyset master_key_xx to the key file
Adding keyset package1_key_xx to the key file
Preparing for package1 decryption...
Decrypting package1...
Package1 Decrypted!
setting up thread-ab-2f735d20-38880be0-3875a9d0-c00000000-c200000000thread started, received args are-2f735d20-38880be0-3875a9d0
Getting keys from TZ code...
Adding package2_key_source to the key file
Adding aes_kek_generation_source to the key file
Adding titlekek_source to the key file
package2_key_source = ************
Adding keyset package2_key_xx to the key file
Adding keyset titlekek_xx to the key file
package2_key_00 = ************
setting up thread-ab-2f736540-38880be0-38759bc0-c00000000-c200000000thread started, received args are-2f736540-38880be0-38759bc0
Extracting package2...
Package2 was not from hekate, so doing full extraction
Extracting package2...
Extraction Complete!
setting up thread-ab-2d9f3440-38880be0-38752c30-c00000000-c200000000thread started, received args are-2d9f3440-38880be0-38752c30
Decompressing spl kip1...
reading sizes...
tloc: 00000000, tsize: 00023370, tfilesize: 000141b0
rloc: 00024000, rsize: 0000bc40, rfilesize: 00004650
dloc: 00030000, dsize: 00001eb8, dfilesize: 00000438
toff: 00000100, roff: 000142b0, doff: 00018900
bss-size: 00000001
decompressing sections (t)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00000100, compdata_size:000141b0, total:000142a4
loc:000142a4
loc:000142b0
compressed_size:000141b0, init_index:0000000e, uncompressed_addl_size:0000f1c0
creating decompression buffer...
decompressing...
decompressing sections (r)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:000142b0, compdata_size:00004650, total:000188f4
loc:000188f4
loc:00018900
compressed_size:00004650, init_index:0000000c, uncompressed_addl_size:000075f0
creating decompression buffer...
decompressing...
decompressing sections (d)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00018900, compdata_size:00000438, total:00018d2c
loc:00018d2c
loc:00018d38
compressed_size:00000438, init_index:0000000f, uncompressed_addl_size:00001a80
creating decompression buffer...
decompressing...
joining sections...
cleaning up...
Result: spl_size == 00030e68
Decompressing FS kip1...
reading sizes...
tloc: 00000000, tsize: 00198d70, tfilesize: 000d52d8
rloc: 00199000, rsize: 000934b7, rfilesize: 0003f378
dloc: 0022d000, dsize: 0020bd90, dfilesize: 0004d104
toff: 00000100, roff: 000d53d8, doff: 00114750
bss-size: 00000001
decompressing sections (t)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00000100, compdata_size:000d52d8, total:000d53cc
loc:000d53cc
loc:000d53d8
compressed_size:000d52d8, init_index:0000000e, uncompressed_addl_size:000c3a98
creating decompression buffer...
decompressing...
decompressing sections (r)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:000d53d8, compdata_size:0003f378, total:00114744
loc:00114744
loc:00114750
compressed_size:0003f378, init_index:0000000e, uncompressed_addl_size:0005413f
creating decompression buffer...
decompressing...
decompressing sections (d)...
reading compressed data into memory...
obtaining info about compressed data...
compdata_off:00114750, compdata_size:0004d104, total:00161848
loc:00161848
loc:00161854
compressed_size:0004d104, init_index:0000000f, uncompressed_addl_size:001bec8c
creating decompression buffer...
decompressing...
joining sections...
cleaning up...
Result: FS_size == 00030e68
setting up thread-ab-2db12e70-38880be0-38752d90-c00000000-c200000000thread started, received args are-2db12e70-38880be0-38752d90
Opening decompressed spl kip1...
SPL_SIZE == 00030e68
Adding aes_key_generation_source to the key file
setting up thread-ab-2da328a0-38880be0-38752e80-c00000000-c200000000thread started, received args are-2da328a0-38880be0-38752e80
Opening decompressed FS kip1...
FS_SIZE == 00437fb7
Adding key_area_key_application_source to the key file
Adding key_area_key_ocean_source to the key file
Adding key_area_key_system_source to the key file
Adding sd_card_kek_source to the key file
Adding sd_card_save_key_source to the key file
Adding sd_card_nca_key_source to the key file
Adding header_kek_source to the key file
Adding header_key_source to the key file
setting up thread-ab-2db12e70-38880be0-3875ab90-c00000000-c200000000thread started, received args are-2db12e70-38880be0-3875ab90
Doing final derivation...
Final keys derived, adding them to the keyfile...
Adding encrypted_header_key to the key file
Adding header_key to the key file
Adding keyset key_area_key_application_xx to the key file
Adding keyset key_area_key_ocean_xx to the key file
Adding keyset key_area_key_system_xx to the key file
Deriving eticket_rsa_kek...
Preparing nca context...
Locating ES nca...
Opening SYSTEM as bis filesystem
Mounting SYSTEM
Checking nca header of 7ed9b2180e96c82a51e392fed0ec2ff8.nca
Checking nca header of 2b9596672d74e93e4d7ee10459a6369b.nca
Checking nca header of 2a59543bf2eced1ed352cacd2067ba48.nca
Checking nca header of 6907c49464ad5c9bcff9ac418919d34a.nca
Checking nca header of a9c989b53c5e20602ebd24bac066ff1f.nca
Checking nca header of 001c304993b9402258ed750a7f7ca3bd.nca
Checking nca header of a59a02713a575ae1c1d1054f99404e7d.nca
Checking nca header of 62ea5467585ecd85a1946c1e84d3b782.nca
Checking nca header of 0a3a07cda1c2cd0e7bc16d20ac2476bb.nca
Checking nca header of 5a3d155aa02d5b629b1c94ded1838a25.nca
Checking nca header of a218092de17af850dfc12c9cd42b4c46.nca
Checking nca header of 56046d9b46739242a84cf5926f1d724d.nca
Checking nca header of ce384e1d429a6ce330723f8d3ff2a014.nca
Checking nca header of d47487540813d9b58653973828715f05.nca
Checking nca header of 8656358a2f161296d540a195b7fa179a.nca
Checking nca header of f7c4a748647c7973aaa5bcb9e191fb47.nca
Checking nca header of 837b1130a7f66b27e328ad2457fb1425.nca
Checking nca header of 1125dba73918daa9dc10689ebdad7c0a.nca
Checking nca header of bfdd70c0133a7d0ec59839ca18b6df17.nca
Checking nca header of a53d0a16c9784a1f22aa7e9f70c35a41.nca
Checking nca header of 57b634c64cf235adb4a3db97103106d2.nca
Checking nca header of 25325ac1f53b4c8bd13bfe2339ac6023.nca
Checking nca header of 0adfdcb16fbd5074a1f8c5dfcf1afeed.nca
Checking nca header of ac332c58c7ba91a24a81202a61d6d418.nca
Checking nca header of 18127a072248184438791f45d84be063.nca
Checking nca header of 57fe648517e47dc2231fd77367381f63.nca
Checking nca header of 2dc2be2e77fc95a519a951a5962e7e11.nca
Checking nca header of 1d6a127f5c1f8415fbf5360409c88dbb.nca
Checking nca header of d2087bb61c1d5f8912a72f3fd8087677.nca
Checking nca header of 5d755af78f1b7be80450e0855f209994.nca
Checking nca header of 2dedd28e78e61c630f1afd61b0e8203f.nca
Checking nca header of d3d55f7973a67ead2b622c97cd011219.nca
Checking nca header of 75c48070b1cbb09ab63c617ea93898d7.nca
Checking nca header of 54b783830023593afd5f43dfa5b517ab.nca
Checking nca header of 02f555e11b51bee4330dfc5cc4050ef9.nca
Checking nca header of 0ecd9fb1019244bb020dffde32b93690.nca
Checking nca header of e5d40d5a102513cd4254107ec57b3edc.nca
Checking nca header of a4f1404c2419b912fd9daafcb75212c6.nca
Checking nca header of 8921452db070b35e879ce95ecefcc083.nca
Checking nca header of 7acc0beebec0d6d576742bc5ee052376.nca
Checking nca header of 4703f341a745fa3e08b6e9d9238bf752.nca
Checking nca header of 33dd03103f1ac6a50e13d27ce5e00b2f.nca
Checking nca header of a104166ed0f525a9689a1dceecbe1bea.nca
Checking nca header of e3e63fceb490a44506b010aac5122c3c.nca
Checking nca header of e9eaadc6abe5609e9cce83d67009555d.nca
Checking nca header of 0f466edb882a50dbfa2ab1279e8ae635.nca
Checking nca header of 6040404b0061a229ff3a2106be184639.nca
Checking nca header of 522be6d640d02003ecb7d8336ecd3efc.nca
Checking nca header of f0a20700f850e4063c5a2eb5df2b6c68.nca
Checking nca header of ae86b2c484a683560d476d25d68b3171.nca
Checking nca header of 07fec5b927cc0bc634e9df799e5bcd08.nca
Checking nca header of 9c89045ecd96664b2ec252e8d1fa2094.nca
Checking nca header of 82c53939f167448cf19f2c66ff011025.nca
Checking nca header of f447af8e48d8472aedde15b7796c0870.nca
Checking nca header of 7d35f19f51e06abb45b802e5c0afa471.nca
Checking nca header of 8d930b1689228db9823ba339153f80d5.nca
Checking nca header of 2ce8ac31932faac842fbd2f3866e9a62.nca
Checking nca header of e6714b2bd6c9ed9cd735ed4043a17342.nca
Checking nca header of 676953b9f3608a3dbf3b2a542b91d832.nca
Checking nca header of f7e5e61369b9292d2422e5a1ea5c2a72.nca
Checking nca header of e05f7b23b9fd218ccc54c7d9957454e9.nca
Checking nca header of d0a6bc5b88c3153ce52a8c18d2088f1c.nca
Checking nca header of d96006ed0e09d4720a586a2d46817817.nca
Checking nca header of 0acbea6ddc4106e44b5e45f88637aea1.nca
Checking nca header of f5b7d09949995da462807d7bfa9425db.nca
Checking nca header of 341bbcaab26ca9cb90f9604e44182993.nca
Checking nca header of 21d88251245545142efac36a3b4b9dbc.nca
Checking nca header of 5e3eb32f4d3de39256690d7cf0caee77.nca
Checking nca header of d5186022d6080577b13f7fd8bcba4dbb.nca
Checking nca header of ffcf032483f8be01b0b5940b98ccf63e.nca
Checking nca header of 2307efa99b4001b5a14c503e80928ab5.nca
Checking nca header of f4225ddbf3cae2cc8bec159c1e4c4eef.nca
Checking nca header of ec41d0b280cf94f22dc79e27eab0ee5f.nca
Checking nca header of 2a9a3b1f39cb653a7f3cc26853a9e7a0.nca
Checking nca header of 8e4584457233cb3de899d029e9d4b837.nca
Checking nca header of d10247da68706d73e55f1dfaa1a4b930.nca
Checking nca header of 9965b2a2ea6b66723c4a7c25cdd888c9.nca
Checking nca header of 6ca0e07fcef1ca039f3c3bfc54e340ad.nca
Checking nca header of b04dd7a2e0d76ba12fbd427698781db0.nca
Checking nca header of 7a027e3bb40aa9e241ab2ff5d1df2b2c.nca
Checking nca header of 75223129a7a7b6511a18699b5bf2c780.nca
Checking nca header of 7fda5f617b162a52b9feca550e7ab186.nca
Checking nca header of af282187dde726075a11114c22d4d576.nca
Checking nca header of 9d531e818c708b7f24bed6114a80ec59.nca
Checking nca header of 2c0c10e1154bb44eea8346acf5bf2a0c.nca
Checking nca header of b305f4f587855e28c4173a9a941492dd.nca
Checking nca header of a8ff84653266e4a1f698e34e4f92558a.nca
Checking nca header of ad2a7d2db136973a1abdad28828b1205.nca
Checking nca header of c2f688c1a373112e5c671703f3504a6c.nca
Checking nca header of 226e47ff1fd2b0b1a6128451aa094a4c.nca
Checking nca header of 1d3f63233f7b6794023d9745f507065a.nca
Checking nca header of 1e3416d4cff75a7d2b5878286a54d6a6.nca
Checking nca header of e69f9910568bef4d32d30619e7023025.nca
Checking nca header of 7e501966f156f5df06592cb76f5190f6.nca
Checking nca header of 8571f65e9e0cf28ce89d8b80cdf2f0c4.nca
Checking nca header of 258c1786b0f6844250f34d9c6f66095b.nca
Checking nca header of 68649ec371f03e30d981796e516ff38e.nca
Checking nca header of fbe35dd7bd117ccb52e0d3b1bf99838b.nca
Checking nca header of c3480d25ac569820336216f28a363f07.nca
Checking nca header of 64875df01cc9882aee67408873e4c7c0.nca
Checking nca header of 63574075385c97aeac30390bc278af44.nca
Checking nca header of b23cf2a5b48ced532c3d19d7bf43506d.nca
Checking nca header of 3107f025fb13b06e8b29c8791e569e1d.nca
Checking nca header of ec2849648a5b8153b14662aec75484ac.nca
Checking nca header of 87fd5c5d11f73c4923a8582edad5f671.nca
Checking nca header of f0d2bd78f75791f7952d76b473454b0a.nca
Checking nca header of 3491e0d997edfac6dbe85d24771b8227.nca
Checking nca header of 22f6a4aa32a16ee7b6ac4d17d76d15d3.nca
Checking nca header of 15e268c196793521973c6569a7e137df.nca
Checking nca header of 9519ba35e78e05fb365faf3ba29a1bbd.nca
Checking nca header of d2e95e6a8714edb7120c40e97c469297.nca
Checking nca header of 5c227c7b4f80f55a386cfe327bb27364.nca
Checking nca header of ca31db13ccf46baacec16d7cb93a190a.nca
Checking nca header of 626c44191f25b8a1b9551d127f8bc764.nca
Checking nca header of 75a5ae1fa9effff3477f0831f6bd3d43.nca
Checking nca header of cf065e26397358008649929ae9a83507.nca
Checking nca header of dfc6211f36f2d6a34686e3dbb40c0ed0.nca
Checking nca header of f36c392d08ae9768ba8531b66d897e3a.nca
Checking nca header of 0ffec4111eadf0c5b20a936b580cc989.nca
Checking nca header of 668ea7f279d340d3e0f89d3f825c053c.nca
Checking nca header of 2b0319949554c05b1e9817ed1a7c9ebf.nca
Checking nca header of 7af103bea89c04594f05491902c67995.nca
Checking nca header of 6f8ef84c982df872f6b860d3d891292b.nca
Checking nca header of 60c5e5646b4ef75b8335105a78d486bd.nca
Checking nca header of 9407a6345577b6b73e437f6698d6ee98.nca
Checking nca header of 225d571a07bf3002e8f2d41f55b7e0b2.nca
Checking nca header of 925d0148299f0936b1be19fdf4fd50c0.nca
Checking nca header of 616f23a4ba6b6bb63c414e5d340e2249.nca
Checking nca header of ec9b692439b7ab77e69008542cbdca17.nca
Checking nca header of 056eb4589e684046d5125e71a6687a75.nca
Checking nca header of c938dfd244839fa85a1094e91a452607.nca
Checking nca header of a540dd6a3e6461314f78ea96a9d068c4.nca
Found es nca. Decrypting es...
Greetings from sunny nca_process!
done. saving nca
nca_save entered
Saving section 0...
Saving main to /switch/kezplez-nx/es/main...
nca_save_section_file
nca_save_section_file done
Saving main.npdm to /switch/kezplez-nx/es/main.npdm...
nca_save_section_file
nca_save_section_file done
es decrypted!
Getting keys from es code...
eticket_rsa_kek_source: dba451124ca0a9836814f5ed95e3125b
eticket_rsa_kekek_source: 466e57b74a447f02f321cde58f2f5535
rsa_oaep_kek_generation_source: a8ca938434127fda82cc1aa5e807b112
kek_unwrapped: 283f3e8b504924e8e8f13fbbda3cdf06
kekek_unwrapped: 508f47832901e768507d3348f5f33ccd
eticket_rsa_kek: 19c8b441d318802bad63a5beda283a84
Adding eticket_rsa_kek to the key file
Finished deriving eticket_rsa_kek!
Copying keyfile to real location...
Keyfile copied, that's a wrap!
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
I have it all the keys now. I haven't changed a thing on my setup .I'm running SX OS but tried with both SX and Hekate 4.1
For the other runs, tried twice and both failed. Ejected the card, reverted to your previous build and ir worked. Now I cleaned up the directory and replaced with this NRO and it worked. Maybe my switch was acting up??? Either way, here the new log:
huh, it did work (also plz edit those keys out) but looks like you're on firmware 6.0.0 now and before you were on 4.1.0?
 

fnnoobee

New Member
Newbie
Joined
Mar 11, 2015
Messages
3
Trophies
0
Age
42
Location
Hinesville, Georgia
XP
56
Country
United States
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!

You are a god/goddess among mere mortals! Seriously, I was tearing out my hair trying to get it to work on CFW 6.0.0. Thanks!
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Anyone who ran any of the eticket_rsa_kek derivers before v1.3 might have incorrect eticket_rsa_kek. My bad! now the program checks that it's correct. plez re-run unless you have independently verified your key!

i also changed the way it searches FS so step 13 takes 1/5 the time!! my runtimes with no hekate dumps went from ~25s to 12s :o :o :o

https://github.com/shchmue/kezplez-nx/releases/tag/v1.3
 
  • Like
Reactions: Draxzelex

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,011
Trophies
2
Age
29
Location
New York City
XP
13,378
Country
United States
Anyone who ran any of the eticket_rsa_kek derivers before v1.3 might have incorrect eticket_rsa_kek. My bad! now the program checks that it's correct. plez re-run unless you have independently verified your key!

i also changed the way it searches FS so step 13 takes 1/5 the time!! my runtimes with no hekate dumps went from ~25s to 12s :o :o :o

https://github.com/shchmue/kezplez-nx/releases/tag/v1.3
Everytime I ran hactool, it warned me that this one may be incorrect. Although this is partially my own fault for never verifying if my dumped key was proper or not. Time to try again.
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Everytime I ran hactool, it warned me that this one may be incorrect. Although this is partially my own fault for never verifying if my dumped key was proper or not. Time to try again.
the "[WARN]: Failed to match key "eticket_rsa_kek", (value "xxx")" message is going to happen regardless, it's because hactool doesn't recognize the key itself, not its value. hactool needs a pretty minimal set to do what it does and it throws a WARN if it finds anything it doesn't recognize. that doesn't mean the key is wrong.
 

Draxzelex

Well-Known Member
Member
Joined
Aug 6, 2017
Messages
19,011
Trophies
2
Age
29
Location
New York City
XP
13,378
Country
United States
the "[WARN]: Failed to match key "eticket_rsa_kek", (value "xxx")" message is going to happen regardless, it's because hactool doesn't recognize the key itself, not its value. hactool needs a pretty minimal set to do what it does and it throws a WARN if it finds anything it doesn't recognize. that doesn't mean the key is wrong.
Yeah the [WARN] flags didn't really affect the functionality of hactool but it was still annoying nonetheless. Also I just tried running this on both firmware 4.1 and 6.0 with bad results. 4.1 got stuck on step 1 and threw an error code that I forgot while 6.0 couldn't get past step 4 I believe but I couldn't see the details on the rainbow screen as the transition to the step it got stuck on was immediately followed by another error code.
 

shchmue

Developer
Developer
Joined
Dec 23, 2013
Messages
791
Trophies
1
XP
2,367
Country
United States
Yeah the [WARN] flags didn't really affect the functionality of hactool but it was still annoying nonetheless. Also I just tried running this on both firmware 4.1 and 6.0 with bad results. 4.1 got stuck on step 1 and threw an error code that I forgot while 6.0 couldn't get past step 4 I believe but I couldn't see the details on the rainbow screen as the transition to the step it got stuck on was immediately followed by another error code.
we figured this out on Discord, Drax's SD card was corrupt, rip
 
  • Like
Reactions: Draxzelex

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Pass