Skip to content
voidfncPublic

About

Apple Music on a PSN-signed-out PS5 — a homebrew payload that patches the on-console app so your own Apple ID and paid subscription work.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

ps5apple

ko-fi Discord

ps5apple — setup and demo video

▶ Watch the setup & demo video

Apple Music on a PlayStation 5 that is signed out of PlayStation Network — using your own Apple ID and your own paid Apple Music subscription.

The PS5 Apple Music app couples sign-in to a PSN account link. On a console that is signed out of PSN (or where the link flow dead-ends — "You've already linked your account", WS-121420-0), the app is stuck on a "sign in / start free trial" screen and will not play your library. ps5apple is a small homebrew payload for a jailbroken console, modeled on spotless (the Spotify equivalent). It patches the app's locally cached web frontend so Apple's own sign-in path is used, your existing subscription is recognised, and playback runs through the console's native player — with no PSN link.

Status: verified on firmware 12.00, Apple Music app 01.000.035 — signs in, loads the real library and playlists, recognises an active subscription, and plays, console signed out of PSN. The payload is built to run across the current jailbreak window (fw 7.00–13.60, the Relapse chain); it is tested only on 12.00 so far — other firmwares are expected to work but unverified (see Firmware support). An earlier build could crash the whole console on app close (a delivery-watcher unmount race); that is fixed and validated on-console (2026-11-30). The first launch after install is unpatched by design while the overlay stages; the watcher then closes and reopens Apple Music for you, patched; see Known quirks and Delivery notes.

This is not a way to get Apple Music for free. You must already have an active, paid subscription; Apple's servers still authorise every library and playback request against your own token. ps5apple only works around the PS5 app's PSN coupling so your real subscription is usable offline-from-PSN.

Will this work on my PS5?

Three things decide it — a jailbroken console, firmware 12.00–13.60, and Apple Music 01.000.035:

Your PS5 Works?
Jailbroken · firmware 12.00–13.60 · Apple Music 01.000.035 ✅ Yes — this is the supported setup
Jailbroken, but a newer Apple Music (.036+) is installed ⚠️ Install .035 instead — newer builds fail the patch's safety check
Firmware 14.00 or newer ❌ No public jailbreak exists for 14.00+
Console not jailbroken ❌ Requires a jailbroken PS5

