TARGET_NO_RECOVERY ?= true
TARGET_PROVIDES_INIT_RC ?= true
TARGET_CPU_SMP ?= true
+TARGET_EXTRA_KERNEL_MODULES := 8723au
TARGET_USE_DISKINSTALLER ?= false
endif
BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.hardware=$(TARGET_PRODUCT) video=-16
-
-SUPERUSER_EMBEDDED := true
-SUPERUSER_PACKAGE_PREFIX := com.android.settings.cyanogenmod.superuser
$(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)
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
}
{
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
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
init_hal_lights
init_hal_power
init_hal_sensors
+ init_tscal
init_ril
chmod 640 /x86.prop
post_init