Permalink
Browse files

Many fixing for new MALI Kernel and for ICS/JB

Updated /firmware/mfc_fw.bin from CM10
Updated all new INIT config from CM10 to JB folder
Added new init-jb for MALI jb kernel. we cant load image with new MALI.
choose_rom binary fail to load, and boot stuck without /system and the rest.
i have found warnings that we mounting unchekd partitions, so i have restored
small check before mount.
  • Loading branch information...
1 parent ce08dd2 commit 5f1b0b421e9b22a8759229449c1731d3366b4cfb @dorimanx committed Oct 8, 2012
View
@@ -137,7 +137,7 @@ on fs
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
View
@@ -119,7 +119,7 @@ on fs
# make sure sdcard is mounted because we may have our data and cache partitions on it
mount vfat /dev/block/mmcblk0p11 /mnt/.secondrom wait utf8
-# exec sfsck /res/dev/cache ext4
+ exec sfsck /res/dev/cache ext4
mount ext4 loop@/res/dev/cache /cache nosuid nodev noatime wait nodelalloc
mkdir /efs
@@ -142,7 +142,7 @@ on fs
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 loop@/res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
@@ -35,7 +35,7 @@ on fs
# exec sfsck /res/dev/cache ext4
mount ext4 /res/dev/cache /cache nosuid nodev noatime wait rw
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait
@@ -40,8 +40,9 @@ on fs
mount ext4 loop@/res/dev/cache /cache nosuid nodev noatime wait rw
# Check and mount /data
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 loop@/res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
+
mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait
mount ext4 /dev/block/mmcblk0p1 /efs nosuid nodev noatime wait
@@ -42,7 +42,7 @@ on fs
# exec sfsck /res/dev/cache ext4
mount ext4 /res/dev/cache /cache nosuid nodev noatime wait rw
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
mount ext4 /dev/block/mmcblk0p12 /preload nosuid nodev noatime wait
@@ -15,11 +15,13 @@
# the msm hw3d client device node is world writable/readable.
/dev/msm_hw3dc 0666 root root
+# the DIAG device node is not world writable/readable.
+/dev/diag 0660 system qcom_diag
+
# gpu driver for adreno200 is globally accessible
/dev/kgsl 0666 root root
# these should not be world writable
-/dev/diag 0660 radio radio
/dev/diag_arm9 0660 radio radio
/dev/android_adb 0660 adb adb
/dev/android_adb_enable 0660 adb adb
@@ -148,7 +148,7 @@ on fs
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
@@ -128,7 +128,7 @@ on fs
# make sure sdcard is mounted because we may have our data and cache partitions on it
mount vfat /dev/block/mmcblk0p11 /mnt/.secondrom wait utf8
-# exec sfsck /res/dev/cache ext4
+ exec sfsck /res/dev/cache ext4
mount ext4 loop@/res/dev/cache /cache nosuid nodev noatime wait nodelalloc
mkdir /efs
@@ -151,7 +151,7 @@ on fs
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 loop@/res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
@@ -148,7 +148,7 @@ on fs
exec sformat /dev/block/mmcblk0p11 vfat
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
@@ -130,7 +130,7 @@ on fs
# make sure sdcard is mounted because we may have our data and cache partitions on it
mount vfat /dev/block/mmcblk0p11 /mnt/.secondrom wait utf8
-# exec sfsck /res/dev/cache ext4
+ exec sfsck /res/dev/cache ext4
mount ext4 loop@/res/dev/cache /cache nosuid nodev noatime wait nodelalloc
mkdir /efs
@@ -150,7 +150,7 @@ on fs
exec check_encryption_status /res/dev/data
on post-fs
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 loop@/res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# once everything is setup, no need to modify /
@@ -118,7 +118,7 @@ on fs
mount ext4 /res/dev/system /system noatime wait rw nodelalloc
Mount Data as we are symlinking our Apps folder
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 /res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
# exec sfsck /res/dev/cache ext4
@@ -122,10 +122,10 @@ on fs
# make sure sdcard is mounted because we may have our data and cache partitions on it
mount vfat /dev/block/mmcblk0p11 /mnt/.secondrom wait utf8
-# exec sfsck /res/dev/data ext4
+ exec sfsck /res/dev/data ext4
mount ext4 loop@/res/dev/data /data nosuid nodev noatime wait noauto_da_alloc
-# exec sfsck /res/dev/cache ext4
+ exec sfsck /res/dev/cache ext4
mount ext4 loop@/res/dev/cache /cache nosuid nodev noatime wait nodelalloc
mkdir /efs
Binary file not shown.
View
@@ -74,6 +74,7 @@ fi;
# adding latest vendor binary from 3.6.RC6 kernel for all! tested working great
mkdir -p /system/vendor/firmware;
/sbin/busybox xzcat /res/misc/vendor/firmware/mfc_fw.bin.xz > /system/vendor/firmware/mfc_fw.bin;
+chmod 755 /system/vendor/firmware/mfc_fw.bin;
# fix permission to services.jar in case user did a mess, after using my MOD!
chmod 644 /system/framework/services.jar;
Oops, something went wrong.

0 comments on commit 5f1b0b4

Please sign in to comment.