Just install Apple Music 01.000.035 — on any firmware from 12.00 to 13.60. It is the single version this patch supports, and because it only requires firmware 12.00 it installs across the whole jailbreak range. Get it from the prosperopatches archive (it redirects to Sony's own CDN; this project hosts nothing).

Firmware 12.00 is fully tested; above 12.40 is expected to work but not hardware-tested yet (a possible online licence check, CE-100096-6). The full version→firmware table, the per-firmware install ceiling, and the honest caveats are in docs/COMPATIBILITY.md.

Supported setup

ps5apple is built and tested against one exact configuration — the one the project's authors run. Match it and the patch applies cleanly. The payload refuses anything it does not recognise (by SHA-256) rather than risk mis-patching it, so getting these right is what lets a 12.00 console reproduce our result.

What we run / tested How to check yours
Console firmware 12.00 (tested) Settings → System → System Software → Console Information
Jailbreak Relapse chain + an ELF loader (Payload Manager / etaHEN / elfldr) —
Apple Music app 01.000.035 (requires fw ≥ 12.00.00.43), title PPSA03622 Options on the app tile → Information
app/launcher.js 1 268 865 bytes · SHA-256 bcc6c3…4911cf60 hash your dump; full value in hashes/applemusic-PPSA03622-01.000.035.json
app/Metrics.js 13 380 bytes · SHA-256 3773f7…1ce6b97d same file

Where the Apple Music app comes from. The console is signed out of PSN, so this is not a PS Store install. The 01.000.035 package (≈130 MB, required firmware 12.00.00.43) is discovered through the public prosperopatches.com archive, which redirects to Sony's own CDN (*.playstation.net) — this project hosts nothing and links no direct download. You download your own copy for the console you own and join the pieces with this repo's byte-for-byte verifier (tools/merge_pkg.py, or the fetchpkg-gui route). The full step-by-step, including licensing on a PSN-offline console, is in docs/INSTALL_APPLE_MUSIC.md.

Keep it on 01.000.035. Turn off automatic app updates so the build is not silently replaced with one the patch does not recognise (newer app builds also raise the required firmware: .036→12.40, .037→12.70, .038→13.00). If the payload ever reports patch not applied (version not recognized), your app build differs from the table above — see Troubleshooting, which explains the token-free diagnostics report that tells you exactly what was found.

Other firmwares in the jailbreak window (7.00–13.60) are expected to work on the same app build but are unverified — see Firmware support for the honest caveats.

What it does not do

  • Ship any Apple code. This repository holds only patch logic, short anchor signatures used to locate edits, and hashes. You supply the frontend by dumping it from your own console.
  • Provide a jailbreak, an ELF loader, an Apple ID, or a subscription.
  • Give you Apple Music for free, or bypass a trial — it makes an existing paid subscription usable.
  • Work on an unmodified console.

Install and use

You need: a jailbroken PS5 with an ELF loader (the current Relapse chain covers fw 7.00–13.60; tested here on 12.00), Apple Music 01.000.035 installed, and an active Apple Music subscription. A phone is optional — the recommended setup happens entirely on the console, in the PS5's own web browser, with your controller.

First, once:

  1. Install Apple Music 01.000.035 on the console. See docs/INSTALL_APPLE_MUSIC.md for the full PSN-free install guide (where to get the package, fetchpkg-gui, merge_pkg.py, licensing).
  2. Download ps5apple.elf from the GitHub Release and load it with your usual ELF loader (Payload Manager, etaHEN, elfldr).

Recommended — sign in on the TV (no phone)

Everything happens on the console; you never leave the couch.

  1. Open Apple Music on the PS5. Because no token is saved yet, ps5apple opens a full-screen setup wizard on your TV, in the PlayStation's own web browser.
  2. Press Sign in on this TV instead. The wizard navigates that same on-screen card to music.apple.com.
  3. Sign in with your controller — your own Apple ID and 2FA — then close the card. ps5apple lifts your media-user-token straight out of the console's browser session (no phone, no bookmarklet, no Shortcut) and the console toasts token imported.
  4. Open Apple Music again. The first launch stages the patch, auto-closes, and reopens patched — signed in to your library, with the subscription recognised.

The on-TV card navigates to Apple, sign-in lands an HttpOnly+Secure cookie, and the payload reads it with a SQLite WAL-aware query on /user/home/<uid>/webkit/shell/NKCookie.jar.db, writes seed.json (0600), and toasts token imported — same seed, same auto-restart as every other path. How this works and the security invariants are in docs/PLAN.md §5.

Alternative — capture the token from a phone

Prefer a phone, or a desktop/laptop browser? The same wizard also shows a QR code.

  1. When the payload loads it also posts a toast with the setup address and a six-character code: ps5apple setup: open http://<your-ps5-ip>:19210/#code=XXXXXX on your phone. (Or scan the QR on the TV wizard to open that page on your phone.)
  2. On the setup page, save the draggable bookmarklet labeled ps5apple import.
  3. Go to music.apple.com in the same browser and sign in with your Apple ID and 2FA.
  4. Tap the ps5apple import bookmark. The browser lands on the console's success page and the console toasts token imported. Then open Apple Music as in step 6 above.

On iPhone or iPad? iOS Safari blocks javascript: bookmarklets (an Apple restriction; the other iOS browsers use the same engine and behave the same). Use the on-TV path above, the iOS Shortcut (docs/IOS_SHORTCUT.md), a desktop/laptop browser, or the paste-the-token option on the setup page.

Re-seeding (every ~180 days when the token expires, or any time you want to switch accounts): sign in again by either path. The overlay re-stages on the next launch.

What you'll see

Setup runs in a browser the console serves itself; everything below is rendered from the payload's own pages (the example address 192.0.2.10:19210 stands in for your console's real LAN address).

On-TV wizard (recommended) — opens on the TV in the PS5 browser when you start Apple Music before capturing a token. Press Sign in on this TV instead to sign in with your controller, or scan the QR from a phone. On-TV setup wizard
Setup page (phone, alternative) — capture your token with the ps5apple import bookmarklet, the QR code, or paste. Setup page on a phone
Success — after the token is handed over. Token imported

On-screen notifications. The watcher narrates each step with the PS5's own top-right system toasts, from load through "patch active" and the fail-closed messages:

On-screen notifications

Diagnostics (fail-closed). If the app build is not the supported 01.000.035, or staging fails, ps5apple changes nothing and — when it knows the console's LAN address — opens a token-free diagnostics page on the TV so you can see exactly what was found and report it. The report lists the payload version, firmware/app-version fields, file sizes, SHA-256 fingerprints and patch-anchor positions — never your media-user-token, Apple ID, account, console serial, or IP address:

Diagnostics page

Firmware support

