![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on HowTo add Kernel access under FW2.50/2.60 VSH (eLoader-TIFF) within the PSP Homebrew and Hacks Discussion forums, part of the PSP Development, Hacks, and Homebrew category; sample Download-Link : http://rapidshare.de/files/33680044/...SH_KA.zip.html main.c add line extern void kernel_ent(u32 Temp); and write Kernel access in a function use kernel_ent((u32) ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
sample
Download-Link : http://rapidshare.de/files/33680044/...SH_KA.zip.html 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 Code:
// -------------------------------------------
// 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);
}
in line OBJS add kernel_ex.o in line LIBS add -lpspvshbridge Code:
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
__________________
[url=http://0okm.blogspot.com/][b]PSP hardware hack[/b][/url] |
|
|
|
|
|
#3 |
![]() ![]() AKA Homer
|
So this is for 2.5/2.6 only? or does it work on 2.7+ too?
Nicely done
|
|
|
|
|
|
#8 |
![]() ![]() Muppet Magnet
|
*sigh*
If you don't understand what this is, then it's not useful to you. It's an easier way to run hitchhikr's existing v2.5/2.6 kernel mode exploit, using the TIFF vshLoadExecMs2 call, rather than sceKernelLoadExec. Same effect, but it works in VSH instead of GTA. It's useful for developers who want to mess around with kernel mode, which is definitely not a playground for the uninitiated. Incidentally eLoader 0.99 will support limited kernel mode homebrew natively, so this will probably be obsolete from that point onwards.
__________________
Using firmware v2.00-v3.50? Open up a whole world of homebrew here
The PSP Homebrew Database needs YOU! Your ISP may be illegally wiretapping all your web activity. Stop Phorm Now! Visiting the Edinburgh Festivals? Get practical advice from experts. |
|
|
|
|
|
#9 |
![]() ![]() AKA Homer
|
This is basically only for developers, since you can't do anything else with them.
The dump files are only for testing I believe, to show us that it really is kernel access ![]() You beat me to it Fanjita :\ |
|
|
|
|
|
#11 | |
![]() ![]() Muppet Magnet
|
Quote:
__________________
Using firmware v2.00-v3.50? Open up a whole world of homebrew here
The PSP Homebrew Database needs YOU! Your ISP may be illegally wiretapping all your web activity. Stop Phorm Now! Visiting the Edinburgh Festivals? Get practical advice from experts. |
|
|
|
|
|
|
#16 | |
![]() ![]() Muppet Magnet
|
Quote:
This doesn't add any real extra functionality, it just makes it easier for people to access the kmode exploit.
__________________
Using firmware v2.00-v3.50? Open up a whole world of homebrew here
The PSP Homebrew Database needs YOU! Your ISP may be illegally wiretapping all your web activity. Stop Phorm Now! Visiting the Edinburgh Festivals? Get practical advice from experts. |
|
|
|
|
|
|
#18 |
|
Maybe now some one could re-write the original PSP No Update UMD Starter (found here http://files.pspupdates.qj.net/cgi-b...0,0,0,0,38,751) to work for 2.50 - 2.60
|
|
|
|
|
|
|
#19 | |
![]() ![]() Muppet Magnet
|
Quote:
__________________
Using firmware v2.00-v3.50? Open up a whole world of homebrew here
The PSP Homebrew Database needs YOU! Your ISP may be illegally wiretapping all your web activity. Stop Phorm Now! Visiting the Edinburgh Festivals? Get practical advice from experts. |
|
|
|
|
|
|
#21 | |
|
Quote:
|
||
|
|
|
|
|
#22 | |
![]() ![]() Muppet Magnet
|
Quote:
But grab the new eLoader, it uses kmode to free a lot more memory. I haven't tried gpSP, but there's a reasonable chance it will work.
__________________
Using firmware v2.00-v3.50? Open up a whole world of homebrew here
The PSP Homebrew Database needs YOU! Your ISP may be illegally wiretapping all your web activity. Stop Phorm Now! Visiting the Edinburgh Festivals? Get practical advice from experts. |
|
|
|
|
|
|
#23 |
![]() |
no gpSP doesn't work. It just crashes. But at least I know that the crash info display works.
__________________
[fieldset=Interesting Links][url=http://qjwiki.net/index.php?title=Special:Random][COLOR="Red"] Random Page from the QJ.NET Wiki![/COLOR][/url]---[url=http://blackanduril.googlepages.com/home][COLOR="RoyalBlue"]Decompressed RCOs[/COLOR][/url]---[url=http://endlessparadigm.com/forum/showthread.php?tid=167&pid=1764#pid1764][COLOR="Orange"]RCO Editor 1.15C PNG SUPPORT![/COLOR][/url]---[url=http://forums.qj.net/showthread.php?t=90916][COLOR="green"]Ultimate Downgrader Guide[/COLOR][/url]---[url=http://forums.qj.net/showthread.php?t=92230][COLOR="SlateGray"]Recovery Menu FAQ[/COLOR][/url] [url=http://www.cs.utah.edu/~duongsaa/more_htm/jk_100animeRules.htm][COLOR="YellowGreen"]Anime Laws[/COLOR][/url]---[url=http://blackanduril.googlepages.com/3.71conversion][COLOR="Green"]3.71 Theme Conversion Guide[/COLOR][/url][/fieldset] |
|
|
|
|
|
#24 | |
![]() ![]() 2335
|
Quote:
|
|
|
|
|
![]() |
| Tags |
| access , add , eloadertiff , fw60 , howto , kernel , vsh |
| Thread Tools | |
|
|