CM9: initial CM vendor setup for Android 4
diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh
index 85f800e..95129ef 100755
--- a/prebuilt/common/bin/backuptool.sh
+++ b/prebuilt/common/bin/backuptool.sh
@@ -5,7 +5,7 @@
C=/tmp/backupdir
S=/system
-V=CyanogenMod-7
+V=CyanogenMod-9
PROCEED=1;
@@ -35,50 +35,64 @@
get_files() {
cat <<EOF
-app/BooksPhone.apk
-app/CarHomeGoogle.apk
-app/CarHomeLauncher.apk
-app/Facebook.apk
-app/FOTAKill.apk
-app/GenieWidget.apk
-app/Gmail.apk
-app/GoogleBackupTransport.apk
-app/GoogleCalendarSyncAdapter.apk
-app/GoogleContactsSyncAdapter.apk
-app/GoogleFeedback.apk
-app/GooglePartnerSetup.apk
-app/GoogleQuickSearchBox.apk app/QuickSearchBox.apk
-app/GoogleServicesFramework.apk
-app/googlevoice.apk
-app/HtcCopyright.apk
-app/HtcEmailPolicy.apk
-app/HtcSettings.apk
-app/kickback.apk
-app/LatinImeTutorial.apk
-app/Maps.apk
-app/MapsSapphire.apk
-app/MarketUpdater.apk
-app/MediaUploader.apk
-app/NetworkLocation.apk
-app/OneTimeInitializer.apk
-app/PassionQuickOffice.apk
-app/Quickoffice.apk
-app/SetupWizard.apk app/Provision.apk
-app/soundback.apk
-app/Street.apk
-app/Talk.apk
-app/Talk2.apk
-app/talkback.apk
-app/Twitter.apk
-app/Vending.apk
-app/VoiceSearch.apk
-app/YouTube.apk
-etc/permissions/com.google.android.maps.xml
-etc/permissions/features.xml
+vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin
+vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin
+vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin
+vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin
+framework/com.google.widevine.software.drm.jar
framework/com.google.android.maps.jar
-lib/libspeech.so
-lib/libtalk_jni.so
+framework/com.google.android.media.effects.jar
+lib/libfilterpack_facedetect.so
+lib/libfacelock_jni.so
lib/libvoicesearch.so
+etc/permissions/com.google.android.nfc_extras.xml
+etc/permissions/com.google.android.media.effects.xml
+etc/permissions/com.google.android.maps.xml
+etc/permissions/com.google.widevine.software.drm.xml
+etc/permissions/features.xml
+app/LatinImeGoogle.apk app/LatinIme.apk
+app/MediaUploader.apk
+app/GoogleFeedback.apk
+app/GoogleTTS.apk
+app/CalendarGoogle.apk app/Calendar.apk
+app/MarketUpdater.apk
+app/BrowserGoogle.apk app/Browser.apk
+app/GoogleServicesFramework.apk
+app/CameraGoogle.apk app/Camera.apk
+app/YouTube.apk
+app/GenieWidget.apk
+app/GooglePackageVerifierUpdater.apk
+app/SetupWizard.apk app/Provision.apk
+app/GoogleEarth.apk
+app/ChromeBookmarksSyncAdapter.apk
+app/ExchangeGoogle.apk app/Exchange.apk
+app/GoogleQuickSearchBox.apk
+app/GoogleLoginService.apk
+app/Talk.apk
+app/DeskClockGoogle.apk app/DeskClock.apk
+app/GooglePackageVerifier.apk
+app/NfcGoogle.apk app/Nfc.apk
+app/GoogleBackupTransport.apk
+app/GalleryGoogle.apk app/Gallery.apk
+app/VideoEditorGoogle.apk app/VideoEditor.apk
+app/FaceLock.apk
+app/Vending.apk
+app/EmailGoogle.apk app/Email.apk
+app/GoogleContactsSyncAdapter.apk
+app/Gmail.apk
+app/OneTimeInitializer.apk
+app/NetworkLocation.apk
+app/TagGoogle.apk
+app/GooglePartnerSetup.apk
etc/hosts
etc/custom_backup_list.txt
etc/force_backuptool
diff --git a/prebuilt/common/bin/compcache b/prebuilt/common/bin/compcache
old mode 100755
new mode 100644
diff --git a/prebuilt/common/bin/fix_permissions b/prebuilt/common/bin/fix_permissions
old mode 100755
new mode 100644
diff --git a/prebuilt/common/bin/handle_compcache b/prebuilt/common/bin/handle_compcache
old mode 100755
new mode 100644
diff --git a/prebuilt/common/bin/sysinit b/prebuilt/common/bin/sysinit
old mode 100755
new mode 100644
diff --git a/prebuilt/common/bin/verify_cache_partition_size.sh b/prebuilt/common/bin/verify_cache_partition_size.sh
deleted file mode 100644
index 07dd34e..0000000
--- a/prebuilt/common/bin/verify_cache_partition_size.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/sbin/sh
-#
-# Force /system dalvik-cache on /data instead of /cache if is not large enough
-#
-
-CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
-if [ $CACHESIZE -lt 60000 ]
-then
- echo "dalvik.vm.dexopt-data-only=1" >> /system/build.prop
-fi
-
-exit 0
diff --git a/prebuilt/common/bootanimation.zip b/prebuilt/common/bootanimation.zip
new file mode 100644
index 0000000..528e840
--- /dev/null
+++ b/prebuilt/common/bootanimation.zip
Binary files differ
diff --git a/prebuilt/common/etc/apns-conf.xml b/prebuilt/common/etc/apns-conf.xml
index e6cce49..68d233a 100644
--- a/prebuilt/common/etc/apns-conf.xml
+++ b/prebuilt/common/etc/apns-conf.xml
@@ -7,7 +7,7 @@
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
-** http://www.apache.org/licenses/LICENSE-2.0
+** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,8 +16,10 @@
** limitations under the License.
*/
-->
+
<!-- use empty string to specify no proxy or port -->
-<apns version="6">
+<!-- This version must agree with that in apps/common/res/apns.xml -->
+<apns version="7">
<apn carrier="Cosmote GR" mcc="202" mnc="01" apn="Internet" type="default,supl" />
<apn carrier="Cosmote GR MMS" mcc="202" mnc="01" apn="Mms" mmsc="195.167.65.220:8002" mmsproxy="10.10.10.20" mmsport="8080" type="mms" />
<apn carrier="Cosmote Wireless Internet" mcc="202" mnc="01" apn="internet" type="default,supl" />
@@ -113,7 +115,7 @@
<apn carrier="ERONET 1GB" mcc="218" mnc="03" apn="data4.eronet.ba" user="" server="" password="" proxy="" port="" mmsc="" type="supl"/>
<apn carrier="ERONET 4GB" mcc="218" mnc="03" apn="data2.eronet.ba" user="" server="" password="" proxy="" port="" mmsc="" type="supl"/>
<apn carrier="ERONET FLAT" mcc="218" mnc="03" apn="data3.eronet.ba" user="" server="" password="" proxy="" port="" mmsc="" type="supl"/>
- <apn carrier="ERONET MMS" mcc="218" mnc="03" apn="mms.eronet.ba" user="" server="" password="" mmsc="http://mms.gprs.eronet.ba/mms/wapenc" mmsproxy="010.012.003.001" mmsport="8080" type="mms"/>
+ <apn carrier="ERONET MMS" mcc="218" mnc="03" apn="mms.eronet.ba" user="" server="" password="" mmsc="http://mms.gprs.eronet.ba/mms/wapenc" mmsproxy="010.012.003.001" mmsport="8080" type="mms"/>
<apn carrier="BH Mobile" mcc="218" mnc="90" apn="active.bhmobile.ba" type="default,supl" />
<apn carrier="BH Mobile MMS" mcc="218" mnc="90" apn="mms.bhmobile.ba" mmsc="http://mms.bhmobile.ba/cmmsc/post" mmsproxy="195.222.056.041" mmsport="8080" type="mms" />
<apn carrier="T-Mobile HR MMS" mcc="219" mnc="01" apn="mms.htgprs" mmsc="http://mms.t-mobile.hr/servlets/mms" mmsproxy="10.12.0.4" mmsport="8080" type="mms" />
@@ -251,9 +253,9 @@
<apn carrier="Telia DK MMS" mcc="238" mnc="20" apn="www.mms.mtelia.dk" mmsc="http://mms.telia.dk" mmsproxy="193.209.134.131" mmsport="8080" type="mms" />
<apn carrier="Telenor Internet" mcc="238" mnc="77" apn="Internet" type="default,supl" />
<apn carrier="Telenor MMS" mcc="238" mnc="77" apn="telenor" mmsc="http://mms.telenor.dk" mmsproxy="212.88.64.8" mmsport="8080" type="mms" />
- <apn carrier="Halebop Internet" mcc="240" mnc="01" apn="halebop.telia.se" type="default,supl" />
+ <apn carrier="Halebop Internet" mcc="240" mnc="01" apn="halebop.telia.se" type="default,supl" />
<apn carrier="Halebop MMS" mcc="240" mnc="01" apn="mms.telia.se" user="mms" password="telia" mmsc="http://mmss/" mmsproxy="193.209.134.132" mmsport="8080" type="mms" />
- <apn carrier="Telia SE MMS" mcc="240" mnc="01" apn="mms.telia.se" user="mms" server="" password="telia" mmsc="http://mmss/" mmsproxy="193.209.134.132" mmsport="80" type="mms"/>
+ <apn carrier="Telia SE MMS" mcc="240" mnc="01" apn="mms.telia.se" user="mms" server="" password="telia" mmsc="http://mmss/" mmsproxy="193.209.134.132" mmsport="80" type="mms"/>
<apn carrier="Telia SE" mcc="240" mnc="01" apn="online.telia.se" user="*" type="default,supl" />
<apn carrier="3 SE" mcc="240" mnc="02" apn="data.tre.se" type="default,supl,mms" />
<apn carrier="3 SE MMS" mcc="240" mnc="02" apn="data.tre.se" mmsc="http://mms.tre.se" mmsproxy="mmsproxy.tre.se" mmsport="8799" type="mms" />
@@ -352,7 +354,7 @@
<apn carrier="Internet" mcc="250" mnc="17" apn="internet.usi.ru" type="default,supl" />
<apn carrier="MMS" mcc="250" mnc="17" apn="mms.usi.ru" mmsc="http://mms" mmsproxy="192.168.168.192" mmsport="8080" type="mms" />
<apn carrier="Tele2 RU" mcc="250" mnc="20" apn="internet.tele2.ru" type="default,supl" />
- <apn carrier="Tele2 RU MMS" mcc="250" mnc="20" apn="mms.tele2.ru" mmsc="http://mmsc.tele2.ru" mmsproxy="193.12.40.65" mmsport="8080" type="mms" />
+ <apn carrier="Tele2 RU MMS" mcc="250" mnc="20" apn="mms.tele2.ru" mmsc="http://mmsc.tele2.ru" mmsproxy="193.12.40.65" mmsport="8080" type="mms" />
<apn carrier="МТС-интернет" mcc="250" mnc="39" apn="internet.mts.ru" user="mts" password="mts" type="default,supl" />
<apn carrier="МТС Центр MMS" mcc="250" mnc="39" apn="mms.mts.ru" user="mts" password="mts" mmsc="http://mmsc" mmsproxy="192.168.192.192" mmsport="8080" type="mms" />
<apn carrier="Beeline internet" mcc="250" mnc="44" apn="internet.beeline.ru" user="beeline" password="beeline" type="default,supl" />
@@ -403,7 +405,7 @@
<apn carrier="PlusGSM MMS" mcc="260" mnc="01" apn="mms" mmsc="http://mms.plusgsm.pl:8002" mmsproxy="212.002.096.016" mmsport="8080" type="mms" />
<apn carrier="FM Group Mobile" mcc="260" mnc="01" apn="www.fmgmobie.pl" type="default,supl" />
<apn carrier="mBank mobile" mcc="260" mnc="01" apn="www.mobile.pl" type="default,supl" />
- <apn carrier="mBank mobile MMS" apn="mms.mobile.pl" mcc="260" mnc="01" user="" password="" mmsproxy="212.2.96.16" mmsport="8080" mmsc="http://mms.mobile.pl:8002" type="mms"/>
+ <apn carrier="mBank mobile MMS" apn="mms.mobile.pl" mcc="260" mnc="01" user="" password="" mmsproxy="212.2.96.16" mmsport="8080" mmsc="http://mms.mobile.pl:8002" type="mms"/>
<apn carrier="Carrefour Mova" mcc="260" mnc="01" apn="www.mova.pl" type="default,supl" />
<apn carrier="Era Internet" mcc="260" mnc="02" apn="erainternet" user="erainternet" password="erainternet" server="*" type="default,supl" />
<apn carrier="Tak-Tak" mcc="260" mnc="02" apn="erainternettt" user="erainternet" password="erainternet" type="default,supl" />
@@ -557,7 +559,7 @@
<apn carrier="AWS MMS" mcc="310" mnc="380" apn="proxy" mmsc="http://mmsc.mymmode.com" mmsproxy="10.250.250.55" mmsport="8080" type="mms" />
<apn carrier="Celloneet MMS" mcc="310" mnc="390" apn="mms.celloneet.com" user="user1@mms.celloneet.com" password="celloneet" mmsc="http://mms.celloneet.com/servlets/mms" mmsproxy="63.99.231.135" mmsport="8080" type="mms" />
<apn carrier="ATT" mcc="310" mnc="410" apn="wap.cingular" user="WAP@CINGULARGPRS.COM" mmsc="http://mmsc.cingular.com" mmsproxy="wireless.cingular.com" mmsport="80" type="default,supl,mms" />
- <apn carrier="CBW Internet" apn="wap.gocbw.com" proxy="" port="" user="cbw" password="" server="" mmsc="http://mms.gocbw.com:8088/mms" mmsproxy="216.68.79.202" mmsport="80" mcc="310" mnc="420" type="default,supl,mms" />
+ <apn carrier="CBW Internet" apn="wap.gocbw.com" proxy="" port="" user="cbw" password="" server="" mmsc="http://mms.gocbw.com:8088/mms" mmsproxy="216.68.79.202" mmsport="80" mcc="310" mnc="420" type="default,supl,mms" />
<apn carrier="DataConnect" mcc="310" mnc="470" apn="isp.cingular" type="default,supl" />
<apn carrier="MediaNet" mcc="310" mnc="470" apn="wap.cingular" user="WAP@CINGULARGPRS.COM" password="CINGULAR1" mmsc="http://mmsc.cingular.com" mmsproxy="66.209.11.32" mmsport="8080" type="default,supl,mms" />
<apn carrier="DataConnect" mcc="310" mnc="480" apn="isp.cingular" type="default,supl" />
@@ -1123,7 +1125,7 @@
<apn carrier="Optus Internet" mcc="505" mnc="02" apn="yesinternet" user="*" password="*" server="*" type="default,supl" />
<apn carrier="Vodafone AU-MMS" mcc="505" mnc="03" apn="live.vodafone.com" user="*" password="*" server="*" mmsc="http://pxt.vodafone.net.au/pxtsend" mmsproxy="10.202.2.60" mmsport="8080" type="mms" />
<apn carrier="Vodafone AU" mcc="505" mnc="03" apn="vfinternet.au" user="*" password="*" server="*" type="default,supl" />
- <apn carrier="3 AU" apn="3services" mmsc="http://mmsc.three.net.au:10021/mmsc" mmsproxy="10.176.57.25" mmsport="8799" mcc="505" mnc="06" type="default,supl,mms"/>
+ <apn carrier="3 AU" apn="3services" mmsc="http://mmsc.three.net.au:10021/mmsc" mmsproxy="10.176.57.25" mmsport="8799" mcc="505" mnc="06" type="default,supl,mms"/>
<apn carrier="VF AU PXT" mcc="505" mnc="07" apn="live.vodafone.com" mmsc="http://pxt.vodafone.net.au/pxtsend" mmsproxy="10.202.2.60" mmsport="8080" type="mms" />
<apn carrier="VF Internet" mcc="505" mnc="07" apn="vfinternet.au" type="default,supl" />
<apn carrier="Telstra MMS" mcc="505" mnc="11" apn="Telstra.mms" mmsc="http://mmsc.telstra.com:8002" mmsproxy="10.1.1.180" mmsport="80" type="mms" />
@@ -1213,7 +1215,7 @@
<apn carrier="Meditel" mcc="604" mnc="00" apn="internet1.meditel.ma" user="MEDIWAP" password="MEDIWAP" type="default,supl" />
<apn carrier="Meditel MMS" mcc="604" mnc="00" apn="mms.meditel.ma" user="MEDIMMS" password="MEDIMMS" mmsc="http://mms.meditel.ma:8088/mms" mmsproxy="010.008.008.009" type="mms" />
<apn carrier="IAM" mcc="604" mnc="01" apn="www.iamgprs1.ma" type="default,supl" />
- <apn carrier="IAM MMS" apn="mmsiam" mmsc="http://mms:8002" mmsproxy="10.16.35.50" mmsport="8080" mcc="604" mnc="01" type="default,supl,mms"/>
+ <apn carrier="IAM MMS" apn="mmsiam" mmsc="http://mms:8002" mmsproxy="10.16.35.50" mmsport="8080" mcc="604" mnc="01" type="default,supl,mms"/>
<apn carrier="Orange TN" mcc="605" mnc="01" apn="keypro" type="default,supl" />
<apn carrier="Libyana MMS" mcc="606" mnc="00" apn="mms" mmsc="http://62.240.62.180:80" mmsproxy="192.168.8.148" mmsport="8000" type="mms" />
<apn carrier="Libyana" mcc="606" mnc="00" apn="wap" proxy="192.168.8.148" port="8000" type="default,supl" />
diff --git a/prebuilt/common/etc/init.d/00banner b/prebuilt/common/etc/init.d/00banner
old mode 100755
new mode 100644
diff --git a/prebuilt/common/etc/init.d/01sysctl b/prebuilt/common/etc/init.d/01sysctl
deleted file mode 100755
index bba6a83..0000000
--- a/prebuilt/common/etc/init.d/01sysctl
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/system/bin/sh
-sysctl -p
diff --git a/prebuilt/common/etc/init.d/03firstboot b/prebuilt/common/etc/init.d/03firstboot
deleted file mode 100755
index bd084a0..0000000
--- a/prebuilt/common/etc/init.d/03firstboot
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/system/bin/sh
-# execute any postinstall script then kill it
-if [ -e /data/firstboot.sh ];
-then
- log -p i -t boot "Executing firstboot.sh..";
- logwrapper /system/bin/sh /data/firstboot.sh;
- rm -f /data/firstboot.sh;
-fi;
-
diff --git a/prebuilt/common/etc/init.d/04modules b/prebuilt/common/etc/init.d/04modules
deleted file mode 100755
index 1f00d63..0000000
--- a/prebuilt/common/etc/init.d/04modules
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/system/bin/sh
-#
-# Load any extra modules
-
-MODULES="ipv6"
-
-KVER=`uname -r`
-if [ ! -d /system/lib/modules/$KVER ]
-then
- exit 0
-fi
-
-for i in $MODULES
-do
- modprobe $i >/dev/null 2>&1
-done
-
-exit 0
diff --git a/prebuilt/common/etc/init.d/05mountsd b/prebuilt/common/etc/init.d/05mountsd
deleted file mode 100755
index b34b171..0000000
--- a/prebuilt/common/etc/init.d/05mountsd
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/system/bin/sh
-#
-# mount ext partition from sd card
-
-BB="logwrapper busybox";
-
-if [ "$SD_EXT_DIRECTORY" = "" ];
-then
- SD_EXT_DIRECTORY=/sd-ext;
-fi;
-
-# find SD Card
-for MMC_NUM in `seq 0 9`;
-do
- MMC_TYPE=`cat /sys/block/mmcblk$MMC_NUM/device/type`
- if [ "$MMC_TYPE" = "SD" ];
- then
- # 2nd partition of sdcard should be the sd-ext if exist
- SD_EXT_PART=/dev/block/mmcblk${MMC_NUM}p2
- break
- fi
-done
-
-if [ -b "$SD_EXT_PART" ];
-then
- log -p i -t mountsd "Checking filesystems..";
-
- # fsck the sdcard filesystem first
- if [ -x `which e2fsck` ];
- then
- e2fsck -y $SD_EXT_PART
- e2fsk_exitcode=$?
- else
- echo "executable e2fsck not found, assuming no filesystem errors"
- e2fsk_exitcode=0
- fi
-
- # set property with exit code in case an error occurs
- setprop cm.e2fsck.errors $e2fsk_exitcode;
- if [ "$e2fsk_exitcode" -lt 2 ];
- then
- # mount and set perms
- $BB mount -o noatime,nodiratime,barrier=1 -t ext3 $SD_EXT_PART $SD_EXT_DIRECTORY;
- if [ "$?" = 0 ];
- then
- $BB chown 1000:1000 $SD_EXT_DIRECTORY;
- $BB chmod 771 $SD_EXT_DIRECTORY;
- log -p i -t mountsd "$SD_EXT_DIRECTORY successfully mounted";
- else
- log -p e -t mountsd "Unable to mount filesystem for $SD_EXT_DIRECTORY!";
- fi
- else
- log -p e -t mountsd "Unable to repair filesystem, disabling apps2sd";
- fi
-fi
diff --git a/prebuilt/common/etc/init.d/06mountdl b/prebuilt/common/etc/init.d/06mountdl
deleted file mode 100755
index 14bc167..0000000
--- a/prebuilt/common/etc/init.d/06mountdl
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/system/bin/sh
-#
-# bind mount /data/local/download to /cache/download if cache
-# partition is too small
-#
-
-CACHESIZE=$(df -k /cache | tail -n1 | tr -s ' ' | cut -d ' ' -f2)
-DATAONLY=$(getprop dalvik.vm.dexopt-data-only)
-if [ $DATAONLY -eq 1 ]
-then
- NEEDED=60000
-else
- NEEDED=105000
-fi
-
-if [ $CACHESIZE -lt $NEEDED ]
-then
- mount -o bind /data/local/download /cache/download
-fi
-
-rm /cache/download/downloadfile*.apk >/dev/null 2>&1
-
-exit 0
diff --git a/prebuilt/common/etc/init.d/10apps2sd b/prebuilt/common/etc/init.d/10apps2sd
deleted file mode 100755
index b4d0192..0000000
--- a/prebuilt/common/etc/init.d/10apps2sd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/system/bin/sh
-# Make sure the Apps2SD structure exists.
-
-if [ "$SD_EXT_DIRECTORY" = "" ];
-then
- SD_EXT_DIRECTORY=/sd-ext;
-fi;
-
-if ! awk -vDIR="$SD_EXT_DIRECTORY" '$2 == DIR { exit 1; }' /proc/mounts ;
-then
- # create directories if necessary.
- for i in app app-private dalvik-cache;
- do
- if [ ! -d $SD_EXT_DIRECTORY/$i ];
- then
- mkdir $SD_EXT_DIRECTORY/$i;
- busybox chown 1000:1000 $SD_EXT_DIRECTORY/$i;
- busybox chmod 771 $SD_EXT_DIRECTORY/$i;
- log -p i -t a2sd "$SD_EXT_DIRECTORY/$i created"
- fi;
- done
- setprop cm.a2sd.active 1
- log -p i -t a2sd "Apps2SD successfully activated";
-fi;
diff --git a/prebuilt/common/etc/init.d/20userinit b/prebuilt/common/etc/init.d/20userinit
deleted file mode 100755
index 8527576..0000000
--- a/prebuilt/common/etc/init.d/20userinit
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/system/bin/sh
-# call a userinit.sh script if it's present on the sdcard
-
-if [ "$SD_EXT_DIRECTORY" = "" ];
-then
- SD_EXT_DIRECTORY=/sd-ext;
-fi;
-
-if [ -e $SD_EXT_DIRECTORY/userinit.sh ];
-then
- log -p i -t userinit "Executing $SD_EXT_DIRECTORY/userinit.sh";
- busybox chmod +x $SD_EXT_DIRECTORY/userinit.sh;
- logwrapper /system/bin/sh $SD_EXT_DIRECTORY/userinit.sh;
- setprop cm.userinit.active 1;
-fi;
-
-if [ -d $SD_EXT_DIRECTORY/userinit.d ];
-then
- logwrapper busybox run-parts $SD_EXT_DIRECTORY/userinit.d;
- setprop cm.userinit.active 1;
-fi;
-
-if [ -e /data/local/userinit.sh ];
-then
- log -p i -t userinit "Executing /data/local/userinit.sh";
- busybox chmod +x /data/local/userinit.sh;
- logwrapper /system/bin/sh /data/local/userinit.sh;
- setprop cm.userinit.active 1;
-fi;
-
-if [ -d /data/local/userinit.d ];
-then
- logwrapper busybox run-parts /data/local/userinit.d;
- setprop cm.userinit.active 1;
-fi;
\ No newline at end of file
diff --git a/prebuilt/common/etc/permissions/com.tmobile.software.themes.xml b/prebuilt/common/etc/permissions/com.tmobile.software.themes.xml
deleted file mode 100644
index f1c2f54..0000000
--- a/prebuilt/common/etc/permissions/com.tmobile.software.themes.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2011 The CyanogenMod Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<permissions>
- <feature name="com.tmobile.software.themes" />
-</permissions>
-
diff --git a/prebuilt/common/etc/profile b/prebuilt/common/etc/profile
deleted file mode 100644
index 1e87441..0000000
--- a/prebuilt/common/etc/profile
+++ /dev/null
@@ -1 +0,0 @@
-ENV=/sd-ext/.profile
diff --git a/prebuilt/common/etc/resolv.conf b/prebuilt/common/etc/resolv.conf
deleted file mode 100644
index 276c26b..0000000
--- a/prebuilt/common/etc/resolv.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-nameserver 8.8.8.8
-nameserver 8.8.4.4
diff --git a/prebuilt/common/etc/sysctl.conf b/prebuilt/common/etc/sysctl.conf
deleted file mode 100644
index e69de29..0000000
--- a/prebuilt/common/etc/sysctl.conf
+++ /dev/null
diff --git a/prebuilt/common/etc/terminfo/l/linux b/prebuilt/common/etc/terminfo/l/linux
deleted file mode 100644
index 0b36f01..0000000
--- a/prebuilt/common/etc/terminfo/l/linux
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/etc/terminfo/u/unknown b/prebuilt/common/etc/terminfo/u/unknown
deleted file mode 100644
index 0b36f01..0000000
--- a/prebuilt/common/etc/terminfo/u/unknown
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/lib/libncurses.so b/prebuilt/common/lib/libncurses.so
deleted file mode 100644
index 0e3d431..0000000
--- a/prebuilt/common/lib/libncurses.so
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/xbin/bash b/prebuilt/common/xbin/bash
deleted file mode 100755
index 9d9f572..0000000
--- a/prebuilt/common/xbin/bash
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/xbin/dropbear-keygen b/prebuilt/common/xbin/dropbear-keygen
deleted file mode 100644
index c61de42..0000000
--- a/prebuilt/common/xbin/dropbear-keygen
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/system/bin/sh
-#
-# Generate keys for the Dropbear SSH server
-# Steve Kondik (cyanogen)
-#
-
-DROPBEAR_HOME=/data/dropbear
-DROPBEARKEY=/system/xbin/dropbearkey
-
-if [ ! -d $DROPBEAR_HOME ] || [ ! -f $DROPBEAR_HOME/dropbear_rsa_host_key ] || [ ! -f $DROPBEAR_HOME/dropbear_dsa_host_key ];
-then
- if [ ! -d $DROPBEAR_HOME ];
- then
- mkdir /data/dropbear;
- chmod 750 /data/dropbear
- fi
- for k in dss rsa;
- do
- if [ ! -e $DROPBEAR_HOME/dropbear_${k}_host_key ];
- then
- $DROPBEARKEY -t $k -f $DROPBEAR_HOME/dropbear_${k}_host_key;
- chmod 640 $DROPBEAR_HOME/dropbear_${k}_host_key;
- fi
- done
-fi
diff --git a/prebuilt/common/xbin/htop b/prebuilt/common/xbin/htop
deleted file mode 100755
index daf4d23..0000000
--- a/prebuilt/common/xbin/htop
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/xbin/irssi b/prebuilt/common/xbin/irssi
deleted file mode 100755
index d2a7195..0000000
--- a/prebuilt/common/xbin/irssi
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/xbin/nano b/prebuilt/common/xbin/nano
deleted file mode 100755
index 67dc091..0000000
--- a/prebuilt/common/xbin/nano
+++ /dev/null
Binary files differ
diff --git a/prebuilt/common/xbin/openvpn-up.sh b/prebuilt/common/xbin/openvpn-up.sh
deleted file mode 100644
index 98bb439..0000000
--- a/prebuilt/common/xbin/openvpn-up.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/system/xbin/bash
-#
-# /system/xbin/openvpn-up.sh v0.2
-#
-# Philip Freeman <philip.freeman@gmail.com>
-#
-# TODO: add support for grabbing search domains ?
-#
-# Changes:
-#-- v0.2
-# - Added system logging
-# - Fixed fome path issues
-#
-
-LOG="/system/bin/log -t openvpn-up"
-SETPROP=/system/bin/setprop
-EXPR=/system/xbin/expr
-stop=0
-dns_num=1
-i=0
-
-${LOG} "Starting..."
-
-eval opt=\$foreign_option_$i
-
-while [ ${stop} -eq 0 ]; do
- if [ "`${EXPR} substr "$opt" 1 11`" = "dhcp-option" ]; then
- if [ "`${EXPR} substr "$opt" 13 3`" = "DNS" ]; then
- DNS="`${EXPR} substr "$opt" 17 1024`"
- ${LOG} "Got DNS${dns_num}: ${DNS}"
- if [ ${dns_num} -le 2 ]; then
- #Set it
- ${LOG} ${SETPROP} vpn.dns${dns_num} ${DNS}
- ${SETPROP} vpn.dns${dns_num} ${DNS}
- fi
- dns_num=$(( ${dns_num}+1 ))
- fi
- fi
- i=$(( $i+1 ))
- eval opt=\$foreign_option_$i
- if [ "$opt" = "" ]; then
- stop=1
- fi
-done
diff --git a/prebuilt/common/xbin/powertop b/prebuilt/common/xbin/powertop
deleted file mode 100755
index 9ab9d08..0000000
--- a/prebuilt/common/xbin/powertop
+++ /dev/null
Binary files differ