Welcome Guest

Please login or register to access downloadable content.

Register Log in
  • Please Register/Login to be able to see the links and download our ressources.

4.00 HEN continues? [ps3xport Released by KaKaRoTo]

XxZer0ModZxX

Everything started once from 0
ps3xport Released by KaKaRoTo


On December 23, 2014, in Development, PS3, by kakaroto
Hello everyone!

It’s been quite a long time and I’m very happy about that :p
Let’s do the boring part first! This is my final release for the scene, I am not “coming back” or anything like that, so don’t get your hopes up, but I needed to release this so I’d be officially done. I have never actually announced that I’m leaving the scene but everyone figured it out. It wasn’t originally done intentionally actually, but life caught up with me, work, family, lack of time, etc.. so I had little time to work on the ps3. Also, my motivation was mostly gone due to not finding anything interesting anymore, a lot of drama and I’m not a huge fan of all the attention this all brings. I got into the scene because I was curious and I wanted to learn, and I have to say I’ve learned a lot of things these past years and it was an incredible journey, but as I had lack of time and started breathing, I realized that I’ve had enough of it so I left and I am very happy with that decision because you have absolutely no idea how much of a time drain and headache this was :p
Anyways, there was one thing I did just before I left, but I never got to release it, but today is your lucky day as it’s release O’clock where I am!. This release is a way to say Merry Christmas, Happy Holidays, etc.. to everyone, and a way for me to also say “I’m done for good, I don’t have anything left for you in a drawer somewhere” :). I’ve wanted to release this for a while now, and I even made a poll on ps3hax back in March 2012 asking people if I should (looks like ps3hax is down right now so here’s the google cache version) and the general response was not to release it until it can be useful (when an npdrm workaround is found) with some people saying to release if nothing new happens in the scene.. and I think I’ve waited long enough now to know nothing new on that front will happen.

So.. since I’ve announced the release, I’ve seen a lot of speculation about what it is and what it could be.. a lot of people seem to think (or mostly, want/hope for) a downgrade method, unfortunately that’s not the case. I’ve seen some ridiculous suggestions too, like someone asking if it’s a way to run PS4 and Xbox One games on PS3.. I’m sorry to say, that’s not it either :p As I’ve said in a tweet shortly after, this is nothing groundbreaking, this is code that hasn’t been touched in 3 years, so it’s already 3 years old, but I think it’s still something that can be very useful to the community.

So here it is, I’m introducing to you : PS3xport! I’ve uploaded it to my github account here :https://github.com/kakaroto/ps3xport

What does it do? Well, it’s basically a tool for manipulating the PS3 backup data. When I say “PS3 backup”, I’m not talking about a “backup” of a game, no.. I’m talking about the full PS3 hard drive backup that you can do by going to “System Settings->Backup Utility” on your XMB. That creates an encrypted directory on your FAT32 hard drive which allows you to format your PS3 and then Restore it just like it was before. I’ve reverse engineered the file format and encryption and PS3xport allows you to create new backup data from scratch, or dump existing ones, or delete specific files from a backup or do a whole lot of other things to your backup folders. This gives you total control over your /dev_hdd0 and /dev_flash2 filesystems, which will let you install homebrew on any console, even if it’s the latest OFW version. Unfortunately, just like it was 3 years ago, you wouldn’t be able to run those homebrew apps you install due to the NPDRM ECDSA signature missing. If you have your IDPS though for example, it could let you restore a backup from one PS3 to another PS3 without losing any of your data in the transfer.

So.. what’s this about “your IDPS”? yes, the backup has two sets of files, some can be decrypted right away and some can’t because they are encrypted with your IDPS (your unique ps3 device id) which is why they can’t be restored on a different ps3. If you have a CFW, you can easily get your IDPS (I’ve written a small tool to do that, released on github, but apparently MM and Webman will also give you that information) and that will give you total control over your backup data as you would be able to decrypt and reencrypt it. If you have OFW and can’t get your IDPS, then you will not be able to dump/decode all the files from your backup, but you will still be able to create a backup that can be restored on your PS3 with no limitations (this means for example that you can restore a backup from a CFW into an OFW without any issues). I was told however that someone can get IDPS from OFW consoles and in light of this release, they might release their method soon, I can’t say more than that though, but be patient and good things come to those who wait
icon_smile.gif


