Flash2 Write Access

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

Moderators: cheriff, TyRaNiD

Post Reply
arnie
Posts: 11
Joined: Sat Apr 11, 2009 6:32 pm

Flash2 Write Access

Post by arnie »

I have been trying to write to flash2: but I have not succeeded.

I am sure the write file function works because it writes to the memory stick properly.

Module is in USER mode loading a KERNEL mode module for the flashing and reassigning of flash2.

The IO functions for write file are also wrapped in Setk1 and user level 8.

I can read from flash2 but not write.

Please forgive me for this kind of post, I am in quite a hurry.

Please help. :(

-Arnie

P.S. I am in no way trying to hack PSN, it's for another thing. :)
User avatar
Coldbird
Posts: 97
Joined: Thu Feb 08, 2007 7:22 am

Post by Coldbird »

I don't even know if that's possible but it sounds kinda weird to me loading a Kernel Module from inside a User Module.

Are you using the kubridge to do so?
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Any kernel/user module can load any other kernel/user module. Except for some special cases with some Sony modules which can be loaded only from kernel mode, or from user mode using a syscall to a wrapper such as kuKernelLoadModule. Generally any homebrew module you write can be loaded from anywhere.

Try making your kernel function export syscalls such as kuSceIoOpen which call setk1 and setuserlevel 8 and sceIoOpen

Then call the syscalls kuSceIoOpen from your user module instead of calling sceIoOpen.
arnie
Posts: 11
Joined: Sat Apr 11, 2009 6:32 pm

Post by arnie »

Don't worry, I just used iop.prx.

Thanks Torch.

-arnie
Post Reply