HowTo add Kernel access under FW2.50/2.60 VSH (eLoader-TIFF)
sample
Download-Link : 25_26_VSH_KA.zip
main.c
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);
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER);
#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);
sceIoClose(handle);
}
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);
sceIoClose(handle);
}
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);
sceIoClose(handle);
}
int main(int argc, char* argv[])
{
pspDebugScreenInit();
printf("\n");
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;
sceCtrlSetSamplingCycle(0);
sceCtrlSetSamplingMode(0);
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);
pspDebugScreenSetTextColor(0xFFFF0000);
printf(" Kernel mem. Dump Finish\n");
}
if (pad.Buttons & PSP_CTRL_SQUARE)
{
kernel_ent((u32) &Dump_klib);
pspDebugScreenSetTextColor(0xFF00FF00);
printf(" Kernel lib. Dump Finish\n");
}
if (pad.Buttons & PSP_CTRL_CIRCLE)
{
kernel_ent((u32) &Dump_boot);
pspDebugScreenSetTextColor(0xFF0000FF);
printf(" Kernel boot Dump Finish\n");
}
if (pad.Buttons & PSP_CTRL_CROSS)
{
sceKernelExitGame();
}
sceDisplayWaitVblankStart();
}
}
return(0);
}
Makefile
in line OBJS add kernel_ex.o
in line LIBS add -lpspvshbridge
TARGET = 25_26_VSH_KA
OBJS = main.o kernel_ex.o
INCDIR =
CFLAGS = -G0 -Wall -O2
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS= -lpspvshbridge
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = FW2.50/2.60 VSH Kernel access
PSP_EBOOT_ICON = ICON0.PNG
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak



29 Comments:
4 real
What means 4 real???
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?
>> fb
if your pspsdk ver is 1969
try this
Download-Link : http://rapidshare.de/files/33705319/kernel_ex.o_for1969.zip.html
is this proof of concept, or this is the real stuff!!! OOKM the man :D
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.
cool ill test this out right now
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.
Could someone please post a step-by-step on how to do this?
fireman, i think u just put it in the GAME folder and run it from the XMB
hmm... anyone care to share libpspvshbridge.a ? ^^
what are the 3 dumped files for?
nvm i didnt know it was just a poc
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.
great job 0okm! you've done it again!!!
I think Arbie just called you a FOB.(Fresh Out of The Boat)
i think his english perfectly fine :s
What does all this mean, stop the lagging and upload the hack already.
Does this work with Ta-082s
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?
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
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!
Thanx!
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?
i have no idea what im doing. all trust be to ookm:)
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?
this place is getting so quiet...lol.. and still ppl dont understand this kernel lol, oh well,
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
Ookm,
whats your take on dark_alex, new devhook from 2.71 to 1.5, can you use it for your benefit
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