The payload targets the current jailbreak window, fw 7.00–13.60 (the Relapse chain, which also covers PS5 Slim and Pro; 14.00+ has no public jailbreak). It is built with the ps5-payload-dev SDK, which binds system functions at runtime, so one prebuilt ps5apple.elf is meant to run across that whole range — there are no per-firmware builds. Sandbox and mount handling is written defensively (it discovers the app's sandbox by scanning /mnt/sandbox and checks the live mount), rather than assuming a fixed layout.

Honest caveats, because only firmware 12.00 has actually been tested:

  • Other firmwares are expected to work but unverified. The parts most likely to need attention on a different firmware are the overlay mount onto the live app sandbox and the app-relaunch call; both are guarded, but only a real test on each firmware confirms them. Reports are welcome.
  • Install 01.000.035 whatever your firmware — do not install a newer build. Only Apple Music 01.000.035 is supported (the payload refuses any other build by hash). PlayStation's required-firmware is a minimum, and 01.000.035 only requires fw 12.00, so it installs across the entire 12.00 – 13.60 jailbreak range; because Apple Music ships its frontend inside the package, that one build is the same frontend the patch already handles — one app version, one patch, the whole range. If your firmware would let you install .036–.038, don't: a newer frontend fails the hash check.
  • Unverified above fw 12.40. 01.000.035 is expected to run on firmware newer than 12.00 with the patch unchanged, but only 12.00 has been tested, and community sources report an online media-app licence check (CE-100096-6) starting at fw 12.60 that could block a signed-out console (Apple Music is not named in those reports, so it may be unaffected — but it needs a real test). If you are on 12.60 – 13.60 and 01.000.035 installs and signs in, please report back.
  • Supporting a different Apple Music version would need a fresh dump of that version and its own patch definition; the anchors are not assumed to survive between app versions.

For the full version→firmware table, the per-firmware install ceiling, the CE-100096-6 analysis, and the compatibility roadmap, see docs/COMPATIBILITY.md.

How it works

Apple's web MusicKit sign-in on music.apple.com mints a media-user-token with no device attestation — just Apple ID + password + 2FA. The bookmarklet reads that cookie from your own signed-in session and POSTs it (through a top-level form submit, sidestepping mixed-content and CORS) to the HTTP server bound to the LAN by the resident ps5apple.elf. That server writes /data/ps5apple/seed.json on the console, mode 0600. On the next Apple Music launch the watcher reads the seed, regenerates the five patched edits in C from the stock app files (the first-party-auth flip, the account-seed block, the subscription gate, the Metrics.js null-guard), writes the result to an overlay staging tree, and nullfs-mounts it over the read-only app0 sandbox.

Five edits (same shape as before the rewrite, now applied on-console instead of pre-built on a PC):

  1. first-party-auth — flip Config.supportsFirstPartyAuth() from false to true, so the app uses Apple's own in-app sign-in instead of the Sony PSN-link dialog.
  2. account-seed — write a signed-in account record plus a cookie jar carrying your media-user-token into the app's local storage at startup. account.isSignedIn becomes true with no PSN broker; the app mints its own developer token and authorises /me calls on your token.
  3. subscription-gate — report the subscription as active (your subscription is real; Apple's servers still enforce it on the token).
  4. metrics-null-guard — a one-token null-guard in Metrics.js that fixes a boot-time TypeError.
  5. delivery — the resident watcher detects the app launching, nullfs-mounts the overlay, and unmounts on exit via kqueue NOTE_EXIT. The patched byte is verified through the sandbox view before the overlay is trusted.

Full detail is in docs/PLAN.md (how it works). The patch logic lives in payload/src/seed_patch.c and the capture server in payload/src/http_server.c.

Build from source

With the ps5-payload-dev SDK on PS5_PAYLOAD_SDK:

cd payload
make

Produces ps5apple.elf (the resident watcher + HTTP capture server) and amunmount.elf (the emergency unmount helper), both git-ignored. See payload/README.md.

Host regression test for the on-console patcher (optional, for developers):

cc -std=gnu11 -O2 -g -Wall -Wextra -Werror -fsanitize=address,undefined \
   -DSP_TESTING -Ipayload/src \
   -o /tmp/test_seed_patch \
   payload/tests/test_seed_patch.c payload/src/seed_patch.c payload/src/sha256.c
/tmp/test_seed_patch

Should print all 161 checks passed.

Security and privacy

  • Your media-user-token is a secret. It is captured on the console from your own browser session and written to /data/ps5apple/seed.json with mode 0600. It never leaves the console. Never commit the seed, your token, your dump, or your account details.
  • The HTTP capture server is bound to the LAN (not loopback) so your phone can reach it, but protected by a 6-character nonce generated at startup. The nonce is shown in a system toast on the console and must appear in every mutating request.
  • .gitignore excludes dumps, build output, logs, tokens, cookies, and seed.json. Keep it that way.
  • Host-header allowlist blocks DNS-rebinding; response headers set X-Frame-Options: DENY, X-Content-Type-Options: nosniff, Cache-Control: no-store, Referrer-Policy: no-referrer.

Delivery notes

The overlay is a nullfs mount stacked on the app's live app0 sandbox. When Apple Music exits, SceShellCore unmounts app0, and if the overlay is still mounted on top that unmount fails and SceShellCore calls abort() — which would take the whole system down. The watcher is built so that can never happen:

  • The overlay is unmounted on the app's NOTE_EXIT (which fires at the app's kill, before SceShellCore's ProcessTerm), and that fast unmount is armed on every mount, by either the kqueue launch path or the poll loop.
  • The staging run is never mounted. The first launch after install stages the overlay while the app runs and leaves that run unpatched; it does not mount an overlay it would then have to race to remove.
  • The first run restarts itself, safely. After that one-time staging the watcher closes Apple Music (a clean system-side close, sceLncUtilKillApp), waits until its sandbox is completely gone, and relaunches it (sceSystemServiceLaunchApp). Because the staging run has nothing mounted, closing it cannot trip the abort; the relaunch is an ordinary launch, mounted with the NOTE_EXIT unmount armed like any other. It happens at most once per install and never touches a run that has an overlay mounted. If any step fails, the watcher falls back to a toast asking you to close and reopen (or just open) Apple Music manually; creating the file /data/ps5apple/no_autorestart turns the automatic restart off.
  • No stacking on reload. If you reload the payload while a mount is live, the new watcher adopts the existing overlay (checked with statfs) instead of stacking a second layer, and the unmount pops every layer and retries transient failures — it never force-unmounts the stock app0.
  • It verifies the patched byte reads back through the sandbox view before trusting a mount, refuses a build whose launcher.js hash is not the expected original, and ignores SIGPIPE so a dead loader socket can't kill it mid-mount.

An earlier build armed the fast unmount only on the pre-staged path, so a lazily-staged first launch could lose the race and crash; that, and a reload path that stacked a second overlay, were fixed and validated on-console.

Toast notifications. The watcher posts the PS5 system toast (top-right) at each stage so setup is self-explanatory: ready on load, setting up patch (first run)…, patch ready — restarting Apple Music…, patch active — sign in, and failure / unrecognised-version messages (including a close & reopen / open Apple Music prompt if the automatic restart cannot run). It uses sceKernelSendNotificationRequest from libkernel (no SDK header; the request struct is declared in the source).

Known quirks

  • The first launch after install restarts once. The watcher has to stage a ~65 MB overlay the first time the app runs, and the app reads its launcher.js before staging finishes — so that first run briefly shows the stock "sign in / free trial" screen (and "can't connect" if Apple hosts are sinkholed). After roughly ten seconds of staging the watcher closes Apple Music and reopens it automatically, and it comes up patched; you do not have to do anything. If the automatic reopen can't run, a toast asks you to open Apple Music manually — the overlay is already staged, so that launch is patched. Either way it is safe: the first run does not crash on close.
  • Playback starts on the first try (as of v0.1.2). Earlier builds could fail the first 2–3 plays after a cold boot with "the content can't be played… you don't have access or it's no longer available" — a native FairPlay/auth warm-up race (the auth hand-off was a one-shot startup message with no retry). The default patch now re-sends that hand-off a few times just after startup and always attaches the music-user-token header, so the first play works; validated on-console (fw 12.00).

Legal

Independent community project, not affiliated with or endorsed by Apple Inc. or Sony Interactive Entertainment. Patching the on-console app and altering its sign-in flow runs against both companies' terms of service. Use it at your own risk, on hardware you own, and only with your own paid Apple Music subscription. You are responsible for how you use it.

Licensed under GPL-3.0 (see LICENSE); the design is modeled on spotless (GPL-3.0). The setup page's QR code is drawn with the bundled qrcode-generator by Kazuhiko Arase (MIT; the library is unmodified and its licence is preserved in payload/src/qrcode_js.c).

Layout

Path Role
payload/ The resident watcher ELF: detect launch → verify hash → overlay-mount the patched app0 → unmount on exit
frontend/ The patch definitions applied to the cached frontend (no Apple code)
hashes/ Known-good hashes of supported Apple Music app builds
tools/ Host-side helpers: build_patch.py (build the patched frontend), merge_pkg.py (join a split retail package)
tests/ Tests for the host-side tools
docs/ How it works, the Apple Music install guide, and setup troubleshooting

About

Apple Music on a PSN-signed-out PS5 — a homebrew payload that patches the on-console app so your own Apple ID and paid subscription work.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages