Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Sep 12, 2018 at 1:44 AM       277      
Status
Not open for further replies.
Since his PS4Updates.py python script, PlayStation 4 developer Zer0xFF returns with PS4_db_rebuilder which will restore your FPKGs (Fake Packages) after rebuilding the PS4 database. (y)

Download: PS4_db_rebuilder (Latest Release) / GIT / release_0.1.EXTERNAL.zip (v0.1 rebuilder for external only) via thxalot60 / Restore_DB_PS4_2020.rar (30 KB - For 6.72) / PS4_db_rebuilder_6.72-0.2.zip (Python Script with added support for 6.72 FW) / GIT Fork by lKinderBueno / PS4_db_rebuilder_6.72_7.02_7.55.zip (23.6 KB - compatible with PS4 6.72, 7.02 and 7.55) / GIT Fork by hippie68 / Tutorial by VitoPS4 / PS4_db_Rebuilder_EXT-0.1.zip via @aizenar78
Here's further details from the README.md file, to quote: PS4_db_rebuilder

PS4 built in database rebuilder has the tendency to remove FPKG from the database, this will repopulate the database with them

Requirement
How-to-use
  1. recursively clone this repo or download a Release
  2. start FTP server on the PS4
  3. run the python script though terminal/cmdline python3 fix_db.py PS4_IP (command for external via sp0k: py fix_db.py PS4_IP)
  4. wait for the script to finish, then logout of the PS4 user without closing the browser
  5. log back in and all your games should be there again
:arrow: Update: From the README.md forked by lKinderBueno: PS4_db_rebuilder - Updated to 6.72

PS4 built in database rebuilder has the tendency to remove FPKG from the database, this will repopulate the database with them

requirement
  • Python (preferably 3.0+)
how-to-use
  1. recursively clone this repo or download a Release
  2. start FTP server on the PS4
  3. run the python script though terminal/cmdline python3 fix_db.py PS4_IP
  4. wait for the script to finish, then logout of the PS4 user without closing the browser
  5. log back in and all your games should be there again
Changelog
  • Fixed error "table tbl_appbrowse_XXXXXXX has 53 columns but 47 values were supplied"
  • Support to FW 6.72
PS4_DB_Rebuilder to Restore FPKGs After PS4 Database Rebuilding.jpg
 

Comments

Hello i'm in 6.72 with a external drive (format with ps4 in extended drive). I have a crash and rebuild my ps4 but all my game is "moved" in internal drive in my ps4 (but physically it's in external)

Impossible to launch the game. Have you a solution ? with ftp or script ? i have 4Tb of game in ma external drive ....

Thanks.
 
I told people that I could not rebuild my database for 6.72, but I search for the external version of it. The problem was the fix db needed to be change, did that in it work. So since my games was app2usb, when you rebuild database with the internal.

Make sure your hard drive is in cause it's going to scan all games. But if you get a error that's cause the error games is for the external for some games remember you still have the games on your hard drive from usb.

Now all you have to do is move your usb games from that ps4 folder on the hard drive into new folder so you can reinstall games you might lose dlcs or updates from some games.
 
Hey Guys,

Today i turned my PS4 on and not one FPKG is there.
I think my Database is broken or something..
I watched at the Storage Manager and over FTP all my FPKGs are there but not on my PS4 Homescreen.
I know there is a DB Rebuilder but only for 6.72 :(
I need help i doesnt have any FPKG Backup and no DB Backup

I hope anyone can help me out.
 
Here is the error.
Code:
C:\Users\Ati\AppData\Local\Programs\Python\Python38>python fix_db.py 192.168.178.52
["'CUSA01780'", "'CUSA02009'", "'CUSA00127'", "'CUSA12724'", "'CUSA10777'", "'CUSA01116'", "'CUSA00126'", "'CUSA05904'", "'CUSA08519'", "'CUSA03617'", "'CUSA02012'", "'CUSA05986'", "'CUSA08004'", "'CUSA04282'", "'CUSA00737'", "'CUSA10960'", "'CUSA00433'", "'CUSA00031'", "'CUSA15090'", "'CUSA07410'", "'CUSA14528'", "'CUSA11993'", "'CUSA11379'", "'CUSA14123'", "'CUSA05716'", "'CUSA09869'", "'CUSA02344'", "'CUSA12718'", "'CUSA12979'", "'CUSA08366'", "'CUSA10646'", "'CUSA02645'", "'CUSA06253'"]
Processing table: tbl_appbrowse_0510647389
        Processing GameID: CUSA00031... Completed 8298102784
        Processing GameID: CUSA00737... Traceback (most recent call last):
  File "fix_db.py", line 81, in <module>
    cusa = get_game_info_by_id(GameID)
  File "fix_db.py", line 44, in get_game_info_by_id
    info[GameID].size = ftp.size("/user/app/%s/app.pkg" % GameID)
  File "C:\Users\Ati\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 619, in size
    resp = self.sendcmd('SIZE ' + filename)
  File "C:\Users\Ati\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 275, in sendcmd
    return self.getresp()
  File "C:\Users\Ati\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 248, in getresp
    raise error_perm(resp)
ftplib.error_perm: 550 The file doesn't exist.
I got it! there was an error by CUSA00737 so i deleted it via Filezilla.

user/app/CUSA00737

system_data/priv/appmeta/CUSA00737

and now it worked i got my FPKGs but that one game is deleted!
 
Status
Not open for further replies.
Back
Top