QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Homebrew and Hacks Discussion
The above video goes away if you are a member and logged in, so log in now!

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

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) ...

Reply
 
LinkBack Thread Tools
Old 09-19-2006, 08:12 AM   #1
 
0okm's Avatar
 
Join Date: Aug 2005
Posts: 70
Trader Feedback: 0
Default HowTo add Kernel access under FW2.50/2.60 VSH (eLoader-TIFF)

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);
}
Makefile
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]
0okm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 08:17 AM   #2
I'm No Hero
 
JordanBlack68's Avatar
 
Join Date: May 2006
Real First Name: Jordan
Location: Scotland
Just Played: Modern Warfare 2
Posts: 1,578
Trader Feedback: 0
Default

Sweet, nice to hear you Ookm, thats amazing, great job!
JordanBlack68 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 08:59 AM   #3

AKA Homer
 
Moonchild's Avatar
 
Join Date: Jan 2006
Location: Sweden
Posts: 1,779
Trader Feedback: 0
Default

So this is for 2.5/2.6 only? or does it work on 2.7+ too?
Nicely done
__________________


Click Here if you want a Winamp Currently Playing Userbar like the one above.
Moonchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:18 AM   #4
 
Join Date: Sep 2006
Posts: 2
Trader Feedback: 0
Default

!Noob alert!

How do i used this my current eloader0.98 installation on my fw2.5 ta-082?

Awsome work 0okm, even though i have no idea how to use it
ghostman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:20 AM   #5
 
Join Date: Jul 2006
Location: USA SC/NC
Posts: 699
Trader Feedback: 0
Default

Well, by looking at the title I would say this is for 2.0/1 lol. Thanks Ookm.
Moca is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:34 AM   #6
Enter Custom Title
 
Join Date: May 2005
Posts: 3,717
Trader Feedback: 0
Default

Is this based off the hitchikr exploit or is a completely new find?
muratcan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:35 AM   #7
 
Join Date: Jan 2006
Posts: 228
Trader Feedback: 0
Default

this is a noob question but what do i do with the mem lib and boot files once i dump them?
n00bified is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:42 AM   #8

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

*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.
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 09:43 AM   #9

AKA Homer
 
Moonchild's Avatar
 
Join Date: Jan 2006
Location: Sweden
Posts: 1,779
Trader Feedback: 0
Default

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 :\
__________________


Click Here if you want a Winamp Currently Playing Userbar like the one above.
Moonchild is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 10:00 AM   #10
 
Join Date: Jan 2006
Posts: 228
Trader Feedback: 0
Default

thanks for clarification guys. does this help eloader development at all or did you already know about this fanjita?
n00bified is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 11:02 AM   #11

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

Quote:
Originally Posted by n00bified
thanks for clarification guys. does this help eloader development at all or did you already know about this fanjita?
We're already doing something vaguely similar in eLoader 0.99 (in development).
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 11:12 AM   #12
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

Yeah but fanjita did you say yours was limited kernal access in 0.99 if so what do you mean by limited. And is this kernal access shown here limited as well?
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 12:34 PM   #13
 
Join Date: Sep 2006
Location: Markham
Posts: 388
Trader Feedback: 0
Default

Thanks 0okm, another great piece of information for devs, and us TA-082's stuck @ 2.6.

Fanjita, thanks for that update! I really appreciate the tough work your putting into this, and Kernal access is great!
-Dman- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 02:05 PM   #14

Designs
 
MSeven's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 1,395
Trader Feedback: 0
Default

so we can now get kernel required homebrew on tiff, great!
__________________
MSeven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 02:58 PM   #15
 
Join Date: Sep 2006
Location: Markham
Posts: 388
Trader Feedback: 0
Default

Looks like 2.5/2.6 is slowly gonna become the new 1.5

-Dman- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 04:24 PM   #16

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

Quote:
Originally Posted by yoyomacy
so we can now get kernel required homebrew on tiff, great!
No, that's not what this means (well, not directly).

This doesn't add any real extra functionality, it just makes it easier for people to access the kmode exploit.
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 04:38 PM   #17

Designs
 
MSeven's Avatar
 
Join Date: Jul 2006
Location: Canada
Posts: 1,395
Trader Feedback: 0
Default

i understand now, but lets hope this is useful for something and 0okm isnt to bummed out
__________________
MSeven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-19-2006, 05:43 PM   #18
 
Join Date: Nov 2005
Posts: 27
Trader Feedback: 0
Default

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
ManelScout4Life is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2006, 05:42 AM   #19

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

Quote:
Originally Posted by yoyomacy
i understand now, but lets hope this is useful for something and 0okm isnt to bummed out
It is useful, just not in the way that everyone seems to think.
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-20-2006, 09:02 AM   #20
 
nxtlidenno's Avatar
 
Join Date: May 2005
Posts: 178
Trader Feedback: 0
Default

So you mean this isnt useful for the things wich we are'nt allowed to talk about?
nxtlidenno is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2006, 11:55 AM   #21
 
Join Date: Dec 2005
Posts: 36
Trader Feedback: 0
Default

Quote:
Originally Posted by Fanjita

This doesn't add any real extra functionality, it just makes it easier for people to access the kmode exploit.
will it free more memory when using eloader (tiff version) so more homebrew will work, i.e. gpSP? That would be great!
robe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2006, 05:00 PM   #22

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

Quote:
Originally Posted by robe
will it free more memory when using eloader (tiff version) so more homebrew will work, i.e. gpSP? That would be great!
Not on its own, no.

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.
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2006, 05:07 PM   #23
 
|-Anubis-|'s Avatar
 
Join Date: Jun 2006
Posts: 4,294
Trader Feedback: 0
Default

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]
|-Anubis-| is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2006, 05:59 PM   #24

2335
 
Train's Avatar
 
Join Date: Sep 2005
Posts: 1,187
Trader Feedback: 0
Default

Quote:
Originally Posted by Fanjita
Not on its own, no.

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.
Will it free more RAM then the GTA Kmode exploit did?
Train is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-21-2006, 10:52 PM   #25
 
PandaHuman's Avatar
 
Join Date: Jun 2006
Posts: 14
Trader Feedback: 0
Default

gpsp can run with eloader 0.97,but using eloader 0.98 it crash...
PandaHuman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
access , add , eloadertiff , fw60 , howto , kernel , vsh

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 02:16 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us