Permalink
Browse files

ICS SAMMY ROM + ICS Custom Init HOOK restored!

  • Loading branch information...
1 parent 54b0a74 commit 2fce6b13395d47b0731c755f9dfa221a1b0ca3e4 @dorimanx dorimanx committed Dec 29, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 sbin/init
View
@@ -194,7 +194,7 @@ fi;
B2G=0;
MIUI_JB=0;
JELLY=0;
-AOSP=0;
+AOSP=1;
S4A=0;
JBSAMMY=0;
CM_AOKP_10_JB=0;
@@ -204,7 +204,8 @@ CM_AOKP_10_JB=0;
[ "`/sbin/busybox grep -i ro.build.PDA=I9100XXLSJ /system/build.prop`" ] && JBSAMMY=1;
B2G=`$BB ls /system/b2g | wc -l`;
JELLY=`$BB ls /system/lib/ssl/engines/libkeystore.so | wc -l`;
-AOSP=`$BB ls /system/bin/omx_tests | wc -l`;
+# has to be negative! for SAMMY ICS ROM to get his init files.
+AOSP=`$BB ls /system/framework/framework2.jar | wc -l`;
CM_AOKP_10_JB=`$BB ls /system/bin/wfd | wc -l`;
# one more time set "/" rw just for good sleep
@@ -453,7 +454,7 @@ elif [ "$JELLY" == "1" ] || [ "$MIUI_JB" == "1" ]; then
SECROM_FUNCTION_AOSP;
-elif [ "$AOSP" == "1" ]; then
+elif [ "$AOSP" == "0" ]; then
# Injecting ICS Modded by Dorimanx, SUPER libsqlite!
$BB cp -a /res/misc/sql/ics/libsqlite.so /system/lib/libsqlite.so;
$BB chmod 755 /system/lib/libsqlite.so;

0 comments on commit 2fce6b1

Please sign in to comment.