llama.cpp on a jailbroken PS5: run any GGUF model natively on the console, starting with Qwen 3.8
Install PS5LM from Payload Manager through its own source
Mert Cobanov86e5239934dd
diff --git a/README.md b/README.mdindex 306078c..1b5cf81 100644--- a/README.md+++ b/README.md@@ -16,9 +16,15 @@ The first target is **Qwen 3.8** (27B, hybrid Gated DeltaNet attention), the newYou need a PS5 you own on firmware 7.00 to 13.60, jailbroken, with a payload loader (Payload Manager from WebKit Autoloader, or elfldr on port 9021).-1. Download `ps5lm.elf` from the [latest release](https://github.com/cobanov/PS5LM/releases/latest).-2. Load it like any payload: in Payload Manager, add it under *Manage payloads* and start it; or send it to an ELF loader on port 9021.-3. The PS5's browser opens the PS5LM library. Press **Download** on a model, then **Run**, then **Open chat**. Type with the DualSense.+**From Payload Manager**, which also brings updates:++1. *Settings*: turn on **Multiple Payload Sources**.+2. Add the source `https://ps5lm.cobanov.dev/payloads.json`.+3. Install **PS5LM** from the list and load it.++**Or by hand**: download `ps5lm.elf` from the [latest release](https://github.com/cobanov/PS5LM/releases/latest) and load it like any payload (upload it in Payload Manager, or send it to an ELF loader on port 9021).++Once it runs, the PS5's browser opens the PS5LM library. Press **Download** on a model, then **Run**, then **Open chat**. Type with the DualSense.The library also works from a phone or computer on the same network at `http://<console IP>:8082`, and the chat at port 8081 speaks the OpenAI API. Models are stored in `/data/PS5LM/models`; a GGUF copied there over FTP shows up too.diff --git a/scripts/update-source.sh b/scripts/update-source.shnew file mode 100755index 0000000..1a7ee7b--- /dev/null+++ b/scripts/update-source.sh@@ -0,0 +1,43 @@+#!/usr/bin/env bash+# Writes site/payloads.json, the Payload Manager source for PS5LM, for a+# release. Users add https://ps5lm.cobanov.dev/payloads.json under Sources and+# install or update PS5LM from Payload Manager. The format is the one+# itsPLK/ps5-payloads-mirror uses; the checksum is the SHA-256 of the asset.+#+# scripts/update-source.sh v0.1.0 (after the release has ps5lm.elf)+set -euo pipefail++root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"+version=${1:?usage: update-source.sh VERSION}+url="https://github.com/cobanov/PS5LM/releases/download/$version/ps5lm.elf"+tmp=$(mktemp)+trap 'rm -f "$tmp"' EXIT++# Hash what the release actually serves, not a local build.+curl -fsSL -o "$tmp" "$url"+if command -v sha256sum >/dev/null; then+ sum=$(sha256sum "$tmp" | cut -d' ' -f1)+else+ sum=$(shasum -a 256 "$tmp" | cut -d' ' -f1)+fi++python3 - "$version" "$url" "$sum" "$root/site/payloads.json" <<'EOF'+import datetime, json, sys+version, url, checksum, out = sys.argv[1:]+entry = {+ "name": "PS5LM",+ "filename": f"PS5LM_{version}.elf",+ "url": url,+ "source": "https://github.com/cobanov/PS5LM/releases",+ "source_direct": url,+ "description": "Run local LLMs (llama.cpp) on your PS5: download a model on the console and chat in the browser",+ "last_update": datetime.date.today().isoformat(),+ "version": version,+ "category": "Utilities & Tools",+ "checksum": checksum,+}+with open(out, "w") as f:+ json.dump([entry], f, indent=2)+ f.write("\n")+print(f"update-source: {out} -> {version} ({checksum[:12]})")+EOFdiff --git a/site/index.html b/site/index.htmlindex e2b9436..915a875 100644--- a/site/index.html+++ b/site/index.html@@ -123,7 +123,7 @@<h2>Install</h2><ol class="steps-list"><li>Jailbreak a PS5 you own on firmware 7.00 to 13.60, with a payload loader such as Payload Manager.</li>- <li>Download <code>ps5lm.elf</code> from the <a href="https://github.com/cobanov/PS5LM/releases/latest">latest release</a> and load it like any payload.</li>+ <li>In Payload Manager, turn on Multiple Payload Sources in Settings and add the source <code>https://ps5lm.cobanov.dev/payloads.json</code>. Install PS5LM from the list and load it. (Or download <code>ps5lm.elf</code> from the <a href="https://github.com/cobanov/PS5LM/releases/latest">latest release</a> and load it like any payload.)</li><li>The PS5 browser opens the library. Press Download on a model, then Run, then Open chat.</li></ol><p>From a phone or computer on the same network, the library is at <code>http://<console IP>:8082</code> and the chat at port 8081, which also speaks the OpenAI API. Building from source is in the <a href="https://github.com/cobanov/PS5LM#readme">README</a>.</p>diff --git a/site/payloads.json b/site/payloads.jsonnew file mode 100644index 0000000..2e28daa--- /dev/null+++ b/site/payloads.json@@ -0,0 +1,14 @@+[+ {+ "name": "PS5LM",+ "filename": "PS5LM_v0.1.0.elf",+ "url": "https://github.com/cobanov/PS5LM/releases/download/v0.1.0/ps5lm.elf",+ "source": "https://github.com/cobanov/PS5LM/releases",+ "source_direct": "https://github.com/cobanov/PS5LM/releases/download/v0.1.0/ps5lm.elf",+ "description": "Run local LLMs (llama.cpp) on your PS5: download a model on the console and chat in the browser",+ "last_update": "2026-10-02",+ "version": "v0.1.0",+ "category": "Utilities & Tools",+ "checksum": "26d7a543bec9c9ff0ccdb1fa067252254ccce88b81e5c293c22c1f536d0cfd5e"+ }+]