Skip to content

About

PS5-MultiBoot boots Linux on a jailbroken PS5 (rest-mode resume) by defeating the hypervisor. Powered by 8 CPU cores (16 threads) at 3.5 GHz and a GPU at 2.23 GHz, it turns your PS5 Phat, Slim or Pro running 13.00, 13.20, 13.40, 13.42, or 13.60 into a capable desktop PC for Steam games and emulators.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Repository files navigation

PS5-MultiBoot (fork)

PS5-MultiBoot boots Linux on a jailbroken PS5 (rest-mode resume) by defeating the hypervisor. Powered by 8 CPU cores (16 threads) at 3.5 GHz and a GPU at 2.23 GHz, it turns your PS5 Phat, Slim or Pro running 13.00, 13.20, 13.40, 13.42, or 13.60 into a capable desktop PC for Steam games and emulators.

This repository is TheRealRexo's fork of the upstream ps5-linux/ps5-linux-loader. It adds a built-in WebUI + anonymous FTP server, M.2 install tools that store the OS as a single .img file, USB-less boot, and an in-payload "Download here" button that fetches official OS images straight from the GitHub release.

Features

  • HDMI 4K60 video and audio output
  • M.2 SSD as dedicated Linux partition
  • All USB ports usable for peripherals
  • BD drive usable via custom ahci driver
  • Internal Bluetooth usable via custom xhci driver
  • Ethernet port usable via custom gbe driver
  • Hardware video decode, encode and transcode (VCN) via VAAPI

What's new in this fork

  • Multi-firmware HV exploit: 3.00–7.61, 11.60, 12.xx, and 13.00/13.20/13.40/13.42/13.60 (Phat/Slim); 13.60 (Pro), auto-selected from the running firmware. Only 13.xx firmwares support the REXO fork features (M.2 install, USB-less boot, and /mnt/ext1 searches).
  • Built-in WebUI on port 8080 (no auto-boot) + anonymous FTP on port 21
  • OS-image picker, boot/install target selector, install-size field, VRAM setting
  • In-payload "Download here": fetch official OS images from the GitHub release straight onto the console, decompress XZ into a loop-mountable .img (parts concatenated)
  • File manager (list / upload / delete), including /mnt/ext1 for USB-free setups
  • Hardware / driver support table (GPU, WiFi/Bluetooth, Ethernet, audio, NVMe, USB)
  • M.2 install tools (m2_init, ps5-osinstall, ps5-osexec) storing the OS as a single .img
  • Loop-mounted .img boot: patched initrd re-scans the NVMe GPT (BLKRRPART), searches M.2 → USB, regenerates root=LABEL=... automatically

PS5 firmware

Model Supported firmwares M.2
PS5 Phat & Slim 3.00–7.61 · 11.60 · 12.xx · 13.00, 13.20, 13.40, 13.42, 13.60 Yes (except 3.xx; 11.60 untested)
PS5 Pro 13.60 Yes

Support for 1.xx / 2.xx may come later. You cannot downgrade firmware.

Only 13.xx (particularly 13.60) supports the REXO fork features: M.2 install tools, USB-less boot, and /mnt/ext1 searches. Older firmwares boot Linux through upstream paths but do not include these features.

Boot files & USB-less boot

The payload can download the OS image straight from the GitHub release via the in-payload Download here button, or the user transfers it (FTP port 21, WebUI upload, or a USB stick). The boot files are found automatically.

The loader looks for the boot files (bzImage, initrd.img, cmdline.txt, vram.txt) in:

  • every folder under /mnt/ — /mnt/usb0/, /mnt/usb0/PS5/Linux/, an M.2 SSD mounted at /mnt/ext1/ or at any other mount point, etc. — searched recursively;
  • /data/ — the PS5 internal storage (e.g. /data/linux/boot/).

Each folder is scanned together with its subfolders, so the old /mnt/usbN/ and /mnt/usbN/PS5/Linux/ layouts keep working, and boot files may also live in /data or on the internal SSD.

The user picks the OS image and boot target (USB port / internal M.2) in the WebUI, sets install size / VRAM if needed, and clicks Boot Linux; the patched initrd loop-mounts the .img at boot, so the OS is stored as a file and never gets cleared.

Hardware

Required: USB drive ≥64 GB (external SSD preferred) + USB keyboard/mouse (dongles supported). Optional: USB WLAN adapter, M.2 SSD compatible with PS5, Bluetooth dongle for DualSense.

