I Have My Loader For OtherOS Bootloader Ready Now – Graf_Chokolo [UPDATED]

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

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.

@ModIt

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 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Normal unencrypted LV2 kernels boot normally. We could kick out lv2ldr from HV completely and boot enencrypted LV2 kernel always icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Working now on Linux bootloader. Stay tuned.

Update: from marcan himself:

marcan says:
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 icon wink I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

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 icon wink I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

Plus reaction of Graf_chokolo:

graf_chokolo says:
February 3, 2011 at 6:00 pm

@marcan

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 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] It can be either petitboot, LV2 kernel or something else icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] 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 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Expect more soon. And greetings to SONY icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] I will try today to boot decrypted 3.56 LV2 on my 3.41 PS3 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

@marcan
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:

marcan says:
February 3, 2011 at 11:33 pm

(I think this blog is eating my comments if they have URLs…)

@graf_chokolo

Here are three binaries (compiled off of the public git, it’s just stage2_native.bin) with three different boot modes (config.h settings):
http://marcansoft.com/transf/asbestos-20110203-hdd.bin
http://marcansoft.com/transf/asbestos-20110203-tftp.bin
http://marcansoft.com/transf/asbestos-20110203-netrpc.bin

-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):
http://marcansoft.com/transf/dbgcli
http://marcansoft.com/transf/dbgcli32

Have fun icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

graf_chokolo reacts:

graf_chokolo says:
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:

graf_chokolo says:
February 4, 2011 at 6:43 am

If i got the right version then i just booted decrypted lv2 kernel 3.56 from VFLASH icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

graf_chokolo says:
February 4, 2011 at 6:46 am

@marcan

Thanks for the images. Just booted your tftp image from VFLASH icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] And i see UDP packets coming from PS3 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

UPDATE:

graf_chokolo says:
February 4, 2011 at 9:22 pm

Please be patient guys, i’m working day and night on HV reversing and Linux booting icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Regarding dual boot GameOS+Linux, yeah, it’s definetely doable, i’m implementing it currently icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] 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 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Or should i say now my HV icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

@Scarface

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.

graf_chokolo says:
February 5, 2011 at 3:33 am

Just booted petitboot from VFLASH on my 3.41 PS3 icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Created a new VFLASH storage region of size 16MB and stored there uncomressed petitboot compiled by me with openwrt icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] I only patched HV, didn’t touch any Linux files icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Sorry marcan, i will stick with petitboot icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] I intend to install Debian Linux on this weekend on my HDD icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] Greetings to SONY icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] OtherOS is back icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED] But now with GameOS features. Stay tuned.

Dual boot GameOS+Linux is close icon smile I Have My Loader For OtherOS Bootloader Ready Now   Graf Chokolo [UPDATED]

Graf_Chokolo’s Den

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

CFW With Dual Boot Option, GameOS or Linux booted from HDD – Graf_Chokolo

Next Post

How To Access PSN In 3.55 Custom Firmware Using Aaron’s DNS Trick

Related Posts