First Homebrew Code ran on PSP v2.00, exploit to come

hey69

i have a monster
Veteran
small team has been working on finding an exploit for v2.00 based on the fact that $ony uses part of the "libtiff" code for its Image Viewer in v2.00, which has a known bug. Apparently they've managed to exploit this bug as it appears this "proof of concept" has already been confirmed (by dppodge and many other v2.00 owners) as a working exploit for the 2.00 PSP firmware... so basically it's just a matter of time until some more useful code using this exploit is released. The related files are available HERE, and to quote from K3nt's post in THIS Forum thread:
Quote:
First Homebrew Code on 2.00

1. Set wallpaper to frame_buffer.png (without overflow.tif present in the PHOTO directory, or it will crash).

2. Add overflow.tif to the PHOTO directory, and open into the photo viewer. Custom code to paint the screen! Or to write a homebrew app! Not to run illegal games.

How It Works?

1. The PNG contains a small amount of code in a known, fixed place (the VRAM). If to look closely at the wallpaper, sees small coloured pixels in the right down. The pixels are Allegrex opcodes, with the highest byte all zero for the ALPHA. These pixels do:

syscall 0x20C7 ; sceKernelDcacheWritebackInvalidateAll
slt a0, zero, sp ; put 1 into a0
sll a0, a0, 6 ; put 64 into a0
addiu a0, sp, a0 ; get screen painter address over SP
jr a0 ; jump to the screen painter
nop ; branch delay slot

2. The TIFF contains also some code and a buffer to trigger the known BitsPerSample overflow in libtiff in the photo viewer. The buffer makes a jump to the VRAM which has the PNG colours by overwriting the safed ra (return address) on the stack. The VRAM code uses SP and calculates the address of the buffer then runs it. Then it jumps there. The screen is yellow as the colour was 0x12345678 in Hex.

PSP Users:

We didn't do this so you could steal from $ony and game companies. We believe in OSS. There are plenty of amazing programs that have been written for the PSP. Use this as a gift and not as an excuse to steal.

$ony:

If you wanted to find us i know you could. This release wasn't intended as a way to run pirated software on the PSP. We believe that everyone should be able to compile their own code and run it. Nothing is kept secret forever and i'm sure you know this. In the end, if it wasn't us. It would be some one else. Fighting it would be like skating up a hill. You did create the PSP and did an amazing job.

Toc2rta:

To the people of the Toc2rta development network. You're our phone a friend. With out your friendship this would never of happened. I hope this brings you as much happiness as it brings us. Join us on irc.toc2rta.com.

Most importantly... Have fun!"
 
Hmm.. I've just been thinking of upgrading to 2.00, quite frankly getting fed up waiting for a 1.51 hack. Not to mention PES5 apparently requires 2.00 :) (no doubt GTA will too)
 
Good news seems to be coming as of late in regards to 1.5X and 2.0 developments, many teams seem to be working on it. It has been reported that things like PES intro and title menu have been able to load off the memory stick for 2.0 firmware, however as soon as the start button is hit, the PSP locks up.
 
This caused me to go and buy a PSP (with Lumines and Wipeout). Yay no dead pixels.

Anyway, someone just made a "Hello World 2.0" program based on this exploit:
psphello33zp.jpg

via http://forums.qj.net/showthread.php?t=17720

Not to mention PES5 apparently requires 2.00
And this exploit does as well! Thanks Sony for adding tiff support :D
 
One user from another forums said he got it to work. It seems there are two ways to downgrade. One is the "dirty" way, which keeps theweb browser and background changing.
 
fallguy said:
One user from another forums said he got it to work. It seems there are two ways to downgrade. One is the "dirty" way, which keeps theweb browser and background changing.

I've tried it on my brothers PSP ( out of the it had 1.52 on it ) and it does work with no problems what so ever. You have firmware 2.0 installed for it to work.
 
Back
Top