Skip to content

AyAPS/PS4RestoreFPKGdeletion

Repository files navigation

PS4RestoreFPKGdeletion

PS4RestoreFPKGdeletion ALL releases
PS SQLite
🇬🇧 / 🇫🇷

This "portable" tool restore XMB's option "Delete" on PS4 FPKGs when missing.
It download "app.db" file on computer then overwrite the one in the PS4 if corrections were made.

⚠️ The PS4 must be rebooted to reload the DB with corrections ⚠️

Tested on multiple systems:

  • FW: 5.05 - 6.72 - 7.55 - 9.0
  • FTP: FTPS4 - GoldHen
  • STORAGE: Internal storage - App2USB - (no tester found for S0ny's offcial extended storage but it should work)

FUNCTIONING:

  • 🎮 PS4: Launch your exploit, then the FTPS4 payload (useless for GoldHen but check the FTP Server is enabled)
  • 💻 PC: Launch PS4RestoreFPKGdeletion, inquire your PS4's IP address then push ENTER

PROGRAM SEQUENCE:

  • download the "app.db" file from PS4 to computer, in the same folder as PS4RestoreFPKGdeletion.exe
  • do a backup of the DB before anything else, in a timestamped subfolder (one per execution)
  • scan the DB to identify tables and games to fix, and fix them if necessary
  • upload (overwrite) the "app.db" file in the ps4, only if corrections were made
  • create a log file of the corrections done, stocked with the backuped DB
🔧⁉️ POSSIBLE ERRORS:


1_DLL
You must not modify program arborescence, nor move PS4RestoreFPKGdeletion.exe

2_pattern_IP
What you entered isn't an IP address, type a real IP address

3_PING
The IP address entered mustn't be the PS4's IP address, check your network and PS4 connectivity

4_PORT_FTP
Check that your PS4's exploit is running (GoldHen) or your PS4FTP payload is loaded

5_DOWNLOAD
This shouldn't happen, create an issue

6_UPLOAD
This shouldn't happen, create an issue

📽️ DEMO (v1.0) : https://www.youtube.com/watch?v=_LJO15vhjRw

Screenshots before ❌ / after ✔️

1_BEFORE 1_AFTER

2_BEFORE 2_AFTER

🆕 CHANGELOG:


v1.1 :

- SQLite dependency integrated, no more need to install System.Data.SQLite as a prerequisite making the tool "portable". Those who installed it can uninstall it.
- Removal of the use of the Internet Explorer engine (deprecated) in favor of -UseBasicParsing (Invoke-WebRequest).
- Added check that entered IP is really an IP address (RegEx).
- 🇬🇧 translation added, if your Windows OS language isn't 🇫🇷, program's text will be in 🇬🇧
- Tested on FW 9.0
_____________________________________________________________________________________________________________________________

v1.0 :

https://github.com/AyAPS/PS4RestoreFPKGdeletion/blob/main/README_PS4RestoreFPKGdeletion_v1.0.md
_____________________________________________________________________________________________________________________________

Source code (Please refer to this Github if you use this code):
https://github.com/AyAPS/PS4RestoreFPKGdeletion/blob/main/PS4RestoreFPKGdeletion_v1.1.ps1

Thanks to testers 👍

About

This "portable" tool restore XMB's option "Delete" on PS4 FPKGs when missing.

Resources

Stars

Watchers

Forks