So my release is in two parts. First, the documentation of the file format was added to theps3devwiki so any developer can understand how the backup archive files are created and can create their own tools. Reverse engineering that format took months of work and I won’t go into too much details about what had to be done to figure out the format but it was an incredibly long and difficult task to do that I had a lot of fun in doing. The second part of the release is of course the release of the ps3xport tool. The tool is quite powerful and you can do a lot of things with it, but it’s a command line only tool and I honestly just tested it on Linux, it’s not really my job at this point to make a windows build, or make a GUI around it, etc.. but I’m sure it won’t be long before others in the scene pick it up and make a nice GUI for it and release windows binaries. I’ve written a nice README file so everyone can understand how the tool works and what it can do. I remember though that 3 years ago just before I stopped working on it, I wanted to add a “AddPKG” command to it which would just ‘install’ a pkg into the backup data automatically, unfortunately, I never got to do it, but it should be easy to do. While I’m at it, I’m also releasing a pkg extraction tool which I found in an old directory (cool thing is the -p option in it, try it…) as well which is a PKG extraction tool that uses the PagedFile mechanism (see below) to allow for very fast pkg file access with very little memory usage even for huge pkg files, any dev can probably mix those two together to add the AddPKG feature to ps3xport.

On the software front, ps3xport.c will parse the commands then use the archive_* API which is in archive.c. That will contain all the functions needed to manipulate the archive files. It uses a ChainedList which is my rudimentary implementation of a GList-like ordered list and the archive API also uses PagedFile objects which are pretty cool. PagedFiles are a wrapper around a file which allows you to read/write to a file using pages (I set it to 64KB per page I think) so it limits the hard drive access. The cool thing about it is that it has encryption and hashing built in, so you can just set the encryption key or ask for the file to be hashed, and whenever you read/write, the encryption will be done transparently, and the coolest thing about it is that you can actually seek in the encrypted file and it will still work (it recalculates the required IV whenever you seek). The encryption there works on the stream, so you don’t need to write blocks of 16 bytes every time (thanks to the paging of the data) and it has a cool ‘splice’ method which allows you to copy data from one PagedFile to another easily, so you could in theory re-encrypt a file using a different key using 5 function calls (open *2, set_key*2, splice).

Download:
https://github.com/kakaroto/ps3xport

Source:
10epogp.png
https://twitter.com/kakarotoks


More needed info about Data Backup can bé find below
http://www.psdevwiki.com/ps3/Archive.dat

Read previous article below.
http://www.xxzer0modzxx.net/forum/index.php?threads/early-days-ps3-4-0-hen-by-kakaroto.46/
 
Last edited:
I found this keys.conf on github
here is also the link https://github.com/kakaroto/ps3xport/commit/8b0bed187aee6480762bbddd0479a4612c6cdb0e





