forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Homebrew on 2.0+ through GTA savedata
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Dec 11, 2005 6:52 am    Post subject: Homebrew on 2.0+ through GTA savedata Reply with quote

As you may know, EdisonCarter has made a trainer for GTA that uses a straightforward exploit in the game to execute arbitrary code. He chose not to reveal his techniques, but with the new savedata encryption and decryption routines at http://forums.ps2dev.org/viewtopic.php?t=4335, now anyone can run homebrew on 2.0, 2.01, 2.50, and probably 2.60:
  1. Decrypt the GTA cheat device using the savedata/decrypt sample
  2. Find and modify the code (look at offset 0xc4 for the offset of the start of MIPS code)
  3. Reencrypt the save using the savedata/encrypt sample
Note that the syscalls may be changed from the 2.0 VSH mode, since a different set of modules is loaded. Hopefully it shouldn't take long before someone clever like Fanjita can make a decent loader for us.
Back to top
View user's profile Send private message
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Sun Dec 11, 2005 10:46 am    Post subject: Reply with quote

Awesome. Fanjita will be happy about this :)


There should be semgame data for other games like Wipeout Pure, because i dont have GTA
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Sun Dec 11, 2005 10:48 am    Post subject: Reply with quote

NeoSkeith666 wrote:
Awesome. Fanjita will be happy about this :)


There should be semgame data for other games like Wipeout Pure, because i dont have GTA


Fanjita is over the moon... :)
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
peenee



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 10:48 am    Post subject: Reply with quote

Is there any way of running kernel mode apps with this? Since it is a game that has taken over the ENTIRE PSP?
Back to top
View user's profile Send private message Send e-mail
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Sun Dec 11, 2005 10:54 am    Post subject: Reply with quote

I can't say for sure, but i'm pretty sure this will be kernel.
Back to top
View user's profile Send private message
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Sun Dec 11, 2005 10:56 am    Post subject: Reply with quote

by the way. does the cheat device work for 2.6???
Back to top
View user's profile Send private message
peenee



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 10:56 am    Post subject: Reply with quote

NeoSkeith666 wrote:
I can't say for sure, but i'm pretty sure this will be kernel.

SWEEEEEEEEEEEEEEEEEEEET!!!! Once we get a hello world app running, LET THE HOMEBREWING BEGIN!!! (All over again! :p)
_________________
I am the peenee from PSP Updates
Back to top
View user's profile Send private message Send e-mail
peenee



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 10:57 am    Post subject: Reply with quote

NeoSkeith666 wrote:
by the way. does the cheat device work for 2.6???

