4 Commits
Author SHA1 Message Date
Echo Stretch 48cd2c4ce6 Merge pull request #82 from MJAsadi72/main
Fixes crashes on firmware 12.70 for kstuff-lite 1.11
2026-09-23 23:23:44 +00:00
MohammadJavad Asadi fe7fef639a Fix 12.70 store_rax_rdi offset typo
Fixes crashes on firmware 12.70 with kstuff-lite 1.11 caused by a bad CR0/KELF store gadget. Match the 12.60 offset so writes no longer jump to a wrong address.
2026-09-23 23:33:39 +03:30
Echo Stretch 009bc5a2ac Fixed 13.60 offsets for kits 2026-09-22 19:54:11 -06:00
Roman Tarasov 2506a5b15a Enable package mount and unmount hooks on devkit and testkit 2026-09-20 15:33:02 -06:00
3 changed files with 43 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ DEF(syscall_cfi_table_jmp_int3, -0xa3d130)
DEF(cr0_load, -0x9EDBFC)
DEF(cr0_clear_store, -0x5C28A3)
DEF(cr0_write_ret, -0x5884C3)
DEF(store_rax_rdi, -0xA8406E)
DEF(store_rax_rdi, -0xAA406E)
// PPR/fPKG offsets
+1 -1
View File
@@ -1243,7 +1243,7 @@ enum kit_type kit = get_kit_type();
static int patch_shellcore(const struct shellcore_patch* patches, size_t n_patches, uint64_t eh_frame_offset)
{
shellcore_patch_failure = 0;
int install_fpkg_hook = get_kit_type() == KIT_RETAIL && patches;
int install_fpkg_hook = patches != 0;
if(install_fpkg_hook && (!kstuff_dynlib_handle || !kstuff_dynlib_resolve
|| !kstuff_shellcore_imports))
return shellcore_ppr_fail("fpkg scope: SDK resolver unavailable");
+41 -1
View File
@@ -44,9 +44,49 @@ static struct shellcore_patch shellcore_patches_1360_retail[] = {
};
static struct shellcore_patch shellcore_patches_1360_testkit[] = {
{0x83F3F0, "\xC3", 1}, // callback to sceRifManagerRegisterActivationCallback
{0x183D180, "\x31\xc0\xc3", 3}, // VR
{0x18416D0, "\x31\xC0\xC3", 3}, // VR2 Update bypass
{0x6B6A8A, "\x66\x90", 2}, // force getSceSysDirPath to take isDebuggerOrAppHomeLaunchedApp=1 path, by ArkSama
{0xBFF4BA, "\xEB", 1}, // fix trophies not unlocking in certain games
{0xBDC3C3, "\xeb\x03", 2}, // disable game error message
{0x3761C0, "\x90\xe9", 2}, // PS4 Disc Installer Patch 1
{0x37623A, "\x90\xe9", 2}, // PS5 Disc Installer Patch 1
{0x37633C, "\xeb", 1}, // PS4 PKG Installer Patch 1
{0x376410, "\xeb", 1}, // PS5 PKG Installer Patch 1
{0x376631, "\x90\xe9", 2}, // PS4 PKG Installer Patch 2
{0x376742, "\xeb", 1}, // PS5 PKG Installer Patch 2
{0x376C1A, "\x90\xe9", 2}, // PS4 PKG Installer Patch 3
{0x376CAD, "\x90\xe9", 2}, // PS5 PKG Installer Patch 3
{0x7F0A88, "\xeb", 1}, // PS4 PKG Installer Patch 4
{0x7F46A2, "\xeb", 1}, // PS5 PKG Installer Patch 4
{0x7F8C20, "\x48\x31\xc0\xc3", 4}, // PKG Installer
};
static struct shellcore_patch shellcore_patches_1360_devkit[] = {
{0x840FA0, "\xC3", 1}, // callback to sceRifManagerRegisterActivationCallback
{0x183ED80, "\x31\xc0\xc3", 3}, // VR
{0x18432D0, "\x31\xC0\xC3", 3}, // VR2 Update bypass
{0x6B865A, "\x66\x90", 2}, // force getSceSysDirPath to take isDebuggerOrAppHomeLaunchedApp=1 path, by ArkSama
{0xC010DA, "\xEB", 1}, // fix trophies not unlocking in certain games
{0xBDDFE3, "\xeb\x03", 2}, // disable game error message
{0x377CF0, "\x90\xe9", 2}, // PS4 Disc Installer Patch 1
{0x377D6A, "\x90\xe9", 2}, // PS5 Disc Installer Patch 1
{0x377E6C, "\xeb", 1}, // PS4 PKG Installer Patch 1
{0x377F40, "\xeb", 1}, // PS5 PKG Installer Patch 1
{0x378161, "\x90\xe9", 2}, // PS4 PKG Installer Patch 2
{0x378272, "\xeb", 1}, // PS5 PKG Installer Patch 2
{0x37874A, "\x90\xe9", 2}, // PS4 PKG Installer Patch 3
{0x3787DD, "\x90\xe9", 2}, // PS5 PKG Installer Patch 3
{0x7F2638, "\xeb", 1}, // PS4 PKG Installer Patch 4
{0x7F6252, "\xeb", 1}, // PS5 PKG Installer Patch 4
{0x7FA7D0, "\x48\x31\xc0\xc3", 4}, // PKG Installer
};
#endif // SHELLCORE_PATCHES_13_60
#endif // SHELLCORE_PATCHES_13_60