Talk:OtherOS++

From PS3 Developer wiki
Jump to navigation Jump to search

OtherOS++

original wiki is here : http://wiki.gitbrew.org/ but some content is listed here for convenience because of the recent failures of that server/hosting.




Google cache Sitemap

Google cache wiki.gitbrew.org links:

main



FAQ / solutions

Getting out of Petitboot

Q: How can someone get out of Petitboot if they have a MFW without ps3hvc_hvcall patches (e.g. OtherOS++Special) and Petitboot errors @ ps3-flash-util -g (Trying Recovery Mode only gives Petitboot) ?
A1: ps3-boot-game-os will reboot onto GameOS, you can reflash petitboot from there with install_otheros.pkg
A2: Error when missing a symbolic link, use: ps3-flash-util -d /dev/ps3vflashf -g

Partition/storage regions usage

ps3d - 4 accessible regions
  ps3da : entire disk
    ps3db : UFS2 encrypted  GameOS
    ps3dc : FAT cache/temp partition, 2047 MiB (4194296)
    ps3dd : OtherOS storage region
      Example:
      ps3dd1 : 2GB swap
      ps3dd2 : Linux/FreeBSD


Other values for emer_init.self MFW task

#!/usr/bin/tclsh
#
# ps3mfw -- PS3 MFW creator
#
# Copyright (C) Anonymous Developers (Code Monkeys)
# Copyright (C) glevand ([email protected])
#
# This software is distributed under the terms of the GNU General Public
# License ("GPL") version 3, as published by the Free Software Foundation.
#

# Priority: 300
# Description: Patch emergency init

# Option --patch-emer-init-gameos-hdd-region-size-half: Create GameOS HDD region of size half of installed HDD
# Option --patch-emer-init-gameos-hdd-region-size-quarter: Create GameOS HDD region of size quarter of installed HDD
# Option --patch-emer-init-gameos-hdd-region-size-eighth: Create GameOS HDD region of size eighth of installed HDD
# Option --patch-emer-init-gameos-hdd-region-size-22gb-smaller: Create GameOS HDD region of size 22GB smaller than default
# Option --patch-emer-init-disable-pup-search-in-game-disc: Disable searching for update packages in GAME disc.

# Type --patch-emer-init-gameos-hdd-region-size-half: boolean
# Type --patch-emer-init-gameos-hdd-region-size-quarter: boolean
# Type --patch-emer-init-gameos-hdd-region-size-eighth: boolean
# Type --patch-emer-init-gameos-hdd-region-size-22gb-smaller: boolean
# Type --patch-emer-init-disable-pup-search-in-game-disc: boolean

namespace eval ::patch_emer_init {

    array set ::patch_emer_init::options {
        --patch-emer-init-gameos-hdd-region-size-half false
        --patch-emer-init-gameos-hdd-region-size-quarter true
        --patch-emer-init-gameos-hdd-region-size-eighth false
        --patch-emer-init-gameos-hdd-region-size-22gb-smaller false
        --patch-emer-init-disable-pup-search-in-game-disc false
    }

    proc main { } {
        set self "emer_init.self"

        ::modify_coreos_file $self ::patch_emer_init::patch_self
    }

    proc patch_self {self} {
        ::modify_self_file $self ::patch_emer_init::patch_elf
    }

    proc patch_elf {elf} {
        if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-half)} {
            log "Patching emergency init to create GameOS HDD region of size half of installed HDD"

            set search  "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
            append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
            set replace "\x79\x27\xf8\x42"

            catch_die {::patch_elf $elf $search 28 $replace} \
                "Unable to patch self [file tail $elf]"
        }

        if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-quarter)} {
            log "Patching emergency init to create GameOS HDD region of size quarter of installed HDD"

            set search  "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
            append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
            set replace "\x79\x27\xf0\x82"

            catch_die {::patch_elf $elf $search 28 $replace} \
                "Unable to patch self [file tail $elf]"
        }

        if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-eighth)} {
            log "Patching emergency init to create GameOS HDD region of size eighth of installed HDD"

            set search  "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
            append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
            set replace "\x79\x27\xe8\xc2"

            catch_die {::patch_elf $elf $search 28 $replace} \
                "Unable to patch self [file tail $elf]"
        }

        if {$::patch_emer_init::options(--patch-emer-init-gameos-hdd-region-size-22gb-smaller)} {
            log "Patching emergency init to create GameOS HDD region of size 22GB smaller than default"

            set search  "\xe9\x21\x00\xa0\x79\x4a\x00\x20\xe9\x1b\x00\x00\x38\x00\x00\x00\x7d\x26\x48\x50"
            append search "\x7d\x49\x03\xa6\x39\x40\x00\x00\x38\xe9\xff\xf8"
            set replace "\x3c\xe9\xfd\x40"

            catch_die {::patch_elf $elf $search 28 $replace} \
                "Unable to patch self [file tail $elf]"
        }

        if {$::patch_emer_init::options(--patch-emer-init-disable-pup-search-in-game-disc)} {
            log "Patching emergency init to disable searching for update packages in GAME disc"

            set search  "\x80\x01\x00\x74\x2f\x80\x00\x00\x40\x9e\x00\x14\x7f\xa3\xeb\x78"
            set replace "\x38\x00\x00\x01"

            catch_die {::patch_elf $elf $search 0 $replace} \
                "Unable to patch self [file tail $elf]"
        }
    }
}
GB replace
400 \x3c\xe9\xce\x00
22 \x3c\xe9\xfd\x40
1/8th for GameOS \x79\x27\xe8\xc2
1/4th for GameOS \x79\x27\xf0\x82
1/2 for GameOS \x79\x27\xf8\x42

Adding even more sizes

<DirtyJerz> to get the shellcode for appropriate values you need to compile addis %r7, %r9, -0x0A40 and then objdump where A40 is your size

http://pastie.org/2522641

emer_init_patch.tcl
Create GameOS HDD region of size x-GB smaller than default
By: DirtyJerz
change "set replace" values
i am not responsible for what you biff.
that is all.
    
10GB --- 3c e9 fe c0 addis r7,r9,-320
20GB --- 3c e9 fd 80 addis r7,r9,-640
30GB --- 3c e9 fc 40 addis r7,r9,-960
40GB --- 3c e9 fb 00 addis r7,r9,-1280
50GB --- 3c e9 f9 c0 addis r7,r9,-1600
60GB --- 3c e9 f8 80 addis r7,r9,-1920
70GB --- 3c e9 f7 40 addis r7,r9,-2240
80GB --- 3c e9 f6 00 addis r7,r9,-2560
90GB --- 3c e9 f4 c0 addis r7,r9,-2880
100GB --- 3c e9 f3 80 addis r7,r9,-3200
110GB --- 3c e9 f2 40 addis r7,r9,-3520
120GB --- 3c e9 f1 00 addis r7,r9,-3840
130GB --- 3c e9 ef c0 addis r7,r9,-4160
140GB --- 3c e9 ee 80 addis r7,r9,-4480
150GB --- 3c e9 ed 40 addis r7,r9,-4800
160GB --- 3c e9 ec 00 addis r7,r9,-5120
170GB --- 3c e9 ea c0 addis r7,r9,-5440
180GB --- 3c e9 e9 80 addis r7,r9,-5760
190GB --- 3c e9 e8 40 addis r7,r9,-6080
200GB --- 3c e9 e7 00 addis r7,r9,-6400
210GB --- 3c e9 e5 c0 addis r7,r9,-6720
220GB --- 3c e9 e4 80 addis r7,r9,-7040
230GB --- 3c e9 e3 40 addis r7,r9,-7360
240GB --- 3c e9 e2 00 addis r7,r9,-7680
250GB --- 3c e9 e0 c0 addis r7,r9,-8000
260GB --- 3c e9 df 80 addis r7,r9,-8320
270GB --- 3c e9 de 40 addis r7,r9,-8640
280GB --- 3c e9 dd 00 addis r7,r9,-8960
290GB --- 3c e9 db c0 addis r7,r9,-9280
300GB --- 3c e9 da 80 addis r7,r9,-9600
310GB --- 3c e9 d9 40 addis r7,r9,-9920
320GB --- 3c e9 d8 00 addis r7,r9,-10240
330GB --- 3c e9 d6 c0 addis r7,r9,-10560
340GB --- 3c e9 d5 80 addis r7,r9,-10880
350GB --- 3c e9 d4 40 addis r7,r9,-11200
360GB --- 3c e9 d3 00 addis r7,r9,-11520
370GB --- 3c e9 d1 c0 addis r7,r9,-11840
380GB --- 3c e9 d0 80 addis r7,r9,-12160
390GB --- 3c e9 cf 40 addis r7,r9,-12480
400GB --- 3c e9 ce 00 addis r7,r9,-12800
410GB --- 3c e9 cc c0 addis r7,r9,-13120
420GB --- 3c e9 cb 80 addis r7,r9,-13440
430GB --- 3c e9 ca 40 addis r7,r9,-13760
440GB --- 3c e9 c9 00 addis r7,r9,-14080
450GB --- 3c e9 c7 c0 addis r7,r9,-14400
460GB --- 3c e9 c6 80 addis r7,r9,-14720
470GB --- 3c e9 c5 40 addis r7,r9,-15040
480GB --- 3c e9 c4 00 addis r7,r9,-15360
490GB --- 3c e9 c2 c0 addis r7,r9,-15680
500GB --- 3c e9 c1 80 addis r7,r9,-16000
510GB --- 3c e9 c0 40 addis r7,r9,-16320
520GB --- 3c e9 bf 00 addis r7,r9,-16640
530GB --- 3c e9 bd c0 addis r7,r9,-16960
540GB --- 3c e9 bc 80 addis r7,r9,-17280
550GB --- 3c e9 bb 40 addis r7,r9,-17600
560GB --- 3c e9 ba 00 addis r7,r9,-17920
570GB --- 3c e9 b8 c0 addis r7,r9,-18240
580GB --- 3c e9 b7 80 addis r7,r9,-18560
590GB --- 3c e9 b6 40 addis r7,r9,-18880
600GB --- 3c e9 b5 00 addis r7,r9,-19200
610GB --- 3c e9 b3 c0 addis r7,r9,-19520
620GB --- 3c e9 b2 80 addis r7,r9,-19840
630GB --- 3c e9 b1 40 addis r7,r9,-20160
640GB --- 3c e9 b0 00 addis r7,r9,-20480
650GB --- 3c e9 ae c0 addis r7,r9,-20800
660GB --- 3c e9 ad 80 addis r7,r9,-21120
670GB --- 3c e9 ac 40 addis r7,r9,-21440
680GB --- 3c e9 ab 00 addis r7,r9,-21760
690GB --- 3c e9 a9 c0 addis r7,r9,-22080
700GB --- 3c e9 a8 80 addis r7,r9,-22400
710GB --- 3c e9 a7 40 addis r7,r9,-22720
720GB --- 3c e9 a6 00 addis r7,r9,-23040
730GB --- 3c e9 a4 c0 addis r7,r9,-23360
740GB --- 3c e9 a3 80 addis r7,r9,-23680
750GB --- 3c e9 a2 40 addis r7,r9,-24000
760GB --- 3c e9 a1 00 addis r7,r9,-24320
770GB --- 3c e9 9f c0 addis r7,r9,-24640
780GB --- 3c e9 9e 80 addis r7,r9,-24960
790GB --- 3c e9 9d 40 addis r7,r9,-25280
800GB --- 3c e9 9c 00 addis r7,r9,-25600
810GB --- 3c e9 9a c0 addis r7,r9,-25920
820GB --- 3c e9 99 80 addis r7,r9,-26240
830GB --- 3c e9 98 40 addis r7,r9,-26560
840GB --- 3c e9 97 00 addis r7,r9,-26880
850GB --- 3c e9 95 c0 addis r7,r9,-27200
860GB --- 3c e9 94 80 addis r7,r9,-27520
870GB --- 3c e9 93 40 addis r7,r9,-27840
880GB --- 3c e9 92 00 addis r7,r9,-28160
890GB --- 3c e9 90 c0 addis r7,r9,-28480
900GB --- 3c e9 8f 80 addis r7,r9,-28800
910GB --- 3c e9 8e 40 addis r7,r9,-29120
920GB --- 3c e9 8d 00 addis r7,r9,-29440
930GB --- 3c e9 8b c0 addis r7,r9,-29760
940GB --- 3c e9 8a 80 addis r7,r9,-30080
950GB --- 3c e9 89 40 addis r7,r9,-30400
960GB --- 3c e9 88 00 addis r7,r9,-30720
970GB --- 3c e9 86 c0 addis r7,r9,-31040
980GB --- 3c e9 85 80 addis r7,r9,-31360
990GB --- 3c e9 84 40 addis r7,r9,-31680
1000GB --- 3c e9 83 00 addis r7,r9,-32000