Not to my knowledge, unfortunately =(
_________________
I am the peenee from PSP Updates
Back to top
View user's profile Send private message Send e-mail
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Sun Dec 11, 2005 11:00 am    Post subject: Reply with quote

damn, damn, damn, but fanjita can probably make it work. I mean at first the cheat device only worked for 2.0, then he got it to work on 2.5. I mean, why WOULDN'T it work on 2.6+ ?? I don't wanna be stuck on the anti-homebrew boat any longer!! I want my IS--i mean, um..homebrew!!!
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Sun Dec 11, 2005 11:28 am    Post subject: Reply with quote

Please, less of the speculation on this site - take that elsewhere, this thread should be for the discussion of the technical side of what Jim and psp123 have achieved.

Obviously I'm trying to get an EBOOT loader working using this technique as soon as possible, and that will be announced elsewhere when it is ready.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
peenee



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 11:43 am    Post subject: Reply with quote

NeoSkeith666 wrote:
damn, damn, damn, but fanjita can probably make it work. I mean at first the cheat device only worked for 2.0, then he got it to work on 2.5. I mean, why WOULDN'T it work on 2.6+ ?? I don't wanna be stuck on the anti-homebrew boat any longer!! I want my IS--i mean, um..homebrew!!!

It seems like sony patched up many, many bugs in 2.60 that were in 2.50 >=(

Okay, Fan
_________________
I am the peenee from PSP Updates
Back to top
View user's profile Send private message Send e-mail
Zenurb



Joined: 30 Sep 2005
Posts: 106
Location: United Kingdom

PostPosted: Sun Dec 11, 2005 11:44 am    Post subject: Reply with quote

NeoSkeith666 wrote:
I want my IS--i mean, um..homebrew!!!


You know, pirating games is illegal and also a fucking bad idea to discuss on this board. Fuck off if you're visiting this site and that's your only interest. Get the hell out.
_________________
Proud Dvorak User
US 1.5 PSP (Original)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
peenee



Joined: 11 Dec 2005
Posts: 5

PostPosted: Sun Dec 11, 2005 11:45 am    Post subject: Reply with quote

Zenurb, please don't flame peeps in an area where everybody will read it!
_________________
I am the peenee from PSP Updates
Back to top
View user's profile Send private message Send e-mail
NeoSkeith666



Joined: 06 Oct 2005
Posts: 15

PostPosted: Sun Dec 11, 2005 12:02 pm    Post subject: Reply with quote

Zenurb wrote:
NeoSkeith666 wrote:
I want my IS--i mean, um..homebrew!!!


You know, pirating games is illegal and also a fucking bad idea to discuss on this board. Fuck off if you're visiting this site and that's your only interest. Get the hell out.


Chill, i was joking
Back to top
View user's profile Send private message
Zenurb



Joined: 30 Sep 2005
Posts: 106
Location: United Kingdom

PostPosted: Sun Dec 11, 2005 12:14 pm    Post subject: Reply with quote

peenee wrote:
Zenurb, please don't flame peeps in an area where everybody will read it!


That's kind of the point of flames.

NeoSkeith666 wrote:
Chill, i was joking


No you weren't. This is what drives me nuts. If you're insterested in piracy of any kind, your place is not on this site. People who pirate are those who are stopping legitimate homebrew authors.
_________________
Proud Dvorak User
US 1.5 PSP (Original)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sun Dec 11, 2005 1:08 pm    Post subject: Reply with quote

Ok, Zenurb, you've made your point. The noise level is a bit too high in this thread, so please stay on topic.

Back on topic...

From what I understand, the only thing that prevents this exploit from fully working on 2.60 is that the list of syscalls hasn't been mapped for 2.60 yet. Developers should still be able to get something on screen to confirm that the exploit does work on 2.60, but figuring out the syscalls will take a bit longer.

BTW, what are the conditions for code running via this exploit? This is what has been gathered so far:
  1. Offset 0xC4 in the save has the offset of the MIPS payload (0x0000fe74).
  2. The first thing the MIPS payload does is copy itself to 0x09fb5000 (after checking to make sure it isn't already loaded). It is passed the address of itself in register a1.
  3. After copying itself, it jumps to address 0x09fb5080.
I used the following to disassemble the exploit from the raw save file:
Code:
psp-objdump -D -b binary -m mips:allegrex --start-address=0xfe74 DATA.BIN
Back to top
View user's profile Send private message
ericthebum180



Joined: 11 Dec 2005
Posts: 2

PostPosted: Sun Dec 11, 2005 2:04 pm    Post subject: I came up with this Reply with quote

I came up with this also dude we think alike :)!

Don't belive me think i'm just a copycat well look i even came up with it b4 him! http://forums.qj.net/showthread.php?t=28263[/url]
Back to top
View user's profile Send private message
ericthebum180



Joined: 11 Dec 2005
Posts: 2

PostPosted: Sun Dec 11, 2005 2:07 pm    Post subject: Reply with quote

also i told Fanjita and he's made posts a while ago :)!
Back to top
View user's profile Send private message
Mellow



Joined: 11 Dec 2005
Posts: 1

PostPosted: Sun Dec 11, 2005 9:37 pm    Post subject: Reply with quote

mrbrown wrote:
Ok, Zenurb, you've made your point. The noise level is a bit too high in this thread, so please stay on topic.

Back on topic...

From what I understand, the only thing that prevents this exploit from fully working on 2.60 is that the list of syscalls hasn't been mapped for 2.60 yet. Developers should still be able to get something on screen to confirm that the exploit does work on 2.60, but figuring out the syscalls will take a bit longer.

BTW, what are the conditions for code running via this exploit? This is what has been gathered so far:
  1. Offset 0xC4 in the save has the offset of the MIPS payload (0x0000fe74).
  2. The first thing the MIPS payload does is copy itself to 0x09fb5000 (after checking to make sure it isn't already loaded). It is passed the address of itself in register a1.
  3. After copying itself, it jumps to address 0x09fb5080.
I used the following to disassemble the exploit from the raw save file:
Code:
psp-objdump -D -b binary -m mips:allegrex --start-address=0xfe74 DATA.BIN


I am not good at coding of any kind. Dont know shit - if i should be honest :)
Well why would we want homebrew on 2.6 really, ok its the newest firmware with all the new functions. But the 2.5 -> 2.6 functions (the ones added) isnt really good :P
Otherwise it would be great if we got it too work but i think the concentration should be on getting ALL homebrew work on 2.0, 2.01, 2.5 if thats the easiest. Now if I have understood everything wrong, im sorry, becouse as I said i suck at coding :P.
And dont take it as I want you to change things to work, i just said my opinion :)
Hope noone has hard feelings.
Hope Fanjita or mrbrown or anyone continue on this, great work!
Back to top
View user's profile Send private message
27Bstroke6



Joined: 07 Jul 2005
Posts: 23

PostPosted: Fri Dec 16, 2005 1:27 pm    Post subject: Reply with quote

On a closely related topic, has there been any progress in generalizing the ability of the EBOOT loader for 2.0 to allow for homebrew access to the WiFi or serial port functions? Thanks.
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Fri Dec 16, 2005 8:36 pm    Post subject: Reply with quote

27Bstroke6 wrote:
On a closely related topic, has there been any progress in generalizing the ability of the EBOOT loader for 2.0 to allow for homebrew access to the WiFi or serial port functions? Thanks.


Wifi - yes. The in-development 0.9 version supports a few wifi apps, via the technique from the wifi demo that I released a couple of weeks ago. It should also be able to support

Once support for loading the loader under GTA is complete, I'll probably start looking at whether it's possible to improve that support, and allow simplified loading of the wifi libs, and possibly also the serial driver, via the loader. It seems likely that it can be done, at least for wifi - I haven't checked whether the serial driver is signed or not.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
27Bstroke6



Joined: 07 Jul 2005
Posts: 23

PostPosted: Sat Dec 17, 2005 2:40 am    Post subject: Reply with quote

Oops, looks like something was cut off in your previous message, but I got your drift. Fantastic. It would be ironic if the serial port was actually harder to access than the WiFi!

I'm glad to see that there's hope for the folks beyond 2.0, though personally I have no interest in GTA and if the functions of interest are available via 2.0 that should serve very nicely, especially since WiFi routines mean streaming, RSS, etc. are doable without relying on post-2.0 firmware.

The 2.0 browser is a necessity -- I've found it to be far more useful than I had expected, especially since it supports SSL and privately-signed certs (though with a few extra steps to accept the latter on each page...)

Thanks again for your great work.
Back to top
View user's profile Send private message
nosduh92



Joined: 23 Dec 2005
Posts: 2
Location: ohio

PostPosted: Fri Dec 23, 2005 3:58 pm    Post subject: other games Reply with quote

can an exploit/cheat device like this work with other games? im thinkin wipeout pure
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Fri Dec 23, 2005 9:37 pm    Post subject: Reply with quote

It's certainly possible that exploits exist in other games' savegame functions.

But you won't be able to use this exact same exploit on other games, since it's specific to GTA.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
nosduh92



Joined: 23 Dec 2005
Posts: 2
Location: ohio

PostPosted: Sat Dec 24, 2005 12:31 am    Post subject: Reply with quote

yea we couldnt just put the gta code in another savegame file but when hot coffee came out for ps2 everyone tried to hack ar,gs,armax,cb codes for games other than gta and were sucsessful. btw, all of that code in the decryption routines... how do u use it? do i need a decryption program?
Back to top
View user's profile Send private message
skr3dii



Joined: 27 Dec 2005
Posts: 1

PostPosted: Tue Dec 27, 2005 7:24 am    Post subject: Any other homebrew software than tetris runs on 2.01+ ? Reply with quote

Any other homebrew software than tetris runs on 2.01+ ?
Simple question. Or we have to wait for EBOOT loader from Fanjita for 2.01+?
Back to top
View user's profile Send private message
Fanjita



Joined: 28 Sep 2005
Posts: 217

PostPosted: Tue Dec 27, 2005 8:17 am    Post subject: Re: Any other homebrew software than tetris runs on 2.01+ ? Reply with quote

skr3dii wrote:
Any other homebrew software than tetris runs on 2.01+ ?
Simple question. Or we have to wait for EBOOT loader from Fanjita for 2.01+?


Simplest way is to wait for the EBOOT loader. So far it's running Nem's Hello World, but there are some strange thread creation problems that are blocking further progress at the moment.

If you want to try to write code to run directly in the GTA exploit environment, you can try downloading the GTA Hello World (search PSPUpdates file section), which can be used to load code compiled to .BIN files.
_________________
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
Back to top
View user's profile Send private message
niemand0815



Joined: 27 Dec 2005
Posts: 10

PostPosted: Tue Dec 27, 2005 9:43 am    Post subject: Reply with quote

my personal problem is:
how do i convert the savegames from the uk(=eu)-version to the german version?
obviously there are some differences, as for example the name of the directory where the saves are in.
Back to top
View user's profile Send private message
Energy



Joined: 26 Mar 2005
Posts: 133
Location: uk/beds/flitwick

PostPosted: Sun Jan 08, 2006 3:31 am    Post subject: Reply with quote

niemand0815 wrote:
my personal problem is:
how do i convert the savegames from the uk(=eu)-version to the german version?
obviously there are some differences, as for example the name of the directory where the saves are in.


well that's what you change.... the directory. :)
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
niemand0815



Joined: 27 Dec 2005
Posts: 10

PostPosted: Sun Jan 08, 2006 10:19 pm    Post subject: Reply with quote

Energy wrote:
niemand0815 wrote:
my personal problem is:
how do i convert the savegames from the uk(=eu)-version to the german version?
obviously there are some differences, as for example the name of the directory where the saves are in.


well that's what you change.... the directory. :)


you should try before posting such things *g*
changing the directory does not work with the censored = 16+ german version. the 18+ "german" version is the eu-version, so no problem there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group