Excute EBOOT in kernel mode - > sceNetInit error ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Excute EBOOT in kernel mode - > sceNetInit error ?

Post by Question_dev »

Hi,

I made a function to excute an eboot :

Code: Select all

void loadeboot(const char *pbpath)
{

const u32 pbplen = strlen(pbpath)+1; 
struct SceKernelLoadExecParam eloader;

eloader.args = pbplen;
eloader.argp = pbpath;
eloader.key = NULL;
eloader.size = sizeof(eloader) + pbplen;

sceKernelLoadExec(pbpath,&eloader);
	
}

and call the function :

Code: Select all

loadeboot("ms0:/PSP/GAME380/WEB/EBOOT.pbp");



The eboot loads the psp orginal webbrowser (like in IRSHELL)
It compiles fine, but when i load the eboot in my app it just shows a black screen for some seconds and psp power off 


I'm running in kernel mode, and it's kxploited
When i'm trying to work in user mode, my app(Not the webbrowser) doesn't load in the xmb.
Smong
Posts: 82
Joined: Tue Sep 04, 2007 4:44 am

Re: Excute EBOOT in kernel mode - > sceNetInit error ?

Post by Smong »

Question_dev wrote:

Code: Select all

eloader.size = sizeof(eloader) + pbplen;
This line looks wrong, search for the documentation on SceKernelLoadExecParam.
(+[__]%)
phobox
Posts: 127
Joined: Mon Mar 24, 2008 6:22 pm

Post by phobox »

Ciao! from Italy
Post Reply