forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Flash2 Write Access

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
arnie



Joined: 11 Apr 2009
Posts: 16

PostPosted: Sat Apr 11, 2009 6:40 pm    Post subject: Flash2 Write Access Reply with quote

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. :)
Back to top
View user's profile Send private message
Coldbird



Joined: 08 Feb 2007
Posts: 155

PostPosted: Mon Apr 13, 2009 10:14 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message MSN Messenger
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Tue Apr 14, 2009 4:18 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
arnie



Joined: 11 Apr 2009
Posts: 16

PostPosted: Tue Apr 14, 2009 11:53 pm    Post subject: Reply with quote

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

Thanks Torch.

-arnie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group