Log in
|
Sign up

USB-Based PSFreedom PS3 Exploit Now Adapted To Palm Pre, Dingoo

by Mike Bendel September 4, 2010 @ 6:06 pm

Update: A lesser-known portable gaming and multimedia device, known as the Dingoo, has also received the porting treatment courtesy of Wii hacking guru Waninkoko.

Huzzah! Now the Palm Pre can be used to hack the PS3, too. Developer blake_zero over at PSX-Scene has released an adaptation of KaKaRoTo’s USB hub-emulating PSFreedom exploit, which takes advantage of the same heap overflow vulnerability inĀ PSGroove, the initial open-source implementation of PS Jailbreak’s jigkick wonder. Currently, only source code is available.

The Palm Pre joins the N900 along with several USB microcontrollers in the list of devices that can be used to unlock debug mode on Sony’s console, allowing for the execution of unsigned (homebrew) code.

Until a compiled build surfaces, those with a bit of Linux know-how can compile the code themselves by following blake_zero’s instructions below. Who wants to take a bet on when this will hit the iPhone and Android-based devices? Can’t be long now.

What you need:

1. The kernel package for the Palm Pre (linuxkernel-2.6.24.tgz) and palm patches (linuxkernel-2.6.24-patch(pre).gz) that you can find on Open Source Packages.
2. ARM toolchain for your the platform I use IA32 Linux toolchain, 2009q1 release
3. Compiled psfeedom module from the modified PSFreedom source
4. Root access to your Palm Pre, it could be by ssh or Terminal app on phone

Setting the ARM toolchain

1. Extract the file:
Code:
tar xjvf arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
2. Move the extracted folder where you like it to be:
Code:
mv arm-2009q1 /usr/local/arm
3. Set some environment variables so cross-compilation works. Create a new file named setup-env and paste this
Code:
export PRETOOL_DIR=”/usr/local/arm”
(echo “$PATH” | grep -q “${PRETOOL_DIR}”) || export PATH=”${PRETOOL_DIR}/bin:${PATH}”
export STRIP=”arm-none-linux-gnueabi-strip”
export LD=”arm-none-linux-gnueabi-ld”
export CC=”arm-none-linux-gnueabi-gcc -march=armv4t -mtune=arm920t”
export CPPFLAGS=”-isystem${PRETOOL_DIR}/arm/arm-none-linux-gnueabi/include”
export RANLIB=”arm-none-linux-gnueabi-ranlib”
export CXX=”arm-none-linux-gnueabi-g++ -march=armv4t -mtune=arm920t”
export OBJCOPY=”arm-none-linux-gnueabi-objcopy”
export PKG_CONFIG_PATH=”${PRETOOL_DIR}/usr/local/lib/pkgconfig”
export PKG_CONFIG_SYSROOT_DIR=”${PRETOOL_DIR}/arm/arm-none-linux-gnueabi”
#export LDFLAGS=”-L${PRETOOL_DIR}/usr/local/lib -Wl,-rpath-link,${PRETOOL_DIR}/arm/arm-none-linux-gnueabi/lib -Wl,-O1″
export CCLD=”arm-none-linux-gnueabi-gcc -march=armv4t -mtune=arm920t”
export MAKE=”make”
export CFLAGS=”-isystem${PRETOOL_DIR}/usr/local/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os”
export CXXFLAGS=”-isystem${PRETOOL_DIR}/arm/arm-none-linux-gnueabi/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden”
export F77=”arm-none-linux-gnueabi-g77 -march=armv4t -mtune=arm920t”
export AS=”arm-none-linux-gnueabi-as”
export AR=”arm-none-linux-gnueabi-ar”
export CPP=”arm-none-linux-gnueabi-gcc -E”
export OBJDUMP=”arm-none-linux-gnueabi-objdump”
export CONFIG_SITE=”${PRETOOL_DIR}/arm/site-config”
you need to set PRETOOL_DIR to where you move the extracted folder. Finally Source the variables (use the path where you saved setup-env):
Code:
. /usr/local/pre/setup-env
Extract and compile Pre Kernel

1. Extract the kernel:
Code:
tar xvzf linuxkernel-2.6.24.tgz
2. Extract palm modifications:
Code:
gunzip linux-2.6.24-patch.gz
3. Change to kernel directory:
Code:
cd linux-2.6.24
4. Apply patch:
Code:
patch -p1 < ../linux-2.6.24-patch
5. Copy configuration for the Pre:
Code:
cp arch/arm/configs/omap_sirloin_3430_defconfig .config
6.Compile the kernel:
Code:
make
(this will take a while)

Compile modified PSFreedom source

1. Extract the files:
Code:
tar xvzf PSFreedom-for-PalmPre.tar.gz
2. Change to folder:
Code:
cd PSFreedom-for-PalmPre
3. Compile PSFreedom:
Code:
make
Copy and install psfreedom.ko module to Palm Pre

1. Connect your Palm pre to PC on drive mode and copy psfreedom.ko to it
2. ssh to your pre (or open terminal app) and insmod the module:
Code:
insmod /media/internal/psfreedom.ko
Now you should be ready to go

1. Turn completely off your PS3 with firmware 3.41
2. Connect your Palm Pre to the usb of PS3
3. Turn on your PS3 followed by rapidly pressing eject
4. Wait for your PS3 to reboot
5. Enjoy

