Hacking PS4 system error has occurred on 5.05 Jailbroken... Game saves gone

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India
Due to power issues my Ps4 was shut down twice while starting. When it successfully started, there was this message displayed on the screen that serious error has occurred in the system, PS4 will restart.

It started in safe mode and as I read in the forum, selecting "Restore default settings" will fix it without deleting any games or saved games data.

Now, Ps4 is working but my previous user is not there. It asked me to create a new user and that new user doesn't have any games listed. I can see that hard disk is full so no data is deleted. Its just I am not able to access it..!!

I have already tried save mounter but it is only showing saves from my newly created user and not from the user which originally has all the saves. if there is any utility/homebrew which can extract game saves irrespective of current user account, that could be of help?
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
try to get the games back with the database fixer. I don't know if your saves will still be there as save mounter requires a user when it makes a connection. if you have the saves exported, you could make a new user, use account activator with the same account id as on the flash drive, then import the saves. might lose some progress, but it will be better than nothing. I know that will work.
 

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India
try to get the games back with the database fixer. I don't know if your saves will still be there as save mounter requires a user when it makes a connection. if you have the saves exported, you could make a new user, use account activator with the same account id as on the flash drive, then import the saves. might lose some progress, but it will be better than nothing. I know that will work.
Thanks for the suggestion. Are you talking about database repairer which uses python script? After using that I was able to see that games but not my game saves. This is the main issue, user account which had my saves is gone after restoring default settings..
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
no, not the python script. it causes the games to become undeleteable unless you change canremove in the app.db from a 0 to a 1 for each game. if they're on an external hdd, you can mount the drive while using hen, then the games will be repopulated correctly. afaik, this is how uploaders were getting games from psn, because it didn't care about the firmware. sony included a way to block that with 7.xx, but it was patched with hen. they did it again with 8.5x iirc, which is why no new games are being uploaded on certain sites. did you ever export your game saves? if you did, you can get them back.
 

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India
No, i never exported my game saves. Never thought something like this can happen. Even sony website mentions that Restore Default setting doesn't delete anything but in my case my user account is deleted. Can't a data recovery software be used in this case? I was able to mount ps4 hdd on linux
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
I'm not sure. I doubt it. you never used saved mounter either? with decrypted saves,. you can inject them minus the sce_sys folder (contains account id in param.sfo in little endian, and you shouldn't copy it).
 
  • Like
Reactions: Karan1317

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
one last option I can think of is maybe try the pfs tool that @KiiWii uploaded by flatz. you'll need to find the keys yourself, but if your saves are on the system (in user partition), they'll be in pfs encrypted. if they're not there, then I think they're lost for good with no backup.
 

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India
one last option I can think of is maybe try the pfs tool that @KiiWii uploaded by flatz. you'll need to find the keys yourself, but if your saves are on the system (in user partition), they'll be in pfs encrypted. if they're not there, then I think they're lost for good with no backup.
Can you please provide url for this pfs tool?
 

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
it's a database and save game backup tool. I don't know if it does all profiles/users or just the one signed in though. the saves will also be pfs iirc.

1635017028964.png


here's the same save decrypted:

1635017057644.png


the sce_sys folder's param.sfo is what determines the account for the save. it's in little endian, so it will be byte reversed from what you see when you export the save.
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
I have read many threads for similar problem but in almost every case hdd crashed or ps4 initialized. but in my case, database was rebuilt in safe mode. Its surprising that i am not able to get my saves back. Any idea around this on github ? My sole purpose is to get my saves back.
it may be the savedata.db that's caused this problem. I don't know which database determines users, but that database will determine if saves are present. that's why you need a save on the system when you inject a decrypted save. it's indexed in there, so the save will have the wrong info when you inject it. the save will still work, and to update the database just save again immediately.
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
I just looked at the savedata.db:

1635017735683.png

it does contain both account and user ids. the user id isn't the same as the id that's viewable when you ftp though. I think each profile contains its own savedata.db as they were in that location when I checked it.
 

Hayato213

( -_・) ︻デ═一' * (/❛o❛)/
Member
Joined
Dec 26, 2015
Messages
10,736
Trophies
1
Location
Vector Industry
XP
5,687
Country
United States
I have read many threads for similar problem but in almost every case hdd crashed or ps4 initialized. but in my case, database was rebuilt in safe mode. Its surprising that i am not able to get my saves back. Any idea around this on github ? My sole purpose is to get my saves back.

FPKG doesn't use the default database that is the reason you are going through rebuild when you get a kp.
 

godreborn

Well-Known Member
Member
Joined
Oct 10, 2009
Messages
22,134
Trophies
1
XP
13,802
Country
United States
I once had the savedata.db rebuild itself while on the home screen. I'm not sure why it happened, but it wasn't the normal rebuild the database action. I think it was after injecting a save. it didn't hurt the save. it took me a few tries to get all saves installed though, since it's somewhat confusing with save mounter. the instructions mention the sce_sys folder, which you shouldn't touch actually. it contains the aid in the param.sfo, but you don't need to do anything with it, just copy and paste the .sav and .dat files only. .bin means it's protected by pfs. I think it will be that when you export, and it's certainly that way on the system in the user partition anyway. however, the file on the internal hdd and the exported file is different. I once sent an internal hdd save to someone with save wizard. he said it didn't work. you need to export the save with save wizard apparently.
 

Karan1317

Member
OP
Newcomer
Joined
Jun 19, 2020
Messages
14
Trophies
0
Age
36
XP
44
Country
India
I just looked at the savedata.db:

View attachment 281331
it does contain both account and user ids. the user id isn't the same as the id that's viewable when you ftp though. I think each profile contains its own savedata.db as they were in that location when I checked it.
I successfully saved app.db using stooged backup... Which program you have used to look into app.db? I am using SQL lite
 
General chit-chat
Help Users
    Veho @ Veho: Not really related branches, are they?