Skip to content

r-freeman/BD-JB-Poops-Autoloader

Repository files navigation

BD-JB-Poops-Autoloader

PS5 Jailbreak

About this project

This project is based on BD-UN-JB-Poops-Autoloader by owenswang, which is a fork of BD-UN-JB by Gezine. BD-JB-Poops-Autoloader takes advantage of an exploit in the PS5 Blu-ray stack, which allows execution of NetPoops-PS5 to take full control of the PS5 kernel.

Requirements

  • PS5 with firmware <=7.61 or up to 12.00 using SWRR and BD-UN-JB to unpatch the Blu-ray stack.
  • Alternatively, you can use an existing jailbreak such as YTJB or Netflix-N-Hack to unpatch the Blu-ray stack on firmware up to 10.01.
  • Blu-ray drive and BD-RE or BD-R disc to burn the ISO.

Features

  • ps5_autoload.elf which allows you to load ELF payloads from a USB device.
  • ps5_killdiscplayer.elf automatically closes the disc player.
  • NetPoops-PS5, sys_netcontrol UAF kernel exploit by MassZero0.

How to use

  • Download the latest release.
  • Burn the ISO to BD-R or BD-RE using ImgBurn.
  • Format a USB flash drive as exFAT or FAT32.
  • Create ps5_autoloader directory on root of the USB flash drive.
  • In the ps5_autoloader directory create an autoload.txt file.
  • Edit autoload.txt with the ELF payloads you want to execute (one per line).
  • Copy the payloads into the ps5_autoloader directory.
  • Eject the USB flash drive and plug it into your PS5.
  • Insert the Blu-ray disc into your PS5 and launch the exploit.
  • If the exploit was successful it should load the payloads from the autoload.txt.
  • Use etaHEN's built in FTP server (port 1337) to copy the ps5_autoloader directory to /data.
  • You can now disconnect the USB flash drive.

Example autoload.txt:

kstuff.elf
etaHEN.elf

Build and compile

Use Debian-based environment to build and compile the project. I'm using wsl with Ubuntu distribution on Windows 11. After installing wsl and Ubuntu, start the environment using wsl -d Ubuntu and follow the instructions below to install the project dependencies.

Set up bdj-sdk

ryan@localhost:~$ sudo apt-get update && sudo apt-get upgrade
ryan@localhost:~$ sudo apt-get install build-essential libbsd-dev git pkg-config openjdk-8-jdk-headless
ryan@localhost:~$ git clone --recurse-submodules https://github.com/john-tornblom/bdj-sdk
ryan@localhost:~$ ln -s /usr/lib/jvm/java-8-openjdk-amd64 bdj-sdk/host/jdk8
ryan@localhost:~$ ln -s /usr/lib/jvm/java-11-openjdk-amd64 bdj-sdk/host/jdk11
ryan@localhost:~$ make -C bdj-sdk/host/src/makefs_termux
ryan@localhost:~$ make -C bdj-sdk/host/src/makefs_termux install DESTDIR=$PWD/bdj-sdk/host
ryan@localhost:~$ make -C bdj-sdk/target

Set up ps5-payload-sdk

Install dependencies

ryan@localhost:~$ sudo apt-get install zip bash clang-18 lld-18
ryan@localhost:~$ sudo apt-get install socat cmake meson pkg-config

Download and install ps5-payload-sdk

ryan@localhost:~$ wget https://github.com/ps5-payload-dev/sdk/releases/latest/download/ps5-payload-sdk.zip
ryan@localhost:~$ sudo unzip -d /opt ps5-payload-sdk.zip
ryan@localhost:~$ sudo rm ps5-payload-sdk.zip

E: Unable to locate package clang-18

ryan@localhost:~$ wget -qO- https://apt.llvm.org/llvm.sh | bash -s -- 18

Compile the project

Use make at the project root to compile ps5_autoload.elf, ps5_killdiscplayer.elf and BD-JB-Poops-Autoloader.iso. Burn the ISO to disc using ImgBurn or similar software.

Todo

  • Add CI/CD pipeline using GitHub Actions.

Credits


Disclaimer

This tool is provided as-is for research and development purposes only.
Use at your own risk.
The developers are not responsible for any damage, data loss, or other consequences resulting from the use of this software.

About

Burnable Blu-ray ISO for PS5, chains BD-J with NetPoops-PS5 for kernel exploitation. Includes ps5_autoload.elf (for loading ELF payloads from USB).

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors