Post: [NEWS]graf_chokolo: Dual boot possible (GameOS and Linux)
01-31-2011, 07:13 PM #1
manster
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); Good News for the PS3 Scene :y:

You must login or register to view this content.


Originally posted by another user
graf_chokolo says:You must login or register to view this content.
@Estx
Yeah, it would be possible to redirect dev_flash to another HDD region, e.g. by patching Hypervisor’s storage subsystem. HDD has enough space for that.
And i figured out that the size of VFLASH region where 3.15 stored otheros.bld can be doubled and i will be able to store decompressed Linux bootloader otheros.bld on this VFLASH region You must login or register to view this content. It will simplify HV patching immensely, i do not need now to decompress Linux bootloader in HV. I will test it today and report back. There are 0×2000 extra unused sectors between the VFLASH region for otheros.bld and the next VFLASH region, so i can use those sectors and increase the size of VFLASH region for otheros.bld.
We could make a CFW by patching HV with dual boot option, either GameOS or Linux could be booted from HDD.
Originally posted by another user
ModIT says:You must login or register to view this content.
Nice graf!
This makes it interesting – what about Dual-Boot : 2x GameOS with different firmware?
CFW 3.55 and OFW 3.56 e.g ?
Originally posted by another user
graf_chokolo says:You must login or register to view this content.
@ModIt
It’s not as easy as booting Linux from HDD or booting second lv2 kernel from FLASH. I don’t want to say it’s impossible but it’s very hard.
I updated now my partition table of VFLASH and incresed the size of VFLASH region where Linux bootloader is stored. After that i stored petitboot Linux bootloader on VFLASH successfully. Next step – patching HV at runtime and booting petitboot from HDD which will allow me to install a Linux distribution on a HDD region on my 3.41 PS3.
More of his comments:

Originally posted by another user
graf_chokolo says:
You must login or register to view this content.
Figured out how to disable HDD encryption permanently by patching HV You must login or register to view this content.
Just theory for now, still needs testing You must login or register to view this content. Will report back after i tested it.
Originally posted by another user
graf_chokolo says: You must login or register to view this content.
Holy crap, guys You must login or register to view this content. Patched HV at runtime, disabled HDD encryption, rebooted GameOS and GameOS started to format my HDD and i lost all data on my HDD You must login or register to view this content. I guess because everything was encrypted and GameOS didn’t understand it because i disabled decryption, so it reformated HDD.
HV reversing is fun You must login or register to view this content.
Originally posted by another user
graf_chokolo says: You must login or register to view this content.
@Ornillo
The difference is that i do not use LV2 at all to decrypt/encrypt storage devices. Storage device encryption/decryption is done by HV and peripheral devices like ENCDEC or RBD. I’m trying to understand how the storage subsystem of HV works currently, it’s by far the most complex part of HV i have seen so far.
And recently i figured out that the VFLASH region, where Linux boot loader (otheros.bld) is stored, is still there on 3.41 firmware. I’m trying now to boot Linux bootloader from this region. OtherOs.self writes otheros.bld image to this VFLASH region and creates cekk_ext_os_area where several parameters are stored. On 3.15 firmware, when Linux was booted, the Linux System Manager (in HV process 9) loads Linux bootloader from the VFLASH region, decompresses it and boots it. The problem with 3.4.1 firmware is, that SONY removed Linux System Manager from HV process 9. It’s no problem for me to store Linux bootloader on this VFLASH partition. But there are 2 problems, first the VFLASH region where Linux is stored is 0×40000 bytes large, so there is not much place for Linux bootloader on VFLASH, so it should be compressed to make it smaller. Second problem is, i have to patch HV process, insert my code which loads it from VFLASH and decompresses Linux bootloader. And after that we could boot Linux from HDD and it would have GameOS rights, e.g. has access to Dispatcher Manager e.g.
or run isolated SPUs.

Originally posted by another user
graf_chokolo says:You must login or register to view this content.
And more, HV has a nice feature to boot Linux bootloader with System Debugger You must login or register to view this content. Too bad i don’t have a debugger for HV You must login or register to view this content.

Originally posted by another user
graf_chokolo says:You must login or register to view this content.
I dumped now both decrypted and encrypted sectors of UFS2. And the same plaintext is encrypted to the same ciphertext You must login or register to view this content. Encryption is independent of sector position.

Originally posted by another user
graf_chokolo says:You must login or register to view this content.
And SONY uses 128-bit block cipher to encrypt the blocks within a sector.



Source:
You must login or register to view this content.

graf_chokolo beats team fail0verflow?

:y:


Cant wait for some released work


graf_chokolo ftw :carling:
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to manster for this useful post:

AtlasK, Gandi, Geeqoh, Gshyne, I3LaCkOuTz, Oliiver, Solid Snake, sSkylit
01-31-2011, 07:24 PM #2
Arriba
Banned
Yeah saw this on ps3dev hope it turns out well Smile
01-31-2011, 07:27 PM #3
tak_tizzle
Death Before Dishonour
Originally posted by manster View Post
Good News for the PS3 Scene :y:

You must login or register to view this content.




More of his comments:
You must login or register to view this content.
Source:
You must login or register to view this content.



Cant wait for some released work


graf_chokolo ftw :carling:


think it can work for 3.56?
01-31-2011, 07:32 PM #4
manster
League Champion
Originally posted by tizzle View Post
think it can work for 3.56?


i think it has to be installed on 3.55 or below (because we dont have all the new keys)

we only have these keys for 3.56:
You must login or register to view this content.
Sony didnt fail this time :carling:



but maybe we could run dual Firmware. CFW 3.55 and Original FW 3.56+ Smile
01-31-2011, 07:32 PM #5
sSkylit
In Hopes of Serenity
Originally posted by tizzle View Post
think it can work for 3.56?


It would expand far beyond just 3.56 if we could successfully dual boot OS's on the PS3.
01-31-2011, 07:33 PM #6
Geeqoh
Be the change you want to see in the world.
Oh man, that would be great!
01-31-2011, 07:33 PM #7
sSkylit
In Hopes of Serenity
Originally posted by manster View Post
i think it has to be installed on 3.55 or below (because we dont have all the new keys)

we only have these keys for 3.56:
You must login or register to view this content.
Sony didnt fail this time :carling:



but maybe we could run dual Firmware. CFW 3.55 and Original FW 3.56 Smile


It's not the firmware he is speaking of, it's the core operating system.

In other words, this is fantastic news Smile.
01-31-2011, 07:49 PM #8
manster
League Champion
Originally posted by sSkylit View Post
It's not the firmware he is speaking of, it's the core operating system.

In other words, this is fantastic news Smile.

It is possible

Originally posted by another user
ModIT says:You must login or register to view this content.
Nice graf!
This makes it interesting – what about Dual-Boot : 2x GameOS with different firmware?
CFW 3.55 and OFW 3.56 e.g ?
Originally posted by another user
graf_chokolo says:You must login or register to view this content.
@ModIt
It’s not as easy as booting Linux from HDD or booting second lv2 kernel from FLASH. I don’t want to say it’s impossible but it’s very hard.
01-31-2011, 07:51 PM #9
Pillar2365
I use to give free rep :/
With the things that graf_chokolo has he could literally crush the PS3. He has literally reverse engineered the PS3. If he was to release what he has we would be able to do anything. Pusshtt and people say that us knowing the private public keys did something. THIS would so something.
01-31-2011, 07:51 PM #10
RETRO-STATE
Do a barrel roll!
This is great news

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo