[Release] PS4 Database Rebuilder By @Zer0xFF

m0nadpr0xy

Yes, I'm a girl...
Original poster
Retired staff
회원 | Member
Jul 10, 2018
648
5,042
PS4 Database Rebuilder by @Zer0xFF

One of the greatest developers in the PlayStation 4 Hacking & Homebrew scene has released a very handy tool called PS4 Database Rebuilder.

The tool will rebuild your database and at the same time readd any fpkg you had before the rebuild to the database and this makes it very superior to Sony's database rebuild program.

GitHub:
https://github.com/Zer0xFF/PS4_db_rebuilder

How to use:
1. Download a copy of the latest release from GitHub.
2. Extract it on a machine with Python 3 installed (can be Linux or Windows).
3. Start the FTP payload on your PS4 and write down the IP address of your PS4.
4. Run the PS4 Database Rebuild in a command line like this:
Code:
python3 fix_db.py PS4_IP
(Replace PS4_IP with the IP address of your PlayStation 4)
5. Wait for the script to finish its work and then log off the current user without closing the browser!
6. Log back in and all your games, apps and etc should be back.


I hope this will fix a lot of issues with broken databases and loss of installed FPKGs and corresponding saves.

 
So this does basicly backup/restore the "userdata" and "DB_Dackup" Files? So we don't need to do it manually anymore through copy/past, ftp etc.?

Will we need to do a backup before or will the tool do everything on it's own?
 
  • Like
Reactions: dhiem4z
This tool is a much better version of the PS4 database rebuild that you have in the safe mode menu of the PlayStation 4. It should repair the database of installed games, applications and etc and do this better than the funciton by Sony. This helps when you have games installed but they suddently disappeared after a crash and broken database issues.

I don't know about backups. Zer0xFF mentioned nothing regarding this on Github and I've not found any information about this subject so far. Although what kind of sense does it make to backup a broken database anyway?
 
Great stuff. If only it was available a month ago. Why isn't this in the 'News' sub-forum, by the way?
So this does basicly backup/restore the "userdata" and "DB_Dackup" Files? So we don't need to do it manually anymore through copy/past, ftp etc.?

Will we need to do a backup before or will the tool do everything on it's own?
You can already backup addcont.db and app.db with payloads. This is something else.
 
This tool is a much better version of the PS4 database rebuild that you have in the safe mode menu of the PlayStation 4. It should repair the database of installed games, applications and etc and do this better than the funciton by Sony. This helps when you have games installed but they suddently disappeared after a crash and broken database issues.

I don't know about backups. Zer0xFF mentioned nothing regarding this on Github and I've not found any information about this subject so far. Although what kind of sense does it make to backup a broken database anyway?
does this work when hdd gets corrupted and you need to initialize ps4 to get it to work as it happened to me twice and i lost everything not to mention the stupid update i made with usb getting me to 5.55
 
@Reo99

No, this will not work! When you initialize your PS4 it removes everything from the HDD and reformats it again with PS4 partition and basically reinstalls a fresh copy of the firmware.

So there will be no game or anything installed on the PS4 after initialization. The database will be a brand new one.

This tool is not for such cases.
 
@Reo99

No, this will not work! When you initialize your PS4 it removes everything from the HDD and reformats it again with PS4 partition and basically reinstalls a fresh copy of the firmware.

So there will be no game or anything installed on the PS4 after initialization. The database will be a brand new one.

This tool is not for such cases.
Any idea how to prevent that type of crash from happening it fed me up damn
 
"5. Wait for the script to finish its work and then log off the current user without closing the browser!"

Maybe i am wrong but won't the browser get closed automaticly after logging out of a useraccount?
 
@Reo99

I have not experienced such crashing so far. Only the kernel panics when running Hen but without dataloss or broken databases.


@TheSence

I don't really know about that. It is what the official how to use says that can be found in the ReadMe.md file in the GitHub repository. My guess is that it would probably actually close the browser, too.

Maybe however it puts it into suspended mode like it can do normally with games and etc? I have no clue.
 
Has anyone tried this i cant get it to work and am not real good with command prompt?
 
Not working.... when inserting line get :
'python3' is not recognized as an internal or external command,
operable program or batch file.
 
@mancycro

First of all you need to install Python 3 on your computer. Then you have to go to the folder with the Python3 file (Windows? - should be python3.exe) and run the command like this:
Code:
python3.exe drive:path/to/fix_db.py PS4_IP

So if you have fix_db.py on C:\ the command would actually be:
Code:
python3.exe C:\fix_db.py PS4_IP

Alternatively also this will work:
Code:
drive:\path\to\python3.exe drive:\path\to\fix_db.py PS4_IP

Like:
Code:
C:\Program Files(x86)\Python3\python3.exe C:\fix_db.py PS4_IP

All path depend on a) where you installed Python 3 to and b) where you put the fix_db.py file.

Without Python 3 this will not work!
 
I used the built-in data rebuilder in the safe mode, my installed games are still on the HDD but they don't appear now. WIll this tool help me make the games appear again?
 
  • Like
Reactions: Odema123
PS4 Database Rebuilder by @Zer0xFF

One of the greatest developers in the PlayStation 4 Hacking & Homebrew scene has released a very handy tool called PS4 Database Rebuilder.

The tool will rebuild your database and at the same time readd any fpkg you had before the rebuild to the database and this makes it very superior to Sony's database rebuild program.

GitHub:
https://github.com/Zer0xFF/PS4_db_rebuilder

How to use:
1. Download a copy of the latest release from GitHub.
2. Extract it on a machine with Python 3 installed (can be Linux or Windows).
3. Start the FTP payload on your PS4 and write down the IP address of your PS4.
4. Run the PS4 Database Rebuild in a command line like this:
Code:
python3 fix_db.py PS4_IP
(Replace PS4_IP with the IP address of your PlayStation 4)
5. Wait for the script to finish its work and then log off the current user without closing the browser!
6. Log back in and all your games, apps and etc should be back.


I hope this will fix a lot of issues with broken databases and loss of installed FPKGs and corresponding saves.
Should the python 3 be installed on ps4?