Advertising (This ad goes away for registered users. You can Login or Register)

The First Homebrew in OFW Running.

Everything that is PSP-related but doesn't go in any other subforum
Locked
TOcean
HBL Tester
Posts: 1020
Joined: Mon Sep 27, 2010 3:08 pm
Location: Flash0:/kd/vshmain.prx
Contact:

The First Homebrew in OFW Running.

Post by TOcean »

The first Homebrew Running in OFW.
See the video.
Kgsws wrote:Simple, notice it contains ~PSP header from demo game (UCES00206), it is exactly same header. It is easy to craft last 16 bytes of encrypted data block to match header CMAC – yes, that’s the trick

There are some strange thigs, it can’t run homebrews with bigger executable block (data block does not matter), and because of ~PSP header, it has to match exact size of original game.

This trick might be possible on firmware kernel modules to get permanent HEN on non-pandrorable PSPs, i was not able to do it but i was not trying that much.

PS: i am not only one who found this trickn
This means that from now on OFW homebrews start.
Sony cannot patch this.
it works on all OFW

Download


How can i sign homebrews
Proxima wrote:Here's an overall process that worked for me:

1. Use PRXDecrypter or other like app to decrypt a demo game DATA.PSP. Just before it calls KIRK1, add a step to dump the KIRK1 message with header.
2. Zero out the data section of the KIRK1 message. Copy your homebrew ELF into it.
3. Look at the original PSP header and get the entry point and mod info offset it expects
4. Put a couple of lines of code at the expected entry point to jump to the real entrypoint of your own ELF
5. copy the modinfo section from your ELF to the address indicated by the original header.
6. Re-encrypt the new KIRK1 data section with the KIRK key (AES Key from Header)
7. Do a few xor of the last 16 bytes to make it result in the correct CMAC value (decode the CMAC data hash to see what the correct value needs to be)
8. Copy the data back to the original data.psp (at 0x150). pack-pbp the new data.psp along with your favorite param.sfo and icon files.

If the original game was compressed, you need to add step 5b. gzip the entire data section (0x110-EOF) and re-paste it into the file.

Enjoy!

PS. One bit of difficulty still that remains is how to deal with the KL4E compression that the kernel modules us. Since their headers indicate compression, and KL4E is the only algorithm the rebooter or ipl supports (I think...) we will have to find a way to create something that decompresses properly with KL4E.


Discussion: viewtopic.php?f=5&t=1381&start=170
Advertising
Last edited by TOcean on Sun Jan 16, 2011 9:21 am, edited 4 times in total.
TiPi
Retired Mod
Posts: 740
Joined: Tue Sep 28, 2010 5:32 am
Contact:

Re: The First Homebrew in OFW Running.

Post by TiPi »

Awesome. :D
Advertising
Problems or questions? Feel free to contact me.
-My Blog-
TOcean
HBL Tester
Posts: 1020
Joined: Mon Sep 27, 2010 3:08 pm
Location: Flash0:/kd/vshmain.prx
Contact:

Re: The First Homebrew in OFW Running.

Post by TOcean »

TiPi wrote:Awesome. :D
;) This are the best moment of the PSP Scene.
AssasinRam
Posts: 284
Joined: Thu Sep 30, 2010 9:45 am
Location: HFIL

Re: The First Homebrew in OFW Running.

Post by AssasinRam »

This is brilliant :o
I have a -
PSP 3000

And I love-
HBL!
Why are you reading my signature? =)
Blog- http://ultimate-psp-hacks.blogspot.com/
TOcean
HBL Tester
Posts: 1020
Joined: Mon Sep 27, 2010 3:08 pm
Location: Flash0:/kd/vshmain.prx
Contact:

Re: The First Homebrew in OFW Running.

Post by TOcean »

AssasinRam wrote:This is brilliant :o
:P
Phillyphries
Posts: 521
Joined: Tue Dec 21, 2010 8:40 am

Re: The First Homebrew in OFW Running.

Post by Phillyphries »

Nice!! There isn't much left to do with the PSP's now. PSP2 will be the next focus :)
My CWCHEAT 6.20TN-A Tutorial
viewtopic.php?f=17&t=972
CoderPR & NitePR 6.20TN-A Tutorial
viewtopic.php?f=17&t=1054
TOcean
HBL Tester
Posts: 1020
Joined: Mon Sep 27, 2010 3:08 pm
Location: Flash0:/kd/vshmain.prx
Contact:

Re: The First Homebrew in OFW Running.

Post by TOcean »

Phillyphries wrote:Nice!! There isn't much left to do with the PSP's now. PSP2 will be the next focus :)
:( PSP2 is difficult.
xcanox
Posts: 159
Joined: Mon Jan 03, 2011 9:19 pm
Location: Pennsylvania

Re: The First Homebrew in OFW Running.

Post by xcanox »

The song in this homebrew is quite ossum.
Let me hear your body talk
AssasinRam
Posts: 284
Joined: Thu Sep 30, 2010 9:45 am
Location: HFIL

Re: The First Homebrew in OFW Running.

Post by AssasinRam »

TOcean wrote:
Phillyphries wrote:Nice!! There isn't much left to do with the PSP's now. PSP2 will be the next focus :)
:( PSP2 is difficult.
But it has way better potential than the PSP ;)
I have a -
PSP 3000

And I love-
HBL!
Why are you reading my signature? =)
Blog- http://ultimate-psp-hacks.blogspot.com/
YuuhiKatagiri
Posts: 181
Joined: Thu Jan 06, 2011 12:16 pm
Location: Vietnam
Contact:

Re: The First Homebrew in OFW Running.

Post by YuuhiKatagiri »

awesome :D
1x PSP1001 6.39 CFW ME-8 and PRO-B8 and TN-HEN A
1x PSP3001 6.20 TN-Extender and PRO-B8
1x PSP3006 6.39 LCFW ME-8 and PRO-B8 and TN-HEN A
Locked

Return to “General”