-name=App Revision 0
-type=app
-version=0.60
-revision=0
-iv=4A0955D946DB70D691A640BB7FAECC4C
-key=95F50019E7A68E341FA72EFDF4D60ED376E25CF46BB48DFDD1F080259DC93F04
-public=6F8DF8EBD0A1D1DB08B30DD3A951E3F1F27E34030B42C729C55555232D61B834B8BDFFB07E54B343
-private=006C3E4CCB2C69A5AD7C6F60448E50C7F9184EEAF4
-ctype=21
-
-name=App Revision 1
-type=app
-version=1.00
-revision=1
-iv=6F0F25E1C8C4B7AE70DF968B04521DDA
-key=79481839C406A632BDB4AC093D73D99AE1587F24CE7E69192C1CD0010274A8AB
-public=94D1B7378BAFF5DFED269240A7A364ED68446741622E50BC6079B6E606A2F8E0A4C56E5CFF836526
-private=003DE80167D2F0E9D30F2145144A558D1174F5410C
-ctype=11
-
-name=App Revision 2
-type=app
-version=1.00
-revision=2
-iv=90C127A9B43BA9D8E89FE6529E25206F
-key=4F89BE98DDD43CAD343F5BA6B1A133B0A971566F770484AAC20B5DD1DC9FA06A
-public=8CA6905F46148D7D8D84D2AFCEAE61B41E6750FC22EA435DFA61FCE6F4F860EE4F54D9196CA5290E
-private=
-ctype=13
-
-name=App Revision 4
-type=app
-version=3.40
-revision=4
-iv=7FDBB2E924D182BB0D69844ADC4ECA5B
-key=838F5860CF97CDAD75B399CA44F4C214CDF951AC795298D71DF3C3B7E93AAEDA
-public=1F140E8EF887DAB52F079A06E6915A6460B75CD256834A43FA7AF90C23067AF412EDAFE2C1778D69
-private=0074E922FDEE5DC4CDF22FC8D7986477F813400860
-ctype=14
-
-name=App Revision 7
-type=app
-version=3.50
-revision=7
-iv=1D5EFBE7C5D34AD60F9FBC46A5977FCE
-key=945B99C0E69CAF0558C588B95FF41B232660ECB017741F3218C12F9DFDEEDE55
-public=AB284CA549B2DE9AA5C903B75652F78D192F8F4A8F3CD99209415C0A84C5C9FD6BF3095C1C18FFCD
-private=002CF896D35DB871D0E6A252E799876A70D043C23E
-ctype=15
-
-name=App Revision 10
-type=app
-version=3.55
-revision=10
-iv=5D1FAB844107676ABCDFC25EAEBCB633
-key=29805302E7C92F204009161CA93F776A072141A8C46A108E571C46D473A176A3
-public=09301B6436C85B53CB1585300A3F1AF9FB14DB7C30088C4642AD66D5C148B8995BB1A698A8C71827
-private=0010818ED8A666051C6198662C3D6DDE2CA4901DDC
-ctype=25
-
-name=App Revision 13
-type=app
-version=3.56
-revision=13
-iv=5ADB9EAFE897B54CB1060D6885BE22CF
-key=03B4C421E0C0DE708C0F0B71C24E3EE04306AE7383D8C5621394CCB99FF7A194
-public=71502ADB5783583AB88B2D5F23F419AF01C8B1E72FCA1E694AD49FE3266F1F9C61EFC6F29B351142
-private=
-ctype=12
-
-name=NPDRM Revision 1
-type=npdrm
-version=1.00
-revision=1
-iv=A551CCB4A42C37A734A2B4F9657D5540
-key=F9EDD0301F770FABBA8863D9897F0FEA6551B09431F61312654E28F43533EA6B
-public=B05F9DA5F9121EE4031467E74C505C29A8E29D1022379EDFF0500B9AE480B5DAB4578A4C61C5D6BF
-private=00040AB47509BED04BD96521AD1B365B86BF620A98
-ctype=11
-
-name=NPDRM Revision 4
-type=npdrm
-version=3.40
-revision=4
-iv=ADF7B207A15AC601110E61DDFC210AF6
-key=BB4DBF66B744A33934172D9F8379A7A5EA74CB0F559BB95D0E7AECE91702B706
-public=9C327471BAFF1F877AE4FE29F4501AF5AD6A2C459F8622697F583EFCA2CA30ABB5CD45D1131CAB30
-private=00B61A91DF4AB6A9F142C326BA9592B5265DA88856
-ctype=16
-
-name=NPDRM Revision 7
-type=npdrm
-version=3.50
-revision=7
-iv=E4897BE553AE025CDCBF2B15D1C9234E
-key=3946DFAA141718C7BE339A0D6C26301C76B568AEBC5CD52652F2E2E0297437C3
-public=A13AFE8B63F897DA2D3DC3987B39389DC10BAD99DFB703838C4A0BC4E8BB44659C726CFD0CE60D0E
-private=009EF86907782A318D4CC3617EBACE2480E73A46F6
-ctype=17
-
-name=NPDRM Revision 10
-type=npdrm
-version=3.55
-revision=10
-iv=0A99D4D4F8301A88052D714AD2FB565E
-key=03C21AD78FBB6A3D425E9AAB1298F9FD70E29FD4E6E3A3C151205DA50C413DE4
-public=3995C390C9F7FBBAB124A1C14E70F9741A5E6BDF17A605D88239652C8EA7D5FC9F24B30546C1E44B
-private=009AC6B22A056BA9E0B6D1520F28A57A3135483F9F
-ctype=27
-
-name=NPDRM Revision 13
-type=npdrm
-version=3.56
-revision=12
-iv=8405C88E042280DBD794EC7E22B74002
-key=337A51416105B56E40D7CAF1B954CDAF4E7645F28379904F35F27E81CA7B6957
-public=9BFF1CC7118D2393DE50D5CF44909860683411A532767BFDAC78622DB9E5456753FE422CBAFA1DA1
-private=
-ctype=18
-
-name=SC Encrypt 2
-type=sc
-revision=2
-key=D413B89663E1FE9F75143D3BB4565274
-
-name=SC Encrypt 3
-type=sc
-revision=3
-key=FA72CEEF59B4D2989F111913287F51C7
-
-name=SC Encrypt 4
-type=sc
-revision=4
-key=DAA4B9F2BC70B280A7B340FA0D04BA14
-
-name=SC Encrypt 5
-type=sc
-revision=5
-key=29C194FFEC1FD14D4AAE006C32B35990
-
-
-name=Game PKG
-type=gpkg
-key=2e7b71d7c9c9a14ea3221f188828b8f8
 
