I'm trying to understand what is currently possible in 2.6 and how.
When searching for kernel mode access in 2.6, I found mainly :
- The proof of concept 2.6 ( Exploit_2.6.zip ) written by hitchhikr / Neural.
- The code posted by Ookm ( 25_26_VSH_KA.zip ) named "Kernel access under FW2.50/2.60 VSH"
- eloader 0.99 with "partial kernel support"
My questions / interrogations are :
* I've never been able to execute successfully the hitchhikr code. Either with eloader 0.98 and 0.99 (both tiff version), it just freeze the PSP. It is said it should be run using GTA eloader but what's the difference ? What
should be done to make it compatible with the tiff exploit ?
* The Ookm code : It runs fine with eloader 0.98 but not with 0.99. I would guess the "partial kernel support" of eloader 0.99 actually use the same exploit and so both can't be used at the same time. But then why isn't eloader 0.99 providing full kernel mode ? The Ookm code seems to launch any kernel thread or am I missing something ?
Secondly about the Ookm code, the comment says :
Game mode Kernel access by hitchhikr / Neural.
VSH mode Kernel access by moonlight
I guess what he means by that is that first VSH access is obtained using the tiff exploit, then from there using the hithickr exploit, kernel mode is accessed. But then why can't I run the hithickr exploit from the tiff eloader 0.98 ?
Finally, does the Ookm code do more than the hithickr exploit ?
My hw : A recent PSP but not ta-082 with firmware 2.60. I have eloader 0.98 and 0.99 installed, both using the tiff exploit.
PS: About the tiff exploit, eloader works fine with it, but both tiffsdk example (1.0 and 1.1 tetris) just don't load, they simple freeze the psp ... any idea ?
Kernel access with 2.6 (hitchhikr and Ookm codes)
Re: Kernel access with 2.6 (hitchhikr and Ookm codes)
because eloader(TIFF) run in VSH mode, so can't use "sceKernelLoadExec"tnt wrote: * I've never been able to execute successfully the hitchhikr code. Either with eloader 0.98 and 0.99 (both tiff version), it just freeze the PSP. It is said it should be run using GTA eloader but what's the difference ? What
should be done to make it compatible with the tiff exploit ?
in eloader(TIFF) need to use "vshKernelLoadExecVSH"
because eloader0.99 Unloaded "vshbridge", so can't use "vshKernelLoadExecVSH"tnt wrote: * The Ookm code : It runs fine with eloader 0.98 but not with 0.99. I would guess the "partial kernel support" of eloader 0.99 actually use the same exploit and so both can't be used at the same time. But then why isn't eloader 0.99 providing full kernel mode ? The Ookm code seems to launch any kernel thread or am I missing something ?
PSP hardware hack
http://0okm.blogspot.com/
http://0okm.blogspot.com/
Re: Kernel access with 2.6 (hitchhikr and Ookm codes)
Hi 0okm0000,
thanks for the answer.
Since it doesn't support yet full kernel support, using the exploit inside the homebrew eboot looks like the only solution for now. (I mean to have a custom eboot doing kernel stuff)
thanks for the answer.
yes, using vshKernelLoadExecVSHs1 works great ! Thanks.0okm0000 wrote:because eloader(TIFF) run in VSH mode, so can't use "sceKernelLoadExec"tnt wrote: * I've never been able to execute successfully the hitchhikr code. Either with eloader 0.98 and 0.99 (both tiff version), it just freeze the PSP. It is said it should be run using GTA eloader but what's the difference ? What
should be done to make it compatible with the tiff exploit ?
in eloader(TIFF) need to use "vshKernelLoadExecVSH"
Any idea why it does that ?0okm0000 wrote:because eloader0.99 Unloaded "vshbridge", so can't use "vshKernelLoadExecVSH"tnt wrote: * The Ookm code : It runs fine with eloader 0.98 but not with 0.99. I would guess the "partial kernel support" of eloader 0.99 actually use the same exploit and so both can't be used at the same time. But then why isn't eloader 0.99 providing full kernel mode ? The Ookm code seems to launch any kernel thread or am I missing something ?
Since it doesn't support yet full kernel support, using the exploit inside the homebrew eboot looks like the only solution for now. (I mean to have a custom eboot doing kernel stuff)
Re: Kernel access with 2.6 (hitchhikr and Ookm codes)
To use the limited kernel support in eLoader, you need to flag your module with kernel mode attributes, and make a function with the attribute '__constructor__', e.g.Any idea why it does that ?
Since it doesn't support yet full kernel support, using the exploit inside the homebrew eboot looks like the only solution for now. (I mean to have a custom eboot doing kernel stuff)
Code: Select all
void __constructor__ MyKernelProc()
{
// Here I am in kernel mode
}
We unload VshBridge simply because it takes up a lot of user memory, and most users of eLoader are more concerned with running high-occupancy usermode games, than working with smaller kernel mode apps.
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
The PSP Homebrew Database needs you!
Re: Kernel access with 2.6 (hitchhikr and Ookm codes)
Ok, thanks. Damn it was so simple ...hitchhikr wrote: The 0x09f02020 address will be part of the overflow string so each byte of that address needs not to be zero (and doesn't contain 0x3a as this char is needed to control the length of that string).
I thought there was just something special in memory at that location, silly me ...
Ok, good reason ;)Fanjita wrote:We unload VshBridge simply because it takes up a lot of user memory, and most users of eLoader are more concerned with running high-occupancy usermode games, than working with smaller kernel mode apps.Any idea why it does that ?
Since it doesn't support yet full kernel support, using the exploit inside the homebrew eboot looks like the only solution for now. (I mean to have a custom eboot doing kernel stuff)
Thanks for the input to all of you.