Configure PS5 settings

  • VERY IMPORTANT: Rest Mode → System → Power Saving → Features Available in Rest Mode → Supply Power to USB Ports = Always.
  • VERY IMPORTANT: Settings → HDMI → Enable HDMI Device Link = off.
  • Recommended: Disable automatic updates / error reporting.

Installation

  1. Get a Linux image (pre-built from the latest github release), or build via build_image.sh --distro ubuntu2604).
  2. Flash to USB (min 64 GB, external SSD recommended):
    sudo dd if=output/ps5-ubuntu2604.img of=/dev/sdX bs=4M status=progress conv=fsync
    
  3. Plug USB into front bottom Type-C or rear Type-A (avoid front top Type-A, USB 2.0).
  4. Run the jailbreak and send payload:
    socat -t 99999999 - TCP:$PS5IP:9021 < ps5-multiboot.elf
    
  5. Wait for orange LED → press power → boot Linux (white LED = success).

If black screen: remove video=DP-1:1920x1080@60 from cmdline.txt, toggle HDCP, or add amdgpu.force_1080p=1.

M.2 install (this fork)

Use m2_init + ps5-osinstall to store the OS as a .img on the internal NVMe data partition; initramfs loop-mounts it.

First boot

Disable screen saver (buggy); hold kernel packages (apt-mark hold); install Firefox; update mesa; clone ps5-linux-tools; install WLAN driver for Marvell chips.

Releases

Each tagged release ships:

  • ps5-multiboot.elf + m2_init / ps5-osinstall / ps5-osexec (with checksums).
  • Boot tarballs: ps5-<distro>-boot.tar.gz (bzImage, initrd.img, cmdline.txt, vram.txt; initrd patched to loop-mount the .img).

Building from source

export PS5_PAYLOAD_SDK=/path/to/ps5-payload-sdk
export LLVM_CONFIG=/opt/homebrew/opt/llvm/bin/llvm-config
make

Writes bin/ps5-multiboot.elf.

Repository layout

source/  ... webui, ftp, httpdl, hv_defeat_*, loader, ...
include/ ...
shellcode_*/  ... firmware-specific HV kernel shellcode
tools/      m2_init, ps5-osinstall, ps5-osexec, inject/patch scripts
initrd/     patched init (loop-mount + BLKRRPART rescan)
.github/    CI build + release

FAQ

  • Q: Will higher >=14.00 firmwares be supported? A: No.
  • Q: Why can I not use M.2 on 3.xx? A: Because the PS5 fails to boot with it attached.
  • Q: Can I dual-boot Linux and PS5 OS? A: No, soft-mod; re-run exploit to boot into Linux.
  • Q: Can I put Linux into standby/resume? A: No.
  • Q: Can I continue using my PS5 if I install Linux? A: Yes, internal SSD is not modified.
  • Q: Can I use the PS5's NIC/WLAN in Linux? A: Yes for Marvell WLAN (Phat/Slim) and MT7925 (Pro); Ethernet on all models.
  • Q: Hardware decode/transcode? A: Yes (#38). Decode: H.264, HEVC, VP9, VC-1, MPEG-2. Encode: H.264, HEVC I-frames.
  • Q: DualSense controller support? A: Yes, via internal BT or dongle.
  • Q: Supported Resolutions? A: 1080p/1440p/2160p @60Hz; 1440p@120Hz confirmed on DELL S3225QC.
  • Q: After reboot a "Repairing"/"wasn't turned off properly" screen appears, is that normal? A: Yes, harmless.

Tips and tricks

  • RADV_DEBUG=nohiz for graphical issues.
  • Adjust cmdline in cmdline.txt; VRAM in vram.txt (default 512 MB = 0x20000000).
  • Black screen if video=DP-1: set; confirmed working without it on many monitors.

Bugs

  • Screen saver; HDMI audio on some monitors; HDMI 1440p/2160p on some monitors.
  • VCN HEVC encode corrupt chroma with P-frames; use I-frame only.

Credits

Upstream ps5-linux/ps5-linux-loader contributors: theflow, c0w, resulknad, rmuxnet, fail0verflow, flatz, cragson, john-tornblom, echostretch, kirathenotebook, 15432, DeathlySin, gzimbric. Related: Byepervisor-Reborn.

License

See LICENSE.

About

PS5-MultiBoot boots Linux on a jailbroken PS5 (rest-mode resume) by defeating the hypervisor. Powered by 8 CPU cores (16 threads) at 3.5 GHz and a GPU at 2.23 GHz, it turns your PS5 Phat, Slim or Pro running 13.00, 13.20, 13.40, 13.42, or 13.60 into a capable desktop PC for Steam games and emulators.

Topics

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages