diff --git a/source/tegraexplorer/emmc/emmc.c b/source/tegraexplorer/emmc/emmc.c index e2e79ec..d508f1f 100644 --- a/source/tegraexplorer/emmc/emmc.c +++ b/source/tegraexplorer/emmc/emmc.c @@ -139,6 +139,7 @@ int dump_biskeys(){ u8 *pkg1 = (u8 *)malloc(0x40000); sdmmc_storage_set_mmc_partition(&storage, 1); sdmmc_storage_read(&storage, 0x100000 / NX_EMMC_BLOCKSIZE, 0x40000 / NX_EMMC_BLOCKSIZE, pkg1); + strncpy(pkg1inf.id, pkg1 + 0x10, 14); const pkg1_id_t *pkg1_id = pkg1_identify(pkg1); if (!pkg1_id) { EPRINTF("Unknown pkg1 version."); diff --git a/source/tegraexplorer/utils/tools.c b/source/tegraexplorer/utils/tools.c index 053df5f..641f003 100644 --- a/source/tegraexplorer/utils/tools.c +++ b/source/tegraexplorer/utils/tools.c @@ -35,7 +35,12 @@ void displayinfo(){ SWAPCOLOR(COLOR_ORANGE); - gfx_printf("Fuse count: %d\nPKG1 version: %d\nPKG1 id: %s\n\n", fuse_count, pkg1.ver, pkg1.id); + gfx_printf("Fuse count: %d\nPKG1 id: %s\n", fuse_count, pkg1.id); + if (pkg1.ver >= 0) + gfx_printf("PKG1 version: %d\n", pkg1.ver); + + gfx_printf("\n"); + print_biskeys(); RESETCOLOR;