Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix BOOTCLASSPATH to fit 4.1 library

  • Loading branch information...
commit 3c1cc1ce492c976580f090484da3cfbe5ed57fde 1 parent 86897bb
@derekhe derekhe authored
View
2  boot.img-ramdisk/default.prop
@@ -1,7 +1,7 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
-ro.secure=0
+ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
View
21 boot.img-ramdisk/init.rc
@@ -29,9 +29,9 @@ loglevel 3
export EXTERNAL_STORAGE /mnt/sdcard
export ASEC_MOUNTPOINT /mnt/asec
export LOOP_MOUNTPOINT /mnt/obb
-#/* <DTS2011053002680 zengpeiyu 20110526 begin*/
- export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/qcnvitems.jar:/system/framework/qcrilhook.jar
-#/* DTS2011053002680 zengpeiyu 20110526 end>*/
+
+ export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework_ext.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
+
# Backward compatibility
symlink /system/etc /etc
@@ -335,10 +335,6 @@ on post-fs-data
chmod 0660 /dev/assd
chown smartcard smartcard /dev/assd
# DTS2012050802343 yanzhennan 20120508 end
-
-#add by geno
- symlink /system/connectivity /data/connectivity
-
on boot
# basic network init
ifup lo
@@ -1200,14 +1196,3 @@ service cplusw /system/xbin/cplusw
class main
#/* DTS2012030901188 yanhongfei 20120312 add paragon code end > */
#/* DTS2012022206596 yanhongfei 20120223 add end > */
-
-#by geno
-
-service optimize /sbin/odex
- disabled
- oneshot
-
-on property:dev.bootcomplete=1
- start optimize
-
-#by geno
View
94 boot.img-ramdisk/sbin/odex
@@ -1,94 +0,0 @@
-#!/system/bin/sh
-# By Genokolar 2011/02/07
-
-mount -o remount rw /system
-# open optimize
-if [ -d /system/etc/optimize-run ]
-then
-echo `busybox date +%F" "%T` Optimize is Open... >> /system/log.txt
-## SYSTEM optimize
-systemapk=`ls /system/app/*.apk`
- for data in $systemapk
- do
- if [ ! -e ${data%apk}odex ]
- then
- /system/bin/dexopt-wrapper $data $data.odex >> /system/log.txt
- else
- updates=`busybox find $data -newer ${data%apk}odex`
- busybox rm -r ${updates%apk}odex
- /system/bin/dexopt-wrapper $updates $updates.odex >> /system/log.txt
- fi
- done
-
-## SYSTEM rename apk.odex 2 odex
-system2odex=`ls /system/app/*.apk.odex`
- for gendata in $system2odex;
- do
- mv $gendata ${gendata%apk.odex}odex
- done
-
-## SYSTEM del remnants odex
-systemodex=`ls /system/app/*.odex`
- for remodex in $systemodex
- do
- if [ ! -e ${remodex%odex}apk ]
- then
- busybox rm -r $remodex
- fi
- done
-
-if [ -e /system/bin/dexopt-wrapper ]
-then
-busybox rm -rf /data/dalvik-cache/system@app@*
-fi
-
-# close optimize
-else
- if [ -e /system/etc/delodex ]
- then
- busybox rm -rf /system/app/*.odex
- busybox rm -f /system/etc/delodex
- fi
-echo `busybox date +%F" "%T` Optimize closed... >> /system/log.txt
-fi
-
-# do preinstall job
-if [ ! -e /data/.notfirstrun ]
-then
- echo "do preinstall sys" >> /system/log.txt
- APKLIST=`ls /system/preinstall/*.apk`
- for INFILES in $APKLIST
- do
- echo setup package:$INFILES
- pm install -r $INFILES
- done
-
- DELPREINSTALL=`busybox grep DELPREINSTALL /system/etc/enhanced.conf |busybox cut -d= -f2 `
- if [ $DELPREINSTALL = on ]
- then
- busybox rm -rf /system/preinstall
- echo Del sys preinstall... >> /system/log.txt
- fi
-
- echo "do preinstall sd" >> /system/log.txt
- APKLIST=`ls /sdcard/preinstall/*.apk`
- for INFILES in $APKLIST
- do
- echo setup package:$INFILES
- pm install -r $INFILES
- done
-
- echo "do preinstall data" >> /system/log.txt
- APKLIST=`ls /data/preinstall/*.apk`
- for INFILES in $APKLIST
- do
- echo setup package:$INFILES
- pm install -r $INFILES
- done
- busybox rm -rf /data/preinstall
- echo "do preinstall ok" >> /system/log.txt
- busybox touch /data/.notfirstrun
-fi
-
-echo "============================================" >> /system/log.txt
-exit
View
BIN  boot.img-ramdisk/wifi/ar6000.ko
Binary file not shown
View
BIN  boot.img-ramdisk/wifi/cfg80211.ko
Binary file not shown
View
BIN  boot.img-ramdisk/wifi/dhd_4330.ko
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.