From 665793735c9b320ef6f3e3b5072e7c1c61a0b243 Mon Sep 17 00:00:00 2001 From: xvortex Date: Wed, 4 Jul 2018 18:51:17 +0300 Subject: [PATCH] make pkgs installer working with external hdd --- exploit/index.html | 2 +- installer/include/defines.h | 2 +- kpayload/include/offsets.h | 3 +++ kpayload/source/patch.c | 6 ++++++ 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/exploit/index.html b/exploit/index.html index 7bd35e9..9a32936 100644 --- a/exploit/index.html +++ b/exploit/index.html @@ -1 +1 @@ -PS4Jailbreak 5.05 (HEN)
\ No newline at end of file +PS4Jailbreak 5.05 (HEN)
\ No newline at end of file diff --git a/installer/include/defines.h b/installer/include/defines.h index a43fd63..969815a 100644 --- a/installer/include/defines.h +++ b/installer/include/defines.h @@ -1,7 +1,7 @@ #ifndef __DEFINES #define __DEFINES -#define VERSION "1.6" +#define VERSION "1.7" //#define DEBUG_SOCKET diff --git a/kpayload/include/offsets.h b/kpayload/include/offsets.h index c1fa2a3..54f66b5 100644 --- a/kpayload/include/offsets.h +++ b/kpayload/include/offsets.h @@ -85,4 +85,7 @@ // debug pkg free string #define fake_free_patch 0xEA96A7 +// make pkgs installer working with external hdd +#define pkg_installer_patch 0x9312A1 + #endif diff --git a/kpayload/source/patch.c b/kpayload/source/patch.c index 7bf5691..8895234 100644 --- a/kpayload/source/patch.c +++ b/kpayload/source/patch.c @@ -223,6 +223,12 @@ PAYLOAD_CODE int shellcore_fpkg_patch(void) goto error; } + // make pkgs installer working with external hdd + ret = proc_write_mem(ssc, (void *)(text_seg_base + pkg_installer_patch), 1, "\0", &n); + if (ret) { + goto error; + } + error: if (entries) { dealloc(entries);