Skip to content
Permalink
Browse files

Ported VitaShell to 3.67

  • Loading branch information...
TheOfficialFloW committed Feb 17, 2018
1 parent 29c2de3 commit 0a399ea2c4537c9d8de08f81dd69f4dcae9cc50c
Showing with 23 additions and 3 deletions.
  1. +12 −1 modules/kernel/main.c
  2. +11 −2 modules/patch/main.c
  3. BIN resources/kernel.skprx
  4. BIN resources/patch.skprx
@@ -148,7 +148,18 @@ int module_start(SceSize args, void *argp) {
return SCE_KERNEL_START_SUCCESS;

// Get important function
module_get_offset(KERNEL_PID, info.modid, 0, 0x138C1, (uintptr_t *)&sceIoFindMountPoint);
switch (info.module_nid) {
case 0x9642948C: // 3.60 retail
module_get_offset(KERNEL_PID, info.modid, 0, 0x138C1, (uintptr_t *)&sceIoFindMountPoint);
break;

case 0x3347A95F: // 3.67 retail
module_get_offset(KERNEL_PID, info.modid, 0, 0x182F5, (uintptr_t *)&sceIoFindMountPoint);
break;

default:
return SCE_KERNEL_START_SUCCESS;
}

// Fake safe mode so that SceUsbMass can be loaded
tmp1 = taiHookFunctionExportForKernel(KERNEL_PID, &ksceSysrootIsSafeModeRef, "SceSysmem", 0x2ED7F97A, 0x834439A7, ksceSysrootIsSafeModePatched);
@@ -31,8 +31,17 @@ int module_start(SceSize args, void *argp) {

// Patch to allow Memory Card remount
uint32_t nop_nop_opcode = 0xBF00BF00;
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB338, &nop_nop_opcode, 4);
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB368, &nop_nop_opcode, 2);
switch (info.module_nid) {
case 0xDBB29DB7: // 3.60 retail
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB338, &nop_nop_opcode, 4);
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB368, &nop_nop_opcode, 2);
break;

case 0x54E2E984: // 3.67 retail
hooks[0] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB344, &nop_nop_opcode, 4);
hooks[1] = taiInjectDataForKernel(KERNEL_PID, info.modid, 0, 0xB374, &nop_nop_opcode, 2);
break;
}

return SCE_KERNEL_START_SUCCESS;
}
BIN +65 Bytes (100%) resources/kernel.skprx
Binary file not shown.
BIN +80 Bytes (100%) resources/patch.skprx
Binary file not shown.

2 comments on commit 0a399ea

@eiiiiix

This comment has been minimized.

Copy link

replied Feb 17, 2018

hmm
so a 3.67 exploit is actually true?
damn hopefully not all my plugins break

@DarkExorciste

This comment has been minimized.

Copy link

replied Feb 17, 2018

The dream begin real , good luck with your great job man !
And i hope to see an exploit on the 3.67 soon by u @TheOfficialFloW !

Please sign in to comment.
You can’t perform that action at this time.