Archive of https://git.etawen.dev/earthonion/elfldr-autoldr — PS5 elfldr fork — drop-in replacement for elfldr.elf in any exploit chain; bundles autoldr for USB/data auto-loading https://git.etawen.dev/earthonion/elfldr-autoldr
  • C 94.2%
  • Makefile 4.4%
  • Shell 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-23 18:00:26 -04:00
stress-test elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
.gitignore elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
autoldr.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
bootstrap.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
elfldr.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
elfldr.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
LICENSE elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
log.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
main.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
Makefile elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
notify.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
notify.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
pt.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
pt.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
README.md README: note larger buffer needed when swapping in autoldr build 2026-06-23 18:00:26 -04:00
selfldr.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
selfldr.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
socksrv.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
uri.c elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00
uri.h elfldr-autoldr: fork of ps5-payload-dev/elfldr with autoldr extension 2026-06-22 22:50:16 -04:00

elfldr-autoldr

PS5 elfldr with an autoldr extension. Fork of ps5-payload-dev/elfldr.

What is this

elfldr-ps5.elf is the post-exploit ELF loader that PS5 jailbreak chains hand control to once they have kernel R/W. It listens on TCP 9020 (control) / 9021 (payload) and runs whatever ELF you send it.

This fork bundles two extras:

  • autoldr.elf — chains off elfldr and automatically loads any .elf it finds in well-known paths (/mnt/usb0..7/, /data/, /mnt/usbN/ps5_autoloader/, /data/ps5_autoloader/). Drop your payload on a USB stick, plug it in, run elfldr — no nc/socat needed.
  • An updated Makefile that builds everything in one shot and produces a single elfldr-ps5.elf artifact.

Usage

It's as simple as replacing elfldr.elf (or elfldr-ps5.elf) in your favorite exploit with the build from releases.

Exploit chain File to replace
Netflix-N-Hack payloads/elfldr-ps5.elf
Y2JB splash_screen/aHR0cHM6...vdHY=/elfldr-ps5-1340.elf

⚠️ Bump the download buffer. The autoldr build is bigger than stock elfldr — current release is ~520 KB (vs ~360 KB upstream). Most exploit chains pre-allocate a fixed buffer to fetch the ELF into; if that buffer is smaller than the new file, fetch silently truncates and the loader crashes on entry. Grep your chain for the elfldr malloc(...) / fetch_file(..., SIZE) call and bump it to at least 1 * 1024 * 1024 (1 MB) to give headroom for future builds.

Known spots:

  • Netflix-N-Hack payloads/elf_loader.js — malloc(...) + fetch_file(..., SIZE) near the top
  • Netflix-N-Hack payloads/p2jb.js — same pattern
  • Y2JB splash_screen/.../elf_loader.js — same pattern

Building

git clone https://git.etawen.dev/earthonion/elfldr-autoldr
cd elfldr-autoldr
export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk    # https://github.com/ps5-payload-dev/sdk
make
# -> elfldr-ps5.elf

Credits

License

GPL-3.0 (same as upstream).