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. :)
Flash2 Write Access
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.
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.