Join Us and become a Member for a Verified Badge on Discord to access private areas with the latest PS4 FPKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Sep 12, 2018 at 1:44 AM       84,471       215      
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.zip (20.8 KB - compatible with PS4 6.72 and 7.02 only) / GIT Fork by hippie68 / PS4_db_rebuilder_6.72_7.02_7.55.rar (0.07 MB) / 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

stripnwild

Senior Member
Contributor
Verified
welllllll had to rebuild database again on 7.55... ran the PS4_db_rebuilder_6.72_7.02_7.55 but lapys Xplorer and all PS2 games (about 70 all on external HD) won't show up. i tried using the PS4_db_Rebuilder_EXT-0.1.zip but that doesn't seem to work for me... still missing all the PS2 games and Lapy's Xplorer šŸ˜•

P.s. It's tricky with exploiting 7.55 systems because when you run the exploit you are to close the browser and turn off internet connection and then reopen browser BUT you need the FTP (which requires the internet connection)
 

stripnwild

Senior Member
Contributor
Verified
@Archi55 ya most of the time attempting to do that ...it tries to re-cache again... which eventually causes a KP :(

I managed to get it to work once out of probably 15 kp's. Which allowed me to at least run the ftp and py script once to get the ps4 games back... but all the ps2 games still a no go :(
 

Archi55

Staff Member
Moderator
Senior Member
Verified
@stripnwild You can just use persistent FTP from GoldHEN v1.1 for connecting python script with PS4. And if you close FTP, then just go to rest mode, and woke up. FTP will be activated once again.

If you have problems with PS2 pkg, just copy all pkg directly from APP path and reinstall them
Code:
Game PKG location:
user/app/CUSAXXXXX/app.pkg

Update PKG location:
user/patch/CUSAXXXXX/patch.pkg
 

resonantace

Member
Contributor
Verified
I'm getting this error using PS4_db_rebuilder_6.72_7.02_7.55:
Code:
Traceback (most recent call last):
  File "fix_db.py", line 93, in <module>
    cursor.execute("SELECT T.titleid FROM (%s) T WHERE T.titleid NOT IN (SELECT titleid FROM %s);" % (files_joined, tbl[0]))
sqlite3.OperationalError: near "AS": syntax error
Error was fixed using the windows 10 store installation of Python 3.9 instead of the official installation from Python.org
 

Gabbriel

Member
Contributor
hi @thxalot60 I wanted to let you know about the script giving an error on line 53 and 89.
Code:
Processing GameID: CUSA99912 ... Completed 4224909312
Traceback (last most recent call):
File "C: \ Users \ PC-5 \ Desktop \ release_0.1 EXTERNAL \ fix_db.py", line 89, in <module>
cursor.execute ("INSERT INTO% s VALUES% s;"% (tbl [0], ',' .join (sql_list)))
sqlite3.OperationalError: table tbl_appbrowse_0320295530 has 53 columns but 47 values were provided
 
Top