OSDN Git Service

android_x86: 20140520 release for kitkat-x86
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 20 May 2014 15:37:34 +0000 (23:37 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 20 May 2014 15:37:34 +0000 (23:37 +0800)
BoardConfig.mk
app/AndroidTerm.apk
app/LIME-HD.apk [new file with mode: 0644]
device.mk
init.sh
init.x86.rc
packages.mk

index 561b3b2..36885cf 100644 (file)
@@ -38,6 +38,7 @@ TARGET_NO_KERNEL ?= false
 TARGET_NO_RECOVERY ?= true
 TARGET_PROVIDES_INIT_RC ?= true
 TARGET_CPU_SMP ?= true
+TARGET_EXTRA_KERNEL_MODULES := 8723au
 
 TARGET_USE_DISKINSTALLER ?= false
 
@@ -81,6 +82,3 @@ BOARD_EGL_CFG ?= device/generic/x86/gpu/egl_mesa.cfg
 endif
 
 BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.hardware=$(TARGET_PRODUCT) video=-16
-
-SUPERUSER_EMBEDDED := true
-SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
index 4846ad5..043e1da 100644 (file)
Binary files a/app/AndroidTerm.apk and b/app/AndroidTerm.apk differ
diff --git a/app/LIME-HD.apk b/app/LIME-HD.apk
new file mode 100644 (file)
index 0000000..a1b1887
Binary files /dev/null and b/app/LIME-HD.apk differ
index b790f6f..d488ead 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -98,4 +98,4 @@ $(call inherit-product,frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-hea
 $(call inherit-product-if-exists,vendor/google/products/gms.mk)
 
 # Get Arm translator
-$(call inherit-product-if-exists,vendor/intel/houdini.mk)
+$(call inherit-product-if-exists,vendor/intel/houdini/houdini.mk)
diff --git a/init.sh b/init.sh
index 465991c..8d9163c 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -40,7 +40,8 @@ function init_hal_audio()
                alsa_amixer -c $c set Capture 100
                alsa_amixer -c $c set Capture cap
                alsa_amixer -c $c set PCM 100 unmute
-               alsa_amixer -c $c set 'Mic Boost' 2
+               alsa_amixer -c $c set 'Mic Boost' 3
+               alsa_amixer -c $c set 'Internal Mic Boost' 3
        done
 }
 
@@ -145,10 +146,21 @@ function init_hal_sensors()
 {
        case "$(cat $DMIPATH/uevent)" in
                *T*00LA*)
-                       set_property hal.sensors intel
+                       modprobe kfifo-buf
+                       modprobe industrialio-triggered-buffer
+                       modprobe hid-sensor-hub
+                       modprobe hid-sensor-iio-common
+                       modprobe hid-sensor-trigger
+                       modprobe hid-sensor-accel-3d
+                       modprobe hid-sensor-gyro-3d
+                       modprobe hid-sensor-als
+                       modprobe hid-sensor-magn-3d
+                       sleep 1; busybox chown -R 1000.1000 /sys/bus/iio/devices/iio:device?/
+                       set_property hal.sensors hsb
                        ;;
                *Lucid-MWE*)
                        set_property ro.ignore_atkbd 1
+                       set_property hal.sensors hdaps
                        ;;
                *ICONIA*W*)
                        set_property hal.sensors w500
@@ -192,6 +204,23 @@ function init_hal_sensors()
        esac
 }
 
+function init_tscal()
+{
+       case "$PRODUCT" in
+               T91|T101|ET2002|74499FU)
+                       if [ ! -e /data/misc/tscal/pointercal ]; then
+                               mkdir -p /data/misc/tscal
+                               touch /data/misc/tscal/pointercal
+                               chown 1000.1000 /data/misc/tscal /data/misc/tscal/*
+                               chmod 775 /data/misc/tscal
+                               chmod 664 /data/misc/tscal/pointercal
+                       fi
+                       ;;
+               *)
+                       ;;
+       esac
+}
+
 function init_ril()
 {
        case "$PRODUCT" in
@@ -227,6 +256,7 @@ function do_init()
        init_hal_lights
        init_hal_power
        init_hal_sensors
+       init_tscal
        init_ril
        chmod 640 /x86.prop
        post_init
index 5b27e2b..7ca39a8 100644 (file)
@@ -46,6 +46,8 @@ on init
     exec /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
 
 on post-fs-data
+    sysclktz 1
+
     mkdir /data/media 0770 media_rw media_rw
 
     mkdir /data/misc/wifi 0770 wifi wifi
index 59503af..a9b2cf5 100644 (file)
@@ -22,15 +22,14 @@ PRODUCT_PACKAGES := \
     Galaxy4 \
     GlobalTime \
     HoloSpiralWallpaper \
-    Launcher3 \
     LiveWallpapers \
     LiveWallpapersPicker \
     MagicSmokeWallpapers \
     NotePad \
     PhaseBeam \
+    PinyinIME \
     Provision \
     RSSReader \
-    Trebuchet \
     VisualizationWallpapers \
     camera.x86 \
     chat \
@@ -49,6 +48,7 @@ PRODUCT_PACKAGES := \
     parted \
     powerbtnd \
     scp \
+    sensors.hsb \
     sftp \
     ssh \
     sshd \
@@ -68,6 +68,7 @@ PRODUCT_PACKAGES += \
 
 # Third party apps
 PRODUCT_PACKAGES += \
-    AndroidTerm \
-    FileManager \
-    LIME \
+    CMFileManager \
+    Superuser \
+    TSCalibration2 \
+    Trebuchet \