• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[DEV] PSFreedom Android

Search This thread

abc27

Senior Member
Apr 16, 2010
785
137
An effort is being made to port the Maemo version of PSFreedom used to jailbreak PS3 consoles to Android. The original thread is on the Desire forum but since the Desire and Nexus One are almost one and the same it's prudent to post it here as well.

Maemo is almost purely debian based and we have the ability to boot ubuntu/debian on our phones using chroot so a port is very very feasible.

http://forum.xda-developers.com/attachment.php?attachmentid=394596&d=1283537643
The binary files for the N900 comprising a kernel module and two shell scripts

The original thread on the Desire forum

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

We can't let Maemo beat us :D
 

MrNameless

Senior Member
Jan 9, 2010
414
37
Italy
www.androidita.com
An effort is being made to port the Maemo version of PSFreedom used to jailbreak PS3 consoles to Android. The original thread is on the Desire forum but since the Desire and Nexus One are almost one and the same it's prudent to post it here as well.

Maemo is almost purely debian based and we have the ability to boot ubuntu/debian on our phones using chroot so a port is very very feasible.

http://forum.xda-developers.com/attachment.php?attachmentid=394596&d=1283537643
The binary files for the N900 comprising a kernel module and two shell scripts

The original thread on the Desire forum

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

We can't let Maemo beat us :D

I'm with you, you have a pm
 

abc27

Senior Member
Apr 16, 2010
785
137
PSX4Droid is a playstation 1 emulator. This is a jailbreak to force a playstation 3 in to debug mode to allow unsigned code to run.

As of yet we can't hope to begin as the source code is still unreleased until tomorrow.
 

uoY_redruM

Senior Member
May 1, 2010
3,468
1,939
Longwood, FL
PSX4Droid is a playstation 1 emulator. This is a jailbreak to force a playstation 3 in to debug mode to allow unsigned code to run.

As of yet we can't hope to begin as the source code is still unreleased until tomorrow.

Oh, duh, I'm an idiot. PS3 lol. I was half paying attention apparently.

So how does this effect our Android phones though? I'm still confused I guess.

EDIT-

It's not the android phone that's being jailbroken, it's the Playstation 3 being jailbroken through the use of an Android phone.

I should have read first. My apologies.

So basically, our phone can be used to jailbreak our PS3's to run burned games?!?!
 
Last edited:

babijoee

Retired Forum Moderator
Dec 7, 2008
1,548
163
Melbourne
part of me wants this to happen and the other part doesn't. piracy ruin's the console companies and I'm quite happy that the ps3 wasn't hackable up until recently. it would be great to see homebrew and different os running on the ps3 instead of running pirated games. just my 2 cents :p
 

abc27

Senior Member
Apr 16, 2010
785
137
Piracy of ~20GB games is going to be pretty tiresome for most. Downloading 20GB on anything but an extremely fast broadband connection is going to be a no go.
 

Ssantos6981

Senior Member
Oct 17, 2006
385
1
40
Yonkers
Well I have a ps3 and I'm willing to test it out once it is ready for it. Its the original 60 gb. I've already had to repair the yellow light error twice so I'm willing to abuse it some more.
I'd love to emulate some oid my snes games on there.

Sent from my Nexus One using XDA App
 

ermacwins

Senior Member
Aug 25, 2009
5,865
996
Here's an extract from Kakaroto's blog:

Q: How much of the source is Nokia N900 specific? Are you using the Linux USB Gadgets library?
A: Very little is N900 specific, I’m using the include/linux/gadget.h if that’s what you mean. See next Q/A for more info.

Q: How hard is it to port it to a new device ?
A: Well, I’ve just separated my code from the N900 specific stuff, so it’s quite easy, there are mainly two functions to write, one to get and one to set the USB address.. two other functions that only return some static result depending on the configuration of the controller (the name of the endpoints, and whether the controller supports high speed or full speed mode). Read the README file provided with PSFreedom, and check the psfreedom_machine.c file for specifics on what to implement.

Q: How can I port it to a new device.
A: Well, first, you need to figure out what controller your device uses, in the case of the N900, it’s ‘musb’.. Then go to the driver code for that controller (probably in drivers/usb/gadget) and look for ‘SET_ADDRESS’. In the case of musb, it was in drivers/usb/musb/musb_gadget_ep0.c. In there it was setting the address to the USB device, so just copy that code into the psfreedom_machine.c to allow setting the address, and add a similar function to be able to retreive the address.
Then add a function to return 0 or 1 depending on whether the controller supports HIGH, FULL or LOW speed mode (go to usb_gadget_register_driver for your controller, and in the first lines, it should validate the speed argument, it will tell you which ones are acceptable), set LOW speed mode to return TRUE only if FULL speed isn’t available . Finally, add a function to return the endpoint names.. it will usually be something like ‘epXin’ and ‘epXout’ (where X is the endpoint number), or “epXin-bulk”, etc.. look at how the driver initializes its endpoints or grep for “->name” in the file to find where it sets it… That should be enough!
 
Last edited:

talz13

Senior Member
Mar 9, 2009
112
11
Avon, OH
I was just wondering about these PS3 hacks, once the USB devices is emulated and the code is installed (or whatever happens), does the PS3 still need to have the USB device attached in order to keep running the code? Or once it's hacked do you no longer need to have the USB device attached?
 

houmles

Senior Member
Jul 30, 2008
182
27
Prague
OnePlus 7T Pro
I was just wondering about these PS3 hacks, once the USB devices is emulated and the code is installed (or whatever happens), does the PS3 still need to have the USB device attached in order to keep running the code? Or once it's hacked do you no longer need to have the USB device attached?

It's not permanent hack so you have to have the usb plugged in as long as you want play backup games.
 

sassafras_

Senior Member
Aug 18, 2010
445
106
It's not permanent hack so you have to have the usb plugged in as long as you want play backup games.

Well, technically you only need to have it plugged in at boot-time so it can inject the exploit payload and then you can unplug it. That is the case at least with the PSGroove exploit. Kakaroto has said he built PSFreedom mostly from scratch though, so I wonder if his exploit works in the same way. On the original PSJailbreak dongle (The one people were trying to sell in Australia for $150) they added code that would crash the system if you unplugged the dongle, but that has been removed in the opensourced versions

sassafras