1. You use an Adblocker to hide advertisements. This type of program makes it difficult to keep this website up and running, since displaying advertisements is the only way to pay for hosting. Would you like to make an exception for this site? We promise that you will not be bothered by the advertisements.
    Dismiss Notice
  2. Before you agree with rules DKS Forum, If you haven't read yet, please click this "Forum Rules 2.2 has been updated."
  3. Get upgrade the account (anti-ads - Silver or Gold) ----> "Click".
    Dismiss Notice
  4. Check out: DKS-Discord
    Dismiss Notice
  5. Forum - DKS is an English speaking community. If you reply to a thread using non-English languages(French/Spanish/etc), staff will review your post and may delete it.
    Dismiss Notice

[Release] PS4 Database Rebuilder By @Zer0xFF

Discussion in 'PS4 - Hacking & Homebrew' started by m0nadpr0xy, Sep 12, 2018.

  1. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    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.

     
    Emre, ossay78, Zibi288 and 5 others like this.
  2. TheSence

    DKS Member

    Joined:
    Jul 13, 2018
    Messages:
    19
    Likes Received:
    9
    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?
     
  3. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    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?
     
  4. zvqyt

    DKS Member

    Joined:
    Jul 10, 2018
    Messages:
    45
    Likes Received:
    59
    Great stuff. If only it was available a month ago. Why isn't this in the 'News' sub-forum, by the way?
    You can already backup addcont.db and app.db with payloads. This is something else.
     
  5. Reo99

    Reo99 Suspended
    DKS Member

    Joined:
    Jul 19, 2018
    Messages:
    11
    Likes Received:
    0
    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
     
  6. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    @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.
     
  7. Reo99

    Reo99 Suspended
    DKS Member

    Joined:
    Jul 19, 2018
    Messages:
    11
    Likes Received:
    0
    Any idea how to prevent that type of crash from happening it fed me up damn
     
  8. TheSence

    DKS Member

    Joined:
    Jul 13, 2018
    Messages:
    19
    Likes Received:
    9
    "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?
     
  9. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    @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.
     
  10. elijah

    DKS Member

    Joined:
    Jul 25, 2018
    Messages:
    4
    Likes Received:
    1
    Has anyone tried this i cant get it to work and am not real good with command prompt?
     
  11. mancycro

    DKS Member

    Joined:
    Jun 19, 2018
    Messages:
    9
    Likes Received:
    0
    Not working.... when inserting line get :
    'python3' is not recognized as an internal or external command,
    operable program or batch file.
     
  12. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    @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!
     
  13. Vincentted

    DKS Member

    Joined:
    Jun 21, 2018
    Messages:
    44
    Likes Received:
    12
    this is great! tnx
     
  14. Meto

    DKS Member

    Joined:
    Sep 8, 2018
    Messages:
    1
    Likes Received:
    0
    any respond of saved games who had lost?
    It work or not...?
     
  15. Vincentted

    DKS Member

    Joined:
    Jun 21, 2018
    Messages:
    44
    Likes Received:
    12
    no, it just restores games that diapeared after a ps4 database rebuild
     
  16. Ashraf Aql

    DKS Member

    Joined:
    Oct 5, 2018
    Messages:
    3
    Likes Received:
    1
    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?
     
  17. Vincentted

    DKS Member

    Joined:
    Jun 21, 2018
    Messages:
    44
    Likes Received:
    12
    YES ;)
     
    Ashraf Aql likes this.
  18. Ashraf Aql

    DKS Member

    Joined:
    Oct 5, 2018
    Messages:
    3
    Likes Received:
    1
    Thanks a lot, it works
     
    Vincentted likes this.
  19. Rahul Sharma

    DKS Member

    Joined:
    Nov 18, 2018
    Messages:
    1
    Likes Received:
    0
    Should the python 3 be installed on ps4?
     
  20. m0nadpr0xy

    m0nadpr0xy Former staff
    Former staff

    Joined:
    Jul 10, 2018
    Messages:
    568
    Likes Received:
    3,351
    No, you need Python 3 on your computer. You run the script from your computer.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice