2 # /********************************************************
3 # Copyright (C) 2011 graf_chokolo <grafchokolo@googlemail.com>
4 # This is free software. You may redistribute copies of it
6 # the GNU General Public License 2
7 # <http://www.gnu.org/licenses/gpl2.html>.
8 # There is NO WARRANTY, to the extent permitted by law.
10 # This script contains comments on how to use lv1_peek and lv1_poke in GameOS to achieve the same effect
11 # Please use it at your own discretion.
12 # credit goes to a.user (a.user@bk.ru)
14 # It also contains comments on how to disable the patch
15 # This script has been tested on 3.55 Kmeaw CFW
16 # ******************************************************/
18 # Setting ss.common.debug.level
20 perl
-e 'printf "\x00\x00\x00\x01"' |
dd of
=/dev
/ps3ram seek
=$
((0x0075b4bc)) bs
=1 count
=4
21 # val = lv1_peek(0x0075b4bc);
22 # lv1_poke(0x0075b4bc, ((val & 0xFFFFFFFF) | 0x0000000100000000UUL));
23 #perl -e 'printf "\x00\x00\x00\x01\x00\x00\x00\x01"' | dd of=/dev/ps3ram seek=$((0x0075b4b8)) bs=1 count=8
24 #lv1_poke(0x0075b4b8, 0x0000000100000001UUL);
25 #perl -e 'printf "\x00\x00\x00\x01"' | dd of=/dev/ps3ram seek=$((0x0075b4b8)) bs=1 count=4
26 #perl -e 'printf "\x00\x00\x00\x01"' | dd of=/dev/ps3ram seek=$((0x0075b4bc)) bs=1 count=4
27 #dd if=/dev/ps3ram skip=$((0x0075b4b8)) bs=1 count=8 | hexdump -C
29 # Setting ss.sb_mngr.debug.level
31 perl
-e 'printf "\x00\x00\x00\x01"' |
dd of
=/dev
/ps3ram seek
=$
((0x0075b478)) bs
=1 count
=4
32 #val = lv1_peek(0x0075b478);
33 #lv1_poke(0x0075b478, ( (val & 0xFFFFFFFF) | 0x0000000100000000UUL))
34 perl
-e 'printf "\x00\x00\x00\x00\x00\x00\x00\x03"' |
dd of
=/dev
/ps3ram seek
=$
((0x0075b480)) bs
=1 count
=8
35 #lv1_poke(0x0075b480, 0x0000000000000003UUL);
38 #perl -e 'printf "\x00\x00\x00\x00\x00\x00\x00\x00"' | dd of=/dev/ps3ram seek=$((0x0075b4b8)) bs=1 count=8
39 #perl -e 'printf "\x00\x00\x00\x00\x00\x00\x00\x00"' | dd of=/dev/ps3ram seek=$((0x0075b480)) bs=1 count=8
43 #dd if=/dev/ps3ram skip=$((0x0075b478)) bs=1 count=8 | hexdump -C
44 #dd if=/dev/ps3ram skip=$((0x0075b480)) bs=1 count=8 | hexdump -C
45 #dd if=/dev/ps3ram skip=$((0x0075b478)) bs=1 count=8 | hexdump -C (this is relady the required value)
46 #dd if=/dev/ps3ram skip=$((0x0075b480)) bs=1 count=8 | hexdump -C
49 #Notice it's already \x00\x00\x00\x01 when do the following:
50 #dd if=/dev/ps3ram skip=$((0x0075b478)) bs=1 count=8 | hexdump -C
53 #00000000 00 00 00 01 00 00 00 00 |........|
55 #8 bytes (8 B) copied, 0.000231394 s, 34.6 kB/s
56 #similarly at 0x0075b480
57 #dd if=/dev/ps3ram skip=$((0x0075b480)) bs=1 count=8 | hexdump -C
60 #00000000 00 00 00 00 00 00 00 00 |........|
62 #8 bytes (8 B) copied, 0.000229966 s, 34.8 kB/s