diff --git a/AndroidBoard.mk b/AndroidBoard.mk
index da03db0..f34bec8 100644
--- a/AndroidBoard.mk
+++ b/AndroidBoard.mk
@@ -5,13 +5,9 @@ ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/init.bahamas.rc | $(ACP)
$(transform-prebuilt-to-target)
-file := $(TARGET_ROOT_OUT)/init.rc
-ALL_PREBUILT += $(file)
-$(file) : $(LOCAL_PATH)/init.rc | $(ACP)
- $(transform-prebuilt-to-target)
-
include $(CLEAR_VARS)
LOCAL_SRC_FILES := bahamas-keypad.kcm
+LOCAL_MODULE_TAGS := optional
include $(BUILD_KEY_CHAR_MAP)
# This will install the file in /system/etc
@@ -20,6 +16,7 @@ include $(BUILD_KEY_CHAR_MAP)
include $(CLEAR_VARS)
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE := vold.fstab
+LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(LOCAL_MODULE)
include $(BUILD_PREBUILT)
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 010d9d9..1c3afeb 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -13,12 +13,16 @@ USE_CAMERA_STUB := true
TARGET_BOARD_PLATFORM := msm7k
TARGET_ARCH_VARIANT := armv6j
+#TARGET_ARCH_VARIANT := armv7-a
TARGET_CPU_ABI := armeabi
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
TARGET_NO_RECOVERY := true
+#TARGET_NO_RECOVERY := false
+
+BOARD_USE_FROYO_LIBCAMERA := true
# Wifi related defines
BOARD_WPA_SUPPLICANT_DRIVER := CUSTOM
@@ -39,7 +43,7 @@ TARGET_BOOTLOADER_LIBS := \
TARGET_BOOTLOADER_LINK_SCRIPT := \
hardware/msm7k/boot/boot.ld
-TARGET_PROVIDES_INIT_RC := true
+TARGET_PROVIDES_INIT_RC := false
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_BASE := 0x02E00000
@@ -86,7 +90,7 @@ PRODUCT_BUILD_PROP_OVERRIDES += TARGET_BOOTLOADER_BOARD_NAME=bahamas
# mtd3: 05a00000 00020000 "system"
# mtd4: 05000000 00020000 "cache"
# mtd5: 127c0000 00020000 "userdata"
-# Changed for Tattoo
+# Changed for bahamas
BOARD_BOOTIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00280000)
BOARD_RECOVERYIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x00500000)
BOARD_SYSTEMIMAGE_MAX_SIZE := $(call image-size-from-data-size,0x09600000)
@@ -106,3 +110,20 @@ ENABLE_JSC_JIT := true
# Stop compiling test_* binaries for eng tag
#STOP_TEST_BINS := true
+# Build kernel
+TARGET_PREBUILT_KERNEL := device/htc/tattoo/kernel
+LOCAL_KERNEL := device/htc/tattoo/kernel
+
+# Ginger
+#BOARD_LDPI_RECOVERY := true
+BOARD_LDPI_RECOVERY := false
+
+#BOARD_NO_RGBX_8888 := true
+
+#TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
+
+#BOARD_USE_HTC_USB_FUNCTION_SWITCH := true
+
+#BOARD_USE_USB_MASS_STORAGE_SWITCH := true
+
+#BOARD_USE_NEW_LIBRIL_HTC := true
\ No newline at end of file
diff --git a/custom/init.d/08compcache b/custom/init.d/08compcache
deleted file mode 100644
index 98dc7a1..0000000
--- a/custom/init.d/08compcache
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/system/bin/sh
-L="log -p i -t cm"
-# - load compcache module
-
-$L " Kalim Compcache: iniciado compcache";
-
-MEMTOTAL=$( awk '{ if ($1 eq "MemTotal:") print $2 ;exit }' /sys/devices/virtual/block/mtdblock4/queue/iosched/fifo_batch
-echo '1' > /sys/devices/virtual/block/mtdblock5/queue/iosched/fifo_batch
-echo '1' > /sys/block/mmcblk0/queue/iosched/fifo_batch
-
-exit 0
-
diff --git a/custom/init.d/80userinit b/custom/init.d/80userinit
deleted file mode 100644
index 9f8c115..0000000
--- a/custom/init.d/80userinit
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/system/bin/sh
-L="log -p i -t cm"
-$L "Kalim iniciado userinit";
-
-# - run customized shell at boot time
-userscript="/data/local/bin/autostart.sh"
-
-[ -x $userscript ] && /system/bin/sh $userscript
-
-exit 0
diff --git a/custom/init.d/99complete b/custom/init.d/99complete
deleted file mode 100644
index cfde4b2..0000000
--- a/custom/init.d/99complete
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/system/bin/sh
-L="log -p i -t cm"
-$L " Kalim iniciado complete";
-
-sync
-
diff --git a/device_tattoo-vendor-blobs.mk b/device_tattoo-vendor-blobs.mk
index 7ceb0df..b1e686e 100644
--- a/device_tattoo-vendor-blobs.mk
+++ b/device_tattoo-vendor-blobs.mk
@@ -6,18 +6,21 @@ PRODUCT_COPY_FILES += \
# Files in /system/etc
PRODUCT_COPY_FILES += \
device/htc/tattoo/custom/passwd:system/etc/passwd \
- device/htc/tattoo/custom/init.d/08compcache:system/etc/init.d/08compcache \
- device/htc/tattoo/custom/init.d/20opt_and_fix:system/etc/init.d/20opt_and_fix \
- device/htc/tattoo/custom/init.d/80userinit:system/etc/init.d/80userinit \
- device/htc/tattoo/custom/init.d/99complete:system/etc/init.d/99complete \
device/htc/tattoo/custom/sysctl.conf:system/etc/sysctl.conf \
device/htc/tattoo/custom/permissions/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
device/htc/tattoo/custom/placeholder:system/lib/modules/placeholder \
- device/htc/tattoo/custom/modules/wlan.ko:system/lib/modules/wlan.ko \
- device/htc/tattoo/custom/modules/lzo_compress.ko:system/lib/modules/lzo_compress.ko \
- device/htc/tattoo/custom/modules/lzo_decompress.ko:system/lib/modules/lzo_decompress.ko \
- device/htc/tattoo/custom/modules/xvmalloc.ko:system/lib/modules/xvmalloc.ko \
+ device/htc/tattoo/custom/modules/ip6_tunnel.ko:system/lib/modules/ip6_tunnel.ko \
+ device/htc/tattoo/custom/modules/ipv6.ko:system/lib/modules/ipv6.ko \
+ device/htc/tattoo/custom/modules/mip6.ko:system/lib/modules/mip6.ko \
device/htc/tattoo/custom/modules/ramzswap.ko:system/lib/modules/ramzswap.ko \
+ device/htc/tattoo/custom/modules/sit.ko:system/lib/modules/sit.ko \
+ device/htc/tattoo/custom/modules/tunnel4.ko:system/lib/modules/tunnel4.ko \
+ device/htc/tattoo/custom/modules/tunnel6.ko:system/lib/modules/tunnel6.ko \
+ device/htc/tattoo/custom/modules/wlan.ko:system/lib/modules/wlan.ko \
+ device/htc/tattoo/custom/modules/xfrm6_mode_beet.ko:system/lib/modules/xfrm6_mode_beet.ko \
+ device/htc/tattoo/custom/modules/xfrm6_mode_transport.ko:system/lib/modules/xfrm6_mode_transport.ko \
+ device/htc/tattoo/custom/modules/xfrm6_mode_tunnel.ko:system/lib/modules/xfrm6_mode_tunnel.ko \
+ device/htc/tattoo/custom/modules/xt_TCPMSS.ko:system/lib/modules/xt_TCPMSS.ko \
device/htc/tattoo/custom/modules/tattoo-hack.ko:system/lib/modules/tattoo-hack.ko
# Tattoo Calibration app
@@ -76,4 +79,13 @@ PRODUCT_COPY_FILES += \
device/htc/tattoo/proprietary/spn-conf.xml:system/etc/spn-conf.xml \
device/htc/tattoo/proprietary/sensors.bahamas.so:system/lib/hw/sensors.bahamas.so
+ifdef WITH_WINDOWS_MEDIA
+PRODUCT_COPY_FILES += \
+ device/htc/tattoo/proprietary/libomx_wmadec_sharedlibrary.so:system/lib/libomx_wmadec_sharedlibrary.so \
+ device/htc/tattoo/proprietary/libomx_wmvdec_sharedlibrary.so:system/lib/libomx_wmvdec_sharedlibrary.so \
+ device/htc/tattoo/proprietary/libpvasfcommon.so:system/lib/libpvasfcommon.so \
+ device/htc/tattoo/proprietary/libpvasflocalpbreg.so:system/lib/libpvasflocalpbreg.so \
+ device/htc/tattoo/proprietary/libpvasflocalpb.so:system/lib/libpvasflocalpb.so \
+ device/htc/tattoo/proprietary/pvasflocal.cfg:system/etc/pvasflocal.cfg
+endif
diff --git a/device_tattoo.mk b/device_tattoo.mk
index db6f17a..9318c2b 100644
--- a/device_tattoo.mk
+++ b/device_tattoo.mk
@@ -16,15 +16,23 @@
# Kernel Targets
ifeq ($(TARGET_PREBUILT_KERNEL),)
-ifeq ($(TARGET_KERNEL_CONFIG),)
TARGET_PREBUILT_KERNEL := device/htc/tattoo/kernel
-endif # TARGET_KERNEL_CONFIG
endif # TARGET_PREBUILT_KERNEL
+PRODUCT_COPY_FILES += \
+ $(LOCAL_KERNEL):kernel
+
DEVICE_PACKAGE_OVERLAYS := device/htc/tattoo/overlay
PRODUCT_PACKAGES += \
librs_jni \
+ libcopybit \
+ libcamera \
+ bahamas-keypad.kcm \
+ libgralloc \
+ liblights \
+ vold.fstab \
+ libsensors \
sensors.bahamas
PRODUCT_LOCALES += mdpi
@@ -43,7 +51,6 @@ DEVICE_PACKAGE_OVERLAYS := device/htc/tattoo/overlay
$(call inherit-product, device/htc/tattoo/device_tattoo-vendor-blobs.mk)
-
# from device_dream_sapphire.mk
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
@@ -70,6 +77,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.ril.gprsclass=12 \
ro.ril.htcmaskw1.bitmask = 4294967295 \
ro.ril.htcmaskw1 = 14449 \
+ ro.build.date.utc=1293591804 \
+ ro.product.device=tattoo \
+ ro.buid.device=tattoo \
ro.compcache.default=1 \
ro.ril.def.agps.mode = 2
@@ -125,3 +135,5 @@ $(call inherit-product, device/htc/common/common.mk)
$(call inherit-product, build/target/product/full.mk)
+PRODUCT_NAME := generic_tattoo
+PRODUCT_DEVICE := tattoo
\ No newline at end of file
diff --git a/extract-files.sh b/extract-files.sh
deleted file mode 100755
index 38d9d4e..0000000
--- a/extract-files.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-
-# Copyright (C) 2010 The Android Open Source 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.
-
-mkdir proprietary
-adb pull /system/etc/agps_rm proprietary
-adb pull /system/bin/akm8973 proprietary
-adb pull /system/etc/AudioFilter.csv proprietary
-adb pull /system/etc/AudioPara4.csv proprietary
-adb pull /system/etc/AudioPreProcess.csv proprietary
-adb pull /system/usr/keylayout/AVRCP.kl proprietary
-adb pull /system/usr/keylayout/bahamas-keypad.kl proprietary
-adb pull /system/usr/keylayout/h2w_headset.kl proprietary
-adb pull /system/usr/keylayout/qwerty.kl proprietary
-adb pull /system/etc/firmware/brf6300.bin proprietary
-adb pull /system/etc/firmware/brf6350.bin proprietary
-adb pull /system/etc/wifi/Fw1251r1c.bin proprietary
-adb pull /system/etc/wifi/tiwlan.ini proprietary
-adb pull /system/lib/libA2DP.so proprietary
-adb pull /system/lib/libaudioeq.so proprietary
-adb pull /system/lib/egl/libGLES_qcom.so proprietary
-adb pull /system/lib/libgps.so proprietary
-adb pull /system/lib/libhtc_acoustic.so proprietary
-adb pull /system/lib/libhtc_ril.so proprietary
-adb pull /system/lib/libmm-adspsvc.so proprietary
-adb pull /system/lib/liboemcamera.so proprietary
-adb pull /system/lib/libOmxH264Dec.so proprietary
-adb pull /system/lib/libOmxMpeg4Dec.so proprietary
-adb pull /system/lib/libOmxVidEnc.so proprietary
-adb pull /system/lib/libt9.so proprietary
-adb pull /system/usr/keychars/qwerty.kcm.bin proprietary
-adb pull /system/usr/keychars/qwerty2.kcm.bin proprietary
-adb pull /system/lib/hw/sensors.bahamas.so proprietary
-adb pull /system/etc/spn-conf.xml proprietary
-adb pull /system/etc/voicemail-conf.xml proprietary
-adb pull /system/lib/hw/libqcamera.so proprietary
-adb pull /system/lib/hw/libmm-qcamera-tgt.so proprietary
-adb pull /system/lib/hw/libmmjpeg.so proprietary
-adb pull /system/etc/libmmcamera.so proprietary
diff --git a/full_tattoo.mk b/full_tattoo.mk
index 167f8bc..cbb3fa1 100644
--- a/full_tattoo.mk
+++ b/full_tattoo.mk
@@ -29,15 +29,11 @@ $(call inherit-product, device/htc/common/common.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
-# Discard inherited values and use our own instead.
-PRODUCT_NAME := KalimROM_6.2.0
-PRODUCT_DEVICE := KalimROM
-PRODUCT_MODEL := KalimochoAzucarado
+PRODUCT_MODEL := tattoo
#PRODUCT_LOCALES := es_ES
ro.product.locale.language=es
ro.product.locale.region=ES
ro.product.name=Kalim2010
-ro.product.device=tattoo-Kalim
-ro.build.product=tattoo-Kalim
ro.rommanager.developerid=KalimochoAzucarado
ro.modversion=CyanogenMod-6.2.0-RC1-Kalim
+ro.build.date.utc=1293591804
\ No newline at end of file
diff --git a/init.bahamas.rc b/init.bahamas.rc
index b3483a0..dbb8180 100755
--- a/init.bahamas.rc
+++ b/init.bahamas.rc
@@ -1,6 +1,3 @@
-on early-init
- device mtd@misc 0460 radio diag
-
on boot
# unmap left alt to avoid console switch
setkey 0x0 0x38 0x0
@@ -30,6 +27,10 @@ on boot
chown bluetooth bluetooth /sys/devices/platform/msm_serial_hs.0/serial_lock_cpu
chmod 0660 /sys/devices/platform/msm_serial_hs.0/serial_lock_cpu
+ # write screen calibration
+ write /sys/class/input/input1/calibration 8
+ write /sys/class/input/input1/calibration_points 824,855,206,865,509,502,826,139,201,142
+
on property:init.svc.wpa_supplicant=stopped
start dhcp-release
@@ -48,9 +49,7 @@ service wlan_loader /system/bin/wlan_loader \
oneshot
service wpa_supplicant /system/bin/wpa_supplicant \
- -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf
- user wifi
- group wifi inet
+ -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf -q
socket wpa_tiwlan0 dgram 660 wifi wifi
disabled
oneshot
@@ -70,25 +69,7 @@ service hciattach /system/bin/hciattach \
disabled
# bugreport is triggered by the KEY_BACK and KEY_MENU keycodes
-service bugreport /system/bin/bugreport -d -v -z -o /sdcard/bugreports/bugreport
+service bugreport /system/bin/dumpstate -d -v -o /sdcard/bugreports/bugreport
disabled
oneshot
keycodes 158 139
-
-# for USB internet sharing
-service udhcpd /system/bin/udhcpd
- disabled
- oneshot
-
-service netsharing_on /system/bin/netsharing net on
- disabled
- oneshot
-
-service netsharing_off /system/bin/netsharing net off
- disabled
- oneshot
-
-service zchgd /system/bin/zchgd
- user root
- group root graphics
- oneshot
diff --git a/init.rc b/init.rc
deleted file mode 100755
index d06e80d..0000000
--- a/init.rc
+++ /dev/null
@@ -1,413 +0,0 @@
-
-on init
-
-sysclktz 0
-
-loglevel 3
-
-# setup the global environment
- export PATH /sbin:/system/sbin:/system/bin:/system/xbin:/data/local/bin
- export LD_LIBRARY_PATH /system/lib
- export ANDROID_BOOTLOGO 1
- export ANDROID_CACHE /cache
- export ANDROID_ROOT /system
- export ANDROID_ASSETS /system/app
- export ANDROID_DATA /data
- export EXTERNAL_STORAGE /mnt/sdcard
- export ASEC_MOUNTPOINT /mnt/asec
- export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
- export TERMINFO /system/etc/terminfo
-
-# Backward compatibility
- symlink /system/etc /etc
- symlink /sys/kernel/debug /d
- symlink /system/lib /lib
-
-# make /system partition writable
- insmod /lib/modules/tattoo-hack.ko
-
-# create mountpoints
- mkdir /mnt 0775 root system
- mkdir /mnt/sdcard 0000 system system
-
-# Create cgroup mount point for cpu accounting
- mkdir /acct
- mount cgroup none /acct cpuacct
- mkdir /acct/uid
-
-# Backwards Compat - XXX: Going away in G*
- symlink /mnt/sdcard /sdcard
-
- mkdir /system
- mkdir /data 0771 system system
- mkdir /cache 0771 system cache
- mkdir /config 0500 root root
-
- # Directory for putting things only root should see.
- mkdir /mnt/secure 0700 root root
-
- # Directory for staging bindmounts
- mkdir /mnt/secure/staging 0700 root root
-
- # Directory-target for where the secure container
- # imagefile directory will be bind-mounted
- mkdir /mnt/secure/asec 0700 root root
-
- # Secure container public mount points.
- mkdir /mnt/asec 0700 root system
- mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000
-
- mount rootfs rootfs / ro remount
-
- write /proc/sys/kernel/panic_on_oops 1
- write /proc/sys/kernel/hung_task_timeout_secs 0
- write /proc/cpu/alignment 4
- write /proc/sys/kernel/sched_latency_ns 10000000
- write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000
- write /proc/sys/kernel/sched_compat_yield 1
- write /proc/sys/kernel/sched_child_runs_first 0
-
-# Create cgroup mount points for process groups
- mkdir /dev/cpuctl
- mount cgroup none /dev/cpuctl cpu
- chown system system /dev/cpuctl
- chown system system /dev/cpuctl/tasks
- chmod 0777 /dev/cpuctl/tasks
- write /dev/cpuctl/cpu.shares 1024
-
- mkdir /dev/cpuctl/fg_boost
- chown system system /dev/cpuctl/fg_boost/tasks
- chmod 0777 /dev/cpuctl/fg_boost/tasks
- write /dev/cpuctl/fg_boost/cpu.shares 1024
-
- mkdir /dev/cpuctl/bg_non_interactive
- chown system system /dev/cpuctl/bg_non_interactive/tasks
- chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
- # 5.0 %
- write /dev/cpuctl/bg_non_interactive/cpu.shares 52
-
-# mount mtd partitions
- # Mount /system rw first to give the filesystem a chance to save a checkpoint
- mount yaffs2 mtd@system /system
- mount yaffs2 mtd@system /system ro remount
-
- # We chown/chmod /data again so because mount is run as root + defaults
- mount yaffs2 mtd@userdata /data nosuid nodev
- chown system system /data
- chmod 0771 /data
-
- # Create dump dir and collect dumps.
- # Do this before we mount cache so eventually we can use cache for
- # storing dumps on platforms which do not have a dedicated dump partition.
-
- mkdir /data/dontpanic
- chown root log /data/dontpanic
- chmod 0750 /data/dontpanic
-
- # Collect apanic data, free resources and re-arm trigger
- copy /proc/apanic_console /data/dontpanic/apanic_console
- chown root log /data/dontpanic/apanic_console
- chmod 0640 /data/dontpanic/apanic_console
-
- copy /proc/apanic_threads /data/dontpanic/apanic_threads
- chown root log /data/dontpanic/apanic_threads
- chmod 0640 /data/dontpanic/apanic_threads
-
- write /proc/apanic_console 1
-
- # Same reason as /data above
- mount yaffs2 mtd@cache /cache nosuid nodev
- chown system cache /cache
- chmod 0771 /cache
-
- # This may have been created by the recovery system with odd permissions
- chown system cache /cache/recovery
- chmod 0770 /cache/recovery
-
- #change permissions on vmallocinfo so we can grab it from bugreports
- chown root log /proc/vmallocinfo
- chmod 0440 /proc/vmallocinfo
-
- #change permissions on kmsg & sysrq-trigger so bugreports can grab kthread stacks
- chown root system /proc/kmsg
- chmod 0440 /proc/kmsg
- chown root system /proc/sysrq-trigger
- chmod 0220 /proc/sysrq-trigger
-
-# create basic filesystem structure
- mkdir /data/misc 01771 system misc
- mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth
- mkdir /data/misc/bluetooth 0770 system system
- mkdir /data/misc/keystore 0700 keystore keystore
- mkdir /data/misc/vpn 0770 system system
- mkdir /data/misc/systemkeys 0700 system system
- mkdir /data/misc/vpn/profiles 0770 system system
- # give system access to wpa_supplicant.conf for backup and restore
- mkdir /data/misc/wifi 0770 wifi wifi
- chmod 0770 /data/misc/wifi
- chmod 0660 /data/misc/wifi/wpa_supplicant.conf
- mkdir /data/local 0771 shell shell
- mkdir /data/local/tmp 0771 shell shell
- mkdir /data/data 0771 system system
- mkdir /data/app-private 0771 system system
- mkdir /data/app 0771 system system
- mkdir /data/property 0700 root root
-
- # create dalvik-cache and double-check the perms
- mkdir /data/dalvik-cache 0771 system system
- chown system system /data/dalvik-cache
- chmod 0771 /data/dalvik-cache
-
- mkdir /cache/dalvik-cache 0771 system system
- chown system system /cache/dalvik-cache
- chmod 0771 /cache/dalvik-cache
-
- # create the lost+found directories, so as to enforce our permissions
- mkdir /data/lost+found 0770
- mkdir /cache/lost+found 0770
-
- # double check the perms, in case lost+found already exists, and set owner
- chown root root /data/lost+found
- chmod 0770 /data/lost+found
- chown root root /cache/lost+found
- chmod 0770 /cache/lost+found
-
- # allow net_raw to have access to /dev/socket directory
- chown root net_raw /dev/socket
- chmod 0775 /dev/socket
-
-on boot
-# basic network init
- ifup lo
- hostname localhost
- domainname localdomain
-
-# set RLIMIT_NICE to allow priorities from 19 to -20
- setrlimit 13 40 40
-
-# Define the oom_adj values for the classes of processes that can be
-# killed by the kernel. These are used in ActivityManagerService.
- setprop ro.FOREGROUND_APP_ADJ 0
- setprop ro.VISIBLE_APP_ADJ 1
- setprop ro.SECONDARY_SERVER_ADJ 2
- setprop ro.BACKUP_APP_ADJ 2
- setprop ro.HOME_APP_ADJ 4
- setprop ro.HIDDEN_APP_MIN_ADJ 7
- setprop ro.CONTENT_PROVIDER_ADJ 14
- setprop ro.EMPTY_APP_ADJ 15
-
-# Define the memory thresholds at which the above process classes will
-# be killed. These numbers are in pages (4k).
- setprop ro.FOREGROUND_APP_MEM 1536
- setprop ro.VISIBLE_APP_MEM 2048
- setprop ro.SECONDARY_SERVER_MEM 4096
- setprop ro.BACKUP_APP_MEM 4096
- setprop ro.HOME_APP_MEM 4096
- setprop ro.HIDDEN_APP_MEM 5120
- setprop ro.CONTENT_PROVIDER_MEM 5632
- setprop ro.EMPTY_APP_MEM 6144
-
-# Write value must be consistent with the above properties.
-# Note that the driver only supports 6 slots, so we have HOME_APP at the
-# same memory level as services.
- write /sys/module/lowmemorykiller/parameters/adj 0,1,2,7,14,15
-
- write /proc/sys/vm/overcommit_memory 1
- write /proc/sys/vm/min_free_order_shift 4
- write /sys/module/lowmemorykiller/parameters/minfree 1536,2048,4096,5120,5632,6144
-
- # Set init its forked children's oom_adj.
- write /proc/1/oom_adj -16
-
- # Tweak background writeout
- write /proc/sys/vm/dirty_expire_centisecs 200
- write /proc/sys/vm/dirty_background_ratio 5
-
- # write Calibration
- write /sys/class/input/input1/calibration 8
- write /sys/class/input/input1/calibration_points 824,855,206,865,509,502,826,139,201,142
-
- # Permissions for System Server and daemons.
- chown radio system /sys/android_power/state
- chown radio system /sys/android_power/request_state
- chown radio system /sys/android_power/acquire_full_wake_lock
- chown radio system /sys/android_power/acquire_partial_wake_lock
- chown radio system /sys/android_power/release_wake_lock
- chown radio system /sys/power/state
- chown radio system /sys/power/wake_lock
- chown radio system /sys/power/wake_unlock
- chmod 0660 /sys/power/state
- chmod 0660 /sys/power/wake_lock
- chmod 0660 /sys/power/wake_unlock
- chown system system /sys/class/timed_output/vibrator/enable
- chown system system /sys/class/leds/keyboard-backlight/brightness
- chown system system /sys/class/leds/lcd-backlight/brightness
- chown system system /sys/class/leds/button-backlight/brightness
- chown system system /sys/class/leds/jogball-backlight/brightness
- chown system system /sys/class/leds/red/brightness
- chown system system /sys/class/leds/green/brightness
- chown system system /sys/class/leds/blue/brightness
- chown system system /sys/class/leds/red/device/grpfreq
- chown system system /sys/class/leds/red/device/grppwm
- chown system system /sys/class/leds/red/device/blink
- chown system system /sys/class/leds/red/brightness
- chown system system /sys/class/leds/green/brightness
- chown system system /sys/class/leds/blue/brightness
- chown system system /sys/class/leds/amber/brightness
- chown system system /sys/class/leds/red/device/grpfreq
- chown system system /sys/class/leds/red/device/grppwm
- chown system system /sys/class/leds/red/device/blink
- chown system system /sys/class/leds/green/blink
- chown system system /sys/class/leds/green/off_timer
- chown system system /sys/class/leds/amber/blink
- chown system system /sys/class/leds/amber/off_timer
- chown system system /sys/class/timed_output/vibrator/enable
- chown system system /sys/module/sco/parameters/disable_esco
- chown system system /sys/kernel/ipv4/tcp_wmem_min
- chown system system /sys/kernel/ipv4/tcp_wmem_def
- chown system system /sys/kernel/ipv4/tcp_wmem_max
- chown system system /sys/kernel/ipv4/tcp_rmem_min
- chown system system /sys/kernel/ipv4/tcp_rmem_def
- chown system system /sys/kernel/ipv4/tcp_rmem_max
- chown root radio /proc/cmdline
-
- # Kalim Change fb0 permissions to enable write ( copybiterror )
- chmod 666 /dev/graphics/fb0
-
-# Define TCP buffer sizes for various networks
-# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
- setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
- setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
- setprop net.tcp.buffersize.umts 4094,87380,110208,4096,16384,110208
- setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
- setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680
-
- class_start default
-
-## Daemon processes to be run by init.
-##
-service console /system/bin/sh
- console
-
-# adbd is controlled by the persist.service.adb.enable system property
-service adbd /sbin/adbd
- disabled
-
-# adbd on at boot in emulator
-on property:ro.kernel.qemu=1
- start adbd
-
-on property:persist.service.adb.enable=1
- start adbd
-
-on property:persist.service.adb.enable=0
- stop adbd
-
-# Custom autostart scripts, by cn.fyodor
-# a dirty hack
-service bootsound /system/xbin/busybox run-parts /system/etc/init.d
- user root
- group root
- oneshot
-
-service servicemanager /system/bin/servicemanager
- user system
- critical
- onrestart restart zygote
- onrestart restart media
-
-service vold /system/bin/vold
- socket vold stream 0660 root mount
- ioprio be 2
-
-service netd /system/bin/netd
- socket netd stream 0660 root system
-
-service debuggerd /system/bin/debuggerd
-
-service ril-daemon /system/bin/rild
- socket rild stream 660 root radio
- socket rild-debug stream 660 radio system
- user root
- group radio cache inet misc audio
-
-service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
- socket zygote stream 666
- onrestart write /sys/android_power/request_state wake
- onrestart write /sys/power/state on
- onrestart restart media
-
-service media /system/bin/mediaserver
- user media
- group system audio camera graphics inet net_bt net_bt_admin net_raw
- ioprio rt 4
-
-service bootanim /system/bin/bootanimation
- user graphics
- group graphics
- disabled
- oneshot
-
-service dbus /system/bin/dbus-daemon --system --nofork
- socket dbus stream 660 bluetooth bluetooth
- user bluetooth
- group bluetooth net_bt_admin
-
-service bluetoothd /system/bin/bluetoothd -n
- socket bluetooth stream 660 bluetooth bluetooth
- socket dbus_bluetooth stream 660 bluetooth bluetooth
- # init.rc does not yet support applying capabilities, so run as root and
- # let bluetoothd drop uid to bluetooth with the right linux capabilities
- group bluetooth net_bt_admin misc
- disabled
-
-service hfag /system/bin/sdptool add --channel=10 HFAG
- user bluetooth
- group bluetooth net_bt_admin
- disabled
- oneshot
-
-service hsag /system/bin/sdptool add --channel=11 HSAG
- user bluetooth
- group bluetooth net_bt_admin
- disabled
- oneshot
-
-service opush /system/bin/sdptool add --channel=12 OPUSH
- user bluetooth
- group bluetooth net_bt_admin
- disabled
- oneshot
-
-service pbap /system/bin/sdptool add --channel=19 PBAP
- user bluetooth
- group bluetooth net_bt_admin
- disabled
- oneshot
-
-service installd /system/bin/installd
- socket installd stream 600 system system
-
-service racoon /system/bin/racoon
- socket racoon stream 600 system system
- # racoon will setuid to vpn after getting necessary resources.
- group net_admin
- disabled
- oneshot
-
-service mtpd /system/bin/mtpd
- socket mtpd stream 600 system system
- user vpn
- group vpn net_admin net_raw
- disabled
- oneshot
-
-service keystore /system/bin/keystore /data/misc/keystore
- user keystore
- group keystore
- socket keystore stream 666
-
-service dumpstate /system/bin/dumpstate -s
- socket dumpstate stream 0660 shell log
- disabled
- oneshot
diff --git a/kernel b/kernel
index 699e134..79e57f2 100755
Binary files a/kernel and b/kernel differ
diff --git a/overlay/frameworks/base/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml b/overlay/frameworks/base/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
deleted file mode 100755
index 48a694f..0000000
--- a/overlay/frameworks/base/core/res/res/layout/keyguard_screen_sim_pin_portrait.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/frameworks/base/core/res/res/layout/twelve_key_entry.xml b/overlay/frameworks/base/core/res/res/layout/twelve_key_entry.xml
deleted file mode 100755
index 4555b91..0000000
--- a/overlay/frameworks/base/core/res/res/layout/twelve_key_entry.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/frameworks/base/core/res/res/layout/usb_storage_activity.xml b/overlay/frameworks/base/core/res/res/layout/usb_storage_activity.xml
deleted file mode 100755
index 587b660..0000000
--- a/overlay/frameworks/base/core/res/res/layout/usb_storage_activity.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
deleted file mode 100755
index 8a952a4..0000000
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,371 +0,0 @@
-
-
-
-
-
-
- false
-
-
- true
-
-
- 150
-
-
- 300
-
-
- 400
-
-
- 0
-
-
-
-
-
-
- - "wifi,1,1,1"
- - "mobile,0,0,0"
- - "mobile_mms,2,0,2"
- - "mobile_supl,3,0,2"
- - "mobile_hipri,5,0,3"
-
-
-
-
-
- - "1,1"
- - "0,1"
-
-
-
-
- - usb\\d
- - "usb0"
-
-
-
-
-
-
-
-
-
- - "rmnet\\d"
- - "eth\\d"
-
-
-
-
- - "wl0.1"
-
-
-
- false
-
-
-
-
-
-
- true
-
-
- true
-
-
-
-
- 90
-
-
- -1
-
-
- -1
-
-
- 1
-
-
- 1
-
-
- false
-
-
- true
-
-
- 1
-
-
- 0
-
-
- true
-
-
-
- - 0
- - 1
- - 20
- - 21
-
-
-
-
- - 0
- - 10
- - 20
- - 30
-
-
-
-
- - 40
-
-
-
-
- - 0
- - 1
- - 20
- - 21
-
-
-
-
- - 0
- - 1
- - 20
- - 21
- - 500
- - 600
-
-
-
-
- - 0
- - 15
- - 10
- - 10
-
-
-
-
- - 5
- - 18
-
-
- false
-
-
- 15
-
-
- 20
-
-
- #ff00ff00
-
-
- 500
-
-
- 2000
-
-
- true
-
-
- true
-
-
-
- - 11
- - 41
- - 91
- - 161
- - 226
- - 321
- - 641
- - 1281
- - 2601
-
-
-
-
- - 66
- - 66
- - 103
- - 103
- - 103
- - 152
- - 152
- - 255
- - 255
- - 255
-
-
-
-
- - 255
- - 255
- - 255
- - 255
- - 225
- - 0
- - 0
- - 0
- - 0
- - 0
-
-
-
-
- - 255
- - 255
- - 255
- - 255
- - 225
- - 0
- - 0
- - 0
- - 0
- - 0
-
-
-
- 0
-
-
- true
-
-
- false
-
-
- false
-
-
- @null
-
-
- com.google.android.location.NetworkLocationProvider
-
-
- com.google.android.location.GeocodeProvider
-
-
- true
-
-
- 600
-
-
- 0
-
-
- 300
-
-
- rmnet0
-
-
-
- 2
-
-
diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml
deleted file mode 100755
index 91959e2..0000000
--- a/overlay/frameworks/base/core/res/res/values/dimens.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
- 84dp
-
- 63dp
-
- 48dip
- 64dip
-
- 25dip
-
- 104dp
-
- 64dp
-
- 52dp
-
- 46dip
-
- 4dip
-
- 5dp
-
diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index 1dbf813..0000000
--- a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
- true
- true
-
\ No newline at end of file
diff --git a/overlay/packages/apps/ADWLauncher/res/xml/default_workspace.xml b/overlay/packages/apps/ADWLauncher/res/xml/default_workspace.xml
deleted file mode 100755
index 26faf15..0000000
--- a/overlay/packages/apps/ADWLauncher/res/xml/default_workspace.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/CMParts/res/values/config.xml b/overlay/packages/apps/CMParts/res/values/config.xml
deleted file mode 100644
index 05a8ff9..0000000
--- a/overlay/packages/apps/CMParts/res/values/config.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- true
- false
-
-
- true
-
diff --git a/overlay/packages/apps/Camera/res/values/config.xml b/overlay/packages/apps/Camera/res/values/config.xml
deleted file mode 100644
index 6734bf3..0000000
--- a/overlay/packages/apps/Camera/res/values/config.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
- true
-
\ No newline at end of file
diff --git a/overlay/packages/apps/Contacts/res/layout-finger/dialpad.xml b/overlay/packages/apps/Contacts/res/layout-finger/dialpad.xml
deleted file mode 100755
index 72e53fe..0000000
--- a/overlay/packages/apps/Contacts/res/layout-finger/dialpad.xml
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Contacts/res/layout-finger/twelve_key_dialer.xml b/overlay/packages/apps/Contacts/res/layout-finger/twelve_key_dialer.xml
deleted file mode 100755
index 2c4c707..0000000
--- a/overlay/packages/apps/Contacts/res/layout-finger/twelve_key_dialer.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/DeskClock/res/layout-land/desk_clock.xml b/overlay/packages/apps/DeskClock/res/layout-land/desk_clock.xml
deleted file mode 100755
index 7d49d55..0000000
--- a/overlay/packages/apps/DeskClock/res/layout-land/desk_clock.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/DeskClock/res/layout/desk_clock.xml b/overlay/packages/apps/DeskClock/res/layout/desk_clock.xml
deleted file mode 100755
index 1b4d9be..0000000
--- a/overlay/packages/apps/DeskClock/res/layout/desk_clock.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/DeskClock/res/layout/desk_clock_time_date.xml b/overlay/packages/apps/DeskClock/res/layout/desk_clock_time_date.xml
deleted file mode 100755
index 761ddfe..0000000
--- a/overlay/packages/apps/DeskClock/res/layout/desk_clock_time_date.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Launcher2/res/layout/all_apps.xml b/overlay/packages/apps/Launcher2/res/layout/all_apps.xml
deleted file mode 100755
index 14f42c0..0000000
--- a/overlay/packages/apps/Launcher2/res/layout/all_apps.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Launcher2/res/values/config.xml b/overlay/packages/apps/Launcher2/res/values/config.xml
deleted file mode 100755
index 60d0eab..0000000
--- a/overlay/packages/apps/Launcher2/res/values/config.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
- 0
- 0
- 0
- 0
-
diff --git a/overlay/packages/apps/Phone/res/layout-finger/dialpad.xml b/overlay/packages/apps/Phone/res/layout-finger/dialpad.xml
deleted file mode 100755
index 68929b0..0000000
--- a/overlay/packages/apps/Phone/res/layout-finger/dialpad.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout-finger/dtmf_twelve_key_dialer.xml b/overlay/packages/apps/Phone/res/layout-finger/dtmf_twelve_key_dialer.xml
deleted file mode 100755
index c5be782..0000000
--- a/overlay/packages/apps/Phone/res/layout-finger/dtmf_twelve_key_dialer.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout-finger/emergency_dialer.xml b/overlay/packages/apps/Phone/res/layout-finger/emergency_dialer.xml
deleted file mode 100755
index 3a4c5cc..0000000
--- a/overlay/packages/apps/Phone/res/layout-finger/emergency_dialer.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout-finger/non_drawer_dialpad.xml b/overlay/packages/apps/Phone/res/layout-finger/non_drawer_dialpad.xml
deleted file mode 100755
index 850b584..0000000
--- a/overlay/packages/apps/Phone/res/layout-finger/non_drawer_dialpad.xml
+++ /dev/null
@@ -1,152 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout/call_card.xml b/overlay/packages/apps/Phone/res/layout/call_card.xml
deleted file mode 100755
index eb7bf38..0000000
--- a/overlay/packages/apps/Phone/res/layout/call_card.xml
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout/call_card_person_info.xml b/overlay/packages/apps/Phone/res/layout/call_card_person_info.xml
deleted file mode 100755
index ea68de4..0000000
--- a/overlay/packages/apps/Phone/res/layout/call_card_person_info.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/layout/incall_touch_ui.xml b/overlay/packages/apps/Phone/res/layout/incall_touch_ui.xml
deleted file mode 100755
index 6f1cb79..0000000
--- a/overlay/packages/apps/Phone/res/layout/incall_touch_ui.xml
+++ /dev/null
@@ -1,230 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Phone/res/values/config.xml b/overlay/packages/apps/Phone/res/values/config.xml
deleted file mode 100755
index 84fa11a..0000000
--- a/overlay/packages/apps/Phone/res/values/config.xml
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-
-
-
- false
-
-
- true
-
-
- true
-
-
- false
-
-
-
-
- 1
-
- 0
-
- 0
-
- 0
-
-
- false
-
-
- true
-
-
- false
-
-
- false
-
-
- false
-
-
- false
-
-
- true
-
-
- true
-
-
- true
-
-
- false
-
-
- false
-
-
diff --git a/overlay/packages/apps/Phone/res/values/styles.xml b/overlay/packages/apps/Phone/res/values/styles.xml
deleted file mode 100755
index 413bb1b..0000000
--- a/overlay/packages/apps/Phone/res/values/styles.xml
+++ /dev/null
@@ -1,229 +0,0 @@
-
-
-
-
- #FFAE1200
- #FF008115
- #FF333333
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Settings/res/layout/choose_lock_password.xml b/overlay/packages/apps/Settings/res/layout/choose_lock_password.xml
deleted file mode 100755
index 780e9d5..0000000
--- a/overlay/packages/apps/Settings/res/layout/choose_lock_password.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Settings/res/layout/choose_lock_pattern.xml b/overlay/packages/apps/Settings/res/layout/choose_lock_pattern.xml
deleted file mode 100755
index 15ff128..0000000
--- a/overlay/packages/apps/Settings/res/layout/choose_lock_pattern.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Settings/res/layout/choose_lock_pattern_example.xml b/overlay/packages/apps/Settings/res/layout/choose_lock_pattern_example.xml
deleted file mode 100755
index 6019c1c..0000000
--- a/overlay/packages/apps/Settings/res/layout/choose_lock_pattern_example.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Settings/res/layout/confirm_lock_password.xml b/overlay/packages/apps/Settings/res/layout/confirm_lock_password.xml
deleted file mode 100755
index 3a27b9d..0000000
--- a/overlay/packages/apps/Settings/res/layout/confirm_lock_password.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Settings/res/layout/confirm_lock_pattern.xml b/overlay/packages/apps/Settings/res/layout/confirm_lock_pattern.xml
deleted file mode 100755
index 18126e1..0000000
--- a/overlay/packages/apps/Settings/res/layout/confirm_lock_pattern.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/apps/Stk/res/drawable-mdpi/ic_launcher_sim_toolkit.png b/overlay/packages/apps/Stk/res/drawable-mdpi/ic_launcher_sim_toolkit.png
deleted file mode 100755
index 0ec525f..0000000
Binary files a/overlay/packages/apps/Stk/res/drawable-mdpi/ic_launcher_sim_toolkit.png and /dev/null differ
diff --git a/overlay/packages/apps/Torch/res/layout/mainnew.xml b/overlay/packages/apps/Torch/res/layout/mainnew.xml
deleted file mode 100755
index da3d4b7..0000000
--- a/overlay/packages/apps/Torch/res/layout/mainnew.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/overlay/packages/inputmethods/LatinIME/java/res/values-land/dimens.xml b/overlay/packages/inputmethods/LatinIME/java/res/values-land/dimens.xml
deleted file mode 100755
index 66a01c0..0000000
--- a/overlay/packages/inputmethods/LatinIME/java/res/values-land/dimens.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
- 45dip
- 38dip
- 2dip
-
diff --git a/overlay/packages/inputmethods/LatinIME/java/res/values/dimens.xml b/overlay/packages/inputmethods/LatinIME/java/res/values/dimens.xml
deleted file mode 100755
index 28b6817..0000000
--- a/overlay/packages/inputmethods/LatinIME/java/res/values/dimens.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- 48dip
- 22dip
- 42dip
- 4dip
-