Important
i have stopped development on this repo.
why? mainly stuff unrelated to this project and that i wont speak of here. i had managed to get linux to boot in an uncommited branch, but had been unable to get GPU up. i've been trying to get GPU to work but i just cant manage to do so. ive been trying to read UART from the console to aid in development but for whatever reason UART on my console just doesnt work, no clue as to why, which means i've just been brute forcing it, which if you've ever done software development on something not well documented, you know is a pain in the ass, and i just dont have the energy to keep doing it, i might return to this repo at some point in the future, but no promises.
i also apologize to everyone who found this repo, tried it and it failed, just for them to think it was them doing it wrong just to try to troubleshoot for an hour and a half, i would commit the uncommited branch to this repo but its in a state where every couple of runs it completly bricks the console and requires a factory reset to recovery from.
and again, im sorry.
Important
this project is still VERY Work-in-progress, currently only 13.20 is supported until i can get offsets for other FW's / full linux support
pLinux5-NG
boot linux on PS5 consoles running high firmware (8.xx through 13.60)
this project is a port/rework of the existing ps5-linux-loader (which currently works on 3.00 though 7.61) to the new byepervisor-reborn hypervisor escape
- the linux boot path itself (bzImage/initrd relocation,
boot_params/e820 setup, hardware bring up, SVM/IOMMU teardown, the jump tostartup_64) is brought over from the existing ps5-linux-loader - the escape -- how we get code running in hypervisor root mode on all cores on high firmware --
is what has changed in this project. on 3.00 through 7.61 its flatz' ACPI-wakeup ROP
chain; on high firmware it is a khook on the S3-resume
HV_MP_STARTUP_CALLpath. as implemented in Byepervisor-Reborn.
usage
CRITICAL
ps5 configuration:
- enable rest mode features:
settings->system->power saving->features available in rest mode, setSupply Power to USB PortstoAlways
- disable HDMI device link:
settings->system->HDMI, setEnable HDMI Device Linkto beoff
installation
follow the ps5-linux-loader installation guide until you get to step 4, then come back here.
running the jailbreak
-
set your playstations DNS to
45.56.67.85:settings->network->settings->set up internet connectionthen click theoptionsbutton on your controller, selectadvanced settings, from there setprimary DNSto45.56.67.85then selectok, if done correctly, you will get a popup sayinginternet connection failed, thats good, continue.
-
navigate to the users guide:
settings->Guide & Tips, Health and Safety, and Other Information->User's Guide.- when a popup appears saying:
the security of the page can't be confirmed..., clickyes
-
you should end up on a page with big letters saying
RELAPSE, click theJailbreakbutton & wait for it to finish it finishing will be marked by elfldr starting.
now download the pLinux5-NG.elf file from releases, or see building to build from source, then move to sending
building
locally
requires the PS5 payload SDK, the pLabs5-SDK and a C compiler:
export PS5_PAYLOAD_SDK=/path/to/ps5-payload-sdk
LLVM_CONFIG=/path/to/pLabs5-SDK/tools/nixos/llvm-config
make -jthe output is bin/pLinux5-NG.elf.
The shellcode blobs are compiled freestanding with the host gcc
(-ffreestanding -nostdlib) and embedded as C headers; scripts/bin2c.py
replaces xxd -i, which is not present in every environment.
docker
run
docker buildx bake
the output will be at bin/pLinux5-NG.elf.
sending
on linux/unix, use:
# (from the area with the repo + pLinux5-NG.elf) cd scripts/ chmod +x send.sh PS5_IP=<Playstation 5s IP> ./send.sh
on windows, if using powershell, use:
.\scripts\send.ps1 -PS5IP <Playstation 5s IP> -Port 9021
otherwise, if using CMD/Command Prompt, use:
powershell -ExecutionPolicy Bypass -File .\scripts\send.ps1 -PS5IP <Playstation 5s IP> -Port 9021
License
This project is licensed under the AGPL-3.0 licence. The boot path and shellcode are derived from ps5-linux-loader, which is GPL-3.0; those files retain their original authorship and are used here in accordance with the GPL/AGPL compatibility provisions. The high-firmware escape is adapted from Byepervisor-Reborn.
legal
I, niko86c/pLabs5, as well as its contributers, are not affiliated with, associated with, sponsored by, endorsed by or otherwise established with Sony Interactive Entertainment, Playstation, or any of their other companies or works unless explictly stated otherwise. Just because a explict mention above isn't present does NOT mean otherwise.
All software is provided "as is", without warranty of ANY kind, express or implied. Use all software at your own risk.
You are solely responsible for complying with terms of service of all programs, as well as any applicable law.