Builds and deploys a Linux payload for PS5 Phat consoles (firmware 3.xx/4.xx) using an HV exploit to boot full Linux from USB or M.2 SSD.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
---
name: ps5-linux-loader
description: Linux payload for PS5 consoles implementing HV exploit and custom bootloader to run full Linux on PS5 Phat hardware
triggers:
- "run linux on ps5"
- "ps5 linux loader"
- "boot linux on playstation 5"
- "ps5 jailbreak linux"
- "compile ps5 linux payload"
- "ps5 hv exploit linux"
- "install linux ps5 usb"
- "ps5 linux bootloader"
---
# PS5 Linux Loader
> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.
## What It Does
`ps5-linux-loader` is a C-based payload that exploits a patched HV (Hypervisor) vulnerability on PS5 Phat consoles running firmware 3.xx or 4.xx to boot a full Linux environment. It implements:
- A custom bootloader that takes over from the PS5 OS
- HV exploit chain to escape the GameOS VM and run bare-metal
- Boot configuration via `cmdline.txt` and `vram.txt` on a FAT32 USB partition
- Support for USB boot drives, M.2 SSD installation, GPU/CPU boost, and fan control
**Supported hardware:** PS5 Phat only
**Supported firmwares:** 3.00, 3.10, 3.20, 3.21, 4.00, 4.02, 4.03, 4.50, 4.51
---
## Prerequisites
### Build Dependencies
```bash
# Install PS5 Payload SDK (required)
# See: https://github.com/ps5-payload-dev/sdk
# On Debian/Ubuntu (x86-64 host):
sudo apt install build-essential git
# For ARM64 Linux hosts, install cross-compilation tools:
sudo apt install gcc-x86-64-linux-gnu binutils-x86-64-linux-gnu
# Clone the repository
git clone https://github.com/ps5-linux/ps5-linux-loader
cd ps5-linux-loader
# Build (requires ps5-payload-sdk installed)
make
# Output: ps5-linux-loader.elf
Alternatively, download a prebuilt ps5-linux-loader.elf from the releases page.
# Clone the image builder
git clone https://github.com/ps5-linux/ps5-linux-image
cd ps5-linux-image
chmod +x ./build_image.sh
# Build Ubuntu 26.04 image (default)
./build_image.sh --distro ubuntu2604
# Output image location:
# output/ps5-ubuntu2604.img
Windows (WSL2):
# Install WSL2 first (PowerShell as admin):
wsl --install
# In WSL:
sudo apt update && sudo apt install docker.io -y
sudo service docker start
sudo usermod -aG docker $USER
# Restart WSL, then:
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
Linux/macOS:
# Identify your drive
lsblk # Linux
diskutil list # macOS
# Flash (replace sdX with your drive identifier)
sudo dd if=output/ps5-ubuntu2604.img of=/dev/sdX bs=4M status=progress conv=fsync
Windows (WSL2 + usbipd):
# In PowerShell as admin:
winget install usbipd
usbipd list
usbipd bind --busid 5-3 # replace 5-3 with your busid
usbipd attach --busid 5-3 --wsl
# In WSL:
lsblk
sudo wipefs -a /dev/sdX
sudo dd if=output/ps5-ubuntu2604.img of=/dev/sdX bs=4M status=progress
Before running the exploit, configure the PS5:
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)
Recommended — Disable auto-updates:
Settings → System Software → System Software Update and Settings
# Clone the exploit host
git clone https://github.com/idlesauce/umtx2
cd umtx2
# Edit dns.conf to point manuals.playstation.net to your PC's IP
# Then run:
python fakedns.py -c dns.conf # Terminal 1
python host.py # Terminal 2
On PS5: Settings → Network → Advanced Settings → Primary DNS → set to your PC's IP
Leave Secondary DNS as 0.0.0.0
On PS5: Go to user manual in Settings, accept the untrusted certificate prompt, and run.
# Find PS5 IP at: Settings → Network → View Connection Status
# Replace 192.168.178.127 with your PS5's IP
socat -t 99999999 - TCP:192.168.178.127:9021 < ps5-linux-loader.elf
The FAT32 partition on the boot USB contains two config files:
cmdline.txt — Kernel command line# Default content example:
root=LABEL=ubuntu2604 rw quiet splash
# Force 1080p output (useful for display compatibility issues):
amdgpu.force_1080p=1
# To boot from M.2 SSD instead of USB:
root=LABEL=ubuntu2604-m2
vram.txt — VRAM allocation# Default: 512MB (enables Dynamic VRAM allocation)
0x20000000
# Increase VRAM to 1GB:
0x40000000
# Step 1: Attach M.2 SSD and format via PS5 OS
# Step 2: Boot Linux, then initialize M.2
sudo apt install zlib1g-dev
git clone https://github.com/ps5-linux/ps5-linux-tools
cd ps5-linux-tools
gcc -o m2_init m2_init.c -lz
sudo ./m2_init
# Step 3: Reboot
sudo reboot
# Step 4: After relaunching Linux, install image to M.2
chmod +x ./m2_install.sh
sudo ./m2_install.sh --install /path/to/ps5-ubuntu2604.img
# Step 5: Boot from M.2
chmod +x ./m2_exec.sh
sudo ./m2_exec.sh
To make M.2 the default boot target, edit /boot/efi/cmdline.txt:
root=LABEL=ubuntu2604-m2
cd ps5-linux-tools
# Compile the control tool
gcc -o ps5_control ps5_control.c
# Enable fan (always enable before boost)
sudo ./ps5_control --fan on
# Enable CPU (3500 MHz) and GPU (2230 MHz) boost
sudo ./ps5_control --boost on
# Disable boost
sudo ./ps5_control --boost off
# Disable fan
sudo ./ps5_control --fan off
⚠️ Always enable the fan before enabling boost, matching official PS5 OS behavior.
# 1. Disable screen saver (currently buggy — do this first)
# 2. Re-enable network connection if no internet
# Toggle off/on your Wired or WLAN connection in network settings
# 3. Install Firefox
sudo snap install firefox
sudo snap refresh mesa-2404 --channel=latest/edge
# 4. Clone ps5-linux-tools for fan/boost control
git clone https://github.com/ps5-linux/ps5-linux-tools
# Try setting 1080p forced mode in cmdline.txt:
amdgpu.force_1080p=1
sudo apt install gcc-x86-64-linux-gnu binutils-x86-64-linux-gnu
make
# Install socat on Linux/macOS:
sudo apt install socat # Debian/Ubuntu
brew install socat # macOS
| Firmware | Support | M.2 Support |
|---|---|---|
| 3.00, 3.10, 3.20, 3.21 | ✅ | ❌ |
| 4.00, 4.02, 4.03, 4.50, 4.51 | ✅ | ✅ |
| 1.xx, 2.xx | Planned | Unknown |
| 5.xx | Planned (VM only, limited) | Unknown |
| 6.xx+ | ❌ Not supported | ❌ |
To downgrade/target a specific firmware:
Download PUP from darthsternie.net/ps5-firmwares and follow the official Sony reinstall guide.
| Component | Spec |
|---|---|
| CPU | 8 cores / 16 threads @ 3.5 GHz |
| GPU | AMD @ 2.23 GHz |
| Video Output | HDMI 4K @ 60Hz |
| Resolutions | 1080p, 1440p, 2160p @ 60Hz |
| USB Ports | All ports (front bottom Type-C, rear Type-A; front top Type-A is USB 2.0) |
| Storage | USB drive or M.2 SSD |
| Controllers | DualSense via Bluetooth dongle |
What SKILL.md sets; muted values are Claude Code's defaults
/aradotso-trending-skills-37:ps5-linux-loaderfrom aradotso-trending-skills-37
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /aradotso-trending-skills-37:ps5-linux-loader still runs it.
aradotso-trending-skills-37@cascade-ai-ml-agents-misc-1 is listed by joshuarweaver/cascade-ai-ml-agents-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin aradotso-trending-skills-37496 skills in this plugin
/3dsvg-interactive-reactTurn SVGs into interactive React 3D components using the 3dsvg library and visual editor/724-office-ai-agentSelf-evolving AI agent system with 26 tools, three-layer memory, MCP plugins, and 24/7 self-repair in pure Python./acgti-anime-persona-quizACG Type Indicator — MBTI-inspired anime character persona quiz built with Vue 3, TypeScript, and ViteOther plugins' skills for the same job