HowTo add Kernel access under FW2.50/2.60 VSH (eLoader-TIFF)

Download-Link : 25_26_VSH_KA.zip

add line extern void kernel_ent(u32 Temp);
and write Kernel access in a function
use kernel_ent((u32) &your_function) to call it

// -------------------------------------------
// Kernel access under FW2.50/2.60 VSH
// use Noobz's eLoader(TIFF) 0.9.8
// -------------------------------------------
// Game mode Kernel access by hitchhikr / Neural.
// VSH mode Kernel access by moonlight
// Mod. by 0okm
// -------------------------------------------

// -------------------------------------------
// Include
#include <pspkernel.h>
#include <pspdisplay.h>
#include <pspdebug.h>
#include <pspctrl.h>

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

PSP_MODULE_INFO("25_26_VSH_KA", 0, 1, 1);

#define printf    pspDebugScreenPrintf

extern void kernel_ent(u32 Temp);

void Dump_kmem(void)
    int handle;
    handle = sceIoOpen("ms0:/0x88000000-kmem.BIN", PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
    sceIoWrite(handle, (void*) 0x88000000 , 0x400000);

void Dump_klib(void)
    int handle;
    handle = sceIoOpen("ms0:/0x88800000-klib.BIN", PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
    sceIoWrite(handle, (void*) 0x88800000 , 0x100000);

void Dump_boot(void)
    int handle;
    handle = sceIoOpen("ms0:/0xBFC00000-boot.BIN", PSP_O_WRONLY | PSP_O_CREAT | PSP_O_TRUNC, 0777);
    sceIoWrite(handle, (void*) 0xBFC00000 , 0x100000);

int main(int argc, char* argv[])
    printf(" Kernel access under FW2.50/2.60 VSH\n");
    printf(" use Noobz's eLoader(TIFF) 0.9.8\n\n");

    printf(" Game mode Kernel access by hitchhikr / Neural.\n");
    printf(" VSH mode Kernel access by moonlight\n");
    printf(" Mod. by 0okm\n\n");

    printf(" FW ver is 0x%.8X\n\n", sceKernelDevkitVersion());

    SceCtrlData pad;
    u32 oldButtons = 0;

    printf(" Pass [TRIANGLE] to Kernel mem. Dump\n");
    printf(" Pass [SQUARE] to Kernel lib. Dump\n");
    printf(" Pass [CIRCLE] to Kernel boot Dump\n");
    printf(" Pass [CROSS] to EXIT\n\n");
    while (1)
        sceCtrlReadBufferPositive(&pad, 1);
        if (oldButtons != pad.Buttons)
            oldButtons = pad.Buttons;
            if (pad.Buttons & PSP_CTRL_TRIANGLE)
                kernel_ent((u32) &Dump_kmem);

                printf(" Kernel mem. Dump Finish\n");
            if (pad.Buttons & PSP_CTRL_SQUARE)
                kernel_ent((u32) &Dump_klib);

                printf(" Kernel lib. Dump Finish\n");
            if (pad.Buttons & PSP_CTRL_CIRCLE)
                kernel_ent((u32) &Dump_boot);

                printf(" Kernel boot Dump Finish\n");
            if (pad.Buttons & PSP_CTRL_CROSS)


in line OBJS add kernel_ex.o
in line LIBS add -lpspvshbridge

OBJS = main.o kernel_ex.o

CFLAGS = -G0 -Wall -O2
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti

LIBS= -lpspvshbridge

PSP_EBOOT_TITLE = FW2.50/2.60 VSH Kernel access

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


At 9/19/2006 03:41:00 pm, Blogger FlyBoy said...

4 real

At 9/19/2006 04:48:00 pm, Blogger Enes said...

What means 4 real???

At 9/19/2006 05:49:00 pm, Blogger FB said...

Whats in the kernel_ex.o object, why no source?

When i try and "make" the file i get the below message
kernel_ex.o: In function `kernel_ent':
kernel_ex.c:(.text+0x16c): undefined reference to `sceVshBridge_F35BFB7D'
collect2: ld returned 1 exit status
make: *** [25_26_VSH_KA.elf] Error 1

What am i doing wrong?

At 9/19/2006 06:45:00 pm, Blogger 0okm said...

>> fb
if your pspsdk ver is 1969
try this
Download-Link : http://rapidshare.de/files/33705319/kernel_ex.o_for1969.zip.html

At 9/19/2006 07:32:00 pm, Blogger matt said...

is this proof of concept, or this is the real stuff!!! OOKM the man :D

At 9/19/2006 08:05:00 pm, Blogger goldenchild said...

U make hack. I download hack. I run hack. I have 1.5 firmware. I happy U happy. Hack the PSP!!! This is all crap we to dumb to understand.

At 9/19/2006 08:18:00 pm, Blogger sycoblast said...

cool ill test this out right now

At 9/19/2006 09:02:00 pm, Blogger FB said...

Cheers 0okm, eboot will "make" now using the different kernel_ex.o .

Havent been able to test though as eloader doesnt want to start under 2.5 Devhook for me (will have to wait till get my FW2.6 PSP back or work out whats wrong under DH).

What was up with my PSPSDK though, am i out of date now?

Cheers for all the hard work and assistance.

At 9/19/2006 09:06:00 pm, Blogger fireman said...

Could someone please post a step-by-step on how to do this?

At 9/19/2006 09:34:00 pm, Blogger blazed247 said...

fireman, i think u just put it in the GAME folder and run it from the XMB

At 9/19/2006 09:36:00 pm, Blogger CrazyMan said...

hmm... anyone care to share libpspvshbridge.a ? ^^

At 9/19/2006 10:06:00 pm, Blogger xciledemon said...

what are the 3 dumped files for?

At 9/19/2006 11:24:00 pm, Blogger fireman said...

nvm i didnt know it was just a poc

At 9/20/2006 01:19:00 am, Blogger arbie said...

Ookm thanks a lot you gave me hope for my factory 2.6 TA-082 psp.

I don't have deep pockets for donations, but I can give you something in return for your efforts. I can probably help you with your English (quite understandable, but can be improved) as it will help you in communicating your self with the rest of the homebrew community. You ought to know that interpersonal communication is a much needed asset for any serious programmer ;-)

Feel free to contact me anytime.

At 9/20/2006 01:38:00 am, Blogger kando said...

great job 0okm! you've done it again!!!

At 9/20/2006 12:07:00 pm, Blogger goldenchild said...

I think Arbie just called you a FOB.(Fresh Out of The Boat)

At 9/20/2006 12:25:00 pm, Blogger sycoblast said...

i think his english perfectly fine :s

At 9/20/2006 02:07:00 pm, Blogger goldenchild said...

What does all this mean, stop the lagging and upload the hack already.

At 9/20/2006 09:19:00 pm, Blogger CLMovies.com said...

Does this work with Ta-082s

At 9/20/2006 11:22:00 pm, Blogger toxicfume said...

Okay I have a 2.6 TA-082 and this works for me and I get the dumps of all the 3 things...what does this mean for me?

Will we have the same abilities as 1.5 firmware?

At 9/21/2006 01:12:00 am, Blogger Keal Valros said...

hey 0okm does this mean we can run kernel mode in 2.6 ta-082,that can run devhook so that it can emulate iso'd or ciso but can we run irshells then

did anyone tried using this codings or their psp.just thinking what will happen when u do this.is it just a test to see if kernel runs under 2.5/2.6 psp

At 9/21/2006 02:00:00 am, Blogger Vic said...

Hi, my psp is a 2.5 factory ta-082, but i upgrade it to 2.6 firmware. Could i use this???? Please Post comments for 2.5 factory ta-082. I didn't want to brick my psp!

At 9/21/2006 03:46:00 am, Blogger sycoblast said...

hi 0okm if we can allot the psp to run kernal would that mean we would be able to run applications like we can in 1.5 buy going into the game folder etc?

At 9/21/2006 12:19:00 pm, Blogger ~teamwrite said...

i have no idea what im doing. all trust be to ookm:)

At 9/21/2006 01:30:00 pm, Blogger Sr. Lobo said...

This worked fine on my 2.6 TA-082. 0okm, can you explain the possibilities that this brings to our 2.6 psp´s? Fanjita says this won´t lead to a iso loader, what´s your opinion about that?

At 9/23/2006 12:18:00 am, Blogger matt said...

this place is getting so quiet...lol.. and still ppl dont understand this kernel lol, oh well,

At 9/23/2006 03:37:00 am, Blogger Keal Valros said...

Hey matt u're rite.it's really getting quiet in 0okm blogs. but was hoping if 0okm can teach us how to do this.coz i do not know about programming but only know some 3dmax designing.but piece guys lets wait for some news at the mean time i'll check out noobz

At 9/24/2006 03:59:00 pm, Blogger matt said...


whats your take on dark_alex, new devhook from 2.71 to 1.5, can you use it for your benefit

At 9/25/2006 07:42:00 am, Blogger Keal Valros said...

hey guys i think u do not need to get the downgrade now ,but i support 0okm way of doing but those who cannot wait try this.it's been a long time there but i hope u guys saw it in pspupdates.

they said that u need to upgrade ur psp to 2.71 then install homebrew enabler and then emulate devhook,after that then u get the benefits on playing iso's.

what do u think?
would you give it a try?
or wait for the softdown?

i'm sorry to say this but i've been waiting for currently 2 and half weeks in 0okm for his reply but small updates only pops out.

but thanks 0okm for the dump at least i tried something u made.
but my psp 2.6 TA-082 can play iso now.very happy


Post a Comment

<< Home