Another quoted Graf_Chokolo comment, but this time he is very close to it. You know, activating back OtherOS? According to Graf, his way of OtherOS is “cleaner” than what fail0verflow’s team going to do with f0f’s very own alternative Linux to the PS3, AsbestOS.
My approach will enable OtherOS to have the same access rigths as GameOS, it means access to Dispatcher Manager, Update Manager, VFLASH, HDD encryption/decryption, isolated SPUs and RSX of course.
GameOS is only good for games, for PS3 development and hacking is Linux or FreeBSD with GameOS rights are a lot better. And i want a clean approach for booting Linux, not like AsbestOS, it’ not very clean.
I have my loader for OtherOS bootloader ready now, will patch HV today and try it out in the evening, after that will report back. Stay tuned.
I managed to boot an unencrpyted LV2 kernel from VFLASH. The decrypted
LV2 kernel from Service JIG just made some strange sounds for several seconds and then did shutdown Normal unencrypted LV2 kernels boot normally. We could kick out lv2ldr from HV completely and boot enencrypted LV2 kernel always Working now on Linux bootloader. Stay tuned.
Update: from marcan himself:
February 3, 2011 at 8:51 am
graf_chokolo, I don’t think you “get” AsbestOS. It’s just a linux bootloader, in fact it would work great as otheros.bld or any other way of running it as an lv2 binary, and it’s more robust than petitboot (and smaller and easier to modify).
OtherOS + extra rights isn’t a replacement for AsbestOS, it’s an alternative to our original approach of replacing lv2 with AsbestOS. There’s already one released way to boot AsbestOS (USB exploit, which isn’t very clean/handy), Hermes is working on a runtime lv2 bootstrap for it (also not very clean but handy for people who like CFWs), there’s the lv2 replacement that we demoed but which isn’t out yet (which is clean, though can’t dual-boot GameOS yet), and once you release what you’re working on you will be able to just boot AsbestOS with it. Of course you could just run petitboot too, but where’s the fun in that? (we could’ve just used petitboot as a lv2 kernel for the 27c3 demo too, but AsbestOS is just much easier to make work and I already have a working new boot ABI using the devtree to pass the region1 allocation to Linux and patches that make it work regardless of whether the bootmem split is 128/128 or 16/240).
This isn’t a competition, I see no reason why AsbestOS can’t work great with whatever you’re getting ready
Btw, re: disk encryption, they use the same key and a NULL IV (can’t remember if all 00 or all ff) for every sector. It’s a very stupid/insecure block encryption scheme. There are flags for the sector read commands to toggle encryption on and off, that’s what we used to boot Linux off of a raw, totally DOS formatted disk with no encryption or lv1 regions.
Also, we thought about booting an unencrypted lv2 kernel too (I assume you’re messing with default.spp?) but we were very short on time and self was easier. Of course, you know a lot more about lv1 than we do
Plus reaction of Graf_chokolo:
February 3, 2011 at 6:00 pm
I didn’t use default.spp to boot decrypted LV2. I patched HV process which loads LV2 kernel, kicked out lv2ldr, replaced the function which loads lv2_kernel.self with my own code which loads just any OS from a VFLASH region It can be either petitboot, LV2 kernel or something else And dual boot is also possible with this approach. We could store several kernels on VFLASH and decide at boot time which one to boot.
And yesterday i found also out how to enable all debug and log messages in HV and HV procs and actually see these log messages Expect more soon. And greetings to SONY I will try today to boot decrypted 3.56 LV2 on my 3.41 PS3
If you could upload a binary image of AsbestOS for me please, i could test booting it today from VFLASH. Thanks.
plus the return comment from Marcan:
February 3, 2011 at 11:33 pm
(I think this blog is eating my comments if they have URLs…)
Here are three binaries (compiled off of the public git, it’s just stage2_native.bin) with three different boot modes (config.h settings):
-hdd boots from a raw DOS formatted HDD (first partition must be FAT and contain a kboot.conf, same as we used at 27c3), -tftp boots from DHCP/TFTP (bootfile should be a kboot.conf), and -netrpc sets up a server that lets you read/write memory and issue hypercalls from a client on your PC, for experiments (see netrpc scripts in asbestos.git). See the AsbestOS readme for info on how to boot kernels with it (you need my ps3-linux.git patches). Git is at git.marcansoft.com.
You should run dbgcli on your PC on the same network as the PS3 to watch the debug output (even if you don’t set up the kernel/kboot.conf, if you get that it means it’s working). You can compile it from git, or here are two Linux binaries (64/32bit):
February 4, 2011 at 12:22 am
Guys, i would be greatful if someone could upload me decrypted 3.56 lv2 kernel. Thanks.
promptly he got served and gets busy:
February 4, 2011 at 6:43 am
If i got the right version then i just booted decrypted lv2 kernel 3.56 from VFLASH
February 4, 2011 at 6:46 am
Thanks for the images. Just booted your tftp image from VFLASH And i see UDP packets coming from PS3
February 4, 2011 at 9:22 pm
Please be patient guys, i’m working day and night on HV reversing and Linux booting Regarding dual boot GameOS+Linux, yeah, it’s definetely doable, i’m implementing it currently Regarding dual boot GameOS CFW + GameOS OFW, is also doable, but harder. In both cases we need a custom HV. All HVs are nearly the same in all firmwares from SONY, and i know it very good and can add functionality, patch or remove it however i want.
Booting Linux from VFLASH/HDD or decrypted LV2 kernel from VFLASH/HDD is just a small proof to SONY how good i know your HV Or should i say now my HV
Without patching HV you cannot get GameOS rights on 3.15 with Linux. So custom HV is still needed. And that is exactly what i’m doing right now, creating custom HV. And with original HV from 3.15 you won’t be able to communicate with Update Manager or Dispatcher Manager e.g.
February 5, 2011 at 3:33 am
Just booted petitboot from VFLASH on my 3.41 PS3 Created a new VFLASH storage region of size 16MB and stored there uncomressed petitboot compiled by me with openwrt I only patched HV, didn’t touch any Linux files Sorry marcan, i will stick with petitboot I intend to install Debian Linux on this weekend on my HDD Greetings to SONY OtherOS is back But now with GameOS features. Stay tuned.
Dual boot GameOS+Linux is close