```
ps4sh> mkdir -p ps4/system/sys
ps4sh> execdecrypt /system/sys
```
Check output at [link](https://gist.github.com/psxdev/cbbace3d73c6bd93250111842b61d1f4)
5) exitps4
char magic[] = {
0x00, 0x00, 0x03, 0xE9
};
int main(int argc, char **argv) {
psvDebugScreenInit();
psvDebugScreenPrintf("Rebuilding database(maybe)...\n");
FILE *fp = fopen("ur0:shell/db/dbr.db-err","wb");
fwrite(magic , sizeof(char), sizeof(magic), fp);
fclose(fp);
scePowerRequestColdReset();
sceKernelExitProcess(0);
return 0;
}