Storage Restore v1.9 by Ngô Phi Phương
Puts PS5 games on an M.2 SSD or internal storage back in the game library after the console's application database is lost
Install on your PS5
Payload: start elfldr 0.25 or newer on the PS5 first. It listens on port 9021. Then press Send to PS5 beside the file under Files, on a computer or phone on the same network. elfldr downloads the payload and runs it, so the PS5 needs to be online.
Files
| File | Size | SHA-256 | |
|---|---|---|---|
| PS5_STORAGE_RESTORE.elf | 1.3 MB | 83daa52e…00f6 | Send to PS5 Download |
Screenshots
About Storage Restore
When the application database is lost, games that are still on the drives drop out of the library. Storage Restore looks for each PPSAxxxxx/app.pkg, rebuilds the metadata that's missing and registers the game against the drive it lives on, with the same two fields a normal install writes. A game on the M.2 SSD then stays in the library after a reboot, with no payload at boot. Run it once, and again only after another database loss or when you add a game. Only PS5 titles are handled, not PS4 fPKGs (CUSA).
Close every game and let installs and updates finish. Copy PS5_STORAGE_RESTORE.elf to /data/ps5_storage_restore/ and run it with your ELF loader once the payload environment and the M.2 drive are ready, then open the game library. The log is /data/ps5_storage_restore/restore.log. A good run shows START, NATIVE lines with /mnt/extN paths, DB_INTEGRITY ok twice, and END.
Before writing, it copies appinfo.db byte for byte, and writes nothing if the copy fails. It only updates rows that are already there, and a stale param.json is replaced only when its title and content IDs match, after a backup. If the log shows NATIVE_ABORT or NATIVE_FAILED, the database wasn't changed. Backups are kept in /data/ps5_storage_restore/backups/.
The author warns against the console's Rebuild Database after a database loss: it deletes the data of fPKGs on internal storage, not only their registration. The developer lists a PS5 Pro on firmware 10.01, and says a reboot after a 1.9 run is still to be confirmed.
Release notes
v1.9 · PS5 Storage Restore 1.9 (EN/VI) - fixes 1.8 blocking titles · Nov 14, 2026
Tiếng Việt
PS5 Storage Restore / Recovery fix 1.9 — dựng lại đăng ký game PS5 đã cài trên SSD M.2 và bộ nhớ trong sau khi mất database.
Bản quyền NGÔ PHI PHƯƠNG x PSVIETHOA.COM — GPL-3.0-only.
Tải về: PS5_STORAGE_RESTORE.elf (1.343.536 byte)
SHA256 83daa52e684054d810a0cb7fe3af37ed4220629a5cfd80e430a7acd502ee00f6
Sửa gì so với 1.8 — bắt buộc cập nhật
Bản 1.8 có lỗi làm hàng loạt game không dựng lại được. Chốt bảo vệ đòi vừa có dấu sở hữu trong /data/ps5_storage_restore/owned/ vừa có thư mục /user/app/<id> rỗng. Khi thư mục owned/ bị xoá — đúng cảnh sau khi mất database — vế thứ nhất không bao giờ thoả, nên mọi title còn sót thư mục rỗng đều bị khoá vĩnh viễn.
Đo trên máy thật: 28 trong 30 title bị chặn là thư mục rỗng, và owned/ có 0 marker.
1.9 sửa thành: thư mục rỗng thì dùng được, khỏi cần marker. Chỉ thư mục còn file mới phải chứng minh là của mình.
Kết quả trên cùng một máy:
1.8: END registered=12 found=42 skipped=30 1.9: END registered=40 found=42 skipped=2
PRAGMATA PPSA02530 là một trong số đó — app.pkg 35.776.561.152 byte vẫn nằm nguyên trên M.2 suốt thời gian bị chặn, không mất gì cả.
Hai title còn bị bỏ qua có icon0.png + sce_sys thật ở /user/app/<id>. Từ chối là đúng — mount đè lên sẽ che dữ liệu. Xử theo docs/RECOVERY.md.
Chạy một lần là xong
Ghi hai trường mà bản cài gốc dùng:
_org_path -> /mnt/extN/user/app/<id> _m2_device_id -> 1
Đường dẫn thiết bị thì hệ thống tự mount lúc boot, không cần thêm vào autoload. Chỉ chạy lại khi mất database hoặc thêm game mới.
⚠ Đừng chạy Rebuild Database
Rebuild Database xoá luôn dữ liệu của fPKG nằm ở /user/app (bộ nhớ trong), không chỉ xoá đăng ký. Mất app.pkg thì không payload nào cứu được, phải cài lại.
Game trên M.2 (/mnt/extN/user/app) ngoài tầm nó — chỉ mất đăng ký, và đó đúng là thứ payload này dựng lại.
An toàn
- Sao lưu nguyên byte
appinfo.dbtrước khi ghi; không sao lưu được thì không ghi gì. PRAGMA integrity_checktrước và sau.- Chỉ
UPDATEhàng có sẵn. KhôngINSERT, khôngDELETE, không đụng cột khác, không đụngapp.db. - Đọc lại
_org_pathsau khi ghi; lệch thì giữ nguyên hiện trạng title đó. - Thay
param.jsoncũ chỉ khititleId+contentIdkhớp, có backup nguyên byte trước.
Kiểm chứng
PS5 Pro FW 10.01, 14/11/2026:
END registered=40 found=42 skipped=2 created=19 NATIVE_SUMMARY applied=38 kept=0 DB_INTEGRITY ok (truoc va sau)
Phần đường dẫn thiết bị đã xác nhận ở lần chạy 18/10/2026: tắt hẳn máy bật lại, alias 0/22, 20/20 game giữ đường dẫn thiết bị và mở được, không chạy payload lúc boot.
Chưa kiểm chứng: reboot sau lần chạy 1.9.
Chưa hỗ trợ: fPKG PS4 (CUSAxxxxx) — bộ lọc chỉ nhận PPSA, và game PS4 không có sce_sys.
Cách dùng
Đóng game, chờ tác vụ cài/cập nhật xong, chép ELF vào /data/ps5_storage_restore/ rồi chạy một lần. Log ở /data/ps5_storage_restore/restore.log, cần thấy START version=1.9-EN-VI-native, các dòng NATIVE <title> _org_path=/mnt/extN/..., DB_INTEGRITY ok hai lần, và END.
Thấy NATIVE_ABORT hoặc NATIVE_FAILED thì database không bị sửa — chép bản backup trong backups/ về là xong.
Host suite: 23 parser + 23 metadata test.
English
PS5 Storage Restore / Recovery fix 1.9 — rebuilds the registration of PS5 games installed on an M.2 SSD or internal storage after the application database is lost.
Copyright NGÔ PHI PHƯƠNG x PSVIETHOA.COM — GPL-3.0-only.
Download: PS5_STORAGE_RESTORE.elf (1,343,536 bytes)
SHA256 83daa52e684054d810a0cb7fe3af37ed4220629a5cfd80e430a7acd502ee00f6
What changed since 1.8 — please update
1.8 had a bug that left many titles unrecoverable. Its destination guard required both an ownership marker in /data/ps5_storage_restore/owned/ and an empty /user/app/<id> directory. Once that marker directory had been cleared — exactly what a lost database leaves behind — the first test could never pass, so every leftover empty directory permanently blocked its title.
Measured on real hardware: 28 of the 30 blocked titles were empty directories, and owned/ held 0 markers.
1.9 accepts an empty directory regardless of the marker. Only a directory that still holds files has to prove it is ours.
On the same console:
1.8: END registered=12 found=42 skipped=30 1.9: END registered=40 found=42 skipped=2
PRAGMATA PPSA02530 was one of them — its 35,776,561,152 byte app.pkg had been intact on the M.2 the whole time.
The two titles still skipped hold a real icon0.png and sce_sys in /user/app/<id>. Refusing them is correct — mounting over them would hide that data. Handle those per docs/RECOVERY.en.md.
One run is enough
It writes the two fields a real install uses:
_org_path -> /mnt/extN/user/app/<id> _m2_device_id -> 1
The system mounts the device path itself at boot, so no autoload entry is needed. Run it again only after a database loss or when adding a game.
⚠ Do not run Rebuild Database
Rebuild Database deletes the data of an fPKG sitting in /user/app (internal storage), not just its registration. Once app.pkg is gone no payload can bring it back.
A title on the M.2 (/mnt/extN/user/app) is outside its reach — only the registration is lost, which is what this rebuilds.
Safety
appinfo.dbis copied byte for byte before any write; if the copy fails, nothing is written.PRAGMA integrity_checkruns before and after.- Only existing rows are updated. No inserts, no deletes, no other column touched,
app.dbuntouched. _org_pathis read back after writing; a mismatch leaves that title as it was.- A stale
param.jsonis replaced only whentitleIdandcontentIdmatch, after a byte-exact backup.
Verification
PS5 Pro, firmware 10.01, 2026-11-14:
END registered=40 found=42 skipped=2 created=19 NATIVE_SUMMARY applied=38 kept=0 DB_INTEGRITY ok (before and after)
The device-path behaviour was confirmed by the run on 2026-10-18: after a full power cycle, 0/22 aliases mounted and 20/20 titles kept the device path and launched, with no payload run at boot.
Not verified: a reboot after the 1.9 run.
Not supported: PS4 fPKG (CUSAxxxxx) — the filter only accepts PPSA, and PS4 titles have no sce_sys.
How to use
Close every game, wait for installs and updates to finish, copy the ELF to /data/ps5_storage_restore/ and run it once. Log at /data/ps5_storage_restore/restore.log; it must contain START version=1.9-EN-VI-native, the NATIVE <title> _org_path=/mnt/extN/... lines, DB_INTEGRITY ok twice, and END.
If NATIVE_ABORT or NATIVE_FAILED appears the database was not modified — restoring the copy from backups/ is enough.
Host suite: 23 parser + 23 metadata cases.
Assets
| File | SHA256 |
| --- | --- |
| PS5_STORAGE_RESTORE.elf | 83daa52e684054d810a0cb7fe3af37ed4220629a5cfd80e430a7acd502ee00f6 |
| BUILD.json | e0a242a5d1bd003fd1304c5b0bf6e1e0fc7b31fcb2b0eecad066687bfb923cb3 |
| SHA256SUMS.txt | checksums for the two files above |
