

htc Desireをカスタムして遊んでた人で知らない人は居ないであろうAdamG様のOxygenROMがSGS2にやって来たのでSC-02Cに焼いてみた
Oxygen Forum Oxygen v2.2 [02/08/2011]
焼き方はCyanogenModと同じでCWMRecoveryからFlashするだけ、ラクチン
//start
0x0001,0x0000, //
0x002c,0x0fff, //DNR bypass 0x003C
0x002d,0x1900, //DNR bypass 0x0a08
0x002e,0x0000, //DNR bypass 0x1010
0x002f,0x0fff, //DNR bypass 0x0400
0x003A,0x000d, //HDTR DE_off CS : de on = d , de off = 9
0x003B,0x0001, //DE SHARPNESS(0~1023) off
0x003C,0x0000, //NOISE LEVEL
0x003F,0x001e, //CS GAIN 30
0x0042,0x0030, //DE TH (MAX DIFF)
0x0028,0x0000, //Register Mask
//end
//start
0x0001,0x0045, //0x0000から0x0045に
0x002c,0x0fff, //DNR bypass 0x003C
0x002d,0x1900, //DNR bypass 0x0a08
0x002e,0x0000, //DNR bypass 0x1010
0x002f,0x0fff, //DNR bypass 0x0400
0x003A,0x000d, //HDTR DE_off CS : de on = d , de off = 9
0x003B,0x0001, //default 1DE SHARPNESS(0~1023) off
0x003C,0x0000, //NOISE LEVEL
0x003F,0x001e, //CS GAIN 30
0x0042,0x0030, //DE TH (MAX DIFF)
0x005b,0x0064, //追加
0x0063,0x7a00, //追加 青色調整
0x0065,0x0088, //追加 赤色調整
0x0028,0x0000, //Register Mask
//end
dd if=/dev/block/mmcblk0p9 of=/sdcard/dump/mmcblk0p9.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/sdcard/dump/mmcblk0p5.img bs=4096
mkdir system
mount -o loop mmcblk0p9.img system
./mkuserimg.sh -s /home/hoge/sc02c/system ./factoryfs.img ext4 ./temp 612M
$ wget http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
$ sudo tar jxvf arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -C /opt
$tar xf GT-I9100_Kernel_Gingerbread.tar.gz
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
$export PATH=/opt/arm-2009q3/bin:$PATH
$export ARCH=arm
$export CROSS_COMPILE=arm-none-linux-gnueabi-
$make c1_rev02_jpn_ntt_defconfig
$make -j4
$tar cvf SC02C_kernel.tar zImage
insmod /lib/modules/jbd2.ko
insmod /lib/modules/ext4.ko
mount ext4 /dev/block/stl9 /system noatime nodiratime errors=continue nobh data=writeback barrier=0 noauto_da_alloc
mount rfs /dev/block/stl9 /system ro check=no
mount ext4 /dev/block/stl10 /data nosuid nodev noatime nodiratime errors=continue nobh data=writeback barrier=0 noauto_da_alloc
mount rfs /dev/block/stl10 /data nosuid nodev check=no
mount ext4 /dev/block/stl11 /cache nosuid nodev noatime nodiratime errors=continue nobh data=writeback barrier=0 noauto_da_alloc
mount rfs /dev/block/stl11 /cache nosuid nodev check=no
busybox tar cf /sdcard/system.tar /system || halt
busybox tar cf /sdcard/data.tar /data || halt
adb push jbd2.ko /tmp
adb push ext4.ko /tmp
adb shell insmod /tmp/jbd2.ko
adb shell insmod /tmp/ext4.ko
adb shell umount /system
adb shell umount /data
adb shell umount /cache
adb push fsck.ext4 /tmp
adb push mkfs.ext4 /tmp
adb push mke2fs.conf /etc
adb push tune2fs /tmp
adb shell chmod 0755 /tmp -R
adb shell chmod 0755 /etc -R
adb shell /tmp/mkfs.ext4 -L /system -b 4096 -m 0 -F /dev/block/stl9
adb shell /tmp/tune2fs -c 100 -i 30d -m 0 /dev/block/stl9
adb shell /sbin/mount -t ext4 /dev/block/stl9 /system
adb shell /tmp/mkfs.ext4 -L /data -b 4096 -m 0 -F /dev/block/stl10
adb shell /tmp/tune2fs -c 100 -i 30d -m 0 /dev/block/stl10
adb shell /sbin/mount -t ext4 /dev/block/stl10 /data
adb shell /tmp/mkfs.ext4 -L /cache -b 4096 -m 0 -F /dev/block/stl11
adb shell /tmp/tune2fs -c 100 -i 30d -m 0 /dev/block/stl11
adb shell /sbin/mount -t ext4 /dev/block/stl11 /cache
busybox tar xf /sdcard/system.tar -C /
busybox tar xf /sdcard/data.tar -C /