Editing Talk:OtherOS++
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
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. | 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 Sitemap== | ||
Line 114: | Line 66: | ||
== Other values for emer_init.self MFW task == | == Other values for emer_init.self MFW task == | ||
<pre> | |||
#!/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]" | |||
} | |||
} | |||
} | |||
</pre> | |||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
Line 131: | Line 188: | ||
=== Adding even more sizes === | === Adding even more sizes === | ||
<pre><DirtyJerz> to get the shellcode for appropriate values you need to compile addis %r7, %r9, -0x0A40 and then objdump where A40 is your size</pre> | |||
http://pastie.org/2522641 | |||
emer_init_patch.tcl | emer_init_patch.tcl | ||
Create GameOS HDD region of size x-GB smaller than default | Create GameOS HDD region of size x-GB smaller than default | ||
change "set replace" values | 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 | 20GB --- 3c e9 fd 80 addis r7,r9,-640 | ||
30GB --- 3c e9 fc 40 addis r7,r9,-960 | 30GB --- 3c e9 fc 40 addis r7,r9,-960 | ||
Line 240: | Line 298: | ||
990GB --- 3c e9 84 40 addis r7,r9,-31680 | 990GB --- 3c e9 84 40 addis r7,r9,-31680 | ||
1000GB --- 3c e9 83 00 addis r7,r9,-32000 | 1000GB --- 3c e9 83 00 addis r7,r9,-32000 | ||
== FreeBSD LiveCD == | == FreeBSD LiveCD == | ||
Line 268: | Line 323: | ||
| CFW355-OTHEROS++-CRYPTO-OFF.PUP (170.65 MB) || http://www.multiupload.com/3FO55L3TLV || Test || 37e26ec55345f8ac2413bcf8cce729d4 || ps3/cfw/test/CFW355-OTHEROS++-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) || | | CFW341-OTHEROS++.PUP (167.12 MB) || http://www.multiupload.com/JZPITOXB3H || || 0b9d15c917b494c4335eed7924e0cf46 || ps3/cfw/CFW341-OTHEROS++.PUP | ||
|- | |- | ||
| CFW355-OTHEROS++.PUP (170.64 MB) || | | 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++-22GB.PUP (170.64 MB) || http://www.multiupload.com/M9AS0XIGDL || || 0aed8e6a77e0a0aed8f41bcc51db3e8c || ps3/cfw/CFW355-OTHEROS++-22GB.PUP | ||
Line 314: | Line 369: | ||
| || || || 420fdee77087333d5da010f766aa1d52 || ps3/linux/ps3_usb_wlan.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 | | || || || 05399d31c1f83d67fd1c3abbd9610a75 || pkgs.rar | ||
|- | |- | ||
|} | |} | ||