Skip to content

Linux payload implementing HV exploits to run a custom bootloader

C

Add PS5 Pro 11.60 Viola firmware offset (#91)

Mike911a63aab125
diff --git a/source/firmware.c b/source/firmware.c
index c8bce78..e4a38d6 100644
--- a/source/firmware.c
+++ b/source/firmware.c
@@ -488,7 +488,8 @@ int dump_device_firmwares(const char *boot_file_path) {
int ret = dump_ps5_wifi_firmware(boot_file_path);
// Only PS5 Pro firmwares have a GPU firmware table offset.
- if (env_offset.PS5_PRO_GPU_FW_OFFSET != 0 &&
+ if (sceKernelGetMainSocId() == 0x840fd0 &&
+ env_offset.PS5_PRO_GPU_FW_OFFSET != 0 &&
dump_ps5_pro_gpu_firmware(boot_file_path) < 0)
ret = -1;
diff --git a/source/offsets.c b/source/offsets.c
index e644544..f73c2d5 100644
--- a/source/offsets.c
+++ b/source/offsets.c
@@ -929,6 +929,7 @@ offset_list off_1160 = {
.FUN_MP3_INVOKE = 0xA86E70,
.PS5_WIFI_FW_OFFSET = 0x1585D90,
.PS5_WIFI_FW_SIZE = 0x799BC,
+ .PS5_PRO_GPU_FW_OFFSET = 0x257F550,
.HV_MP_STARTUP_CALL = 0xC885D0,
.MP_STARTUP_INIT_VECTOR = 0x3110B8,
.DATA_CAVE = 0x2D02000,