Skip to content

Firmware Support

elkafasa edited this page Nov 26, 2026 · 5 revisions

Firmware Support

Firmware Status Notes
13.60 ✅ Tested Developed and verified on hardware (PS5 Phat & Slim).
13.42 ⚠️ Untested Offsets + 13xx shellcode restored from upstream.
13.40 ⚠️ Untested Offsets + 13xx shellcode restored from upstream.
13.20 ⚠️ Untested Offsets + 13xx shellcode restored from upstream.
13.00 ⚠️ Untested Offsets + 13xx shellcode restored from upstream.
12.xx ⚠️ Untested 12xx HV defeat path restored from upstream.
11.60 ⚠️ Untested Staging loader restored from upstream.
4.00–7.61 ⚠️ Untested Per-firmware HV defeat modules restored from upstream.
3.00–3.21 ⚠️ Untested Per-firmware HV defeat modules restored from upstream (no M.2 on 3.xx).

Any other firmware is refused by the payload.

Which firmwares work with this fork?

This fork's payload (ps5-multiboot.elf) accepts firmwares 13.00, 13.20, 13.40, 13.42, and 13.60 for the main exploit path (rest-mode resume). These are the only firmwares where the exploit, HV defeat, and Linux boot logic have been ported.

Support for older firmwares (4.00–7.61, 11.60) exists in the source tree via separate HV defeat modules (hv_defeat_0304, hv_defeat_0506, hv_defeat_0607, hv_defeat_1160), but those firmwares use different exploit paths and do not benefit from the REXO-specific features added in this fork:

  • M.2 install tools (m2_init, ps5-osinstall, ps5-osexec) — requires rest-mode resume on 13.xx.
  • USB-less boot — NVMe loop-mount boot depends on the 13.xx HV defeat path.
  • In-payload "Download here" — uses SCE HTTP2 over the PS5 network; depends on the 13.xx boot flow.
  • WebUI (port 8080) and anonymous FTP (port 21) — built into the 13.xx payload.

Older firmwares can still boot Linux via upstream methods (USB-only, no WebUI, no M.2 tooling).

How it works (13.xx path)

The exploit abuses the rest-mode startup_mp hypercall (the same bug targeted by Byepervisor-Reborn). On S3 resume startup_mp runs on core 0 to initialise AP cores and takes a reset vector; while the AP cores start, an insecure Nested Page Table configuration applies, giving R/W into the hypervisor's address space.

The payload:

  1. Detects the running firmware (kernel_get_fw_version) and selects the matching offset table (off_1300, off_1320, off_1340, off_1342, off_1360).
  2. Selects the correct kernel shellcode:
    • 13.60 → stock_shellcode_kernel_1360 (committed).
    • 13.00 / 13.20 / 13.40 / 13.42 → shellcode_kernel_13xx_bin (committed, built from upstream sources with -DFW_13XX_PORT=1).
  3. Prepares the Linux image + resume, defeats the hypervisor, and enters rest mode.

Because both shellcode blobs are committed, a plain make produces the payload — there are no sub-builds.

Adding another firmware

Support is offset-driven. To add a firmware you need:

  • a new offset_list table in source/offsets.c (all 60 qwords — see the struct in include/offsets.h);
  • a case 0xXXXX: in set_offsets() in source/utils.c;
  • the firmware accepted in source/main.c and in hv_defeat_13xx.c;
  • a compatible kernel shellcode blob (13xx-port build) if the default one does not fit.

Offsets must come from a real kernel dump — never guess them.

Clone this wiki locally