D

DarrellDrawn

BANNED/GUEST USER
Greetings fellow bloggers. My friends and I are excited we heard the posts. I’ve been searching for this info all year and I will be encouraging everyone I know to drop by. The other night I was flipping through the web world trying to uncover an answer to my tough questions. Now I am entrusted to take it all the way in whatever form I can. We are getting all jazzed out on the omens we are observing. Moreover, I just was led to thank you from all of us for such incredible information. This has pushed me out of my comfort zone. Many novel improvements are coming into my world. Its really a safe space to make new relationships. It is known that I am investigating. when you get a chance, check out my new photography site:[color=#000_url]best wedding photographers in maryland near Miami FL[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Greetings everyone. My wife and I are tickled to have found this site. I’ve been scoping the news for this info all year and I will be sure to tell my besties to drop by. The other day I was traversing through the best sites out there trying to locate the right solution to my revolving questions. Now I am definately to take a leap in whatever mode I can. We are getting all spaced out on the smart ideas we are observing. Moreover, I just want to thank you immediately for such incredible information. This has propelled me out of a tough situation. Many exciting things are sprouting in my world. Its really a sure forum to make new ideas available. I wish to add also that I am into. If you have time, check out my new business:[color=#000_url]baltimore engagement photographer near me Coral Gables FL[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Hey there dear friends. My mates and I super excited we saw this blog. I’ve been scoping the news for this info all my life and I will be encouraging my children to stop by. The other morning I was thumbing through the search engines trying to secure a conclusion to my staggering questions. Now I am hoping to take more risk in whatever way I can. We are getting all nerded out on the smart ideas we are observing. Moreover, I just was led to thank you deeply for such a resource. This has shifted me out of rough territory. Many beautiful improvements are growing in my world. Its really a super place to make new engagements. You may value that I am looking into. when you get a chance, check out my newly created business:[color=#000_url]savannah engagement photographer near me Florida[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Hello fellow readers. We are tickled we came across the like minds here. I’ve been searching for this info for hours and I will be convincing my cohorts to swing on by. The other afternoon I was flipping through the highest rated sites trying to determine the answers to my tough questions. Now I am planning to take more risk in whatever mode I can. We are getting all nerded out on the smart ideas we are observing. Moreover, I just wanted to thank you kindly for such open sourcing. This has forced me out of unhealthy habits. Many fresh things are sprouting in my world. Its really a perfect page to make new engagements. I need to share that I am studying. If you have time, visit my new website:[color=#000_url]wedding photos in Naples FL[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Hi friends. We are super excited we came across this group. I’ve been crawling the net for this info for hours and I will be convincing my children to swing on by. The other night I was flipping through the most relevant threads trying to uncover a solution to my eternal questions. Now I am hoping to take it to the next level in whatever way I can. We are getting all pickled out on the smart ideas we are observing. Moreover, I just came back to thank you from all of us for such a resource. This has propelled me out of an old rut. Many vibrant knowings are sprouting in my world. Its really a sure area to make new ideas available. I need to share that I am developing. Here is my new hobby, check out my new business:[color=#000_url]staceylee near me Sarasota FL[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Ciao readers. My wife and I are happy to have found the information here. I’ve been scouring for this info for months and I will be encouraging my bro to hop by. The other evening I was traversing through the top forums trying to discover an answer to my eternal questions. Now I am definately to take more risk in whatever form I can. We are getting all jazzed out on the spiritual implications we are observing. Moreover, I just want to thank you from the bottom of my heart for such open sourcing. This has shifted me out of an old rut. Many hopeful things are coming into my world. Its really a surprising page to make new great effect. I will share also that I am studying. when you get a chance, visit my newly created website:[color=#000_url]celebrations at the bay pricing near Naples FL[/color]
 
D

DarrellDrawn

BANNED/GUEST USER
Greetings readers. My team members and I are delighted to have found this group. I’ve been scratching my head for this info for hours and I will be encouraging my children to hop by. The other day I was bouncing around through the google searches trying to determine a resolution to my eternal questions. Now I am hoping to take it all the way in whatever path I can. We are getting all blurred out on the signs we are observing. Moreover, I just needed to thank you in words for such solid answers. This has forced me out of an old rut. Many beautiful improvements are gaining momentum my world. Its really a perfect community to make new engagements. I must make mention that I am looking into. If you have time, visit my newly created business site:[color=#000_url]wedding mansions around Boca Raton[/color]
 
Top