PS4: FreeBSD, WebGL, HTML5, Webkit & Save Encryption Development
Many are aware Sony's PlayStation 4 video gaming console uses FreeBSD Open Source Software as outlined on Sony's site HERE, and today Software Engineer Don Olmstead briefly discusses WebGL / HTML5 and the PS4 while PS3 hacker kakarotoks confirms PS4 is running Webkit alongside preliminary PS4 Save Encryption from flynhigh09 as detailed below.
From Don Olmstead, to quote: "Now that the #PS4 has been released I can finally start talking about my piece of the puzzle.
When you login to your PS4 you are running #WebGL code. The PlayStation Store, the Music and Video Applications, as well as a good chunk of UX are all rendered within the browser.
I spent a good amount of time tuning our WebGL rendering engine, and I will be speaking at +SFHTML5 about how to optimize WebGL usage within the context of that work. There will be plenty of great tips on how you can speed up your own WebGL applications so get your slot now. And for those of you can't make it in person it will be live streamed on Google Developers Live."
From kakarotoks (via IRC):
[kakarotok] Saw this and thought I'd share before i forgot: plus.google.com/113371030751322342143/posts/Mzy6VEAwHaa
[mysis] heh i already guessed that the new ui could be html5 based
[kakarotok] I never thought of it but i should have guessed!
[kakarotok] Anyways that's good info for the wiki and means if we ever get jailbreak, should make things easy to modify
[mysis] its way faster etc. than using the xml xmb crap..
[mysis] but nice to seem someone confirming it
[kakarotok] Well, you know me
[kakarotok] If it's not C, then i disapprove..
[kakarotok] So... Ps4 ux is running webkit...
[kakarotok] *list all the webkit exploits*
[defyboy] wow nice
From flynhigh09 (via 360haven.com/forums/threads/29800-%5Bwip%5D-ps4-save-format-research/): PS4 Save Format Research hey guys, today i'm starting this thread to Research the ps4 fileformat together...
We take the ps4 save of Assassin's Creed Black Flag (Save By CloudStrife - 10.28 MB)
PS4 Save Format
- Save key File
- Save BlockTable
Addional Info: I'm not sure yet how the structure is like, but it seems like they are using different blocks/Files, they might be using FilePackaging. Each block/file Is encrypted, encryption is not known yet, but it might be AES-CBC with IV and File Key...research will tell. The Encrypted Blocks start at 0x8000. The Key file might contain the keys we need to decrypt the fileblocks, but even the keyfile.bin might be encrypted.
Another possibility would be that the blocks are Encrypted with another Algorithm and uses the key/hash at the blocktable... time will tell. Please feel free to share your thoughts/research here, i will keep this thread updated whenever new information is available.
While I think we really need to examine a different game as well before we go defining whats what I concur about the blocks, the changes between two saves are rather uniform suggesting it's not a case of just shrouding the entire thing in encryption.
Taking into account what we already know about AC4 and it's save structure, unless the ps4 uses mandatory compression (doubtful) on saves I dobut there's any at work here because it doesn't show up on the xbox360 which if I remember also had some ps4 code in the xex suggesting they were probably brewed from very similar source. We'll know exactly what the actual gamesave looks like when we see it, until then it's just a case of dissection. The keyfile is going to be a pain no matter how involved it is, the fact it even exists is cause to complain, talk about over the top, typical Sony.
I'm pretty sure we're looking at the equivalent of a CON package, I seem to have already forgotten but doesn't the AC series also use multiple save files? Clearly there is some digging to be done. Does the ps3 bruteforcer have any possible application here? I never did check how that actually worked, didn't really care at the time, was just happy it existed.
Simply put: leet skillz+ ps4 sdk leak+ eboot(?) examination = pwned. It's all a waiting game , I can tell I'm not going to be much help at the intial stages but I should be useful when it comes to designing a framework for editors.
But we really need more games to examine, what the hells the holdup? Theres at least 2 games out!
Files on the PS4 (via psdevwiki.com/ps4/Files_on_the_PS4#Partitions):
[Register or Login to view code]
Mountpoints - Hostdevices
- APP_HOME (DATA)
- APP_HOME (HOST)
[Register or Login to view code]
location: (USB\PS4\SAVEDATA\(xxxxxxxxxxxxxxxx)\CUSA00190 (in this case KillZone Shadow Fall)
Finally, from EussNL: Yes, the hub-chip flash of usb and sata has been dumped and shared on wiki here:
Download: usb-bridge.rar / usb-hub.rar
The main flash is not being documented yet as no one has one shared one yet (because it will be perconsole specific I can understand why people are less willing to share those)
With the current stability issues some people seem to experience (blue blinking light, black screen etc) I can understand people are less willing to open up their console and void warranty, however I would greatly welcome more closeup images of both sides of the board. In fact, images basically from everything, not just one source like ifixit.
Slight amendment is needed over here: If you look at the bottom, there is Save Games
I think there should be a USB:\PS4\SAVEDATA\32c2a51736b44a00\CUSA00190 in front of the path.
I am sure save directory on the PS4 itself will look different. We can't know it until we have root access.
PS: Based on the structure, we can see that 32c2a51736b44a00 is properly either user ID or PSN ID.
More PlayStation 4 News...
I don't get much of this, but it sounds like the ps4 is easier to jailbreak
No. what this means is that PS4's UI(UX) will be easier to modify. The core is still NetBSD and till you have keys you are not running anything at all.
I'm just curious, does anyone know what hex editor is being used in these pictures?
nothing is unbreakable just takes knowledge n co-op! i'm new owner of next gen ps4? lmfao its a suped up 'ps2' a mere skeleton was what faithful day 1ers got wit all things left out till later.
more of a reason to hack the heck out of it n show sony what it should be not what they rushed out! still gaming on ps4 is excellent n smooth which makes up for it.