ps5-linux-loader is a Linux payload that exploits a patched hypervisor (HV) vulnerability on PlayStation 5 Phat consoles, paired with a custom bootloader. Hosted on GitHub under the ps5-linux organization, the project has garnered 1244 stars and is written primarily in C. It enables users to boot a full Linux distribution directly on the PS5 hardware, bypassing GameOS limitations for desktop computing tasks.
The project targets PS5 Phat models stuck on older firmware versions, turning the console into a capable PC with access to its 8 CPU cores (16 threads) clocked at 3.5 GHz, a GPU at 2.23 GHz, HDMI output at 4K60 with audio, M.2 SSD storage (on supported firmwares), and all USB ports. This setup allows running Steam games, emulators, and other Linux applications with solid performance.
Supported firmwares
ps5-linux-loader works exclusively on PS5 Phat consoles running 3.xx or 4.xx firmwares. Specific versions include:
- 3.00, 3.10, 3.20, 3.21 (no M.2 SSD support)
- 4.00, 4.02, 4.03, 4.51, 4.50 (with M.2 SSD support)
Lower firmwares (1.xx, 2.xx) or newer ones (5.xx and above) lack current support. For 5.xx, future Linux booting would run inside the GameOS virtual machine, potentially with reduced features and performance. Users needing a specific supported firmware can download PUP files from darthsternie.net/ps5-firmwares/ and follow PlayStation's official safe mode reinstall guide.
Hardware requirements
Running ps5-linux requires these items:
- A USB drive of at least 64 GB (external SSD recommended) for the Linux installation.
- USB Ethernet or WLAN adapter for network access.
- USB keyboard and mouse (wireless dongles work).
Optional additions include:
- PS5-compatible M.2 SSD, installed per the official PlayStation guide.
- Bluetooth dongle for DualSense controller pairing.
The PS5's front-bottom Type-C USB port (and others) supports booting the payload.
PS5 configuration steps
Before installation, adjust these PS5 settings:
- Enable USB power in Rest Mode: Settings → System → Power Saving → Features Available in Rest Mode → Supply Power to USB Ports → Always.
- Disable HDMI Device Link: Settings → HDMI → Enable HDMI Device Link (turn off).
- Disable auto-updates (recommended): Settings → System Software → System Software Update and Settings.
- Turn off error reporting (recommended): Settings → System Software → Report System Software Errors Automatically.
These changes ensure the USB drive stays powered and avoid interference during boot.
Building the Linux image
The process starts by creating a bootable Linux image using Docker. The image repository is at github.com/ps5-linux/ps5-linux-image. Supported distros include Ubuntu 26.04 (via --distro ubuntu2604 flag).
On Linux or macOS
sudo apt update
sudo apt install docker.io -y
sudo service docker start
sudo usermod -aG docker $USER
Restart the terminal, then:
git clone https://github.com/ps5-linux/ps5-linux-image
cd ps5-linux-image
chmod +x ./build_image.sh
./build_image.sh --distro ubuntu2604
On Windows with WSL2
Install WSL2 first (as admin in PowerShell/CMD):
wsl --install
Restart, open WSL, install Docker:
sudo apt update
sudo apt install docker.io -y
sudo service docker start
sudo usermod -aG docker $USER
Shut down WSL from Windows:
wsl --shutdown
Reopen WSL and build:
cd ~/
git clone https://github.com/ps5-linux/ps5-linux-image
cd ps5-linux-image
chmod +x ./build_image.sh
./build_image.sh --distro ubuntu2604
Output lands in output/ps5-ubuntu2604.img.
Flashing and booting
Flash the image to a 64 GB+ USB drive (SSD preferred).
Linux/macOS
Identify the drive (lsblk or diskutil list):
sudo dd if=output/ps5-ubuntu2604.img of=/dev/sdX bs=4M status=progress conv=fsync
Windows
Use Balena Etcher: Select the .img, target USB, flash.
Insert the USB into a supported PS5 port (front bottom Type-C works). Put the console in Rest Mode, then hold the power button to boot into the loader. Linux starts directly, granting full hardware access outside GameOS.
Core capabilities
Once running, ps5-linux provides:
- Desktop Linux environment (Ubuntu 26.04 by default) with 4K60 HDMI output.
- Full CPU/GPU utilization for gaming via Steam or emulation.
- M.2 SSD as dedicated Linux storage (4.xx firmwares).
- USB port passthrough for peripherals.
Performance suits fluid gameplay and productivity, though it's tied to Phat hardware specs.
Who this targets
This project appeals to PS5 Phat owners on legacy 3.xx/4.xx firmwares unwilling to update, especially tinkerers seeking a compact Linux machine. Emulation enthusiasts or those testing Steam on console hardware benefit from the raw power without buying a PC. It suits users comfortable with exploits, USB flashing, and Docker builds—basic Linux skills help for post-boot tweaks.
If you have a Slim or Pro model, or run 5.xx+, skip it; those lack Phat-specific HV exploit support.
Comparisons to similar projects
ps5-linux-loader stands alone for direct Linux on PS5 Phat, akin to older console hacks like PS3 Linux (via OtherOS) or Raspberry Pi OS ports, but leverages modern AMD hardware. Alternatives include virtualizing Linux via GoldHEN on jailbroken 5.xx firmwares (less performant, GameOS-bound) or buying a mini-PC for similar specs. For pure emulation, a used PS3 with Linux might cost less but offers weaker hardware.
Firmware-locked users get unique value here—no other tool unlocks the PS5 Phat this way.
The loader's GitHub page at https://github.com/ps5-linux/ps5-linux-loader has full details; check firmware compatibility before proceeding.
Comments