Sponsored Links

Sponsored Links

Kammy Userland PS3 LV2 GameOS Patches for PSGroove Arrive


Sponsored Links
218w ago - Following up on his previous work, today AerialX [Register or Login to view links] that the beginnings of a PS3 LV2 Userland (GameOS) patch framework dubbed Kammy are available for PSGroove linked above at Github or directly below.

Download: Kammy Userland PS3 LV2 GameOS Patches for PSGroove

To quote: Kammy is a system for loading patches to lv2 (PlayStation 3's Game OS) from a user application, using PSGroove or any other implementation of the exploit that adds the peek/poke syscalls. Kammy was inspired by Treeki's Nintendo Wii game patching system, Kamek.

Building
Building Kammy requires three different gcc compiler toolchains.

•gcc: A normal host gcc is required to build the raw2h application.
•ppu-lv2-gcc: Used to compile the loader, only available from Sony.
•ppu-gcc, ppu-binutils: A version of gcc that will compile 64bit PowerPC instructions is required to build the patches. Linux packages can be found on [Register or Login to view links]. (note: ppu-lv2-gcc may suffice for this, untested)
•xxd: Creating patch bin files requires the xxd tool to be installed.
With these dependencies installed, you can build Kammy by simply cd'ing to the loader directory and running:

make clean
make

Usage
Kammy must be used with a payload that supports poke/peek. This includes PSGroove and most of its forks - including my own - among others. To apply a Kammy patch, a loader application must be started on the PS3. This is usually done from XMB from an installed package, or from USB using my PSGroove fork's apploader payload.

Customizing
Kammy is made up of two main components:

•lv2: This folder contains the lv2 patches to be built. See the main kammy patch for an example. It is up to the patch to apply any hooks needed to lv2.
•libkammy: This is the basic library that handles the loading of Kammy patches.
The loader/ folder contains an example of using libkammy to load a patch from the lv2 folder.

Notes
Internally, Kammy obliderates syscalls 8 and 9, so try not to run it with payloads that provide those syscalls (like my debug payload).



Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 27 Comments - Go to Forum Thread »

• Please Register at PS3News.com or Login to make comments on Site News articles. Thanks!

sapperlott's Avatar
#27 - sapperlott - 217w ago
Quote Originally Posted by Roamin View Post
Well, i'm more attracted to what the end result of patching can achieve.

Ok, so the way we run unsigned code with psgroove is because the return value for Hypercall 99 was patched.

Here is a list of Hypercalls that returned the same value as Hypercall 99 when they were called. (LV1_DENIED_BY_POLICY)
That only means that Hypercall 99 isn't allowed to be issued from OtherOS. There's no such restriction for GameOS Lv-2.

tragedy's Avatar
#26 - tragedy - 217w ago
Quote Originally Posted by Roamin View Post
I have looked at the patching system used in the payload (described on the ps3wiki) but i do not understand how we can tell that its hypercall 99 that is patched by looking at this :

# ld r4,3848(r2) } Patches return from
# ld r3,32(r28) } Hypercall 99 so that
# std r3,0(r4) } we can launch unsigned apps

I understand that it is patched to 0, LV1_SUCCESS return value, but how can we tell that its hypercall 99 that was patched?

You can't, but the code just before this in the lv2 dump looks like this:

[Register or Login to view code]


hacked2123's Avatar
#25 - hacked2123 - 217w ago
Quote Originally Posted by Kraken View Post
Hopefully we will get a homebrew dashboard soon to replace the XMB, and a payload that auto-boots it. I was never fond of the XMB, and implementing an ftp server into a homebrew dash is much simpler than a background daemon.

I program an XMB supplement if and when the means become available. OS improvement is definitely something I like.

jaysingly's Avatar
#24 - jaysingly - 217w ago
Quote Originally Posted by lolster View Post
So what exactly could this do for our games? Patch cheat codes or something like that?


An offline-only cwcheat or nitepr for ps3 would be pretty cool...

lolster's Avatar
#23 - lolster - 217w ago
So what exactly could this do for our games? Patch cheat codes or something like that?

Sponsored Links

Sponsored Links
Sponsored Links

Sponsored Links







Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News