After using your PalmPre for this exploit you should make a complete device restart to restore usb functions.

Special Thanks to kakaroto for creating PSFreedom, I simply made some small modifications to make it compile for the Palm Pre since it runs linux and also use musb

Intructions for cross-compilation taken from WebOS Internals Custom Kernels instructions

http://www.webos-internals.org/wiki/Custom_Kernels

PSFreedom for the N900modified to work on Palm Pre [PSX-Scene]

PSFreedom Dingoo [TeknoConsolas]

Follow this author on .

Bizarre says:

I wish blackberries would be next.

KezraPlanes says:

ANDROID!!!

Getting closer....

Mentality says:

And still no PSP Port, sucks lol, oh well will have to keep on waiting and see what happens, maybe somethink will come round for my Samsung Jet S8000 but I doubt that very much.

skparasite says:

Blackberries would be cool but my friend has a Palm Pre so that's awesome :D.

I'm almost tempted to buy a PS3 just to try this XD.

Colm says:

I bet Android -> Blackberry -> iPhone. I'm really, really interested here...

Adiuvo says:

Yeah, you can just feel it getting closer. Hopefully by next week.

Riorio99 says:

Word on the street is that the Sixaxis might be next: http://www.maxconsole.net/content.php?42073-Hackers-working-on-hacking-PS3-with-PSGroove-and-DualShock-3-controller!

KezraPlanes says:

wtf... that would be so epic.

vXAlexanderXv says:

All of this is good news, knowing the code can easily be ported from one device to another.

But whats the word about it being ported to the PSP? Just to know someone is even working on it would be nice.

KezraPlanes says:

there is already an Android port working for all quadcom MSM72xx processors but it's really half-assed... you lose all decent phone functions in order to use the custom kernel..

x3sphere says:

There's a group of people working on it over at Elotrolado (spanish forum). They are making progress so here's hoping we'll see something soon. I haven't seen any other legitimate attempts on a PSP port.

EDIT: Another port just surfaced for the Dingoo. Original article has been updated. Noticed Darkchild had a hand in beta testing it, pretty neat :)

skparasite says:

Wow at this rate everything, including the kitchen sink, will be able to hack the PS3. XD

It's soooo ironic. lol

Richlando says:

I had really hoped it would never happen, but now that it has I support it for the sake of HB and giving Otheros back. CFW would be nice, really lots of things would but I dont care for it in regards to piracy..ie..backups of games I dont own..but dont see much wrong with backing up what I do own. But even then..not sure I would feel ok with doing that.

ilyace says:

I'm going to download so many PS3 games that I don't own and I'm gonna enjoy every single one of them :)

slicer4ever says:

and things well end up exactly like the psp scene=-)

Richlando says:

Can't help but laugh..even at my own expense.Nice reply.Man I need a Gamertag now, those ARE cool.

El Diablo says:

Yes because xbox and DS both aren't plagued with piracy and still great systems with games coming out for them. PSP was just garbage. It wasn't piracies fault the PSP was crap.

ilyace says:

I know I'm laughing this very moment xD

slicer4ever says:

i was joking, but if you want to get get serious, the point i was making was the ease of piracy on the psp, DS requires a flash card, and the xbox requires either a jtag'd box, or a modified dvd drive(which can lead to an console ban), this however, requires a flash drive(and perhaps at one point, just the controller), making the ease of piracy right up there with the psp, i didn't say it'd fail, i was mostly pointing out how the psp scene has degraded into only being about piracy, and nothing about homebrew anylonger, while the xbox may be the same, the ease of doing it with the xbox is no where on the same level as doing it here.

Richlando says:

Sony didnt ban any psp systems so I dont see the ease entirely for the PS3.Sure the exploit itself but the chance of a console ban doesnt make the choice an easy one. ;) I bought a 2nd PS3 for homebrew and what it can offer, just for me, at least, I have no desire to rip games I dont own.

But! What I like most, call me crazy, is all the discussions taking place all over the net..theories, possiblities..etc. Some really intresting reads..idk.Would really love to see if there is an increase in PS3 sales going on now, lol.

KezraPlanes says:

That's a load of bull. If the PSP was so bad as you claim it wouldn't have sold over 50 million, and if raving idiots with the same mindset hadn't jumped on the PSP wagon, maybe it would be better off tbh. Whatever haters say, the PSP was still a innovative awesome platform with lots of AAA titles damn worth the purchase.

But hey! Haters gonna hate

This man speaks the truth.

They can throw theories all they want, all this is going to lead to is piracy. I'm not seeing a decent HB Scene being born from all this. And yes, sales figures will go up, even if just a little because all those people who wanted a PS3 and didn't want to buy games can now fulfill their wish.

x3sphere says:

Time will tell, there's definitely interest in the dev community from what I've seen. However, right now there's no way to compile code without the official SCE SDK, which is a major blockade for anyone wanting to release homebrew right now. Here's hoping a legal ps3toolchain isn't too far off :)

KezraPlanes says:

On another not you might want to make a newspost that Android officially runs the PSFreedom

Link here: http://forum.xda-developers.com/showthread.php?t=772795&

you say:

Login with your username and password below.