FreeBSD LiveCD

ps3_freebsd_livecd.iso 08-Aug-2011 17:39 342M (hardcoded 1920x1080)

mirror: ps3_freebsd_livecd.iso (341.51 MB) 08-Aug-2011 17:39 342M (hardcoded 1920x1080) MD5:3AF91272574F7D0939A6D17C7BCA92F1 / SHA1:27068E9F02F8C7F3043E26B7CE19B3DF36213B35


Mirror mirror on the wall

name mirror type md5 location
CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP (170.65 MB) http://www.multiupload.com/XPJSBJQB83 Latest 7ef6c3a753c95cc9f6f4ca2cf1c4a11e ps3/cfw/latest/CFW355-OTHEROS++-EIGHTH-HDD-NO-SS-PATCH.PUP
CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP (170.65 MB) http://www.multiupload.com/LNJBEIS7T1 Latest 845b56b3b7141a841afcdb55002b27ae ps3/cfw/latest/CFW355-OTHEROS++-HALF-HDD-NO-SS-PATCH.PUP
CFW355-OTHEROS++.PUP (170.65 MB) http://www.multiupload.com/ZTBI2ZXLRH Test 1051cd182cd0790f958e181d1a9be6a8 ps3/cfw/test/CFW355-OTHEROS++.PUP
CFW355-OTHEROS++-22GB.PUP (170.65 MB) http://www.multiupload.com/10Z0IWREVD Test d6e77b49261df53913a54a693d255848 ps3/cfw/test/CFW355-OTHEROS++-22GB.PUP
CFW355-OTHEROS++-ATA-CRYPTO-OFF.PUP (170.65 MB) http://www.multiupload.com/03NN635MTR Test 8034a754d4592e0d22f54ca53f21736b ps3/cfw/test/CFW355-OTHEROS++-ATA-CRYPTO-OFF.PUP
CFW355-OTHEROS++-CRYPTO-OFF.PUP (170.65 MB) http://www.multiupload.com/3FO55L3TLV Test 37e26ec55345f8ac2413bcf8cce729d4 ps3/cfw/test/CFW355-OTHEROS++-CRYPTO-OFF.PUP
CFW341-OTHEROS++.PUP (167.12 MB) http://www.multiupload.com/JZPITOXB3H 0b9d15c917b494c4335eed7924e0cf46 ps3/cfw/CFW341-OTHEROS++.PUP
CFW355-OTHEROS++.PUP (170.64 MB) http://www.multiupload.com/SWB7MA8I75 5c8e202e2a405f3b28a6bf10db4e9c0b ps3/cfw/CFW355-OTHEROS++.PUP
CFW355-OTHEROS++-22GB.PUP (170.64 MB) http://www.multiupload.com/M9AS0XIGDL 0aed8e6a77e0a0aed8f41bcc51db3e8c ps3/cfw/CFW355-OTHEROS++-22GB.PUP
CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP (170.64 MB) http://www.multiupload.com/ZR9CGT7H4Q 60bf74ed258f84629c75417d62227bae ps3/cfw/CFW355-OTHEROS++-EIGHTH-HDD-SIZE.PUP
CFW355-OTHEROS++-SPECIAL.PUP (170.64 MB) http://www.multiupload.com/TQINKXA4ZV e46f9cdc9b471b7bca6ced201d6f49cb ps3/cfw/CFW355-OTHEROS++-SPECIAL.PUP
PS3UPDAT.PUP (170.65 MB) http://www.multiupload.com/F8ZGOM55TU b26fbe46b637db944f7d8eb99fb54099 ps3/cfw/PS3UPDAT.PUP
README (729 Bytes) http://www.multiupload.com/MY14V8JDZ7 934a13a6a8e4215886695bc9c8caaf3b ps3/cfw/README
1deaee890be1aaf395b3dea845127454 ps3/doc/INSTALL_OTHEROS_ON_HDD
82544d74ee1e22f64ac894fb62ebef02 ps3/freebsd/config/PS3
deda855141c79092428bd4df94bcb2a9 kernel-1280x720.rar
b0309b5e29ec8ccffe17f17116b89b97 kernel-1920x1080.rar
b149a6977b73596cc2bab7d7be3341b5 kernel-720x480.rar
6e4bebf81576272af0c71129f15a6ef2 ps3/freebsd/livecd/freebsd_livecd_1280x720.iso.bz2
80ceed645d71746a365782215bba977f ps3/freebsd/livecd/freebsd_livecd_1920x1080.iso.bz2
d6bfad3ccdca38eff06328f2a9fe04ea ps3/freebsd/livecd/freebsd_livecd_720x480.iso.bz2
3af91272574f7d0939a6d17c7bca92f1 ps3/freebsd/livecd/ps3_freebsd_livecd.iso
c98ddbe9e7facfeb88de06acae124551 ps3/freebsd/loader/loader-1280x720.ps3
5d22b2f8ebaa6ad3b9c289dfe8933ebd ps3/freebsd/loader/loader-1920x1080.ps3
dbb650887c81e7b707e326a8e45c5eff ps3/freebsd/loader/loader-720x480.ps3
955765c87ed4af911e2efab9922b43dc ps3/freebsd/ps3_world.tar.gz
deb51516e44ff070e6ca2c9ebf779962 ps3/linux/ps3linux_kernel_latest.tar.gz
0b40b767cf3cdea8341a07ba6a1b579b ps3/linux/ps3rsx.tar.gz
420fdee77087333d5da010f766aa1d52 ps3/linux/ps3_usb_wlan.tar.gz
0f16158794f9650961f0c52e28f83671 ps3/petitboot/dtbImage.ps3.bin
02cc6ef50879f03dbf3dc519bc0dd299 ps3/petitboot/dtbImage.ps3.bin.minimal
05399d31c1f83d67fd1c3abbd9610a75 pkgs.rar