• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

Kammy Userland PS3 LV2 GameOS Patches for PSGroove Arrive

Category: PS3 Hacks & JailBreak  By: plavkic - (github.com)
Tags: kammy ps3 ps3 userland ps3 lv2 gameos ps3 lv2 patches psgroove ps3 hacks

139w ago - Following up on his previous work, today AerialX Tweeted 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 BSC.es. (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 »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
DeadlyFoez's Avatar
#22 - DeadlyFoez - 139w ago
Reply
Originally Posted by Roamin View Post
Quote Let's remove all the LV1_DENIED_BY_POLICY returns!

Do it. Lets see how quickly we can brick our PS3's

Well now that marcan has gotten lv1 access via payload we should see some great stuff come soon.

Roamin's Avatar
#21 - Roamin - 139w ago
Reply
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) (wiki.ps2dev.org/?do=search&id=denied):
Quote ps3:hypervisor:hypervisor_function_return_status: 1 Hits

... -1 || LV1_RESOURCE_SHORTAGE | -2 || LV1_NO_PRIVILEGE | -3 || LV1_DENIED_BY_POLICY | -4 || LV1_ACCESS_VIOLATION | -5 || LV1_NO_ENTRY | -6 || ...
ps3:hypervisor:lv1_undocumented_function_137: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_138: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_167: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_168: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_200: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_201: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_209: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_62: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...
ps3:hypervisor:lv1_undocumented_function_63: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 1847h | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 || PAL 3.15 | Functi ...
ps3:hypervisor:lv1_undocumented_function_99: 1 Hits

... ^^^^^^ Version ^ Returns R3 ^ R4 ^ R5 ^ R6 ^ R7 ^ R8 ^ R9 ^ R10 ^ Comments ^| PAL 1.7 | -4 (LV1_DENIED_BY_POLICY) | 0 | 0 | 0 | 0 | 0 | 0 | 0 | R3-R10 were passed in the call as 0 | ...

Hypercalls 62, 63, 99, 137, 138, 167, 168, 200, 201, 209 all returned LV1_DENIED_BY_POLICY , maybe we could benefit from removing the return value of these hypercalls as well ? Maybe it would allow us to do more things, maybe run licensed content ?

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?

Let's remove all the LV1_DENIED_BY_POLICY returns!

Kraken's Avatar
#20 - Kraken - 139w ago
Reply
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.

Senaxx's Avatar
#19 - Senaxx - 139w ago
Reply
Isn't someone capable enough to rewrite the ftp server and put is as a background deamon? I know i'm not, but there are a lot of talented people here.

chortya's Avatar
#18 - chortya - 139w ago
Reply
No, I am personally not interested in real multi-tasking. I'm just too lazy to start FTP server

Page 2 of 6 «‹123456›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• PSPMinis / PS3Minis / Bite v1.5.1 Update for PS3 is Now Released
• PS3 Fan Control Utility v1.7 for PS3 CFW CEX 3.41 to 4.41 Arrives
• PSPMinis / PS3Minis / Bite v1.5 for PS3 with PSP Homebrew Support
• PS3 Fan Control Utility v1.6 for PS3 CFW CEX 3.41 to 4.40 Arrives
• OpenSCETool (OSCETool) v0.9.2 By SpacemanSpiff for PS3 is Released
• PUAD GUI v1.5 - PS3 PUP Unpacker, Repacker and Decrypter Out
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
The Yes/No question thread - 2h ago

Lurker's Avatar
Quote Yes. Do you need the eSATA station to downgrade a "phat" PS3?...
By Lurker with
 2048 Comments »
Introductions: Hello Everyone, I'm New at PS3News.com! - 2h ago

kamikasear's Avatar
Quote Hello brothers and sisters, slim 160gb rebug 3.55.1 working great....
By kamikasear with
 6991 Comments »
PS3 Fan Control Utility v0.3 for 4.31 and 4.40 CFW CEX is Released - 3h ago

Lurker's Avatar
Quote So...what are the actual benefits of using this utility other than maintaining the PS3 at a reasonable temperature? I ask since there are posts here s...
By Lurker with
 19 Comments »
GTA IV for Rogero 4.40 - 5h ago

Liongooder's Avatar
Quote Play from external HDD & play it on HDMI,cause i've been told GTA IV gives black screen if you play it from AV cable,i just tried the Complete Edi...
By Liongooder with
 7 Comments »

Latest PlayStation 3 Trophies
PixelJunk Monsters : Encore : Zero Carat
PixelJunk Monsters : Encore : Wishing Well
PixelJunk Monsters : Encore : Scrooge's Return
PixelJunk Monsters : Encore : Black Flag

Latest PlayStation Vita Trophies
Jacob Jones and the Bigfoot Mystery : Low Notes
Jacob Jones and the Bigfoot Mystery : Unjammed
Jacob Jones and the Bigfoot Mystery : Low Roller
Jacob Jones and the Bigfoot Mystery : Quick Packer

Latest PlayStation 3 Releases
Muvluv Alternative Total Eclipse JPN PS3-HR - 05-17-2013
Skate 2 EUR PS3-Googlecus - 05-16-2013
The Walking Dead A Telltale Games Series PS3-COLLATERAL - 05-15-2013
The Cube PS3-ANTiDOTE - 05-14-2013

Latest PlayStation 3 Themes
Wolverine Origins PS3 Theme - 05-19-2013
Heavy Rain (Official) Dynamic PS3 Theme - 05-09-2013
Wipeout HD Fury Dynamic PS3 Theme - 05-06-2013
Batman Arkham City Dynamic PS3 Theme - 05-04-2013
  • Contact Us
  • -
  • PS3 News