aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-07-21 10:16:44 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-07-21 10:16:44 +0700
commit2f0339adefe0f1eb5fc7422a7808e515a07c46dd (patch)
tree21115495cc6220c8c7603d6a5fd48e16386bf872 /usr
parent14f2e910a160a18d9305e4834d5a21eab60dfac2 (diff)
downloadkernel_samsung_aries-2f0339adefe0f1eb5fc7422a7808e515a07c46dd.zip
kernel_samsung_aries-2f0339adefe0f1eb5fc7422a7808e515a07c46dd.tar.gz
kernel_samsung_aries-2f0339adefe0f1eb5fc7422a7808e515a07c46dd.tar.bz2
aries: adjust ramdisk for built in stage2
also remove duplicate ramdisks for ease of maintenance Change-Id: Ie101d47db1120a059ea03e1a52b5da0c2151df93
Diffstat (limited to 'usr')
-rw-r--r--usr/captivatemtd_initramfs.list45
-rwxr-xr-xusr/captivatemtd_initramfs_files/bml_over_mtdbin68036 -> 0 bytes
-rwxr-xr-xusr/captivatemtd_initramfs_files/busyboxbin478916 -> 0 bytes
-rwxr-xr-xusr/captivatemtd_initramfs_files/erase_imagebin59848 -> 0 bytes
-rwxr-xr-xusr/captivatemtd_initramfs_files/init70
-rw-r--r--usr/fascinatemtd_initramfs.list3
-rwxr-xr-xusr/fascinatemtd_initramfs_files/bml_over_mtdbin68036 -> 0 bytes
-rwxr-xr-xusr/fascinatemtd_initramfs_files/init28
-rw-r--r--usr/galaxysbmtd_initramfs.list45
-rwxr-xr-xusr/galaxysbmtd_initramfs_files/bml_over_mtdbin68036 -> 0 bytes
-rwxr-xr-xusr/galaxysbmtd_initramfs_files/busyboxbin478916 -> 0 bytes
-rwxr-xr-xusr/galaxysbmtd_initramfs_files/erase_imagebin59848 -> 0 bytes
-rwxr-xr-xusr/galaxysbmtd_initramfs_files/init70
-rw-r--r--usr/galaxysmtd_initramfs.list3
-rwxr-xr-xusr/galaxysmtd_initramfs_files/bml_over_mtdbin68036 -> 0 bytes
-rwxr-xr-xusr/galaxysmtd_initramfs_files/init27
-rw-r--r--usr/vibrantmtd_initramfs.list45
-rwxr-xr-xusr/vibrantmtd_initramfs_files/bml_over_mtdbin68036 -> 0 bytes
-rwxr-xr-xusr/vibrantmtd_initramfs_files/busyboxbin478916 -> 0 bytes
-rwxr-xr-xusr/vibrantmtd_initramfs_files/erase_imagebin59848 -> 0 bytes
-rwxr-xr-xusr/vibrantmtd_initramfs_files/init70
21 files changed, 24 insertions, 382 deletions
diff --git a/usr/captivatemtd_initramfs.list b/usr/captivatemtd_initramfs.list
deleted file mode 100644
index a64a73c..0000000
--- a/usr/captivatemtd_initramfs.list
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#####################
-# .
-# Last modified: 1303434626.6776324710
-
-dir /dev 755 0 0
-dir /dev/block 755 0 0
-nod /dev/block/mmcblk0 644 0 0 b 179 0
-nod /dev/block/mmcblk0p1 644 0 0 b 179 1
-nod /dev/block/mtdblock0 644 0 0 b 31 0
-nod /dev/block/mtdblock4 644 0 0 b 31 4
-nod /dev/block/mtdblock6 644 0 0 b 31 6
-nod /dev/block/mtdblock2 644 0 0 b 31 2
-nod /dev/block/mtdblock3 644 0 0 b 31 3
-nod /dev/block/mtdblock5 644 1001 1001 b 31 5
-nod /dev/block/mtdblock7 644 0 0 b 31 7
-nod /dev/block/mtdblock1 644 0 0 b 31 1
-dir /dev/mtd 755 0 0
-nod /dev/mtd/mtd4 644 0 0 c 90 8
-nod /dev/mtd/mtd0 644 0 0 c 90 0
-nod /dev/mtd/mtd0ro 644 0 0 c 90 1
-nod /dev/mtd/mtd3 644 0 0 c 90 6
-nod /dev/mtd/mtd7 644 0 0 c 90 14
-nod /dev/mtd/mtd1 644 0 0 c 90 2
-nod /dev/mtd/mtd3ro 644 0 0 c 90 7
-nod /dev/mtd/mtd5ro 644 1001 1001 c 90 11
-nod /dev/mtd/mtd1ro 644 0 0 c 90 3
-nod /dev/mtd/mtd5 644 0 0 c 90 10
-nod /dev/mtd/mtd6ro 644 0 0 c 90 13
-nod /dev/mtd/mtd6 644 0 0 c 90 12
-nod /dev/mtd/mtd7ro 644 0 0 c 90 15
-nod /dev/mtd/mtd2 644 0 0 c 90 4
-nod /dev/mtd/mtd4ro 644 0 0 c 90 9
-nod /dev/mtd/mtd2ro 644 0 0 c 90 5
-slink /init /stage1/init 777 0 0
-dir /proc 755 0 0
-dir /stage1 755 0 0
-dir /system 755 0 0
-dir /cache 755 0 0
-dir /sdcard 755 0 0
-file /stage1/busybox source/usr/captivatemtd_initramfs_files/busybox 755 0 0
-file /stage1/init source/usr/captivatemtd_initramfs_files/init 755 0 0
-file /stage1/bml_over_mtd source/usr/captivatemtd_initramfs_files/bml_over_mtd 755 0 0
-file /stage1/erase_image source/usr/captivatemtd_initramfs_files/erase_image 755 0 0
-dir /sys 755 0 0
diff --git a/usr/captivatemtd_initramfs_files/bml_over_mtd b/usr/captivatemtd_initramfs_files/bml_over_mtd
deleted file mode 100755
index 1adaf99..0000000
--- a/usr/captivatemtd_initramfs_files/bml_over_mtd
+++ /dev/null
Binary files differ
diff --git a/usr/captivatemtd_initramfs_files/busybox b/usr/captivatemtd_initramfs_files/busybox
deleted file mode 100755
index 9496f7a..0000000
--- a/usr/captivatemtd_initramfs_files/busybox
+++ /dev/null
Binary files differ
diff --git a/usr/captivatemtd_initramfs_files/erase_image b/usr/captivatemtd_initramfs_files/erase_image
deleted file mode 100755
index 9c08402..0000000
--- a/usr/captivatemtd_initramfs_files/erase_image
+++ /dev/null
Binary files differ
diff --git a/usr/captivatemtd_initramfs_files/init b/usr/captivatemtd_initramfs_files/init
deleted file mode 100755
index 5d0a655..0000000
--- a/usr/captivatemtd_initramfs_files/init
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/stage1/busybox sh
-export _PATH="$PATH"
-export PATH=/stage1
-
-busybox cd /
-busybox date >>boot.txt
-exec >>boot.txt 2>&1
-busybox rm init
-busybox mount -t proc proc /proc
-busybox mount -t sysfs sysfs /sys
-
-bml_over_mtd dump boot 72 reservoir 2004 /stage1/boot.bin
-
-eval $(busybox grep -m 1 -A 1 BOOT_IMAGE_OFFSETS /stage1/boot.bin | busybox tail -n 1)
-
-load_offset=$boot_offset
-load_len=$boot_len
-
-busybox mount -t yaffs2 /dev/block/mtdblock2 /system
-busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
-
-if busybox test -e /cache/.startrecovery || busybox grep -q bootmode=2 /proc/cmdline ; then
- # recovery boot
- busybox rm -fr /cache/.startrecovery
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-elif ! busybox test -e /system/build.prop ; then
- # emergency boot
- busybox umount /cache
- erase_image cache
- busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
- busybox mkdir /cache/recovery
-
- busybox mount -t vfat /dev/block/mmcblk0p1 /sdcard
-
- UPDATE=$(busybox cat /sdcard/cyanogenmod.cfg)
-
- if busybox test -e $UPDATE ; then
- busybox echo "install_zip(\"`echo $UPDATE`\");" > /cache/recovery/extendedcommand
- fi
-
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-fi
-
-busybox umount /cache
-busybox umount /system
-busybox umount /sdcard
-busybox rmdir /sdcard
-
-busybox dd bs=512 if=/stage1/boot.bin skip=$load_offset count=$load_len | busybox zcat | busybox cpio -i
-
-if busybox grep -q 1 /sys/class/power_supply/battery/charging_mode_booting ; then
- # low power mode
- busybox cp lpm.rc init.rc
- busybox rm init.aries.rc
-fi
-
-busybox umount /sys
-busybox umount /proc
-busybox date >>boot.txt
-busybox rm -fr /stage1 /dev/*
-export PATH="${_PATH}"
-exec /init
diff --git a/usr/fascinatemtd_initramfs.list b/usr/fascinatemtd_initramfs.list
index 0abe320..0eae442 100644
--- a/usr/fascinatemtd_initramfs.list
+++ b/usr/fascinatemtd_initramfs.list
@@ -43,6 +43,7 @@ dir /data 755 0 0
dir /sdcard 755 0 0
file /stage1/busybox source/usr/fascinatemtd_initramfs_files/busybox 755 0 0
file /stage1/init source/usr/fascinatemtd_initramfs_files/init 755 0 0
-file /stage1/bml_over_mtd source/usr/fascinatemtd_initramfs_files/bml_over_mtd 755 0 0
file /stage1/erase_image source/usr/fascinatemtd_initramfs_files/erase_image 755 0 0
+file /stage1/ramdisk.img ../../ramdisk.img 700 0 0
+file /stage1/ramdisk-recovery.img ../../ramdisk-recovery.img 700 0 0
dir /sys 755 0 0
diff --git a/usr/fascinatemtd_initramfs_files/bml_over_mtd b/usr/fascinatemtd_initramfs_files/bml_over_mtd
deleted file mode 100755
index 1adaf99..0000000
--- a/usr/fascinatemtd_initramfs_files/bml_over_mtd
+++ /dev/null
Binary files differ
diff --git a/usr/fascinatemtd_initramfs_files/init b/usr/fascinatemtd_initramfs_files/init
index ae94eab..b7f40e4 100755
--- a/usr/fascinatemtd_initramfs_files/init
+++ b/usr/fascinatemtd_initramfs_files/init
@@ -9,32 +9,25 @@ busybox rm init
busybox mount -t proc proc /proc
busybox mount -t sysfs sysfs /sys
-bml_over_mtd dump boot 72 reservoir 2004 /stage1/boot.bin
-
-eval $(busybox grep -m 1 -A 1 BOOT_IMAGE_OFFSETS /stage1/boot.bin | busybox tail -n 1)
-
-load_offset=$boot_offset
-load_len=$boot_len
-
busybox mount -t yaffs2 /dev/block/mtdblock2 /system
busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
+image=/stage1/ramdisk.img
+
if busybox test -e /cache/.startrecovery || \
busybox grep -q bootmode=2 /proc/cmdline ; then
# recovery boot
busybox rm -fr /cache/.startrecovery
-
- load_offset=$recovery_offset
- load_len=$recovery_len
+ image=/stage1/ramdisk-recovery.img
# disable lpm
busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
elif ! busybox test -e /system/build.prop ; then
# emergency boot
- busybox umount /cache
- erase_image cache
- busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
- busybox mkdir /cache/recovery
+ busybox umount /cache
+ erase_image cache
+ busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
+ busybox mkdir /cache/recovery
busybox mount -t vfat /dev/block/mmcblk1p1 /sdcard
@@ -42,10 +35,9 @@ elif ! busybox test -e /system/build.prop ; then
if busybox test -e $UPDATE ; then
busybox echo "install_zip(\"`echo $UPDATE`\");" > /cache/recovery/extendedcommand
- fi
+ fi
- load_offset=$recovery_offset
- load_len=$recovery_len
+ image=/stage1/ramdisk-recovery.img
# disable lpm
busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
@@ -56,7 +48,7 @@ busybox umount /system
busybox umount /sdcard
busybox rmdir /sdcard
-busybox dd bs=512 if=/stage1/boot.bin skip=$load_offset count=$load_len | busybox zcat | busybox cpio -i
+busybox zcat $image | busybox cpio -i
if busybox grep -q 1 /sys/class/power_supply/battery/charging_mode_booting ; then
# low power mode
diff --git a/usr/galaxysbmtd_initramfs.list b/usr/galaxysbmtd_initramfs.list
deleted file mode 100644
index 40e86e3..0000000
--- a/usr/galaxysbmtd_initramfs.list
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#####################
-# .
-# Last modified: 1303434626.6776324710
-
-dir /dev 755 0 0
-dir /dev/block 755 0 0
-nod /dev/block/mmcblk0 644 0 0 b 179 0
-nod /dev/block/mmcblk0p1 644 0 0 b 179 1
-nod /dev/block/mtdblock0 644 0 0 b 31 0
-nod /dev/block/mtdblock4 644 0 0 b 31 4
-nod /dev/block/mtdblock6 644 0 0 b 31 6
-nod /dev/block/mtdblock2 644 0 0 b 31 2
-nod /dev/block/mtdblock3 644 0 0 b 31 3
-nod /dev/block/mtdblock5 644 1001 1001 b 31 5
-nod /dev/block/mtdblock7 644 0 0 b 31 7
-nod /dev/block/mtdblock1 644 0 0 b 31 1
-dir /dev/mtd 755 0 0
-nod /dev/mtd/mtd4 644 0 0 c 90 8
-nod /dev/mtd/mtd0 644 0 0 c 90 0
-nod /dev/mtd/mtd0ro 644 0 0 c 90 1
-nod /dev/mtd/mtd3 644 0 0 c 90 6
-nod /dev/mtd/mtd7 644 0 0 c 90 14
-nod /dev/mtd/mtd1 644 0 0 c 90 2
-nod /dev/mtd/mtd3ro 644 0 0 c 90 7
-nod /dev/mtd/mtd5ro 644 1001 1001 c 90 11
-nod /dev/mtd/mtd1ro 644 0 0 c 90 3
-nod /dev/mtd/mtd5 644 0 0 c 90 10
-nod /dev/mtd/mtd6ro 644 0 0 c 90 13
-nod /dev/mtd/mtd6 644 0 0 c 90 12
-nod /dev/mtd/mtd7ro 644 0 0 c 90 15
-nod /dev/mtd/mtd2 644 0 0 c 90 4
-nod /dev/mtd/mtd4ro 644 0 0 c 90 9
-nod /dev/mtd/mtd2ro 644 0 0 c 90 5
-slink /init /stage1/init 777 0 0
-dir /proc 755 0 0
-dir /stage1 755 0 0
-dir /system 755 0 0
-dir /cache 755 0 0
-dir /sdcard 755 0 0
-file /stage1/busybox source/usr/galaxysbmtd_initramfs_files/busybox 755 0 0
-file /stage1/init source/usr/galaxysbmtd_initramfs_files/init 755 0 0
-file /stage1/bml_over_mtd source/usr/galaxysbmtd_initramfs_files/bml_over_mtd 755 0 0
-file /stage1/erase_image source/usr/galaxysbmtd_initramfs_files/erase_image 755 0 0
-dir /sys 755 0 0
diff --git a/usr/galaxysbmtd_initramfs_files/bml_over_mtd b/usr/galaxysbmtd_initramfs_files/bml_over_mtd
deleted file mode 100755
index 1adaf99..0000000
--- a/usr/galaxysbmtd_initramfs_files/bml_over_mtd
+++ /dev/null
Binary files differ
diff --git a/usr/galaxysbmtd_initramfs_files/busybox b/usr/galaxysbmtd_initramfs_files/busybox
deleted file mode 100755
index 9496f7a..0000000
--- a/usr/galaxysbmtd_initramfs_files/busybox
+++ /dev/null
Binary files differ
diff --git a/usr/galaxysbmtd_initramfs_files/erase_image b/usr/galaxysbmtd_initramfs_files/erase_image
deleted file mode 100755
index 9c08402..0000000
--- a/usr/galaxysbmtd_initramfs_files/erase_image
+++ /dev/null
Binary files differ
diff --git a/usr/galaxysbmtd_initramfs_files/init b/usr/galaxysbmtd_initramfs_files/init
deleted file mode 100755
index 5d0a655..0000000
--- a/usr/galaxysbmtd_initramfs_files/init
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/stage1/busybox sh
-export _PATH="$PATH"
-export PATH=/stage1
-
-busybox cd /
-busybox date >>boot.txt
-exec >>boot.txt 2>&1
-busybox rm init
-busybox mount -t proc proc /proc
-busybox mount -t sysfs sysfs /sys
-
-bml_over_mtd dump boot 72 reservoir 2004 /stage1/boot.bin
-
-eval $(busybox grep -m 1 -A 1 BOOT_IMAGE_OFFSETS /stage1/boot.bin | busybox tail -n 1)
-
-load_offset=$boot_offset
-load_len=$boot_len
-
-busybox mount -t yaffs2 /dev/block/mtdblock2 /system
-busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
-
-if busybox test -e /cache/.startrecovery || busybox grep -q bootmode=2 /proc/cmdline ; then
- # recovery boot
- busybox rm -fr /cache/.startrecovery
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-elif ! busybox test -e /system/build.prop ; then
- # emergency boot
- busybox umount /cache
- erase_image cache
- busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
- busybox mkdir /cache/recovery
-
- busybox mount -t vfat /dev/block/mmcblk0p1 /sdcard
-
- UPDATE=$(busybox cat /sdcard/cyanogenmod.cfg)
-
- if busybox test -e $UPDATE ; then
- busybox echo "install_zip(\"`echo $UPDATE`\");" > /cache/recovery/extendedcommand
- fi
-
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-fi
-
-busybox umount /cache
-busybox umount /system
-busybox umount /sdcard
-busybox rmdir /sdcard
-
-busybox dd bs=512 if=/stage1/boot.bin skip=$load_offset count=$load_len | busybox zcat | busybox cpio -i
-
-if busybox grep -q 1 /sys/class/power_supply/battery/charging_mode_booting ; then
- # low power mode
- busybox cp lpm.rc init.rc
- busybox rm init.aries.rc
-fi
-
-busybox umount /sys
-busybox umount /proc
-busybox date >>boot.txt
-busybox rm -fr /stage1 /dev/*
-export PATH="${_PATH}"
-exec /init
diff --git a/usr/galaxysmtd_initramfs.list b/usr/galaxysmtd_initramfs.list
index 7bc1df0..c594dd0 100644
--- a/usr/galaxysmtd_initramfs.list
+++ b/usr/galaxysmtd_initramfs.list
@@ -40,6 +40,7 @@ dir /cache 755 0 0
dir /sdcard 755 0 0
file /stage1/busybox source/usr/galaxysmtd_initramfs_files/busybox 755 0 0
file /stage1/init source/usr/galaxysmtd_initramfs_files/init 755 0 0
-file /stage1/bml_over_mtd source/usr/galaxysmtd_initramfs_files/bml_over_mtd 755 0 0
file /stage1/erase_image source/usr/galaxysmtd_initramfs_files/erase_image 755 0 0
+file /stage1/ramdisk.img ../../ramdisk.img 700 0 0
+file /stage1/ramdisk-recovery.img ../../ramdisk-recovery.img 700 0 0
dir /sys 755 0 0
diff --git a/usr/galaxysmtd_initramfs_files/bml_over_mtd b/usr/galaxysmtd_initramfs_files/bml_over_mtd
deleted file mode 100755
index 1adaf99..0000000
--- a/usr/galaxysmtd_initramfs_files/bml_over_mtd
+++ /dev/null
Binary files differ
diff --git a/usr/galaxysmtd_initramfs_files/init b/usr/galaxysmtd_initramfs_files/init
index 5d0a655..8e4d0cb 100755
--- a/usr/galaxysmtd_initramfs_files/init
+++ b/usr/galaxysmtd_initramfs_files/init
@@ -9,30 +9,24 @@ busybox rm init
busybox mount -t proc proc /proc
busybox mount -t sysfs sysfs /sys
-bml_over_mtd dump boot 72 reservoir 2004 /stage1/boot.bin
-
-eval $(busybox grep -m 1 -A 1 BOOT_IMAGE_OFFSETS /stage1/boot.bin | busybox tail -n 1)
-
-load_offset=$boot_offset
-load_len=$boot_len
-
busybox mount -t yaffs2 /dev/block/mtdblock2 /system
busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
+image=/stage1/ramdisk.img
+
if busybox test -e /cache/.startrecovery || busybox grep -q bootmode=2 /proc/cmdline ; then
# recovery boot
busybox rm -fr /cache/.startrecovery
- load_offset=$recovery_offset
- load_len=$recovery_len
+ image=/stage1/ramdisk-recovery.img
# disable lpm
busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
elif ! busybox test -e /system/build.prop ; then
# emergency boot
- busybox umount /cache
- erase_image cache
- busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
- busybox mkdir /cache/recovery
+ busybox umount /cache
+ erase_image cache
+ busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
+ busybox mkdir /cache/recovery
busybox mount -t vfat /dev/block/mmcblk0p1 /sdcard
@@ -40,10 +34,9 @@ elif ! busybox test -e /system/build.prop ; then
if busybox test -e $UPDATE ; then
busybox echo "install_zip(\"`echo $UPDATE`\");" > /cache/recovery/extendedcommand
- fi
+ fi
- load_offset=$recovery_offset
- load_len=$recovery_len
+ image=/stage1/ramdisk-recovery.img
# disable lpm
busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
@@ -54,7 +47,7 @@ busybox umount /system
busybox umount /sdcard
busybox rmdir /sdcard
-busybox dd bs=512 if=/stage1/boot.bin skip=$load_offset count=$load_len | busybox zcat | busybox cpio -i
+busybox zcat $image | busybox cpio -i
if busybox grep -q 1 /sys/class/power_supply/battery/charging_mode_booting ; then
# low power mode
diff --git a/usr/vibrantmtd_initramfs.list b/usr/vibrantmtd_initramfs.list
deleted file mode 100644
index d396402..0000000
--- a/usr/vibrantmtd_initramfs.list
+++ /dev/null
@@ -1,45 +0,0 @@
-
-#####################
-# .
-# Last modified: 1303434626.6776324710
-
-dir /dev 755 0 0
-dir /dev/block 755 0 0
-nod /dev/block/mmcblk0 644 0 0 b 179 0
-nod /dev/block/mmcblk0p1 644 0 0 b 179 1
-nod /dev/block/mtdblock0 644 0 0 b 31 0
-nod /dev/block/mtdblock4 644 0 0 b 31 4
-nod /dev/block/mtdblock6 644 0 0 b 31 6
-nod /dev/block/mtdblock2 644 0 0 b 31 2
-nod /dev/block/mtdblock3 644 0 0 b 31 3
-nod /dev/block/mtdblock5 644 1001 1001 b 31 5
-nod /dev/block/mtdblock7 644 0 0 b 31 7
-nod /dev/block/mtdblock1 644 0 0 b 31 1
-dir /dev/mtd 755 0 0
-nod /dev/mtd/mtd4 644 0 0 c 90 8
-nod /dev/mtd/mtd0 644 0 0 c 90 0
-nod /dev/mtd/mtd0ro 644 0 0 c 90 1
-nod /dev/mtd/mtd3 644 0 0 c 90 6
-nod /dev/mtd/mtd7 644 0 0 c 90 14
-nod /dev/mtd/mtd1 644 0 0 c 90 2
-nod /dev/mtd/mtd3ro 644 0 0 c 90 7
-nod /dev/mtd/mtd5ro 644 1001 1001 c 90 11
-nod /dev/mtd/mtd1ro 644 0 0 c 90 3
-nod /dev/mtd/mtd5 644 0 0 c 90 10
-nod /dev/mtd/mtd6ro 644 0 0 c 90 13
-nod /dev/mtd/mtd6 644 0 0 c 90 12
-nod /dev/mtd/mtd7ro 644 0 0 c 90 15
-nod /dev/mtd/mtd2 644 0 0 c 90 4
-nod /dev/mtd/mtd4ro 644 0 0 c 90 9
-nod /dev/mtd/mtd2ro 644 0 0 c 90 5
-slink /init /stage1/init 777 0 0
-dir /proc 755 0 0
-dir /stage1 755 0 0
-dir /system 755 0 0
-dir /cache 755 0 0
-dir /sdcard 755 0 0
-file /stage1/busybox source/usr/vibrantmtd_initramfs_files/busybox 755 0 0
-file /stage1/init source/usr/vibrantmtd_initramfs_files/init 755 0 0
-file /stage1/bml_over_mtd source/usr/vibrantmtd_initramfs_files/bml_over_mtd 755 0 0
-file /stage1/erase_image source/usr/vibrantmtd_initramfs_files/erase_image 755 0 0
-dir /sys 755 0 0
diff --git a/usr/vibrantmtd_initramfs_files/bml_over_mtd b/usr/vibrantmtd_initramfs_files/bml_over_mtd
deleted file mode 100755
index 1adaf99..0000000
--- a/usr/vibrantmtd_initramfs_files/bml_over_mtd
+++ /dev/null
Binary files differ
diff --git a/usr/vibrantmtd_initramfs_files/busybox b/usr/vibrantmtd_initramfs_files/busybox
deleted file mode 100755
index 9496f7a..0000000
--- a/usr/vibrantmtd_initramfs_files/busybox
+++ /dev/null
Binary files differ
diff --git a/usr/vibrantmtd_initramfs_files/erase_image b/usr/vibrantmtd_initramfs_files/erase_image
deleted file mode 100755
index 9c08402..0000000
--- a/usr/vibrantmtd_initramfs_files/erase_image
+++ /dev/null
Binary files differ
diff --git a/usr/vibrantmtd_initramfs_files/init b/usr/vibrantmtd_initramfs_files/init
deleted file mode 100755
index 5d0a655..0000000
--- a/usr/vibrantmtd_initramfs_files/init
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/stage1/busybox sh
-export _PATH="$PATH"
-export PATH=/stage1
-
-busybox cd /
-busybox date >>boot.txt
-exec >>boot.txt 2>&1
-busybox rm init
-busybox mount -t proc proc /proc
-busybox mount -t sysfs sysfs /sys
-
-bml_over_mtd dump boot 72 reservoir 2004 /stage1/boot.bin
-
-eval $(busybox grep -m 1 -A 1 BOOT_IMAGE_OFFSETS /stage1/boot.bin | busybox tail -n 1)
-
-load_offset=$boot_offset
-load_len=$boot_len
-
-busybox mount -t yaffs2 /dev/block/mtdblock2 /system
-busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
-
-if busybox test -e /cache/.startrecovery || busybox grep -q bootmode=2 /proc/cmdline ; then
- # recovery boot
- busybox rm -fr /cache/.startrecovery
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-elif ! busybox test -e /system/build.prop ; then
- # emergency boot
- busybox umount /cache
- erase_image cache
- busybox mount -t yaffs2 /dev/block/mtdblock3 /cache
- busybox mkdir /cache/recovery
-
- busybox mount -t vfat /dev/block/mmcblk0p1 /sdcard
-
- UPDATE=$(busybox cat /sdcard/cyanogenmod.cfg)
-
- if busybox test -e $UPDATE ; then
- busybox echo "install_zip(\"`echo $UPDATE`\");" > /cache/recovery/extendedcommand
- fi
-
- load_offset=$recovery_offset
- load_len=$recovery_len
-
- # disable lpm
- busybox echo 0 > /sys/class/power_supply/battery/charging_mode_booting
-fi
-
-busybox umount /cache
-busybox umount /system
-busybox umount /sdcard
-busybox rmdir /sdcard
-
-busybox dd bs=512 if=/stage1/boot.bin skip=$load_offset count=$load_len | busybox zcat | busybox cpio -i
-
-if busybox grep -q 1 /sys/class/power_supply/battery/charging_mode_booting ; then
- # low power mode
- busybox cp lpm.rc init.rc
- busybox rm init.aries.rc
-fi
-
-busybox umount /sys
-busybox umount /proc
-busybox date >>boot.txt
-busybox rm -fr /stage1 /dev/*
-export PATH="${_PATH}"
-exec /init