In my little app, I am currently finishing, I want to WRITE a file to flash2:/
(NO, not via USB, only from inside the app)
(NO, I am NOT trying to hack anything, only RESTORING the PSN activation data)
The usual unassing and reassign chain doesn't seem to work:
Code: Select all
sceIoUnassign( "flash2:" );
sceIoAssign("flash2:", "lflash0:0,2", "flashfat2:", IOASSIGN_RDWR, NULL, 0);
fd = sceIoOpen(file, PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
Reading, when the file is present, works flawlessly.
Write access to flash0:/ is also working perfectly, so I'm not too dump for such stuff ;)
Performing everything from kernel mode (incl. SetK1) doesn't change a thing....
Searching dug up two threads with a similar question, answered with nothing but (semi)flames or "why do you want to do it anyway?" - so we can skip that part, it's already done ;)
Anyone any clue how to actually get WRITE access to flash2?
Thanx in advance :)