sceKernelExitVSHVSH(NULL); - Does nothing. I've got black screen, but I think psp is not hanged, because it doesn't power off.
Any solution? (note: I know about sceKernelExitGame(); but I want to use this to restart vsh)
But even in 1.50 POC sceKernelExitVSHVSH has NULL instead of SceKernelLoadExecVSHParam structure.
Edit: And even in 1.50 POC recovery it's not working :) (when testing on high firmware)
But what arguments? In sources I have, this structure is used to boot an EBOOT.
Davee wrote:I don't believe any args are required to be passed. I use sceKernelExitVSHVSH to reboot the 5.03 HEN and I just pass NULL.
I mean the information passed back to VSH when you exit after launching an EBOOT. When you replace vshmain and launch the real one later if you don't pass the vshargs then it forgets the positions in the XMB such as last played song, video etc, and the seconds played in the song ( it resumes in the middle of the last song even after exiting a game). Ex. The arguments to exit to VSH and skip the Sony logo are given in the 1.50 POC.
My recovery can now acces flash0! :)
Exitting still not working - I must experiment more with this.
Edit:
GENs are packing recovery (it's a vsh module!), m33 are packing recovery, but PSP-Packer can't... :( Not so funny...
Edit2:
I've figured it out by myself. I can pack them, too.
Edit3:
after some tests, sctrlKernelExitVSH worked for me.