Hacking PS4.05 REBUILD DATABASE removes all PKGs from main menu. HOW TO REVERSE?

GordoFreeman

New Member
Newbie
Joined
May 25, 2019
Messages
1
Trophies
0
Age
30
XP
42
Country
Mexico
Hello.
I just had a similar problem, but in my case I caused it.

I'm selling my exploitable, or exploited, Ps4 slim, I need the money for payments. I made a backup with the backup option in al azif self hosted exploit.

When I was gonna delete my backups to leave the console clean, the buyer backed, so I just deleted the save data.

Trying to have it back I copied the contents through ps4 explorer and broke the data base, which got rebuilt after a restart and I lost the games and homebrew I had installed.

The system still recognizes space used, same I had before. So i re installed the fpkg of file explorer, the console told me it was already installed, through it I copied over my .db backups and boila!
Now I have the games again. Savedata is gone though.

So if you don't have that backup you will need to re installed the games again.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
savedata has its own database. it works even if it has incorrect information in it. the information will be updated when you load a game and save. it even works without icons. I'm not sure if it's rebuilt when you normally rebuild the database, but it can be rebuilt while on the home screen. the original backup method backed up all databases and saved games. fpkg games may not be displaying due to the license, which I think uses a debug license, which deems as invalid. the way to fix this is to backup your app.db and reinject it. the game is still on the hdd, but its location, location of main executable, icon, etc. is unknown to the system. it works the same way on the ps3. you can't drop a pkg'd game on to the hdd and expect it to show up. it has to be added to the database. the vita works this way too. however, the ps4 and vita's are easier to read and manipulate with sqlite browser 3. I'm not sure how to manipulate the metadata file on the ps3. you can look at in hex though.
 
Last edited by godreborn,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
replace app.db. if you didn't make a backup, there's probably no way to fix it but reinstalling. this isn't even possible on the vita or the ps3, making a new or custom database. it's probably reading the licenses as invalid.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
yeah, the games are still there. they're just no longer indexed. I don't really know how to read the app.db on the ps4. the vita is much easier. the appicon table lists the games, the location of the icon0.png, and the page/position. if the page/position doesn't exist, nothing will appear. the ps4 seems to do things differently. I'm not really sure how it determines page/position. that's basically the game's location on the livearea. on the ps4 home screen, who knows?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
    +1
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
    +1
  • Veho @ Veho:
    It's a tradeoff.
    +1
  • The Real Jdbye @ The Real Jdbye:
    no i mean, before a hit is after the previous hit
    +1
  • The Real Jdbye @ The Real Jdbye:
    if you keep them well enough fed, it's the same thing
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    By the power of Florida Man, I have the power!!! *Lifts up meth pipe* Meth Man!!! lol
  • BakerMan @ BakerMan:
    Guys, I just learned my little brother is in the hospital because he had a seizure last night.
  • cearp @ cearp:
    Sorry to hear that BakerMan
    +2
  • BakerMan @ BakerMan:
    Just found out he's doing alright, doing a lot of complaining too, rightfully so. Who wouldn't complain after having a seizure and being hospitalized?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Glad he is OK and complaining is cool :)
    +1
  • K3Nv2 @ K3Nv2:
    Yeah been there had that no fun
    +1
  • K3Nv2 @ K3Nv2:
    They'll give him sleep studies eegs and possibly one week hospital stay
    +1
  • BakerMan @ BakerMan:
    I hope it's not a week.
  • K3Nv2 @ K3Nv2:
    It's standard so doctors can get a idea about what's going on
  • BakerMan @ BakerMan:
    understood
  • BakerMan @ BakerMan:
    well, i'm glad he seems to be doing fine, and ig i'm going to start spewing goofy shit again
  • BakerMan @ BakerMan:
    Update: Turns out he's epileptic
  • K3Nv2 @ K3Nv2:
    Get a 2nd opinion run mris etc they told me that also
  • Psionic Roshambo @ Psionic Roshambo:
    Also a food allergy study would be a good idea
  • K3Nv2 @ K3Nv2:
    Turns out you can't sprinkle methamphetamine on McDonald's French fries
  • ZeroT21 @ ZeroT21:
    they wouldn't be called french fries at that point
  • ZeroT21 @ ZeroT21:
    Probably just meth fries
  • K3Nv2 @ K3Nv2:
    White fries hold up
    K3Nv2 @ K3Nv2: White fries hold up