├── audio ├── default ├── none │ └── empty_dir ├── byt_alc262 │ ├── kernel_defconfig_overlay │ ├── overlay │ │ └── frameworks │ │ │ └── base │ │ │ └── core │ │ │ └── res │ │ │ └── res │ │ │ └── values │ │ │ ├── symbols.xml │ │ │ └── config.xml │ ├── mypatch.patch │ ├── BoardConfig.mk │ ├── product.mk │ ├── asound.conf │ ├── audio_policy.conf │ └── audio_effects.conf ├── hsw_alc282_mcghal │ ├── kernel_defconfig_overlay │ ├── overlay │ │ └── frameworks │ │ │ └── base │ │ │ └── core │ │ │ └── res │ │ │ └── res │ │ │ └── values │ │ │ ├── symbols.xml │ │ │ └── config.xml │ ├── BoardConfig.mk │ ├── product.mk │ ├── asound.conf │ └── audio_policy.conf ├── byt_alc283 │ ├── kernel_defconfig_overlay │ ├── overlay │ │ └── frameworks │ │ │ └── base │ │ │ └── core │ │ │ └── res │ │ │ └── res │ │ │ └── values │ │ │ ├── symbols.xml │ │ │ └── config.xml │ ├── BoardConfig.mk │ ├── product.mk │ ├── mixer_paths_Analog_Devices.xml │ ├── mixer_paths_ALC283.xml │ ├── mixer_paths_unknown.xml │ └── audio_policy.conf ├── hsw_alc262 │ ├── overlay │ │ └── frameworks │ │ │ └── base │ │ │ └── core │ │ │ └── res │ │ │ └── res │ │ │ └── values │ │ │ ├── symbols.xml │ │ │ └── config.xml │ ├── BoardConfig.mk │ ├── product.mk │ ├── mixer_paths_Analog_Devices.xml │ ├── mixer_paths_ALC262.xml │ ├── mixer_paths_unknown.xml │ └── audio_policy.conf ├── hsw_alc282 │ ├── BoardConfig.mk │ ├── overlay │ │ └── frameworks │ │ │ └── base │ │ │ └── core │ │ │ └── res │ │ │ └── res │ │ │ └── values │ │ │ ├── symbols.xml │ │ │ └── config.xml │ ├── mixer_paths_Analog_Devices.xml │ ├── mixer_paths_ALC282.xml │ ├── mixer_paths_ALC668.xml │ ├── product.mk │ ├── mixer_paths_unknown.xml │ └── audio_policy.conf └── ivb_alc271 │ ├── BoardConfig.mk │ ├── overlay │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── values │ │ ├── symbols.xml │ │ └── config.xml │ ├── mixer_paths_Analog_Devices.xml │ ├── mixer_paths_ALC271X.xml │ ├── product.mk │ ├── mixer_paths_unknown.xml │ └── audio_policy.conf ├── dptf ├── default ├── none │ └── empty_dir └── active │ ├── product.mk │ └── kernel_defconfig_overlay ├── gms ├── default ├── false │ ├── product.mk │ └── default └── true │ ├── BoardConfig.mk │ ├── product.mk │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── libm ├── default ├── none │ └── empty_dir └── intel │ └── BoardConfig.mk ├── power ├── default ├── none │ └── empty_dir ├── i2c │ ├── product.mk │ └── ueventd.rc └── interactive_gov │ ├── product.mk │ └── init.rc ├── touch ├── default ├── none │ └── empty_dir ├── usb_hid │ ├── kernel_defconfig_overlay │ ├── Vendor_03eb_Product_2136.idc │ └── product.mk └── max_1664S_8 │ ├── atmel_mxt_ts.idc │ ├── maxtouch_1664S_8.fw │ ├── product.mk │ └── maxtouch.cfg ├── wifi ├── default ├── none │ └── empty_dir ├── intel-compat │ ├── p2p_supplicant.conf │ ├── kernel_defconfig_overlay │ ├── Android.mk │ ├── BoardConfig.mk │ ├── product.mk │ └── init.rc └── intel-upstream │ ├── wpa_supplicant.conf │ ├── kernel_defconfig_overlay │ ├── product.mk │ ├── BoardConfig.mk │ └── init.rc ├── bluetooth ├── default ├── none │ ├── empty_dir │ └── bdroid_buildcfg.h ├── bluez │ ├── init.rc │ ├── kernel_defconfig_overlay │ ├── product.mk │ └── README ├── broadcom │ ├── product.mk │ └── buildcfg_include │ │ └── bdroid_buildcfg.h └── wp │ ├── kernel_defconfig_overlay │ ├── ueventd.rc │ ├── product.mk │ ├── BoardConfig.mk │ ├── buildcfg_include │ └── bdroid_buildcfg.h │ ├── init.rc │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── camera-usb ├── default ├── usb │ ├── ueventd.rc │ ├── kernel_defconfig_overlay │ ├── product.mk │ └── BoardConfig.mk ├── uvc │ ├── ueventd.rc │ ├── kernel_defconfig_overlay │ ├── BoardConfig.mk │ └── product.mk ├── uvc2cam │ ├── ueventd.rc │ ├── kernel_defconfig_overlay │ ├── BoardConfig.mk │ └── product.mk └── none │ ├── kernel_defconfig_overlay │ └── BoardConfig.mk ├── ethernet ├── default ├── none │ └── empty_dir ├── static │ ├── init.recovery.rc │ ├── product.mk │ └── init.rc ├── configurable │ ├── init.recovery.rc │ ├── product.mk │ └── init.rc └── init.utilitynet.sh ├── fastboot ├── default ├── none │ └── empty_dir └── droidboot │ └── BoardConfig.mk ├── hibernate ├── default ├── false │ └── empty_dir └── true │ ├── buildtask.mk │ ├── product.mk │ ├── fstab.swap │ ├── iago.ini.in │ ├── BoardConfig.mk │ ├── init.rc │ └── AndroidBoard.mk ├── liblights ├── default ├── none │ ├── none │ └── empty_dir └── intel │ ├── product.mk │ └── init.rc ├── miracast ├── default ├── none │ └── empty_dir └── intel_miracast │ ├── BoardConfig.mk │ ├── init.rc │ ├── product.mk │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── sata_power ├── default ├── none │ └── empty_dir └── min_power │ ├── init.rc │ ├── product.mk │ └── init.sh ├── security ├── default ├── none │ └── empty_dir ├── mei │ ├── ueventd.rc │ ├── kernel_defconfig_overlay │ └── product.mk └── txei │ ├── kernel_defconfig_overlay │ ├── ueventd.rc │ └── product.mk ├── selinux ├── default ├── none │ └── empty_dir ├── permissive │ ├── init.rc │ ├── product.mk │ └── kernel_defconfig_overlay └── enforcing │ ├── product.mk │ └── kernel_defconfig_overlay ├── sensors ├── default ├── none │ └── empty_dir ├── hid_sensorhub │ ├── BoardConfig.mk │ ├── product.mk │ ├── init.rc │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── values │ │ └── config.xml └── hid_sensorhub_bytm │ ├── BoardConfig.mk │ ├── kernel_defconfig_overlay │ ├── product.mk │ ├── init.rc │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── storage ├── default ├── emulated │ ├── default │ ├── BoardConfig.mk │ ├── init.rc │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── xml │ │ └── storage_list.xml ├── 3xUSB │ ├── BoardConfig.mk │ ├── fstab │ ├── init.rc │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── xml │ │ └── storage_list.xml ├── 1xSD_2xUSB │ ├── BoardConfig.mk │ ├── fstab │ ├── init.rc │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── xml │ │ └── storage_list.xml └── 1xSD_3xUSB │ ├── BoardConfig.mk │ ├── fstab │ ├── init.rc │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── xml │ └── storage_list.xml ├── telephony ├── default ├── none │ ├── BoardConfig.mk │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── values │ │ └── config.xml ├── gsm │ └── product.mk └── cdma │ └── product.mk ├── thermals ├── default ├── none │ └── empty_dir └── thermal-daemon │ ├── product.mk │ └── init.rc ├── video-img ├── default ├── none │ ├── none │ ├── kernel_defconfig_overlay │ └── BoardConfig.mk └── vxd392 │ ├── init.rc │ ├── kernel_defconfig_overlay │ ├── product.mk │ └── BoardConfig.mk ├── boot-arch ├── none │ └── empty_dir ├── efi │ ├── iago.nofastboot.ini │ ├── product.mk │ ├── init.rc │ ├── iago.ini │ ├── getsignature.sh │ ├── buildtask.mk │ ├── mkbblob.py │ ├── fstab │ ├── fstab.recovery │ └── BoardConfig.mk └── sfi │ ├── BoardConfig.mk │ └── fstab ├── crashreport ├── default ├── disable │ └── product.mk ├── umount.sh ├── ap_bp │ ├── BoardConfig.mk │ ├── product.mk │ └── init.rc ├── ap_only │ ├── BoardConfig.mk │ ├── product.mk │ └── init.rc └── README.txt ├── debug-tools ├── default ├── none │ └── product.mk └── all │ └── product.mk ├── device-type ├── default ├── clamshell │ ├── BoardConfig.mk │ ├── product.mk │ └── overlay │ │ └── frameworks │ │ └── base │ │ └── core │ │ └── res │ │ └── res │ │ └── values │ │ └── config.xml ├── handheld │ └── product.mk ├── tablet │ └── product.mk └── minnowboard │ ├── product.mk │ └── minnowboard_core_hardware.xml ├── firmware-update ├── default ├── none │ └── empty_dir └── ifwi-capsule │ └── product.mk ├── governor ├── default ├── ondemand │ ├── BoardConfig.mk │ └── kernel_defconfig_overlay └── interactive │ ├── BoardConfig.mk │ └── kernel_defconfig_overlay ├── navigationbar ├── default ├── false │ └── empty_dir └── true │ ├── BoardConfig.mk │ └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── superuser ├── default ├── google │ └── empty_dir └── cyanogen │ ├── product.mk │ └── init.rc ├── apps-for-android ├── default ├── false │ └── empty_dir └── true │ └── product.mk ├── display-density ├── default ├── low │ └── BoardConfig.mk ├── tv │ └── BoardConfig.mk ├── high │ └── BoardConfig.mk ├── medium │ └── BoardConfig.mk ├── xhigh │ └── BoardConfig.mk └── xxhigh │ └── BoardConfig.mk ├── product-aapt ├── default └── tvdpi_1920X1080 │ └── product.mk ├── dalvik-heap ├── default ├── tablet │ └── product.mk ├── phone-hdpi │ └── product.mk ├── phone-hdpi-512 │ └── product.mk ├── phone-xhdpi-1024 │ └── product.mk ├── phone-xhdpi-2048 │ └── product.mk ├── tablet-7in-hdpi-1024 │ └── product.mk ├── tablet-7in-xhdpi-2048 │ └── product.mk └── tablet-10in-xhdpi-2048 │ └── product.mk ├── graphics ├── mesa │ ├── egl.cfg │ ├── product.mk │ ├── BoardConfig.mk │ └── init.rc ├── ufo │ ├── ueventd.rc │ ├── init.ufo.sh │ ├── init.rc │ ├── product.mk │ └── BoardConfig.mk └── software │ ├── product.mk │ ├── BoardConfig.mk │ ├── init.rc │ └── kernel_defconfig_overlay ├── video ├── default │ └── BoardConfig.mk └── ufo │ ├── mfx_omxil_core.conf │ ├── wrs_omxil_components.list │ ├── BoardConfig.mk │ └── product.mk ├── widevine ├── default │ └── BoardConfig.mk ├── classic │ ├── init.rc │ ├── BoardConfig.mk │ └── product.mk └── hsb │ ├── BoardConfig.mk │ ├── init.rc │ └── product.mk └── cpu-arch ├── x86 └── BoardConfig.mk ├── atom └── BoardConfig.mk ├── hsw └── BoardConfig.mk ├── ivb └── BoardConfig.mk ├── slm └── BoardConfig.mk └── snb └── BoardConfig.mk /audio/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /dptf/default: -------------------------------------------------------------------------------- 1 | none/ -------------------------------------------------------------------------------- /gms/default: -------------------------------------------------------------------------------- 1 | false/ -------------------------------------------------------------------------------- /libm/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /power/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /touch/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /wifi/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /audio/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bluetooth/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /camera-usb/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /dptf/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ethernet/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /ethernet/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /fastboot/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /fastboot/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gms/false/product.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hibernate/default: -------------------------------------------------------------------------------- 1 | false -------------------------------------------------------------------------------- /liblights/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /liblights/none/none: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /libm/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miracast/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /miracast/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /power/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sata_power/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /security/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /security/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selinux/default: -------------------------------------------------------------------------------- 1 | ./none -------------------------------------------------------------------------------- /selinux/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sensors/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /sensors/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/default: -------------------------------------------------------------------------------- 1 | emulated -------------------------------------------------------------------------------- /telephony/default: -------------------------------------------------------------------------------- 1 | ./none -------------------------------------------------------------------------------- /thermals/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /thermals/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /touch/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /video-img/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /video-img/none/none: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /wifi/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bluetooth/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /boot-arch/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crashreport/default: -------------------------------------------------------------------------------- 1 | disable -------------------------------------------------------------------------------- /debug-tools/default: -------------------------------------------------------------------------------- 1 | none/ -------------------------------------------------------------------------------- /debug-tools/none/product.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /device-type/default: -------------------------------------------------------------------------------- 1 | tablet/ -------------------------------------------------------------------------------- /firmware-update/default: -------------------------------------------------------------------------------- 1 | none -------------------------------------------------------------------------------- /gms/false/default: -------------------------------------------------------------------------------- 1 | default -------------------------------------------------------------------------------- /governor/default: -------------------------------------------------------------------------------- 1 | ondemand -------------------------------------------------------------------------------- /hibernate/false/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hibernate/true/buildtask.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /liblights/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /navigationbar/default: -------------------------------------------------------------------------------- 1 | false/ -------------------------------------------------------------------------------- /sata_power/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /superuser/default: -------------------------------------------------------------------------------- 1 | google/ -------------------------------------------------------------------------------- /superuser/google/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps-for-android/default: -------------------------------------------------------------------------------- 1 | false/ -------------------------------------------------------------------------------- /apps-for-android/false/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /display-density/default: -------------------------------------------------------------------------------- 1 | medium -------------------------------------------------------------------------------- /firmware-update/none/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /navigationbar/false/empty_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /storage/emulated/default: -------------------------------------------------------------------------------- 1 | default -------------------------------------------------------------------------------- /product-aapt/default: -------------------------------------------------------------------------------- 1 | tvdpi_1920X1080/ -------------------------------------------------------------------------------- /dalvik-heap/default: -------------------------------------------------------------------------------- 1 | tablet-10in-xhdpi-2048/ -------------------------------------------------------------------------------- /bluetooth/bluez/init.rc: -------------------------------------------------------------------------------- 1 | import /init.bluetooth.rc 2 | -------------------------------------------------------------------------------- /graphics/mesa/egl.cfg: -------------------------------------------------------------------------------- 1 | 0 0 android 2 | 0 1 mesa 3 | -------------------------------------------------------------------------------- /crashreport/disable/product.mk: -------------------------------------------------------------------------------- 1 | # Disable crash report 2 | -------------------------------------------------------------------------------- /dptf/active/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += intel-dptf 2 | -------------------------------------------------------------------------------- /libm/intel/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | USE_PRIVATE_LIBM := true 2 | -------------------------------------------------------------------------------- /superuser/cyanogen/product.mk: -------------------------------------------------------------------------------- 1 | CUSTOM_SUPERUSER = Superuser 2 | -------------------------------------------------------------------------------- /audio/byt_alc262/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_SND_HDA_INTEL=y 2 | -------------------------------------------------------------------------------- /camera-usb/usb/ueventd.rc: -------------------------------------------------------------------------------- 1 | /dev/video* 0660 media system 2 | -------------------------------------------------------------------------------- /camera-usb/uvc/ueventd.rc: -------------------------------------------------------------------------------- 1 | /dev/video* 0660 media system 2 | -------------------------------------------------------------------------------- /selinux/permissive/init.rc: -------------------------------------------------------------------------------- 1 | 2 | on boot 3 | setenforce 0 4 | -------------------------------------------------------------------------------- /camera-usb/uvc2cam/ueventd.rc: -------------------------------------------------------------------------------- 1 | /dev/video* 0660 media system 2 | -------------------------------------------------------------------------------- /thermals/thermal-daemon/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += thermal-daemon 2 | -------------------------------------------------------------------------------- /touch/usb_hid/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_HID_MULTITOUCH=y 2 | 3 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_SND_HDA_INTEL=y 2 | 3 | -------------------------------------------------------------------------------- /boot-arch/efi/iago.nofastboot.ini: -------------------------------------------------------------------------------- 1 | [partition.fastboot] 2 | mode = zero 3 | 4 | -------------------------------------------------------------------------------- /graphics/ufo/ueventd.rc: -------------------------------------------------------------------------------- 1 | /dev/sw_sync 0660 system system 2 | -------------------------------------------------------------------------------- /crashreport/umount.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | /system/bin/umount $1 4 | 5 | exit 0 6 | -------------------------------------------------------------------------------- /dalvik-heap/tablet/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/tablet-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /gms/true/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/gms/true/overlay 2 | -------------------------------------------------------------------------------- /display-density/low/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=120 2 | 3 | -------------------------------------------------------------------------------- /display-density/tv/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=213 2 | 3 | -------------------------------------------------------------------------------- /video-img/vxd392/init.rc: -------------------------------------------------------------------------------- 1 | on device-added-/dev/dri 2 | insmod system/lib/modules/vxd392.ko 3 | -------------------------------------------------------------------------------- /video/default/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Git does not allow empty directories hence this empty file. 2 | -------------------------------------------------------------------------------- /widevine/default/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Git does not allow empty directories hence this empty file. 2 | -------------------------------------------------------------------------------- /dalvik-heap/phone-hdpi/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/phone-hdpi-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /display-density/high/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=240 2 | 3 | -------------------------------------------------------------------------------- /display-density/medium/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=160 2 | 3 | -------------------------------------------------------------------------------- /display-density/xhigh/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=320 2 | 3 | -------------------------------------------------------------------------------- /display-density/xxhigh/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ADDITIONAL_DEFAULT_PROPERTIES += ro.sf.lcd_density=480 2 | 3 | -------------------------------------------------------------------------------- /dptf/active/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | #Enable mailbox interface. 2 | CONFIG_INTEL_BAYTRAIL_MBI=m 3 | -------------------------------------------------------------------------------- /security/mei/ueventd.rc: -------------------------------------------------------------------------------- 1 | #for mei sec devices 2 | /dev/mei 0660 intel_sec intel_sec 3 | -------------------------------------------------------------------------------- /telephony/none/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/telephony/none/overlay 2 | -------------------------------------------------------------------------------- /touch/max_1664S_8/atmel_mxt_ts.idc: -------------------------------------------------------------------------------- 1 | touch.deviceType = touchScreen 2 | touch.orientationAware = 1 3 | -------------------------------------------------------------------------------- /widevine/classic/init.rc: -------------------------------------------------------------------------------- 1 | # start hdcp daemon 2 | service hdcpd /system/bin/hdcpd 3 | class main 4 | -------------------------------------------------------------------------------- /widevine/hsb/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 1 2 | USE_INTEL_SECURE_AVC := true 3 | -------------------------------------------------------------------------------- /widevine/hsb/init.rc: -------------------------------------------------------------------------------- 1 | # start hdcp daemon 2 | service hdcpd /system/bin/hdcpd 3 | class main 4 | -------------------------------------------------------------------------------- /dalvik-heap/phone-hdpi-512/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/phone-hdpi-512-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /firmware-update/ifwi-capsule/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += \ 2 | $(TARGET_PRODUCT)-ifwi.cap 3 | -------------------------------------------------------------------------------- /gms/true/product.mk: -------------------------------------------------------------------------------- 1 | $(call inherit-product-if-exists, vendor/google/PRIVATE/gms/products/gms.mk) 2 | 3 | -------------------------------------------------------------------------------- /liblights/intel/product.mk: -------------------------------------------------------------------------------- 1 | # lights support 2 | PRODUCT_PACKAGES += \ 3 | lights.$(TARGET_PRODUCT) \ 4 | -------------------------------------------------------------------------------- /storage/emulated/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/storage/emulated/overlay 2 | -------------------------------------------------------------------------------- /superuser/cyanogen/init.rc: -------------------------------------------------------------------------------- 1 | # su daemon 2 | service su_daemon /system/xbin/su --daemon 3 | class main 4 | -------------------------------------------------------------------------------- /wifi/intel-compat/p2p_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=DIR=/data/misc/wifi/sockets 2 | update_config=1 3 | -------------------------------------------------------------------------------- /camera-usb/usb/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Enable USB Video Class (UVC) driver. 2 | CONFIG_USB_VIDEO_CLASS=y 3 | -------------------------------------------------------------------------------- /dalvik-heap/phone-xhdpi-1024/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /dalvik-heap/phone-xhdpi-2048/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /liblights/intel/init.rc: -------------------------------------------------------------------------------- 1 | on boot 2 | chown system system /sys/class/backlight/intel_backlight/brightness 3 | -------------------------------------------------------------------------------- /navigationbar/true/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/navigationbar/true/overlay 2 | -------------------------------------------------------------------------------- /widevine/classic/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 1 2 | USE_INTEL_SECURE_AVC := true 3 | 4 | -------------------------------------------------------------------------------- /camera-usb/none/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Disable USB Video Class (UVC) support. 2 | CONFIG_USB_VIDEO_CLASS=n 3 | -------------------------------------------------------------------------------- /cpu-arch/x86/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_CPU_ABI := x86 2 | TARGET_ARCH_VARIANT := x86 3 | 4 | TARGET_ARCH := x86 5 | 6 | -------------------------------------------------------------------------------- /device-type/clamshell/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/device-type/clamshell/overlay 2 | -------------------------------------------------------------------------------- /hibernate/true/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += device/intel/mixins/hibernate/true/fstab.swap:root/fstab.swap 2 | 3 | -------------------------------------------------------------------------------- /cpu-arch/atom/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_CPU_ABI := x86 2 | TARGET_ARCH_VARIANT := x86-atom 3 | 4 | TARGET_ARCH := x86 5 | 6 | -------------------------------------------------------------------------------- /cpu-arch/hsw/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_CPU_ABI := x86 2 | TARGET_ARCH_VARIANT := haswell 3 | 4 | TARGET_ARCH := x86 5 | 6 | -------------------------------------------------------------------------------- /cpu-arch/ivb/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_CPU_ABI := x86 2 | TARGET_ARCH_VARIANT := ivybridge 3 | 4 | TARGET_ARCH := x86 5 | 6 | -------------------------------------------------------------------------------- /cpu-arch/slm/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_ARCH := x86 2 | TARGET_CPU_ABI := x86 3 | TARGET_ARCH_VARIANT := silvermont 4 | 5 | -------------------------------------------------------------------------------- /dalvik-heap/tablet-7in-hdpi-1024/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/tablet-7in-hdpi-1024-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /dalvik-heap/tablet-7in-xhdpi-2048/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /power/i2c/product.mk: -------------------------------------------------------------------------------- 1 | INTEL_POWER_HAL_I2C := true 2 | 3 | PRODUCT_PACKAGES += \ 4 | power.$(TARGET_PRODUCT) 5 | -------------------------------------------------------------------------------- /wifi/intel-upstream/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/data/misc/wifi/sockets 2 | update_config=1 3 | ap_scan=1 4 | 5 | -------------------------------------------------------------------------------- /cpu-arch/snb/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_CPU_ABI := x86 2 | TARGET_ARCH_VARIANT := sandybridge 3 | 4 | TARGET_ARCH := x86 5 | 6 | -------------------------------------------------------------------------------- /dalvik-heap/tablet-10in-xhdpi-2048/product.mk: -------------------------------------------------------------------------------- 1 | include frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk 2 | 3 | -------------------------------------------------------------------------------- /video-img/none/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Disable kernel drivers for VXD392. 2 | CONFIG_DRM_TTM=n 3 | CONFIG_DRM_VXD_BYT=n 4 | 5 | -------------------------------------------------------------------------------- /camera-usb/uvc/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Enable USB Video Class (UVC) driver. 2 | CONFIG_USB_VIDEO_CLASS=y 3 | CONFIG_USB_XHCI_HCD=n 4 | -------------------------------------------------------------------------------- /governor/ondemand/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/governor/ondemand/kernel_defconfig_overlay 2 | 3 | -------------------------------------------------------------------------------- /product-aapt/tvdpi_1920X1080/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_AAPT_CONFIG := xlarge large tvdpi hdpi 2 | PRODUCT_AAPT_PREF_CONFIG := xlarge tvdpi 3 | -------------------------------------------------------------------------------- /selinux/enforcing/product.mk: -------------------------------------------------------------------------------- 1 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/selinux/enforcing/kernel_defconfig_overlay 2 | 3 | -------------------------------------------------------------------------------- /selinux/permissive/product.mk: -------------------------------------------------------------------------------- 1 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/selinux/permissive/kernel_defconfig_overlay 2 | 3 | -------------------------------------------------------------------------------- /touch/usb_hid/Vendor_03eb_Product_2136.idc: -------------------------------------------------------------------------------- 1 | touch.deviceType = touchScreen 2 | touch.orientationAware = 1 3 | device.internal = 1 4 | 5 | -------------------------------------------------------------------------------- /camera-usb/uvc2cam/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Enable USB Video Class (UVC) driver. 2 | CONFIG_USB_VIDEO_CLASS=y 3 | CONFIG_USB_XHCI_HCD=n 4 | -------------------------------------------------------------------------------- /ethernet/static/init.recovery.rc: -------------------------------------------------------------------------------- 1 | 2 | on device-added-/dev/eth0 3 | ifconfig eth0 192.168.42.1 255.255.255.0 4 | ifup eth0 5 | 6 | -------------------------------------------------------------------------------- /hibernate/true/fstab.swap: -------------------------------------------------------------------------------- 1 | /dev/block/by-name/android_swap /swap swap defaults defaults 2 | 3 | -------------------------------------------------------------------------------- /sata_power/min_power/init.rc: -------------------------------------------------------------------------------- 1 | service sata_power-init /system/bin/sh /system/etc/init.d/sata_power.sh 2 | class core 3 | oneshot 4 | -------------------------------------------------------------------------------- /security/mei/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_WATCHDOG=y 2 | CONFIG_WATCHDOG_CORE=y 3 | CONFIG_INTEL_MEI=m 4 | CONFIG_INTEL_MEI_ME=m 5 | 6 | -------------------------------------------------------------------------------- /security/txei/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_WATCHDOG=y 2 | CONFIG_WATCHDOG_CORE=y 3 | CONFIG_INTEL_MEI=m 4 | CONFIG_INTEL_MEI_TXE=m 5 | 6 | -------------------------------------------------------------------------------- /storage/3xUSB/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | RECOVERY_HAVE_SD_CARD := true 2 | 3 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/storage/3xUSB/overlay 4 | -------------------------------------------------------------------------------- /bluetooth/broadcom/product.mk: -------------------------------------------------------------------------------- 1 | BOARD_HAVE_BLUETOOTH := true 2 | BOARD_HAVE_BLUETOOTH_BCM := true 3 | BOARD_HAVE_BLUETOOTH_IBT := false 4 | 5 | 6 | -------------------------------------------------------------------------------- /ethernet/configurable/init.recovery.rc: -------------------------------------------------------------------------------- 1 | 2 | on device-added-/dev/eth0 3 | ifconfig eth0 192.168.42.1 255.255.255.0 4 | ifup eth0 5 | 6 | -------------------------------------------------------------------------------- /governor/interactive/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/governor/interactive/kernel_defconfig_overlay 2 | 3 | -------------------------------------------------------------------------------- /sata_power/min_power/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | device/intel/mixins/sata_power/min_power/init.sh:system/etc/init.d/sata_power.sh 3 | -------------------------------------------------------------------------------- /security/txei/ueventd.rc: -------------------------------------------------------------------------------- 1 | #for mei sec devices 2 | /dev/mei 0660 intel_sec intel_sec 3 | /dev/meimm 0660 intel_sec intel_sec 4 | -------------------------------------------------------------------------------- /storage/1xSD_2xUSB/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | RECOVERY_HAVE_SD_CARD := true 2 | 3 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/storage/1xSD_2xUSB/overlay 4 | -------------------------------------------------------------------------------- /storage/1xSD_3xUSB/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | RECOVERY_HAVE_SD_CARD := true 2 | 3 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/storage/1xSD_3xUSB/overlay 4 | -------------------------------------------------------------------------------- /touch/max_1664S_8/maxtouch_1664S_8.fw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/intel/android-bluez-device-intel-mixins/master/touch/max_1664S_8/maxtouch_1664S_8.fw -------------------------------------------------------------------------------- /audio/byt_alc283/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_SND_HDA_INTEL=y 2 | CONFIG_UID_STAT=y 3 | CONFIG_ANDROID_SWITCH=y 4 | CONFIG_ANDROID_SWITCH_MID_HDMI=y 5 | -------------------------------------------------------------------------------- /selinux/enforcing/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_SECURITY_SELINUX=y 2 | CONFIG_SECURITY_SELINUX_AVC_STATS=y 3 | CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 4 | -------------------------------------------------------------------------------- /selinux/permissive/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_SECURITY_SELINUX=y 2 | CONFIG_SECURITY_SELINUX_AVC_STATS=y 3 | CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 4 | -------------------------------------------------------------------------------- /thermals/thermal-daemon/init.rc: -------------------------------------------------------------------------------- 1 | service thermal-daemon /system/bin/thermal-daemon 2 | user root 3 | group system 4 | class main 5 | oneshot 6 | -------------------------------------------------------------------------------- /video-img/vxd392/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # needed by VXD driver 2 | CONFIG_DRM_TTM=y 3 | CONFIG_DRM_VXD_BYT=y 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /wifi/intel-compat/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_CFG80211=m 2 | CONFIG_MAC80211=m 3 | CONFIG_IWLWIFI=n 4 | CONFIG_IWLMVM=n 5 | CONFIG_CRYPTO_MICHAEL_MIC=y 6 | -------------------------------------------------------------------------------- /wifi/intel-upstream/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_CFG80211=y 2 | CONFIG_MAC80211=y 3 | CONFIG_IWLWIFI=m 4 | CONFIG_IWLMVM=m 5 | CONFIG_CRYPTO_MICHAEL_MIC=y 6 | -------------------------------------------------------------------------------- /audio/byt_alc262/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /audio/hsw_alc262/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /bluetooth/bluez/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_BT=y 2 | CONFIG_BT_RFCOMM=m 3 | CONFIG_BT_BNEP=m 4 | CONFIG_BT_HIDP=m 5 | CONFIG_BT_HCIBTUSB=m 6 | CONFIG_BT_ATH3K=m 7 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /hibernate/true/iago.ini.in: -------------------------------------------------------------------------------- 1 | [base] 2 | partitions += swap 3 | 4 | [partition.swap] 5 | len = SWAPSIZE 6 | type = swap 7 | flags = noauto hidden 8 | mode = skip 9 | 10 | -------------------------------------------------------------------------------- /power/interactive_gov/product.mk: -------------------------------------------------------------------------------- 1 | INTEL_POWER_HAL_INTERACTIVE_GOV := true 2 | INTEL_POWER_HAL_I2C := false 3 | 4 | PRODUCT_PACKAGES += \ 5 | power.$(TARGET_PRODUCT) 6 | -------------------------------------------------------------------------------- /camera-usb/usb/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += \ 2 | camera.$(TARGET_PRODUCT) \ 3 | 4 | ifneq ($(TARGET_BUILD_VARIANT),user) 5 | PRODUCT_PACKAGES += CameraLauncher 6 | endif 7 | -------------------------------------------------------------------------------- /boot-arch/efi/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += pstore-clean \ 2 | charger \ 3 | charger_res_images 4 | 5 | include bootable/iago/iago.mk 6 | 7 | -------------------------------------------------------------------------------- /graphics/software/product.mk: -------------------------------------------------------------------------------- 1 | # Disable i915 in the kernel; force TMPFS support on 2 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/graphics/software/kernel_defconfig_overlay 3 | -------------------------------------------------------------------------------- /audio/hsw_alc262/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | AUDIO_HAL := audio_pc 2 | DEVICE_PACKAGE_OVERLAYS += $(hsw_alc262_path)/overlay 3 | 4 | #MDP 5 | USE_INTEL_MDP := true 6 | #IPP 7 | USE_INTEL_IPP ?= true 8 | -------------------------------------------------------------------------------- /audio/hsw_alc282/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | AUDIO_HAL := audio_pc 2 | DEVICE_PACKAGE_OVERLAYS += $(hsw_alc282_path)/overlay 3 | 4 | #MDP 5 | USE_INTEL_MDP := false 6 | #IPP 7 | USE_INTEL_IPP ?= false 8 | -------------------------------------------------------------------------------- /audio/ivb_alc271/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | AUDIO_HAL := audio_pc 2 | DEVICE_PACKAGE_OVERLAYS += $(hsw_alc282_path)/overlay 3 | 4 | #MDP 5 | USE_INTEL_MDP := false 6 | #IPP 7 | USE_INTEL_IPP ?= false 8 | -------------------------------------------------------------------------------- /ethernet/configurable/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += device/intel/mixins/ethernet/init.utilitynet.sh:system/etc/init.utilitynet.sh 2 | 3 | PRODUCT_PROPERTY_OVERRIDES += net.dns1=8.8.4.4 4 | -------------------------------------------------------------------------------- /security/mei/product.mk: -------------------------------------------------------------------------------- 1 | # Include MEI/ME Linux kernel drivers and their dependencies 2 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/security/mei/kernel_defconfig_overlay 3 | 4 | -------------------------------------------------------------------------------- /security/txei/product.mk: -------------------------------------------------------------------------------- 1 | # Include MEI/TXE Linux kernel drivers and their dependencies 2 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/security/txei/kernel_defconfig_overlay 3 | 4 | -------------------------------------------------------------------------------- /video/ufo/mfx_omxil_core.conf: -------------------------------------------------------------------------------- 1 | OMX.Intel.hw_vd.h264 : libmfx_omx_components_hw.so 2 | OMX.Intel.hw_vd.vc1 : libmfx_omx_components_hw.so 3 | OMX.Intel.hw_ve.h264 : libmfx_omx_components_hw.so 4 | -------------------------------------------------------------------------------- /video-img/vxd392/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += \ 2 | vainfo \ 3 | pvr_drv_video 4 | 5 | PRODUCT_PACKAGES += \ 6 | libOMXVideoDecoderVP8 7 | 8 | PRODUCT_PACKAGES += \ 9 | vxd392 10 | -------------------------------------------------------------------------------- /widevine/hsb/product.mk: -------------------------------------------------------------------------------- 1 | $(call inherit-product-if-exists, vendor/google/PRIVATE/widevinedrm/widevine.mk) 2 | $(call inherit-product-if-exists, vendor/intel/PRIVATE/DRM/widevine/haswell/widevine.mk) 3 | -------------------------------------------------------------------------------- /hibernate/true/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(TARGET_NO_MIXIN_IAGO_INI),true) 2 | 3 | # In megabytes 4 | BOARD_SWAP_PARTITION_SIZE ?= 4096 5 | 6 | endif 7 | 8 | TARGET_USE_HIBERNATE := true 9 | 10 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Enables bigcore/libsensors/ to be built: 2 | BOARD_USE_PLATFORM_SENSOR_LIB := true 3 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/sensors/hid_sensorhub/overlay 4 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub_bytm/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Enables bigcore/libsensors/ to be built: 2 | BOARD_USE_PLATFORM_SENSOR_LIB := true 3 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/sensors/hid_sensorhub_bytm/overlay 4 | -------------------------------------------------------------------------------- /governor/ondemand/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Use ondemand governor 2 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=n 3 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y 4 | CONFIG_CPU_FREQ_GOV_INTERACTIVE=y 5 | CONFIG_X86_INTEL_PSTATE=n -------------------------------------------------------------------------------- /widevine/classic/product.mk: -------------------------------------------------------------------------------- 1 | $(call inherit-product-if-exists, vendor/google/PRIVATE/widevinedrm/widevine.mk) 2 | $(call inherit-product-if-exists, vendor/intel/PRIVATE/DRM/widevine/$(TARGET_BOARD_PLATFORM)/widevine.mk) 3 | -------------------------------------------------------------------------------- /audio/byt_alc283/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /audio/hsw_alc282/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /audio/ivb_alc271/overlay/frameworks/base/core/res/res/values/symbols.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /debug-tools/all/product.mk: -------------------------------------------------------------------------------- 1 | # If this a debugging build include the public debug modules 2 | ifneq ($(filter eng userdebug,$(TARGET_BUILD_VARIANT)),) 3 | PRODUCT_PACKAGES += pax sep3_10 vtsspp socwatch1_3_external 4 | endif 5 | -------------------------------------------------------------------------------- /governor/interactive/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Use interactive governor 2 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y 3 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=n 4 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y 5 | CONFIG_X86_INTEL_PSTATE=n -------------------------------------------------------------------------------- /device-type/handheld/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml 3 | 4 | PRODUCT_PROPERTY_OVERRIDES += ro.ignore_atkbd=1 5 | -------------------------------------------------------------------------------- /navigationbar/true/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | 5 | -------------------------------------------------------------------------------- /bluetooth/bluez/product.mk: -------------------------------------------------------------------------------- 1 | BOARD_HAVE_BLUETOOTH := true 2 | 3 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/bluetooth/bluez/kernel_defconfig_overlay 4 | 5 | $(call inherit-product-if-exists, vendor/intel/hardware/bluetooth/fw/intel.mk) 6 | -------------------------------------------------------------------------------- /graphics/ufo/init.ufo.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | # This script is started from /init.rc. 4 | 5 | if test ! -f /data/ufo.prop; then 6 | ln -s /system/etc/ufo.prop /data/ufo.prop 7 | chmod 644 /data/ufo.prop 8 | fi 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /bluetooth/wp/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # Do not use kernel BT-driver 2 | # CONFIG_BT is not set 3 | # CONFIG_BT_RFCOMM is not set 4 | # CONFIG_BT_BNEP is not set 5 | # CONFIG_BT_HIDP is not set 6 | # CONFIG_BT_HCIBTUSB is not set 7 | # CONFIG_BT_ATH3K is not set 8 | -------------------------------------------------------------------------------- /hibernate/true/init.rc: -------------------------------------------------------------------------------- 1 | on post-fs 2 | # Only use swap for hibernation 3 | # FIXME this doesn't prevent swapping in all cases 4 | write /proc/sys/vm/swappiness 0 5 | 6 | # Tell fs_mgr to enable the swap partition 7 | swapon_all /fstab.swap 8 | 9 | -------------------------------------------------------------------------------- /power/i2c/ueventd.rc: -------------------------------------------------------------------------------- 1 | 2 | # libpower is using uevent files to add/remove devices so the kernel 3 | # would power down the devices. Enable access to system account 4 | # so libpower can do its job 5 | /sys/devices/*/*/*/*/input*/event* ../../../enable 0644 system system 6 | -------------------------------------------------------------------------------- /wifi/intel-compat/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(WPA_SUPPLICANT_VERSION),VER_2_1_DEVEL_WCS) 2 | ifndef PRIVATE_WPA_SUPPLICANT_CONF 3 | WIFI_DRIVER_SOCKET_IFACE := wlan0 4 | -include vendor/intel/hardware/wlan/hostap_wcs/wpa_supplicant/wpa_supplicant_conf.mk 5 | endif 6 | endif 7 | -------------------------------------------------------------------------------- /camera-usb/usb/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Enable USB camera support. This is the libcamerausb implementation. 2 | USE_CAMERA_USB := true 3 | 4 | # Enable kernel drivers for UVC. 5 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/camera-usb/usb/kernel_defconfig_overlay 6 | 7 | -------------------------------------------------------------------------------- /miracast/intel_miracast/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | #Enable Mircast support 2 | INTEL_WIDI := true 3 | INTEL_WIDI_GEN := true 4 | INTEL_WIDI_MEDIASDK_ENCODER := true 5 | 6 | #Overlay for enabling WifiDisplay 7 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/miracast/intel_miracast/overlay 8 | -------------------------------------------------------------------------------- /sata_power/min_power/init.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | for dirname in /sys/class/scsi_host/host* ; do 4 | if [ -e $dirname/link_power_management_policy ] 5 | then 6 | echo min_power > $dirname/link_power_management_policy 7 | fi 8 | done 9 | -------------------------------------------------------------------------------- /crashreport/ap_bp/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # IA device doesn't care boot mode prop but we 2 | # set it here for crashlogd that relies on it, 3 | # so that we can avoid a change in crashlogd's 4 | # source code for an easier maintainence. 5 | BOARD_KERNEL_CMDLINE += \ 6 | androidboot.mode="main" \ 7 | 8 | -------------------------------------------------------------------------------- /crashreport/ap_only/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # IA device doesn't care boot mode prop but we 2 | # set it here for crashlogd that relies on it, 3 | # so that we can avoid a change in crashlogd's 4 | # source code for an easier maintainence. 5 | BOARD_KERNEL_CMDLINE += \ 6 | androidboot.mode="main" \ 7 | 8 | -------------------------------------------------------------------------------- /telephony/gsm/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/android.hardware.telephony.xml:system/etc/permissions/android.hardware.telephony.xml \ 3 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml 4 | 5 | -------------------------------------------------------------------------------- /camera-usb/uvc/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Enable USB Video Class (UVC) camera support. 2 | # This is the libcamerauvc implementation. 3 | INTEL_USE_CAMERA_UVC := true 4 | 5 | # Enable kernel drivers for UVC. 6 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/camera-usb/uvc/kernel_defconfig_overlay 7 | 8 | -------------------------------------------------------------------------------- /telephony/cdma/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/android.hardware.telephony.xml:system/etc/permissions/android.hardware.telephony.xml \ 3 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml 4 | 5 | -------------------------------------------------------------------------------- /camera-usb/none/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Disable all implementations of USB Video Class (UVC) camera support. 2 | INTEL_USE_CAMERA_UVC := false 3 | USE_CAMERA_USB := false 4 | 5 | # Disable kernel drivers for UVC. 6 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/camera-usb/none/kernel_defconfig_overlay 7 | -------------------------------------------------------------------------------- /camera-usb/uvc2cam/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # Enable USB Video Class (UVC) camera support. 2 | # This is the libcamerauvc implementation. 3 | INTEL_USE_CAMERA_UVC := true 4 | 5 | # Enable kernel drivers for UVC. 6 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/camera-usb/uvc/kernel_defconfig_overlay 7 | 8 | -------------------------------------------------------------------------------- /boot-arch/efi/init.rc: -------------------------------------------------------------------------------- 1 | on post-fs-data 2 | mkdir /data/kpanic 0770 system system 3 | mkdir /data/kpanic/pstore 0770 system system 4 | 5 | #pstore, clean it up 6 | service pstore-clean /system/bin/pstore-clean 7 | user root 8 | group system 9 | class late_start 10 | oneshot 11 | 12 | -------------------------------------------------------------------------------- /ethernet/static/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += device/intel/mixins/ethernet/init.utilitynet.sh:system/etc/init.utilitynet.sh 2 | 3 | PRODUCT_PROPERTY_OVERRIDES += \ 4 | persist.sys.utility_iface=eth0 \ 5 | net.utilitynet.ip=192.168.42.1 \ 6 | net.utilitynet.netmask=255.255.255.0 7 | 8 | -------------------------------------------------------------------------------- /video/ufo/wrs_omxil_components.list: -------------------------------------------------------------------------------- 1 | libOMXVideoDecoderAVCSecure.so 2 | libOMXVideoDecoderAVC.so 3 | libOMXVideoDecoderVP8.so 4 | libOMXVideoDecoderMPEG4.so 5 | libOMXVideoDecoderWMV.so 6 | libOMXVideoDecoderH263.so 7 | libOMXVideoEncoderAVC.so 8 | libOMXVideoEncoderH263.so 9 | libOMXVideoEncoderMPEG4.so 10 | -------------------------------------------------------------------------------- /video-img/none/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_USE_LIBVA_INTEL_DRIVER := false 2 | BOARD_USE_LIBVA := false 3 | BOARD_USE_LIBMIX := false 4 | USE_HW_VP8 := false 5 | # disable build of VXD392 kernel module 6 | USE_PVR_VIDEO := false 7 | 8 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/video-img/none/kernel_defconfig_overlay -------------------------------------------------------------------------------- /graphics/software/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_KERNEL_CMDLINE += vga=current nomodeset 2 | 3 | TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" 4 | 5 | # for gralloc.default 6 | # Intel Graphics has framebuffer in BGR instead of RGB 7 | # but efifb still reports RGB. So we need to force it. 8 | TARGET_GRALLOC_FORCE_EFIFB_PIXEL_FORMAT := "BGRA" 9 | -------------------------------------------------------------------------------- /miracast/intel_miracast/init.rc: -------------------------------------------------------------------------------- 1 | on boot 2 | # enable submix path for intel miracast 3 | setprop widi.audio.module submix 4 | 5 | # intel extended video mode for external display. Disabled for HSW 6 | setprop widi.media.extmode.enable false 7 | 8 | # Disable HDCP for miracast 9 | setprop widi.hdcp.enable true 10 | 11 | -------------------------------------------------------------------------------- /video-img/vxd392/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_USE_LIBVA_INTEL_DRIVER := true 2 | BOARD_USE_LIBVA := true 3 | BOARD_USE_LIBMIX := true 4 | USE_HW_VP8 := true 5 | 6 | # enable build of VXD392 kernel module 7 | USE_PVR_VIDEO := true 8 | 9 | # Add needed CONFIGs 10 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/video-img/vxd392/kernel_defconfig_overlay 11 | -------------------------------------------------------------------------------- /hibernate/true/AndroidBoard.mk: -------------------------------------------------------------------------------- 1 | ifneq ($(TARGET_NO_MIXIN_IAGO_INI),true) 2 | 3 | swap_iago_ini := $(PRODUCT_OUT)/iago/iago-hibernate.ini 4 | 5 | $(swap_iago_ini): device/intel/mixins/hibernate/true/iago.ini.in 6 | $(hide) mkdir -p $(dir $@) 7 | $(hide) sed "s|SWAPSIZE|$(BOARD_SWAP_PARTITION_SIZE)|" $^ > $@ 8 | 9 | TARGET_IAGO_INI += $(swap_iago_ini) 10 | 11 | endif 12 | 13 | -------------------------------------------------------------------------------- /device-type/clamshell/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_CHARACTERISTICS := tablet 2 | 3 | ADDITIONAL_DEFAULT_PROPERTIES += fw.max_users=10 4 | 5 | PRODUCT_COPY_FILES += \ 6 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ 7 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml 8 | -------------------------------------------------------------------------------- /boot-arch/efi/iago.ini: -------------------------------------------------------------------------------- 1 | # Base partition sizes (in MiB) 2 | [partition.boot] 3 | len = 20 4 | 5 | [partition.recovery] 6 | len = 20 7 | 8 | [partition.misc] 9 | len = 10 10 | 11 | [partition.system] 12 | len = 1536 13 | 14 | [partition.cache] 15 | len = 1024 16 | 17 | # Plug-in partition sizes 18 | [partition.fastboot] 19 | len = 20 20 | 21 | [partition.bootloader] 22 | len = 100 23 | -------------------------------------------------------------------------------- /bluetooth/wp/ueventd.rc: -------------------------------------------------------------------------------- 1 | # Bluedroid uhid support 2 | /dev/uhid 0660 net_bt net_bt 3 | 4 | # USB bluetooth devices 5 | usbclass:224/1/1 0660 net_bt net_bt suspend_auto,pwr_ctrl_perm 6 | 7 | # Bluetooth rfkill nodes 8 | /sys/devices/*/bluetooth/hci0/rfkill* state 0660 net_bt net_bt 9 | /sys/devices/*/bluetooth/hci0/rfkill* type 0440 net_bt net_bt 10 | -------------------------------------------------------------------------------- /boot-arch/efi/getsignature.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | KF=$(mktemp) 4 | 5 | function alldone { 6 | rm -f $KF 7 | exit $1 8 | } 9 | 10 | if [ $# -gt 1 ]; then 11 | openssl pkcs8 -inform DER -in $1 -passin pass:$2 -out $KF || alldone 1 12 | else 13 | openssl pkcs8 -inform DER -nocrypt -in $1 -out $KF || alldone 1 14 | fi 15 | 16 | openssl dgst -sha256 -sign $KF || alldone 2 17 | alldone 0 18 | 19 | -------------------------------------------------------------------------------- /storage/3xUSB/fstab: -------------------------------------------------------------------------------- 1 | */block/sdb auto vfat defaults voldmanaged=usbdisk:auto 2 | */block/sdc auto vfat defaults voldmanaged=usbdisk2:auto 3 | */block/sdd auto vfat defaults voldmanaged=usbdisk3:auto 4 | -------------------------------------------------------------------------------- /ethernet/static/init.rc: -------------------------------------------------------------------------------- 1 | service utilitynet-eth0 /system/bin/sh /system/etc/init.utilitynet.sh eth0 2 | class core 3 | disabled 4 | oneshot 5 | 6 | service utilitynet-eth1 /system/bin/sh /system/etc/init.utilitynet.sh eth1 7 | class core 8 | disabled 9 | oneshot 10 | 11 | on device-added-/dev/eth0 12 | start utilitynet-eth0 13 | 14 | on device-added-/dev/eth1 15 | start utilitynet-eth1 16 | 17 | 18 | -------------------------------------------------------------------------------- /graphics/ufo/init.rc: -------------------------------------------------------------------------------- 1 | service ufo-init /system/bin/sh /system/etc/init.ufo.sh 2 | class core 3 | oneshot 4 | 5 | service coreu /system/bin/coreu 6 | class main 7 | disabled 8 | 9 | service curd /system/bin/curd 10 | class main 11 | disabled 12 | 13 | on property:ro.ufo.use_coreu=1 14 | start coreu 15 | 16 | on property:ro.ufo.use_curd=1 17 | start curd 18 | 19 | on post-fs-data 20 | restart ufo-init 21 | -------------------------------------------------------------------------------- /device-type/tablet/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_CHARACTERISTICS := tablet 2 | 3 | ADDITIONAL_DEFAULT_PROPERTIES += fw.max_users=10 4 | 5 | PRODUCT_COPY_FILES += \ 6 | frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ 7 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml 8 | 9 | PRODUCT_PROPERTY_OVERRIDES += ro.ignore_atkbd=1 10 | -------------------------------------------------------------------------------- /bluetooth/wp/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ 3 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml 4 | 5 | # Bluetooth config 6 | PRODUCT_PACKAGES += \ 7 | hciconfig 8 | 9 | $(call inherit-product-if-exists,vendor/intel/hardware/bluetooth/fw/btfw.mk) 10 | 11 | -------------------------------------------------------------------------------- /device-type/minnowboard/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_CHARACTERISTICS := tablet 2 | 3 | ADDITIONAL_DEFAULT_PROPERTIES += fw.max_users=10 4 | 5 | PRODUCT_COPY_FILES += \ 6 | device/intel/mixins/device-type/minnowboard/minnowboard_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml \ 7 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml 8 | 9 | PRODUCT_PROPERTY_OVERRIDES += ro.ignore_atkbd=1 10 | -------------------------------------------------------------------------------- /graphics/mesa/product.mk: -------------------------------------------------------------------------------- 1 | # 2 | # gralloc & mesa lib 3 | # 4 | PRODUCT_PACKAGES += \ 5 | libGLES_mesa \ 6 | gralloc.$(TARGET_PRODUCT) \ 7 | 8 | # hwcomposer 9 | PRODUCT_PACKAGES += \ 10 | hwcomposer.$(TARGET_PRODUCT) \ 11 | hwcomposer.default \ 12 | 13 | PRODUCT_PROPERTY_OVERRIDES += ro.opengles.version = 131072 14 | 15 | ifneq ($(PANEL_IGNORE_LID),) 16 | PRODUCT_PROPERTY_OVERRIDES += init.panel_ignore_lid=$(PANEL_IGNORE_LID) 17 | endif 18 | 19 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub_bytm/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | CONFIG_I2C_HID=y 2 | CONFIG_IIO=y 3 | CONFIG_I2C_HIDHW=y 4 | CONFIG_I2C_DESIGNWARE_PCI=y 5 | CONFIG_HID_SENSOR_HUB=y 6 | CONFIG_HID_SENSOR_IIO_COMMON=y 7 | CONFIG_HID_SENSOR_IIO_TRIGGER=y 8 | CONFIG_IIO_TRIGGERED_BUFFER=y 9 | CONFIG_IIO_KFIFO_BUF=y 10 | CONFIG_HID_SENSOR_ACCEL_3D=y 11 | CONFIG_HID_SENSOR_GYRO_3D=y 12 | CONFIG_HID_SENSOR_ALS=y 13 | CONFIG_HID_SENSOR_PRESS=y 14 | CONFIG_HID_SENSOR_MAGNETOMETER_3D=y 15 | 16 | -------------------------------------------------------------------------------- /bluetooth/wp/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/bluetooth/wp/overlay 2 | 3 | BOARD_HAVE_BLUETOOTH := true 4 | BOARD_HAVE_BLUETOOTH_IBT := true 5 | BOARD_HAVE_BLUETOOTH_BCM := false 6 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/intel/mixins/bluetooth/wp/buildcfg_include 7 | BLUETOOTH_HCI_USE_USB := true 8 | 9 | # Disable kernel BT-drivers 10 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/bluetooth/wp/kernel_defconfig_overlay 11 | 12 | 13 | -------------------------------------------------------------------------------- /graphics/software/init.rc: -------------------------------------------------------------------------------- 1 | on post-fs 2 | # If android believes it is running in the emulator without support for 3 | # GPU acceleration it will disable GLES2 usage in canvas allowing Android 4 | # to boot to homescreen using only a software GLES1 implementation. 5 | 6 | setprop ro.kernel.qemu.gles 0 7 | setprop ro.kernel.qemu 1 8 | 9 | service setconsole /system/bin/logwrapper /system/bin/setconsole -g 10 | class main 11 | user root 12 | oneshot 13 | 14 | -------------------------------------------------------------------------------- /crashreport/ap_only/product.mk: -------------------------------------------------------------------------------- 1 | # Crash Report (AP only) 2 | 3 | # CRASH_REPORT_PARTIAL_REPORT is a switch used to disable FULL_REPORT. 4 | # This change is used as a way to enable logcat dumps 5 | # in crash report 6 | CRASH_REPORT_PARTIAL_REPORT := true 7 | 8 | # Disable modem crash report 9 | CRASH_REPORT_MODEM_SUPPORT := 10 | 11 | PRODUCT_PACKAGES += \ 12 | crashlogd \ 13 | crash_package \ 14 | 15 | PRODUCT_COPY_FILES += device/intel/mixins/crashreport/umount.sh:system/etc/umount.sh 16 | 17 | -------------------------------------------------------------------------------- /crashreport/ap_bp/product.mk: -------------------------------------------------------------------------------- 1 | # Crash Report (AP and BP) 2 | 3 | # CRASH_REPORT_PARTIAL_REPORT is a switch used to disable FULL_REPORT. 4 | # This change is used as a way to enable logcat dumps 5 | # in crash report. 6 | CRASH_REPORT_PARTIAL_REPORT := true 7 | 8 | # Enable modem crash report 9 | CRASH_REPORT_MODEM_SUPPORT := true 10 | 11 | PRODUCT_PACKAGES += \ 12 | crashlogd \ 13 | crash_package \ 14 | 15 | PRODUCT_COPY_FILES += device/intel/mixins/crashreport/umount.sh:system/etc/umount.sh 16 | 17 | -------------------------------------------------------------------------------- /graphics/software/kernel_defconfig_overlay: -------------------------------------------------------------------------------- 1 | # CONFIG_AGP is not set 2 | # CONFIG_AGP_INTEL is not set 3 | # CONFIG_VGA_SWITCHEROO is not set 4 | # CONFIG_DRM is not set 5 | # CONFIG_NO_GPU_AUTHENTICATION is not set 6 | # CONFIG_DRM_I915 is not set 7 | # CONFIG_DRM_I915_KMS is not set 8 | CONFIG_FB=y 9 | # CONFIG_BACKLIGHT_GENERIC is not set 10 | # CONFIG_FONTS is not set 11 | # CONFIG_FONT_8x8 is not set 12 | # CONFIG_FONT_8x16 is not set 13 | # CONFIG_SND_HDA_I915 is not set 14 | CONFIG_TMPFS=y 15 | CONFIG_TMPFS_POSIX_ACL=y 16 | CONFIG_TMPFS_XATTR=y 17 | -------------------------------------------------------------------------------- /apps-for-android/true/product.mk: -------------------------------------------------------------------------------- 1 | # Add CDD applications 2 | PRODUCT_PACKAGES += \ 3 | Amazed \ 4 | AndroidGlobalTime \ 5 | AnyCut \ 6 | BTClickLinkCompete \ 7 | CLiCkin2DaBeaT \ 8 | DivideAndConquer \ 9 | Downloader \ 10 | HeightMapProfiler \ 11 | LolcatBuilder \ 12 | Panoramio \ 13 | Photostream \ 14 | Radar \ 15 | RingsExtended \ 16 | SpriteMethodTest \ 17 | SpriteText \ 18 | Triangle \ 19 | WebViewDemo \ 20 | WikiNotes 21 | -------------------------------------------------------------------------------- /storage/1xSD_3xUSB/fstab: -------------------------------------------------------------------------------- 1 | */block/sdb auto vfat defaults voldmanaged=usbdisk:auto 2 | */block/sdc auto vfat defaults voldmanaged=usbdisk2:auto 3 | */block/sdd auto vfat defaults voldmanaged=usbdisk3:auto 4 | */block/mmcblk0 auto vfat defaults voldmanaged=sdcard1:auto 5 | 6 | -------------------------------------------------------------------------------- /audio/byt_alc262/mypatch.patch: -------------------------------------------------------------------------------- 1 | diff --git a/ethernet/static/product.mk b/ethernet/static/product.mk 2 | index 57aecdf..026b5a7 100644 3 | --- a/ethernet/static/product.mk 4 | +++ b/ethernet/static/product.mk 5 | @@ -3,6 +3,6 @@ PRODUCT_COPY_FILES += device/intel/mixins/ethernet/init.utilitynet.sh:system/etc 6 | PRODUCT_PROPERTY_OVERRIDES += \ 7 | adb.server.tcp.port=5555 \ 8 | persist.sys.utility_iface=eth0 \ 9 | - net.utilitynet.ip=10.102.209.213 \ 10 | + net.utilitynet.ip=10.102.209.214 \ 11 | net.utilitynet.netmask=255.255.255.0 12 | 13 | -------------------------------------------------------------------------------- /fastboot/droidboot/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | TARGET_USE_DROIDBOOT := true 2 | 3 | TARGET_DROIDBOOT_LIBS := libintel_droidboot 4 | TARGET_DROIDBOOT_EXTRA_LIBS := libcmfwdl libminzip 5 | TARGET_DROIDBOOT_USB_MODE_FASTBOOT := true 6 | TARGET_MAKE_NO_DEFAULT_OTA_PACKAGE := true 7 | TARGET_RELEASETOOLS_EXTENSIONS := $(HOST_OUT)/bin/releasetools.py 8 | OTA_FROM_TARGET_FILES := $(HOST_OUT)/bin/ota_from_target_files 9 | # Size in megabytes of Droidboot USB buffer, must be as large 10 | # as the largest image we need to flash 11 | DROIDBOOT_SCRATCH_SIZE := 100 12 | DROIDBOOT_USE_INSTALLER := true 13 | -------------------------------------------------------------------------------- /audio/byt_alc262/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /wifi/intel-upstream/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 3 | device/intel/mixins/wifi/intel-upstream/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ 4 | 5 | # Override WiFi related configs 6 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/wifi/intel-upstream/kernel_defconfig_overlay 7 | 8 | # include firmware binaries for Wifi adapters 9 | $(call inherit-product-if-exists, vendor/intel/fw/wifi/iwlwifi/iwlwifi.mk) 10 | 11 | PRODUCT_PACKAGES += iwlwifi-7260-7.ucode 12 | -------------------------------------------------------------------------------- /video/ufo/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | INTEL_VA := false 2 | USE_INTEL_VA := false 3 | BOARD_USES_WRS_OMXIL_CORE := false 4 | BOARD_USES_MRST_OMX := false 5 | 6 | # enabled to use hardware VP8 decoder 7 | # TODO: disbled as it doesn't build on haswell 8 | USE_HW_VP8 := false 9 | 10 | # Settings for the Media SDK library and plug-ins: 11 | # - USE_MEDIASDK: use Media SDK support or not 12 | # - MFX_IPP: sets IPP library optimization to use 13 | USE_MEDIASDK := false 14 | MFX_IPP := p8 15 | 16 | BUILD_WITH_FULL_STAGEFRIGHT := false 17 | 18 | # Disable Intel proprietary RS driver, till it's stable 19 | ADDITIONAL_BUILD_PROPERTIES += \ 20 | debug.rs.default-CPU-driver=1 21 | 22 | -------------------------------------------------------------------------------- /audio/hsw_alc262/product.mk: -------------------------------------------------------------------------------- 1 | hsw_alc262_path := device/intel/mixins/audio/hsw_alc262 2 | 3 | # Audio codec support 4 | PRODUCT_COPY_FILES += \ 5 | $(hsw_alc262_path)/audio_policy.conf:system/vendor/etc/audio_policy.conf \ 6 | $(hsw_alc262_path)/mixer_paths_Analog_Devices.xml:system/etc/mixer_paths_Analog_Devices.xml \ 7 | $(hsw_alc262_path)/mixer_paths_unknown.xml:system/etc/mixer_paths_unknown.xml \ 8 | $(hsw_alc262_path)/mixer_paths_ALC262.xml:system/etc/mixer_paths_ALC262.xml 9 | 10 | # Tinyalsa 11 | PRODUCT_PACKAGES += \ 12 | tinymix \ 13 | tinyplay \ 14 | tinycap \ 15 | 16 | # Audio support 17 | PRODUCT_PACKAGES += \ 18 | audio.primary.$(TARGET_PRODUCT) \ 19 | -------------------------------------------------------------------------------- /power/interactive_gov/init.rc: -------------------------------------------------------------------------------- 1 | 2 | on post-fs 3 | # Performance tweaks for interactive governor 4 | chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate 5 | chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 6 | chown system system /sys/devices/system/cpu/cpufreq/interactive/touchboost_freq 7 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse 8 | chown system system /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse 9 | chmod 0222 /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse 10 | chmod 0222 /sys/devices/system/cpu/cpufreq/interactive/boostpulse 11 | -------------------------------------------------------------------------------- /graphics/mesa/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | BOARD_KERNEL_CMDLINE += vga=current i915.modeset=1 drm.vblankoffdelay=1 \ 2 | 3 | ifneq ($(TARGET_BUILD_VARIANT),eng) 4 | BOARD_KERNEL_CMDLINE += quiet vt.init_hide=1 5 | endif 6 | 7 | BOARD_USE_LIBVA_INTEL_DRIVER := true 8 | BOARD_USE_LIBVA := true 9 | BOARD_USE_LIBMIX := true 10 | 11 | TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" 12 | 13 | BOARD_USES_WRS_OMXIL_CORE := true 14 | USE_INTEL_OMX_COMPONENTS := true 15 | 16 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 17 | 18 | # Using Mesa 19 | BOARD_USE_MESA := true 20 | BOARD_EGL_CFG := device/intel/mixins/graphics/mesa/egl.cfg 21 | BOARD_GPU_DRIVERS := i965 22 | USE_OPENGL_RENDERER := true 23 | 24 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub/product.mk: -------------------------------------------------------------------------------- 1 | # sensor support 2 | PRODUCT_PACKAGES += \ 3 | sensors.$(TARGET_PRODUCT) 4 | 5 | PRODUCT_COPY_FILES += \ 6 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 7 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 8 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ 9 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml 10 | -------------------------------------------------------------------------------- /wifi/intel-upstream/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # For wifi 2 | BOARD_CUSTOM_WIFI_HAL_SRC := hardware/intel/wifi/wifi.c 3 | ADDITIONAL_DEFAULT_PROPERTIES += wifi.interface=wlan0 4 | 5 | # Must be set to enable WPA supplicant build. WEXT is the driver for generic 6 | # linux wireless extensions. NL80211 supercedes it. 7 | # This variable is used by external/wpa_supplicant/Android.mk 8 | BOARD_WPA_SUPPLICANT_DRIVER=NL80211 9 | 10 | # Set to use WCS supplicant version 11 | WPA_SUPPLICANT_VERSION := VER_2_1_DEVEL 12 | BOARD_WLAN_DEVICE := intc 13 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) 14 | 15 | #Do not reload firmware when enabling SoftAP 16 | NO_FW_RELOAD_FOR_SOFTAP := true 17 | -------------------------------------------------------------------------------- /graphics/ufo/product.mk: -------------------------------------------------------------------------------- 1 | # superset of ufo binaries 2 | 3 | # system/etc 4 | PRODUCT_PACKAGES += ufo.prop 5 | 6 | ifneq ($(BOARD_HAVE_GEN_GFX_SRC),true) # ufo packages when prebuilts are used 7 | 8 | # UFO prebuilts 9 | PRODUCT_PACKAGES += ufo_prebuilts 10 | 11 | else # ufo packages when building from source 12 | 13 | PRODUCT_PACKAGES += ufo 14 | PRODUCT_PACKAGES += ufo_test 15 | 16 | endif 17 | 18 | ifneq ($(PANEL_IGNORE_LID),) 19 | PRODUCT_PROPERTY_OVERRIDES += init.panel_ignore_lid=$(PANEL_IGNORE_LID) 20 | endif 21 | PRODUCT_PROPERTY_OVERRIDES += ro.opengles.version = 196608 22 | 23 | PRODUCT_COPY_FILES += device/intel/mixins/graphics/ufo/init.ufo.sh:system/etc/init.ufo.sh 24 | 25 | -------------------------------------------------------------------------------- /storage/1xSD_2xUSB/fstab: -------------------------------------------------------------------------------- 1 | /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.0 auto vfat defaults voldmanaged=sdcard1:auto 2 | */block/sdb auto vfat defaults voldmanaged=usbdisk2:auto 3 | */block/sdc auto vfat defaults voldmanaged=usbdisk3:auto 4 | */block/sdd auto vfat defaults voldmanaged=usbdisk4:auto 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ethernet/init.utilitynet.sh: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | if [ "$#" != 1 ]; then 4 | echo "usage: $0 " 5 | exit 1 6 | fi 7 | 8 | active_iface="$1" 9 | utility_iface=`getprop persist.sys.utility_iface` 10 | 11 | if [ "$active_iface" != "$utility_iface" ]; then 12 | exit 0 13 | fi 14 | 15 | addr=`getprop net.utilitynet.ip` 16 | netmask=`getprop net.utilitynet.netmask` 17 | hwaddr=`getprop net.utilitynet.$utility_iface.hwaddr` 18 | 19 | if [ -n "$hwaddr" ]; then 20 | netcfg $utility_iface hwaddr $hwaddr 21 | fi 22 | 23 | if [ -z "$addr" -o -f /sdcard/use_dhcp ]; then 24 | /system/bin/dhcpcd -bd $utility_iface 25 | else 26 | ifconfig $utility_iface $addr netmask $netmask up 27 | fi 28 | 29 | exit 0 30 | -------------------------------------------------------------------------------- /graphics/mesa/init.rc: -------------------------------------------------------------------------------- 1 | on early-init 2 | # Mesa environment variables 3 | export MESA_EXTENSION_OVERRIDE "+GL_OES_EGL_image_external -GL_ARB_framebuffer_object" 4 | # Force on S3TC hardware decompression support in Mesa 5 | export force_s3tc_enable true 6 | 7 | # Mesa debugging options - see http://www.mesa3d.org/envvars.html for more details 8 | #export MESA_DEBUG 1 9 | #export LIBGL_DEBUG 1 10 | #export EGL_LOG_LEVEL debug 11 | 12 | on init 13 | chown system system /sys/class/backlight/intel_backlight/brightness 14 | chown system system /sys/class/backlight/acpi_video0/brightness 15 | 16 | on post-fs 17 | mkdir /data/media 0770 media_rw media_rw 18 | chown media_rw media_rw /data/media 19 | 20 | -------------------------------------------------------------------------------- /wifi/intel-compat/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # For wifi 2 | BOARD_CUSTOM_WIFI_HAL_SRC := hardware/intel/wifi/wifi.c 3 | ADDITIONAL_DEFAULT_PROPERTIES += wifi.interface=wlan0 4 | 5 | # Must be set to enable WPA supplicant build. WEXT is the driver for generic 6 | # linux wireless extensions. NL80211 supercedes it. 7 | # This variable is used by external/wpa_supplicant/Android.mk 8 | BOARD_WPA_SUPPLICANT_DRIVER=NL80211 9 | 10 | # Set to use WCS supplicant version 11 | WPA_SUPPLICANT_VERSION := VER_2_1_DEVEL_WCS 12 | BOARD_WLAN_DEVICE := intc 13 | 14 | #Do not reload firmware when enabling SoftAP 15 | NO_FW_RELOAD_FOR_SOFTAP := true 16 | 17 | BOARD_USING_INTEL_IWL := true 18 | INTEL_IWL_BOARD_CONFIG := iwlwifi-public-android 19 | INTEL_IWL_USE_SYSTEM_COMPAT_MOD_BUILD := y 20 | -------------------------------------------------------------------------------- /touch/usb_hid/product.mk: -------------------------------------------------------------------------------- 1 | # Touch USB HID support 2 | 3 | FRAMEWORK_ETC_PATH := frameworks/native/data/etc 4 | PERMISSIONS_PATH := system/etc/permissions 5 | 6 | PRODUCT_COPY_FILES += \ 7 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.xml:$(PERMISSIONS_PATH)/android.hardware.touchscreen.xml \ 8 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.multitouch.xml:$(PERMISSIONS_PATH)/android.hardware.touchscreen.multitouch.xml \ 9 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.multitouch.jazzhand.xml:$(PERMISSIONS_PATH)/android.hardware.touchscreen.multitouch.jazzhand.xml \ 10 | device/intel/mixins/touch/usb_hid/Vendor_03eb_Product_2136.idc:system/usr/idc/Vendor_03eb_Product_2136.idc 11 | 12 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/touch/usb_hid/kernel_defconfig_overlay 13 | 14 | -------------------------------------------------------------------------------- /wifi/intel-compat/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_COPY_FILES += \ 2 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 3 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ 4 | device/intel/mixins/wifi/intel-compat/p2p_supplicant.conf:system/etc/wifi/p2p_supplicant.conf \ 5 | 6 | # Override WiFi related configs 7 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/wifi/intel-compat/kernel_defconfig_overlay 8 | 9 | # include firmware binaries for Wifi adapters 10 | $(call inherit-product-if-exists, vendor/intel/hardware/wlan/iwl-firmware/iwlwifi.mk) 11 | 12 | PRODUCT_PROPERTY_OVERRIDES += \ 13 | wifi.interface=wlan0 14 | 15 | PRODUCT_PACKAGES += IWLWIFI 16 | 17 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub_bytm/product.mk: -------------------------------------------------------------------------------- 1 | # sensor support 2 | PRODUCT_PACKAGES += \ 3 | sensors.$(TARGET_PRODUCT) 4 | 5 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/sensors/hid_sensorhub_bytm/kernel_defconfig_overlay 6 | 7 | PRODUCT_COPY_FILES += \ 8 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 9 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ 10 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ 11 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml 12 | 13 | -------------------------------------------------------------------------------- /audio/byt_alc262/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | #Platform 2 | AUDIO_HAL := audio_mobile 3 | AUDIO_PLATFORM := byt_alc262 4 | BOARD_USES_TINY_ALSA_AUDIO := true 5 | BOARD_USES_AUDIO_HAL_CONFIGURABLE := false 6 | BOARD_USE_VIBRATOR := true 7 | BUILD_WITH_ALSA_UTILS := true 8 | BOARD_USES_GENERIC_AUDIO := false 9 | 10 | # enabled to use Intel audio SRC (sample rate conversion) 11 | USE_INTEL_SRC := false 12 | 13 | # enabled to use ALAC 14 | USE_FEATURE_ALAC := true 15 | 16 | # Settings for the Media SDK library and plug-ins: 17 | # - USE_MEDIASDK: use Media SDK support or not 18 | # - MFX_IPP: sets IPP library optimization to use 19 | USE_MEDIASDK := true 20 | # Enable CIP Codecs 21 | USE_INTEL_MDP := false 22 | MFX_IPP := p8 23 | USE_INTEL_IPP ?= false 24 | 25 | #Overlay 26 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/audio/byt_alc262/overlay 27 | -------------------------------------------------------------------------------- /audio/byt_alc283/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | #Platform 2 | AUDIO_HAL := audio_pc 3 | AUDIO_PLATFORM := byt_alc283 4 | BOARD_USES_TINY_ALSA_AUDIO := true 5 | BOARD_USES_AUDIO_HAL_CONFIGURABLE := false 6 | BOARD_USE_VIBRATOR := false 7 | BUILD_WITH_ALSA_UTILS := true 8 | BOARD_USES_GENERIC_AUDIO := false 9 | 10 | # enabled to use Intel audio SRC (sample rate conversion) 11 | USE_INTEL_SRC := false 12 | 13 | # enabled to use ALAC 14 | USE_FEATURE_ALAC := true 15 | 16 | # Settings for the Media SDK library and plug-ins: 17 | # - USE_MEDIASDK: use Media SDK support or not 18 | # - MFX_IPP: sets IPP library optimization to use 19 | USE_MEDIASDK := true 20 | # Enable CIP Codecs 21 | USE_INTEL_MDP := false 22 | MFX_IPP := p8 23 | USE_INTEL_IPP ?= false 24 | 25 | #Overlay 26 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/audio/byt_alc283/overlay 27 | -------------------------------------------------------------------------------- /ethernet/configurable/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | setprop service.adb.tcp.port 5555 3 | 4 | on post-fs 5 | setprop ro.intel.ethernet true 6 | 7 | service dhcpcd_eth0 /system/bin/dhcpcd -d -BK -f /system/etc/dhcpcd/android.conf 8 | class main 9 | group root system net_admin net_raw 10 | disabled 11 | oneshot 12 | 13 | service iprenew_eth0 /system/bin/dhcpcd -n 14 | class main 15 | disabled 16 | oneshot 17 | 18 | service utilitynet-eth0 /system/bin/sh /system/etc/init.utilitynet.sh eth0 19 | class core 20 | disabled 21 | oneshot 22 | 23 | on device-added-/dev/eth0 24 | start utilitynet-eth0 25 | 26 | # Adb over Network 27 | on property:service.adb.tcp.port=5555 28 | stop adbd 29 | start adbd 30 | 31 | on property:service.adb.tcp.port=-1 32 | stop adbd 33 | start adbd 34 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | #Platform 2 | AUDIO_HAL := audio_mobile 3 | AUDIO_PLATFORM := hsw_alc282 4 | BOARD_USES_TINY_ALSA_AUDIO := true 5 | BOARD_USES_AUDIO_HAL_CONFIGURABLE := true 6 | BOARD_USE_VIBRATOR := true 7 | BUILD_WITH_ALSA_UTILS := true 8 | BOARD_USES_GENERIC_AUDIO := false 9 | 10 | # enabled to use Intel audio SRC (sample rate conversion) 11 | USE_INTEL_SRC := true 12 | 13 | # enabled to use ALAC 14 | USE_FEATURE_ALAC := true 15 | 16 | # Settings for the Media SDK library and plug-ins: 17 | # - USE_MEDIASDK: use Media SDK support or not 18 | # - MFX_IPP: sets IPP library optimization to use 19 | USE_MEDIASDK := true 20 | # Enable CIP Codecs 21 | USE_INTEL_MDP := true 22 | MFX_IPP := p8 23 | USE_INTEL_IPP := true 24 | 25 | #Overlay 26 | DEVICE_PACKAGE_OVERLAYS += device/intel/mixins/audio/hsw_alc282_mcghal/overlay 27 | -------------------------------------------------------------------------------- /touch/max_1664S_8/product.mk: -------------------------------------------------------------------------------- 1 | FRAMEWORK_ETC_PATH := frameworks/native/data/etc 2 | PERMISSIONS_PATH := system/etc/permissions 3 | 4 | PRODUCT_COPY_FILES += \ 5 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.xml:$(PERMISSIONS_PATH)/android.hardware.touchscreen.xml \ 6 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.multitouch.xml:s$(PERMISSIONS_PATH)/android.hardware.touchscreen.multitouch.xml \ 7 | $(FRAMEWORK_ETC_PATH)/android.hardware.touchscreen.multitouch.jazzhand.xml:$(PERMISSIONS_PATH)/android.hardware.touchscreen.multitouch.jazzhand.xml \ 8 | device/intel/mixins/touch/max_1664S_8/maxtouch.cfg:system/etc/firmware/maxtouch.cfg \ 9 | device/intel/mixins/touch/max_1664S_8/maxtouch_1664S_8.fw:system/etc/firmware/maxtouch.fw \ 10 | device/intel/mixins/touch/max_1664S_8/atmel_mxt_ts.idc:system/usr/idc/atmel_mxt_ts.idc 11 | 12 | -------------------------------------------------------------------------------- /audio/hsw_alc262/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | true 5 | 6 | 10 | 11 | 12 | 13 | 14 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /bluetooth/none/bdroid_buildcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef _BDROID_BUILDCFG_H 18 | #define _BDROID_BUILDCFG_H 19 | 20 | #define BTM_DEF_LOCAL_NAME "Android Bluedroid" 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /crashreport/README.txt: -------------------------------------------------------------------------------- 1 | Crash Report on ABT 2 | -------------- 3 | Options: 4 | 5 | ap_bp: Enable crash report on both of application processor and modem chip. 6 | ap_only: Enable crash report on application processor side only. 7 | disable: Crash report is not included in target build. 8 | 9 | Notes: 10 | 1. Due to the lack of build support of Intel platforms that are shipped with IFX 11 | modem, the "ap_bp" option is not tested. 12 | 13 | 2. The crashreport "ap_only" is included in all but "user" target builds, 14 | see device/intel/common/common.mk: 15 | 16 | ifneq ($(TARGET_BUILD_VARIANT),user) 17 | .......... 18 | # Crash Report 19 | $(call inherit-mixin, crashreport, ap_only) 20 | endif 21 | 22 | The default choice is linked to "disable" so crash report will not be available in 23 | the "user" target build. 24 | 25 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | true 5 | 6 | 10 | 11 | 12 | 13 | 14 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /audio/byt_alc283/product.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Audio HAL 3 | # 4 | byt_alc283_path := device/intel/mixins/audio/byt_alc283 5 | 6 | TARGET_KERNEL_CONFIG_OVERRIDES += $(byt_alc283_path)/kernel_defconfig_overlay 7 | 8 | # Hardware HAL 9 | PRODUCT_PACKAGES += \ 10 | audio.primary.$(TARGET_PRODUCT) \ 11 | audio.a2dp.default \ 12 | audio.hsp.default 13 | 14 | # Tinyalsa tools 15 | PRODUCT_PACKAGES += \ 16 | tinyplay \ 17 | tinycap \ 18 | tinymix \ 19 | tinypcminfo 20 | 21 | PRODUCT_COPY_FILES += \ 22 | $(byt_alc283_path)/audio_policy.conf:system/etc/audio_policy.conf \ 23 | $(byt_alc283_path)/mixer_paths_Analog_Devices.xml:system/etc/mixer_paths_Analog_Devices.xml \ 24 | $(byt_alc283_path)/mixer_paths_unknown.xml:system/etc/mixer_paths_unknown.xml \ 25 | $(byt_alc283_path)/mixer_paths_ALC283.xml:system/etc/mixer_paths_ALC283.xml 26 | -------------------------------------------------------------------------------- /bluetooth/broadcom/buildcfg_include/bdroid_buildcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef _BDROID_BUILDCFG_H 18 | #define _BDROID_BUILDCFG_H 19 | 20 | #define BTM_DEF_LOCAL_NAME "Android Bluedroid" 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /storage/emulated/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | 3 | mkdir /mnt/shell/emulated 0700 shell shell 4 | mkdir /storage/emulated 0555 root root 5 | 6 | export EXTERNAL_STORAGE /storage/emulated/legacy 7 | export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 8 | export EMULATED_STORAGE_TARGET /storage/emulated 9 | 10 | # Support legacy paths 11 | symlink /storage/emulated/legacy /sdcard 12 | symlink /storage/emulated/legacy /mnt/sdcard 13 | symlink /storage/emulated/legacy /storage/sdcard0 14 | symlink /mnt/shell/emulated/0 /storage/emulated/legacy 15 | 16 | 17 | on post-fs 18 | mkdir /data/media 0770 media_rw media_rw 19 | chown media_rw media_rw /data/media 20 | setprop ro.crypto.fuse_sdcard true 21 | 22 | 23 | # virtual sdcard daemon running as media_rw (1023) 24 | service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated 25 | class late_start 26 | -------------------------------------------------------------------------------- /boot-arch/efi/buildtask.mk: -------------------------------------------------------------------------------- 1 | # If we're using userfastboot, package up the EFI applications 2 | # so that they can be updated 3 | ifeq ($(TARGET_USE_USERFASTBOOT),true) 4 | 5 | UFB_ESP_UPDATE_MK_BLOB := device/intel/mixins/boot-arch/efi/mkbblob.py 6 | UFB_ESP_UPDATE_FILES := $(filter %.efi,$(INSTALLED_RADIOIMAGE_TARGET)) 7 | UFB_ESP_UPDATE_BLOB := $(OUT)/ufb_esp_update.bin 8 | 9 | ifneq ($(UFB_ESP_UPDATE_FILES),) 10 | $(UFB_ESP_UPDATE_BLOB): \ 11 | $(UFB_ESP_UPDATE_FILES) \ 12 | $(UFB_ESP_UPDATE_MK_BLOB) 13 | $(hide) mkdir -p $(dir $@) 14 | $(hide) $(UFB_ESP_UPDATE_MK_BLOB) \ 15 | --output $@ \ 16 | $(UFB_ESP_UPDATE_FILES) 17 | 18 | .PHONY: ufp_esp 19 | ufp_esp: $(UFP_ESP_UPDATE_BLOB) 20 | 21 | droidcore: $(UFB_ESP_UPDATE_BLOB) 22 | $(call dist-for-goals,droidcore,$(UFB_ESP_UPDATE_BLOB):$(TARGET_PRODUCT)-ufb_esp_update-$(FILE_NAME_TAG).bin) 23 | 24 | endif # efi binaries present 25 | endif # TARGET_USE_USERFASTBOOT=true 26 | 27 | -------------------------------------------------------------------------------- /audio/byt_alc283/mixer_paths_Analog_Devices.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/hsw_alc262/mixer_paths_Analog_Devices.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/hsw_alc282/mixer_paths_Analog_Devices.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/ivb_alc271/mixer_paths_Analog_Devices.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/hsw_alc282/mixer_paths_ALC282.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/hsw_alc282/mixer_paths_ALC668.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /audio/ivb_alc271/mixer_paths_ALC271X.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /miracast/intel_miracast/product.mk: -------------------------------------------------------------------------------- 1 | #Intel miracast components 2 | PRODUCT_PACKAGES += \ 3 | widi.conf \ 4 | libwidiclient \ 5 | libwidiservice \ 6 | libwidimedia \ 7 | libwidirtsp \ 8 | libwidiuibc \ 9 | libwidiuibcjni \ 10 | WidiInputService \ 11 | libstagefright_hdcp \ 12 | libwidirtspsink 13 | 14 | ifneq ($(TARGET_BUILD_VARIANT),user) 15 | #Intel miracast test components 16 | PRODUCT_PACKAGES += \ 17 | widiMultitaskingPlayer 18 | 19 | #Intel Miracast Compliance components 20 | PRODUCT_PACKAGES += \ 21 | libsigmacapi \ 22 | com.intel.widi.sigmaapi \ 23 | libwidisigmajni \ 24 | com.intel.widi.sigmaapi.xml \ 25 | WirelessDisplaySigmaCapiUI \ 26 | testsigmartspcmds 27 | 28 | #Intel Miracast Compliance Sigma Agent 29 | PRODUCT_PACKAGES += \ 30 | wifi_wfa \ 31 | libwfa \ 32 | wfa_ca \ 33 | wfa_dut \ 34 | wfa_service \ 35 | wfa_send_ping \ 36 | wfa_send_ping6 \ 37 | wfa_stop_ping \ 38 | cas.pem \ 39 | root.pem \ 40 | wifiuser.pem 41 | endif 42 | -------------------------------------------------------------------------------- /audio/hsw_alc262/mixer_paths_ALC262.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /device-type/clamshell/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 1 8 | 9 | 13 | 1 14 | 15 | 18 | true 19 | 20 | 21 | -------------------------------------------------------------------------------- /miracast/intel_miracast/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | true 15 | true 16 | 17 | -------------------------------------------------------------------------------- /bluetooth/wp/buildcfg_include/bdroid_buildcfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2012 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef _BDROID_BUILDCFG_H 18 | #define _BDROID_BUILDCFG_H 19 | 20 | // At present either USB or UART is supported 21 | #define BLUETOOTH_HCI_USE_USB TRUE 22 | // Bluetooth Low Power Mode is supported on BT4.0 23 | #define HCILP_INCLUDED FALSE 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /audio/byt_alc283/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | true 5 | 6 | 7 | 8 | hdmi_c 9 | 10 | 14 | 15 | 16 | 17 | 18 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /audio/hsw_alc282/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | true 5 | 6 | 7 | 8 | hdmi_c 9 | 10 | 14 | 15 | 16 | 17 | 18 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /audio/ivb_alc271/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | true 5 | 6 | 7 | 8 | hdmi_c 9 | 10 | 14 | 15 | 16 | 17 | 18 | "/devices/.*/usb\\d/.*/sound/card\\d/pcmC\\dD\\dp" 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /camera-usb/uvc/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += \ 2 | camera.$(TARGET_PRODUCT) \ 3 | libs3cjpeg 4 | 5 | PRODUCT_COPY_FILES += \ 6 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ 7 | frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml 8 | 9 | # Note that /dev/video0 is duplicated for both front and back cameras. 10 | # This is because the GMS Camera app will not appear in the launcher 11 | # if there is no back-facing camera, yet the Face Unlock feature (part 12 | # of the Houdini test regime) obviously requires a front-facing 13 | # camera. This is OK (for validation on development hardware), as all 14 | # known camera usage serializes access. 15 | 16 | ADDITIONAL_BUILD_PROPERTIES += \ 17 | ro.camera.number = 2 \ 18 | ro.camera.0.devname = /dev/video0 \ 19 | ro.camera.0.facing = back \ 20 | ro.camera.0.orientation = 0 \ 21 | ro.camera.1.devname = /dev/video0 \ 22 | ro.camera.1.facing = front \ 23 | ro.camera.1.orientation = 0 \ 24 | -------------------------------------------------------------------------------- /camera-usb/uvc2cam/product.mk: -------------------------------------------------------------------------------- 1 | PRODUCT_PACKAGES += \ 2 | camera.$(TARGET_PRODUCT) \ 3 | libs3cjpeg 4 | 5 | PRODUCT_COPY_FILES += \ 6 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ 7 | frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml 8 | 9 | # Note that /dev/video0 is duplicated for both front and back cameras. 10 | # This is because the GMS Camera app will not appear in the launcher 11 | # if there is no back-facing camera, yet the Face Unlock feature (part 12 | # of the Houdini test regime) obviously requires a front-facing 13 | # camera. This is OK (for validation on development hardware), as all 14 | # known camera usage serializes access. 15 | 16 | ADDITIONAL_BUILD_PROPERTIES += \ 17 | ro.camera.number = 2 \ 18 | ro.camera.0.devname = /dev/video1 \ 19 | ro.camera.0.facing = back \ 20 | ro.camera.0.orientation = 0 \ 21 | ro.camera.1.devname = /dev/video0 \ 22 | ro.camera.1.facing = front \ 23 | ro.camera.1.orientation = 0 \ 24 | -------------------------------------------------------------------------------- /audio/hsw_alc282/product.mk: -------------------------------------------------------------------------------- 1 | hsw_alc282_path := device/intel/mixins/audio/hsw_alc282 2 | 3 | # Audio codec support 4 | PRODUCT_COPY_FILES += \ 5 | $(hsw_alc282_path)/audio_policy.conf:system/vendor/etc/audio_policy.conf \ 6 | $(hsw_alc282_path)/mixer_paths_Analog_Devices.xml:system/etc/mixer_paths_Analog_Devices.xml \ 7 | $(hsw_alc282_path)/mixer_paths_unknown.xml:system/etc/mixer_paths_unknown.xml \ 8 | $(hsw_alc282_path)/mixer_paths_ALC282.xml:system/etc/mixer_paths_ALC282.xml \ 9 | $(hsw_alc282_path)/mixer_paths_ALC668.xml:system/etc/mixer_paths_ALC668.xml 10 | 11 | # Audio low latency support 12 | PRODUCT_COPY_FILES += \ 13 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml 14 | 15 | # Tinyalsa 16 | PRODUCT_PACKAGES += \ 17 | tinymix \ 18 | tinyplay \ 19 | tinycap 20 | 21 | # Audio support 22 | PRODUCT_PACKAGES += \ 23 | audio.primary.$(TARGET_PRODUCT) \ 24 | audio.a2dp.default \ 25 | audio.hsp.default 26 | 27 | # Remote submix device required for miracast 28 | PRODUCT_PACKAGES += \ 29 | audio.r_submix.default 30 | 31 | -------------------------------------------------------------------------------- /audio/ivb_alc271/product.mk: -------------------------------------------------------------------------------- 1 | hsw_alc282_path := device/intel/mixins/audio/hsw_alc282 2 | 3 | # Audio codec support 4 | PRODUCT_COPY_FILES += \ 5 | $(hsw_alc282_path)/audio_policy.conf:system/vendor/etc/audio_policy.conf \ 6 | $(hsw_alc282_path)/mixer_paths_Analog_Devices.xml:system/etc/mixer_paths_Analog_Devices.xml \ 7 | $(hsw_alc282_path)/mixer_paths_unknown.xml:system/etc/mixer_paths_unknown.xml \ 8 | $(hsw_alc282_path)/mixer_paths_ALC282.xml:system/etc/mixer_paths_ALC271X.xml \ 9 | $(hsw_alc282_path)/mixer_paths_ALC282.xml:system/etc/mixer_paths_ALC668.xml 10 | 11 | # Audio low latency support 12 | PRODUCT_COPY_FILES += \ 13 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml 14 | 15 | # Tinyalsa 16 | PRODUCT_PACKAGES += \ 17 | tinymix \ 18 | tinyplay \ 19 | tinycap 20 | 21 | # Audio support 22 | PRODUCT_PACKAGES += \ 23 | audio.primary.$(TARGET_PRODUCT) \ 24 | audio.a2dp.default \ 25 | audio.hsp.default 26 | 27 | # Remote submix device required for miracast 28 | PRODUCT_PACKAGES += \ 29 | audio.r_submix.default 30 | 31 | -------------------------------------------------------------------------------- /bluetooth/wp/init.rc: -------------------------------------------------------------------------------- 1 | on post-fs-data 2 | # To store BT paired info 3 | mkdir /data/misc/hcid 0770 bluetooth bluetooth 4 | 5 | on boot 6 | chown root bluetooth /dev/rfkill 7 | chmod 0660 /dev/rfkill 8 | 9 | service hciattach /system/xbin/hciconfig hci0 up 10 | user root 11 | group bluetooth net_bt_admin misc 12 | disabled 13 | oneshot 14 | 15 | service hfag /system/bin/sdptool add --channel=10 HFAG 16 | user bluetooth 17 | group bluetooth net_bt_admin 18 | disabled 19 | oneshot 20 | 21 | service hsag /system/bin/sdptool add --channel=11 HSAG 22 | user bluetooth 23 | group bluetooth net_bt_admin 24 | disabled 25 | oneshot 26 | 27 | service opush /system/bin/sdptool add --channel=12 OPUSH 28 | user bluetooth 29 | group bluetooth net_bt_admin 30 | disabled 31 | oneshot 32 | 33 | service pbap /system/bin/sdptool add --channel=19 PBAP 34 | user bluetooth 35 | group bluetooth net_bt_admin 36 | disabled 37 | oneshot 38 | 39 | service dhcpcd_bt-pan /system/bin/dhcpcd -d -ABKL -f /system/etc/dhcpcd/android-bt.conf 40 | class main 41 | disabled 42 | oneshot 43 | 44 | -------------------------------------------------------------------------------- /audio/byt_alc283/mixer_paths_ALC283.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /boot-arch/efi/mkbblob.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | import os 5 | import stat 6 | import getopt 7 | 8 | def usage(): 9 | print "Usage: updateblob.py -o " 10 | 11 | def write_blobs(files, outfilename): 12 | ofd = open(outfilename, "wb") 13 | ofd.write(str(len(files))+'\n') 14 | 15 | for fil in files: 16 | sz = os.path.getsize(fil) 17 | # write file header 18 | ofd.write(os.path.split(fil)[1] + "," + str(int(sz)) + "\n") 19 | ifd = open(fil ,"rb") 20 | ofd.write(ifd.read()) 21 | ifd.close() 22 | ofd.close() 23 | 24 | if __name__ == '__main__': 25 | files = [] 26 | outfile = None 27 | 28 | try: 29 | opts, files = getopt.getopt(sys.argv[1:], "o:h", ["output=", "help"]) 30 | except getopt.GetoptError: 31 | usage() 32 | sys.exit(2) 33 | 34 | for o, a in opts: 35 | if o in ("-h", "--help"): 36 | usage() 37 | sys.exit() 38 | elif o in ("-o", "--output"): 39 | outfile = a 40 | 41 | if not files or not outfile: 42 | usage() 43 | sys.exit(1) 44 | 45 | write_blobs(files, outfile) 46 | 47 | -------------------------------------------------------------------------------- /bluetooth/bluez/README: -------------------------------------------------------------------------------- 1 | This is mixin configuration for BlueZ Bluetooth stack which may replace Broadcom's Bluedroid stack. 2 | 3 | Steps to get started: 4 | 5 | 1. You need several extra packages (BlueZ, glib and sbc) which might be downloaded with local_manifest.xml 6 | 7 | $ cd .repo 8 | $ mkdir local_manifests 9 | $ create local_manifest.xml 10 | $ repo sync 11 | 12 | 2. Use the mixin with inherit-mixin. Following patch to device/intel/haswell enables BlueZ for Dell XPS12: 13 | 14 | ... 15 | diff --git a/hsb/hsb.mk b/hsb/hsb.mk 16 | index f47efd8..0a12710 100644 17 | --- a/hsb/hsb.mk 18 | +++ b/hsb/hsb.mk 19 | @@ -30,7 +30,7 @@ $(call inherit-mixin, video, ufo) 20 | $(call inherit-mixin, wifi, intel-compat) 21 | $(call inherit-mixin, liblights, intel) 22 | $(call inherit-mixin, navigationbar, true) 23 | -$(call inherit-mixin, bluetooth, intel) 24 | +$(call inherit-mixin, bluetooth, bluez) 25 | $(call inherit-mixin, camera-usb, uvc) 26 | $(call inherit-mixin, security, mei) 27 | $(call inherit-mixin, sensors, hid_sensorhub) 28 | ... 29 | 30 | Note that patched bionic is needed for the time being untill we get latest updates from the bionic HEAD. 31 | 32 | Then build and continue as before, everything should be working. 33 | -------------------------------------------------------------------------------- /audio/byt_alc283/mixer_paths_unknown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /audio/hsw_alc262/mixer_paths_unknown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /audio/hsw_alc282/mixer_paths_unknown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /audio/ivb_alc271/mixer_paths_unknown.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /wifi/intel-upstream/init.rc: -------------------------------------------------------------------------------- 1 | on boot 2 | chown root bluetooth /dev/rfkill 3 | chmod 0660 /dev/rfkill 4 | 5 | on post-fs-data 6 | # give system access to wpa_supplicant.conf for backup and restore 7 | mkdir /data/system/ 0770 system system 8 | mkdir /data/misc/wifi 0770 wifi wifi 9 | mkdir /data/misc/wifi/sockets 0770 wifi wifi 10 | mkdir /data/misc/dhcp 0770 dhcp wifi 11 | chmod 0660 /system/etc/wifi/wpa_supplicant.conf 12 | chown wifi wifi /system/etc/wifi/wpa_supplicant.conf 13 | mkdir /data/system/wpa_supplicant 0770 wifi wifi 14 | 15 | # for wifi 16 | service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -g/data/system/wpa_supplicant/wlan0 -Gwifi -c/data/misc/wifi/wpa_supplicant.conf 17 | class main 18 | group wifi 19 | disabled 20 | oneshot 21 | 22 | service dhcpcd_wlan0 /system/bin/dhcpcd -d -aABKL -f /system/etc/dhcpcd/android.conf 23 | class main 24 | group wifi root system net_admin net_raw 25 | disabled 26 | oneshot 27 | 28 | service iprenew_wlan0 /system/bin/dhcpcd -n 29 | class main 30 | disabled 31 | oneshot 32 | 33 | 34 | on property:init.svc.wpa_supplicant=stopped 35 | stop dhcpcd 36 | 37 | on property:wlan.driver.status=ok 38 | ifup wlan0 39 | -------------------------------------------------------------------------------- /bluetooth/wp/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 25 | 26 | "bt-pan" 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /crashreport/ap_bp/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | mkdir /mnt/logs 0770 system log 3 | symlink /mnt/logs /logs 4 | # setrlimit 4 -1 -1 5 | 6 | on post-fs 7 | mkdir /data/tombstones 0755 system system 8 | mkdir /data/system/ 0755 system system 9 | mkdir /data/system/dropbox 0700 system system 10 | mkdir /data/logs 0770 system log 11 | 12 | chmod 444 /sys/class/dmi/id/product_uuid 13 | 14 | mount ext4 /data/logs/ /mnt/logs rw bind 15 | 16 | on post-fs-data 17 | mkdir /logs/stats 0775 system system 18 | mkdir /logs/aplogs 0775 system log 19 | mkdir /logs/core 0775 system log 20 | mkdir /logs/modemcrash 0775 system log 21 | mkdir /data/dontpanic 0770 root log 22 | 23 | on charger 24 | mkdir /logs/stats 0775 system system 25 | mkdir /logs/aplogs 0775 system log 26 | mkdir /logs/core 0775 system log 27 | mkdir /logs/modemcrash 0775 system log 28 | mkdir /data/dontpanic 0770 root log 29 | 30 | # crash and log services 31 | service crashlogd /system/bin/crashlogd 32 | class late_start 33 | user system 34 | group system log radio 35 | 36 | service umount-logs /system/bin/sh /system/etc/umount.sh /mnt/logs 37 | class main 38 | disabled 39 | 40 | on property:vold.decrypt=trigger_shutdown_framework 41 | start umount-logs 42 | 43 | -------------------------------------------------------------------------------- /crashreport/ap_only/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | mkdir /mnt/logs 0770 system log 3 | symlink /mnt/logs /logs 4 | # setrlimit 4 -1 -1 5 | 6 | on post-fs 7 | mkdir /data/tombstones 0755 system system 8 | mkdir /data/system/ 0755 system system 9 | mkdir /data/system/dropbox 0700 system system 10 | mkdir /data/logs 0770 system log 11 | 12 | chmod 444 /sys/class/dmi/id/product_uuid 13 | 14 | mount ext4 /data/logs/ /mnt/logs rw bind 15 | 16 | on post-fs-data 17 | mkdir /logs/stats 0775 system system 18 | mkdir /logs/aplogs 0775 system log 19 | mkdir /logs/core 0775 system log 20 | mkdir /logs/modemcrash 0775 system log 21 | mkdir /data/dontpanic 0770 root log 22 | 23 | on charger 24 | mkdir /logs/stats 0775 system system 25 | mkdir /logs/aplogs 0775 system log 26 | mkdir /logs/core 0775 system log 27 | mkdir /logs/modemcrash 0775 system log 28 | mkdir /data/dontpanic 0770 root log 29 | 30 | # crash and log services 31 | service crashlogd /system/bin/crashlogd 32 | class late_start 33 | user system 34 | group system log radio 35 | 36 | service umount-logs /system/bin/sh /system/etc/umount.sh /mnt/logs 37 | class main 38 | disabled 39 | 40 | on property:vold.decrypt=trigger_shutdown_framework 41 | start umount-logs 42 | 43 | -------------------------------------------------------------------------------- /boot-arch/sfi/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # We need to use standard EXT4 images, can't use sparse as the installer 2 | # needs to loopback mount it. It's in a squashfs container anyway. 3 | TARGET_USERIMAGES_USE_EXT4 := true 4 | BOARD_FLASH_BLOCK_SIZE := 512 5 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false 6 | 7 | TARGET_RECOVERY_FSTAB := device/intel/mixins/boot-arch/sfi/fstab 8 | 9 | TARGET_MAKE_NO_DEFAULT_BOOTIMAGE ?= true 10 | 11 | MKBOOTIMGOSIP := vendor/intel/support/mkbootimg-osip 12 | 13 | # Enable to use Intel boot.img 14 | INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img 15 | TARGET_OS_SIGNING_METHOD := none 16 | 17 | MAKE_NO_DEFAULT_BOOTIMAGE_ITEMS = $(MKBOOTIMG) \ 18 | $(MKBOOTIMGOSIP) \ 19 | xfstk-stitcher \ 20 | $(INTERNAL_BOOTIMAGE_FILES) \ 21 | $(PRODUCT_OUT)/bootstub 22 | 23 | # CAUTION: DO NOT CHANGE the flavor of COMMON_BOOTIMAGE_ARGS. It must remain 24 | # a recursively-expanded variable, i.e., it must be defined using the '=' sign. 25 | COMMON_BOOTIMAGE_ARGS = --sign-with $(TARGET_OS_SIGNING_METHOD) \ 26 | --bootstub $(PRODUCT_OUT)/bootstub 27 | MAKE_NO_DEFAULT_BOOTIMAGE = $(MKBOOTIMGOSIP) \ 28 | $(COMMON_BOOTIMAGE_ARGS) \ 29 | $(INTERNAL_BOOTIMAGE_ARGS) \ 30 | --product $(TARGET_DEVICE) \ 31 | --type mos \ 32 | --output $(INSTALLED_BOOTIMAGE_TARGET) \ 33 | $(ADDITIONAL_BOOTIMAGE_ARGS) 34 | -------------------------------------------------------------------------------- /graphics/ufo/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # We use '=' since $(TARGET_ARCH_VARIANT) isn't set until later 2 | BOARD_KERNEL_CMDLINE += vga=current i915.modeset=1 drm.vblankoffdelay=1 3 | USE_OPENGL_RENDERER := true 4 | USE_INTEL_UFO_DRIVER := true 5 | 6 | ADDITIONAL_DEFAULT_PROPERTIES += \ 7 | persist.intel.ogl.username=Developer \ 8 | persist.intel.ogl.debug=/data/ufo.prop \ 9 | persist.intel.ogl.dumpdebugvars=1 \ 10 | 11 | #Intel library for GPU accelerated Renderscript: 12 | INT1533_PLATFORMS := baytrail haswell 13 | ifneq ($(filter $(INT1533_PLATFORMS),$(TARGET_BOARD_PLATFORM)),) 14 | OVERRIDE_RS_DRIVER := libRSDriver_intel7.so 15 | else 16 | OVERRIDE_RS_DRIVER := libRSDriver_intel.so 17 | endif 18 | 19 | RSGPU_ENABLED := baytrail haswell 20 | ifneq ($(filter $(RSGPU_ENABLED),$(TARGET_BOARD_PLATFORM)),) 21 | # Enable Intel proprietary RS driver 22 | ADDITIONAL_BUILD_PROPERTIES += \ 23 | debug.rs.default-CPU-driver=0 24 | else 25 | # Disable Intel proprietary RS driver, till it's stable 26 | ADDITIONAL_BUILD_PROPERTIES += \ 27 | debug.rs.default-CPU-driver=1 28 | endif 29 | 30 | ADDITIONAL_DEFAULT_PROPERTIES += ro.ufo.use_coreu=1 31 | 32 | ifneq ($(filter haswell,$(TARGET_BOARD_PLATFORM)),) 33 | ADDITIONAL_DEFAULT_PROPERTIES += ro.ufo.use_curd=1 34 | endif 35 | 36 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 37 | 38 | # By default recovery minui expects RGBA framebuffer 39 | TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" 40 | 41 | -------------------------------------------------------------------------------- /video/ufo/product.mk: -------------------------------------------------------------------------------- 1 | # libstagefrighthw 2 | #PRODUCT_PACKAGES += \ 3 | libstagefrighthw 4 | 5 | # Media SDK and OMX IL components 6 | #PRODUCT_PACKAGES += \ 7 | libmfxhw32 \ 8 | libmfx_omx_core \ 9 | libmfx_omx_components_hw \ 10 | libgabi++-mfx \ 11 | libstlport-mfx 12 | 13 | # omx components 14 | # TODO: disabled libOMXVideoDecoderVP8 as it didn't build for haswell 15 | # TODO: disabled libOMXVideoEncodeAVC since it does not build 16 | #PRODUCT_PACKAGES += \ 17 | libwrs_omxil_core_pvwrapped \ 18 | libOMXVideoDecoderAVC \ 19 | libOMXVideoDecoderAVCSecure \ 20 | libOMXVideoDecoderH263 \ 21 | libOMXVideoDecoderMPEG4 \ 22 | libOMXVideoDecoderWMV \ 23 | libOMXVideoEncoderH263 \ 24 | libOMXVideoEncoderMPEG4 25 | 26 | # libmix 27 | #PRODUCT_PACKAGES += \ 28 | libmixvbp_mpeg4 \ 29 | libmixvbp_h264 \ 30 | libmixvbp_vc1 \ 31 | libmixvbp_vp8 \ 32 | libmixvbp_h264secure \ 33 | libintelmetadatabuffer 34 | 35 | # system/lib 36 | #PRODUCT_PACKAGES += \ 37 | libI420colorconvert 38 | 39 | # libva 40 | # TODO: disabled as they didn't build for haswell 41 | #PRODUCT_PACKAGES += \ 42 | # vainfo \ 43 | # pvr_drv_video 44 | 45 | #PRODUCT_PACKAGES += \ 46 | msvdx_fw_mfld_DE2.0.bin 47 | 48 | # Configuration files 49 | #PRODUCT_COPY_FILES += \ 50 | device/intel/mixins/video/ufo/wrs_omxil_components.list:system/etc/wrs_omxil_components.list \ 51 | device/intel/mixins/video/ufo/mfx_omxil_core.conf:system/etc/mfx_omxil_core.conf 52 | 53 | -------------------------------------------------------------------------------- /gms/true/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | true 23 | true 24 | true 25 | true 26 | 27 | 31 | 32 | com.google.android.gms 33 | com.android.location.fused 34 | 35 | 36 | -------------------------------------------------------------------------------- /telephony/none/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | 9 | 11 | 12 | "1,1" 13 | "7,1" 14 | "9,1" 15 | 16 | 17 | 20 | 22 | 25 | 26 | 27 | "wifi,1,1,1,-1,true" 28 | "bluetooth,7,7,0,-1,true" 29 | "ethernet",9,9,0,-1,true" 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /boot-arch/sfi/fstab: -------------------------------------------------------------------------------- 1 | # Android fstab file. 2 | # 3 | # The filesystem that contains the filesystem checker binary (typically /system) cannot 4 | # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK 5 | 6 | # Note: we use by-name symlinks here. You need to set androidboot.disk and 7 | # androidboot.sdcard in your kernel command line so that the right symlinks 8 | # in init.common.rc and init.recovery.common.rc are created. If you use the 9 | # Iago installer & Gummiboot this is already done for you. 10 | 11 | /dev/block/by-name/system /system ext4 ro wait 12 | /dev/block/by-name/factory /factory ext4 ro wait 13 | /dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,errors=panic wait,check 14 | /dev/block/by-name/data /data ext4 noatime,nosuid,nodev,errors=panic wait,check,encryptable=/dev/block/by-name/metadata 15 | /dev/block/by-name/boot /boot emmc defaults defaults 16 | /dev/block/by-name/recovery /recovery emmc defaults defaults 17 | /dev/block/by-name/misc /misc emmc defaults defaults 18 | /dev/block/by-name/bootloader /bootloader vfat defaults recoveryonly 19 | /dev/block/by-name/bootloader2 /bootloader2 vfat defaults recoveryonly 20 | /dev/block/by-name/fastboot /fastboot emmc defaults defaults 21 | 22 | -------------------------------------------------------------------------------- /boot-arch/efi/fstab: -------------------------------------------------------------------------------- 1 | # Android fstab file. 2 | # 3 | # The filesystem that contains the filesystem checker binary (typically /system) cannot 4 | # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK 5 | 6 | # Note: we use by-name symlinks here. You need to set androidboot.disk and 7 | # androidboot.sdcard in your kernel command line so that the right symlinks 8 | # in init.common.rc and init.recovery.common.rc are created. If you use the 9 | # Iago installer & Gummiboot this is already done for you. 10 | 11 | /dev/block/by-name/android_system /system ext4 ro wait 12 | /dev/block/by-name/android_factory /factory ext4 ro wait 13 | /dev/block/by-name/android_cache /cache ext4 noatime,nosuid,nodev,errors=panic wait,check 14 | /dev/block/by-name/android_data /data ext4 noatime,nosuid,nodev,errors=panic wait,check,encryptable=/dev/block/by-name/android_metadata 15 | /dev/block/by-name/android_boot /boot emmc defaults defaults 16 | /dev/block/by-name/android_recovery /recovery emmc defaults defaults 17 | /dev/block/by-name/android_misc /misc emmc defaults defaults 18 | /dev/block/by-name/android_bootloader /bootloader vfat defaults recoveryonly 19 | /dev/block/by-name/android_bootloader2 /bootloader2 vfat defaults recoveryonly 20 | /dev/block/by-name/android_fastboot /fastboot emmc defaults defaults 21 | 22 | -------------------------------------------------------------------------------- /wifi/intel-compat/init.rc: -------------------------------------------------------------------------------- 1 | on boot 2 | chown root bluetooth /dev/rfkill 3 | chmod 0660 /dev/rfkill 4 | 5 | on post-fs-data 6 | # give system access to wpa_supplicant.conf for backup and restore 7 | mkdir /data/system/ 0770 system system 8 | mkdir /data/misc/wifi 0770 wifi wifi 9 | mkdir /data/misc/wifi/sockets 0770 wifi wifi 10 | mkdir /data/misc/dhcp 0770 dhcp wifi 11 | chmod 0660 /system/etc/wifi/wpa_supplicant.conf 12 | chown wifi wifi /system/etc/wifi/wpa_supplicant.conf 13 | # this should not be created in order to use the global iface 14 | # mkdir /data/system/wpa_supplicant 0770 wifi wifi 15 | chmod 0660 /data/misc/wifi/p2p_supplicant.conf 16 | 17 | # for wifi 18 | service wpa_supplicant /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -g@android:wpa_wlan0 -c/data/misc/wifi/wpa_supplicant.conf -dt 19 | class main 20 | socket wpa_wlan0 dgram 660 wifi wifi 21 | disabled 22 | oneshot 23 | 24 | service dhcpcd_wlan0 /system/bin/dhcpcd -d -aABKL -f /system/etc/dhcpcd/android.conf 25 | class main 26 | group wifi root system net_admin net_raw 27 | disabled 28 | oneshot 29 | 30 | service iprenew_wlan0 /system/bin/dhcpcd -n 31 | class main 32 | disabled 33 | oneshot 34 | 35 | service p2p_supplicant /system/bin/wpa_supplicant \ 36 | -dt -i wlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -g@android:wpa_wlan0 \ 37 | -m/system/etc/wifi/p2p_supplicant.conf \ 38 | -O/data/misc/wifi/sockets 39 | class main 40 | socket wpa_wlan0 dgram 660 wifi wifi 41 | disabled 42 | oneshot 43 | 44 | service dhcpcd_p2p /system/bin/dhcpcd -aABKL 45 | disabled 46 | oneshot 47 | 48 | service iprenew_p2p /system/bin/dhcpcd -n 49 | disabled 50 | oneshot 51 | 52 | on property:init.svc.wpa_supplicant=stopped 53 | stop dhcpcd 54 | 55 | on property:wlan.driver.status=ok 56 | ifup wlan0 57 | -------------------------------------------------------------------------------- /storage/3xUSB/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | 3 | mkdir /mnt/shell/emulated 0700 shell shell 4 | mkdir /storage/emulated 0555 root root 5 | 6 | export EXTERNAL_STORAGE /storage/emulated/legacy 7 | export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 8 | export EMULATED_STORAGE_TARGET /storage/emulated 9 | 10 | # Support legacy paths 11 | symlink /storage/emulated/legacy /sdcard 12 | symlink /storage/emulated/legacy /mnt/sdcard 13 | symlink /storage/emulated/legacy /storage/sdcard0 14 | symlink /mnt/shell/emulated/0 /storage/emulated/legacy 15 | 16 | # make mount point for usb thumb drives 17 | mkdir /mnt/media_rw/usbdisk 0700 media_rw media_rw 18 | mkdir /storage/usbdisk 0700 root root 19 | 20 | # make mount point for usb thumb drives 21 | mkdir /mnt/media_rw/usbdisk2 0700 media_rw media_rw 22 | mkdir /storage/usbdisk2 0700 root root 23 | 24 | # make mount point for usb thumb drives 25 | mkdir /mnt/media_rw/usbdisk3 0700 media_rw media_rw 26 | mkdir /storage/usbdisk3 0700 root root 27 | 28 | on fs 29 | setprop ro.crypto.fuse_sdcard true 30 | 31 | on post-fs 32 | mkdir /data/media 0770 media_rw media_rw 33 | chown media_rw media_rw /data/media 34 | 35 | 36 | # virtual sdcard daemon running as media_rw (1023) 37 | service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated 38 | class late_start 39 | 40 | #external storage 41 | service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk /storage/usbdisk 42 | class late_start 43 | disabled 44 | 45 | #external storage 46 | service fuse_usbdisk2 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk2 /storage/usbdisk2 47 | class late_start 48 | disabled 49 | 50 | #external storage 51 | service fuse_usbdisk3 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk3 /storage/usbdisk3 52 | class late_start 53 | disabled 54 | 55 | -------------------------------------------------------------------------------- /boot-arch/efi/fstab.recovery: -------------------------------------------------------------------------------- 1 | # Android fstab file. 2 | # 3 | # The filesystem that contains the filesystem checker binary (typically /system) cannot 4 | # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK 5 | 6 | # Note: we use by-name symlinks here. You need to set androidboot.disk and 7 | # androidboot.sdcard in your kernel command line so that the right symlinks 8 | # in init.common.rc and init.recovery.common.rc are created. If you use the 9 | # Iago installer & Gummiboot this is already done for you. 10 | 11 | /dev/block/by-name/android_system /system ext4 ro wait 12 | /dev/block/by-name/android_factory /factory ext4 ro wait 13 | /dev/block/by-name/android_cache /cache ext4 noatime,nosuid,nodev,errors=panic wait,check 14 | /dev/block/by-name/android_data /data ext4 noatime,nosuid,nodev,errors=panic wait,check,encryptable=/dev/block/by-name/android_metadata 15 | /dev/block/by-name/android_boot /boot emmc defaults defaults 16 | /dev/block/by-name/android_recovery /recovery emmc defaults defaults 17 | /dev/block/by-name/android_misc /misc emmc defaults defaults 18 | /dev/block/by-name/android_bootloader /bootloader vfat defaults recoveryonly 19 | /dev/block/by-name/android_bootloader2 /bootloader2 vfat defaults recoveryonly 20 | /dev/block/by-name/android_fastboot /fastboot emmc defaults defaults 21 | /dev/block/sdcard /sdcard vfat defaults defaults 22 | -------------------------------------------------------------------------------- /storage/emulated/overlay/frameworks/base/core/res/res/xml/storage_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 34 | 35 | 36 | 37 | 42 | 43 | -------------------------------------------------------------------------------- /storage/1xSD_2xUSB/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | 3 | mkdir /mnt/shell/emulated 0700 shell shell 4 | mkdir /storage/emulated 0555 root root 5 | 6 | export EXTERNAL_STORAGE /storage/emulated/legacy 7 | export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 8 | export EMULATED_STORAGE_TARGET /storage/emulated 9 | 10 | # Support legacy paths 11 | symlink /storage/emulated/legacy /sdcard 12 | symlink /storage/emulated/legacy /mnt/sdcard 13 | symlink /storage/emulated/legacy /storage/sdcard0 14 | symlink /mnt/shell/emulated/0 /storage/emulated/legacy 15 | 16 | # make mount point for sdcard drive 17 | mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw 18 | mkdir /storage/sdcard1 0700 root root 19 | 20 | # make mount point for usb thumb drives 21 | mkdir /mnt/media_rw/usbdisk2 0700 media_rw media_rw 22 | mkdir /storage/usbdisk2 0700 root root 23 | 24 | # make mount point for usb thumb drives 25 | mkdir /mnt/media_rw/usbdisk3 0700 media_rw media_rw 26 | mkdir /storage/usbdisk3 0700 root root 27 | 28 | # make mount point for usb thumb drives 29 | mkdir /mnt/media_rw/usbdisk4 0700 media_rw media_rw 30 | mkdir /storage/usbdisk4 0700 root root 31 | 32 | on fs 33 | setprop ro.crypto.fuse_sdcard true 34 | 35 | on post-fs 36 | mkdir /data/media 0770 media_rw media_rw 37 | chown media_rw media_rw /data/media 38 | 39 | 40 | # virtual sdcard daemon running as media_rw (1023) 41 | service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated 42 | class late_start 43 | 44 | #external storage 45 | service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1 46 | class late_start 47 | disabled 48 | 49 | #external storage 50 | service fuse_usbdisk2 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk2 /storage/usbdisk2 51 | class late_start 52 | disabled 53 | 54 | #external storage 55 | service fuse_usbdisk3 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk3 /storage/usbdisk3 56 | class late_start 57 | disabled 58 | 59 | #external storage 60 | service fuse_usbdisk4 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk4 /storage/usbdisk4 61 | class late_start 62 | disabled 63 | -------------------------------------------------------------------------------- /storage/1xSD_3xUSB/init.rc: -------------------------------------------------------------------------------- 1 | on init 2 | 3 | mkdir /mnt/shell/emulated 0700 shell shell 4 | mkdir /storage/emulated 0555 root root 5 | 6 | export EXTERNAL_STORAGE /storage/emulated/legacy 7 | export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 8 | export EMULATED_STORAGE_TARGET /storage/emulated 9 | 10 | # Support legacy paths 11 | symlink /storage/emulated/legacy /sdcard 12 | symlink /storage/emulated/legacy /mnt/sdcard 13 | symlink /storage/emulated/legacy /storage/sdcard0 14 | symlink /mnt/shell/emulated/0 /storage/emulated/legacy 15 | 16 | # make mount point for external sdcard 17 | mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw 18 | mkdir /storage/sdcard1 0700 root root 19 | 20 | # make mount point for usb thumb drives 21 | mkdir /mnt/media_rw/usbdisk 0700 media_rw media_rw 22 | mkdir /storage/usbdisk 0700 root root 23 | 24 | # make mount point for usb thumb drives 25 | mkdir /mnt/media_rw/usbdisk2 0700 media_rw media_rw 26 | mkdir /storage/usbdisk2 0700 root root 27 | 28 | # make mount point for usb thumb drives 29 | mkdir /mnt/media_rw/usbdisk3 0700 media_rw media_rw 30 | mkdir /storage/usbdisk3 0700 root root 31 | 32 | on fs 33 | setprop ro.crypto.fuse_sdcard true 34 | 35 | on post-fs 36 | mkdir /data/media 0770 media_rw media_rw 37 | chown media_rw media_rw /data/media 38 | 39 | 40 | # virtual sdcard daemon running as media_rw (1023) 41 | service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated 42 | class late_start 43 | 44 | #external sdcard 45 | service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1 46 | class late_start 47 | disabled 48 | 49 | #external storage 50 | service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk /storage/usbdisk 51 | class late_start 52 | disabled 53 | 54 | #external storage 55 | service fuse_usbdisk2 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk2 /storage/usbdisk2 56 | class late_start 57 | disabled 58 | 59 | #external storage 60 | service fuse_usbdisk3 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk3 /storage/usbdisk3 61 | class late_start 62 | disabled 63 | 64 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/product.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Audio HAL 3 | # 4 | TARGET_KERNEL_CONFIG_OVERRIDES += device/intel/mixins/audio/hsw_alc282_mcghal/kernel_defconfig_overlay 5 | 6 | # Hardware HAL 7 | PRODUCT_PACKAGES += \ 8 | audio_hal_configurable \ 9 | libaudioresample \ 10 | audio.a2dp.default \ 11 | vibrator.$(PRODUCT_NAME) \ 12 | audio.usb.$(PRODUCT_NAME) 13 | 14 | # Tinyalsa tools 15 | PRODUCT_PACKAGES += \ 16 | tinyplay \ 17 | tinycap \ 18 | tinymix \ 19 | tinypcminfo 20 | 21 | # Parameter-framework files 22 | PRODUCT_PACKAGES += \ 23 | parameter-framework.audio.bayleybay \ 24 | libparameter \ 25 | parameter-connector-test \ 26 | libxmlserializer \ 27 | liblpe-subsystem \ 28 | libtinyamixer-subsystem \ 29 | libtinyalsactl-subsystem \ 30 | libfs-subsystem \ 31 | libproperty-subsystem \ 32 | parameter 33 | 34 | # HDMI audio HAL 35 | PRODUCT_PACKAGES += \ 36 | audio.hdmi.$(PRODUCT_NAME) 37 | 38 | 39 | # NXP audio effects 40 | PRODUCT_PACKAGES += \ 41 | libbundlewrapper.so \ 42 | libreverbwrapper.so \ 43 | libxmlparser.so \ 44 | LvmDefaultControlParams.xml \ 45 | LvmSessionConfigurationMinus1.xml 46 | 47 | # Remote submix audio 48 | PRODUCT_PACKAGES += \ 49 | audio.r_submix.default 50 | 51 | # Specific management of audio_effects.conf 52 | PRODUCT_COPY_FILES += \ 53 | device/intel/mixins/audio/hsw_alc282_mcghal/audio_effects.conf:system/vendor/etc/audio_effects.conf 54 | 55 | # Audio policy file 56 | PRODUCT_COPY_FILES += \ 57 | device/intel/mixins/audio/hsw_alc282_mcghal/audio_policy.conf:system/etc/audio_policy.conf 58 | 59 | # Audio asound file 60 | PRODUCT_COPY_FILES += \ 61 | device/intel/mixins/audio/hsw_alc282_mcghal/asound.conf:system/etc/asound.conf 62 | 63 | # Remote-process for parameter-framework tuning interface 64 | ifneq (, $(findstring "$(TARGET_BUILD_VARIANT)", "eng" "userdebug")) 65 | PRODUCT_PACKAGES += \ 66 | libremote-processor \ 67 | remote-process 68 | endif 69 | 70 | # SpeechRecorder for eng build variant 71 | ifneq ($(filter $(TARGET_BUILD_VARIANT),eng),) 72 | PRODUCT_PACKAGES += \ 73 | SpeechRecorder 74 | endif 75 | 76 | # AudioToolBox (for eng builds) 77 | #ifneq (, $(findstring "$(TARGET_BUILD_VARIANT)", "eng")) 78 | # PRODUCT_PACKAGES += \ 79 | # AudioToolBox 80 | #endif 81 | 82 | 83 | -------------------------------------------------------------------------------- /audio/byt_alc262/product.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Audio HAL 3 | # 4 | 5 | byt_alc262_path := device/intel/mixins/audio/byt_alc262 6 | 7 | TARGET_KERNEL_CONFIG_OVERRIDES += $(byt_alc262_path)/kernel_defconfig_overlay 8 | 9 | # Hardware HAL 10 | PRODUCT_PACKAGES += \ 11 | audio_hal_configurable \ 12 | libaudioresample \ 13 | audio.a2dp.default \ 14 | audio.hsp.default \ 15 | vibrator.$(PRODUCT_NAME) \ 16 | audio.usb.$(PRODUCT_NAME) 17 | 18 | # Tinyalsa tools 19 | PRODUCT_PACKAGES += \ 20 | tinyplay \ 21 | tinycap \ 22 | tinymix \ 23 | tinypcminfo 24 | 25 | # Parameter-framework files 26 | PRODUCT_PACKAGES += \ 27 | parameter-framework.audio.bayleybay \ 28 | libparameter \ 29 | parameter-connector-test \ 30 | libxmlserializer \ 31 | liblpe-subsystem \ 32 | libtinyamixer-subsystem \ 33 | libtinyalsactl-subsystem \ 34 | libfs-subsystem \ 35 | libproperty-subsystem \ 36 | parameter 37 | 38 | # HDMI audio HAL 39 | PRODUCT_PACKAGES += \ 40 | audio.hdmi.$(PRODUCT_NAME) 41 | 42 | 43 | # NXP audio effects 44 | PRODUCT_PACKAGES += \ 45 | libbundlewrapper.so \ 46 | libreverbwrapper.so \ 47 | libxmlparser.so \ 48 | LvmDefaultControlParams.xml \ 49 | LvmSessionConfigurationMinus1.xml 50 | 51 | # Remote submix audio 52 | PRODUCT_PACKAGES += \ 53 | audio.r_submix.default 54 | 55 | # Specific management of audio_effects.conf 56 | PRODUCT_COPY_FILES += \ 57 | $(byt_alc262_path)/audio_effects.conf:system/vendor/etc/audio_effects.conf 58 | 59 | # Audio policy file 60 | PRODUCT_COPY_FILES += \ 61 | $(byt_alc262_path)/audio_policy.conf:system/etc/audio_policy.conf 62 | 63 | # Audio asound file 64 | PRODUCT_COPY_FILES += \ 65 | $(byt_alc262_path)/asound.conf:system/etc/asound.conf 66 | 67 | # Remote-process for parameter-framework tuning interface 68 | ifneq (, $(findstring "$(TARGET_BUILD_VARIANT)", "eng" "userdebug")) 69 | PRODUCT_PACKAGES += \ 70 | libremote-processor \ 71 | remote-process 72 | endif 73 | 74 | # SpeechRecorder for eng build variant 75 | ifneq ($(filter $(TARGET_BUILD_VARIANT),eng),) 76 | PRODUCT_PACKAGES += \ 77 | SpeechRecorder 78 | endif 79 | 80 | # FIXME why this this commented out? 81 | # AudioToolBox (for eng builds) 82 | #ifneq (, $(findstring "$(TARGET_BUILD_VARIANT)", "eng")) 83 | # PRODUCT_PACKAGES += \ 84 | # AudioToolBox 85 | #endif 86 | 87 | 88 | -------------------------------------------------------------------------------- /boot-arch/efi/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | 2 | ifndef TARGET_USE_MOKMANAGER 3 | $(error "Please define TARGET_USE_MOKMANAGER to specify whether the MokManager tool should be installed") 4 | endif 5 | 6 | ifeq ($(TARGET_STAGE_USERFASTBOOT),) 7 | # SW Update and provisioning images should put Droidboot on the device 8 | # for users to use via 'adb reboot fastboot'. 9 | # Policy here is to not stage it in production builds 10 | ifneq ($(TARGET_BUILD_VARIANT),user) 11 | TARGET_STAGE_USERFASTBOOT := true 12 | else 13 | TARGET_STAGE_USERFASTBOOT := false 14 | endif 15 | endif 16 | 17 | ifneq ($(TARGET_NO_MIXIN_IAGO_INI),true) 18 | TARGET_IAGO_INI += device/intel/mixins/boot-arch/efi/iago.ini 19 | ifneq ($(TARGET_STAGE_USERFASTBOOT),true) 20 | TARGET_IAGO_INI += device/intel/mixins/boot-arch/efi/iago.nofastboot.ini 21 | endif 22 | endif 23 | 24 | BOARD_SYSTEMIMAGE_PARTITION_SIZE ?= 1610612736 25 | 26 | ifndef TARGET_UEFI_ARCH 27 | $(error "Please set TARGET_UEFI_ARCH so that we know what type of EFI executables to use") 28 | endif 29 | 30 | TARGET_USE_IAGO := true 31 | TARGET_IAGO_PLUGINS += \ 32 | bootable/iago/plugins/gummiboot \ 33 | bootable/iago/plugins/syslinux \ 34 | bootable/iago/plugins/userfastboot 35 | 36 | # Adds edify commands swap_entries and copy_partition for robust 37 | # update of the EFI system partition 38 | TARGET_RECOVERY_UPDATER_LIBS += libupdater_esp 39 | 40 | # Extra libraries needed to be rolled into recovery updater 41 | # libgpt_static is needed by libupdater_esp 42 | TARGET_RECOVERY_UPDATER_EXTRA_LIBS += libgpt_static 43 | 44 | # Recovery UI library. Compiled with or without SD Card support based 45 | # on RECOVERY_HAVE_SD_CARD which is specified in the 'storage' mixin 46 | TARGET_RECOVERY_UI_LIB := libbigcore_recovery_ui 47 | 48 | # If using userfastboot, we want this plugin to update the 49 | # EFI System Partition 50 | TARGET_USERFASTBOOT_LIBS += libufb_esp 51 | 52 | TARGET_USERIMAGES_USE_EXT4 := true 53 | BOARD_FLASH_BLOCK_SIZE := 512 54 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false 55 | 56 | # Secure boot boot image signing 57 | TARGET_BOOT_IMAGE_KEY_PAIR ?= device/intel/common/testkeys/DB 58 | TARGET_BOOT_IMAGE_SIGN_CMD := device/intel/mixins/boot-arch/efi/getsignature.sh $(TARGET_BOOT_IMAGE_KEY_PAIR).pk8 59 | BOARD_MKBOOTIMG_ARGS := --signsize 256 --signexec "$(TARGET_BOOT_IMAGE_SIGN_CMD)" 60 | 61 | # New-style fstab which is read by fs_mgr library and used to 62 | # mount partitions for Android and also the recovery console. 63 | TARGET_RECOVERY_FSTAB ?= device/intel/mixins/boot-arch/efi/fstab.recovery 64 | 65 | TARGET_USE_USERFASTBOOT := true 66 | 67 | USERFASTBOOT_SCRATCH_SIZE ?= 1500 68 | 69 | 70 | -------------------------------------------------------------------------------- /storage/3xUSB/overlay/frameworks/base/core/res/res/xml/storage_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 34 | 35 | 36 | 37 | 42 | 46 | 50 | 54 | 55 | -------------------------------------------------------------------------------- /storage/1xSD_3xUSB/overlay/frameworks/base/core/res/res/xml/storage_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 34 | 35 | 36 | 37 | 42 | 46 | 50 | 54 | 58 | 59 | -------------------------------------------------------------------------------- /storage/1xSD_2xUSB/overlay/frameworks/base/core/res/res/xml/storage_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 34 | 35 | 36 | 37 | 42 | 46 | 50 | 54 | 58 | 59 | -------------------------------------------------------------------------------- /audio/hsw_alc262/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC 9 | } 10 | 11 | # audio hardware module section: contains descriptors for all audio hw modules present on the 12 | # device. Each hw module node is named after the corresponding hw module library base name. 13 | # For instance, "primary" corresponds to audio.primary..so. 14 | # The "primary" module is mandatory and must include at least one output with 15 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 16 | # Each module descriptor contains one or more output profile descriptors and zero or more 17 | # input profile descriptors. Each profile lists all the parameters supported by a given output 18 | # or input stream category. 19 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 20 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 21 | 22 | audio_hw_modules { 23 | primary { 24 | outputs { 25 | primary { 26 | sampling_rates 44100 27 | channel_masks AUDIO_CHANNEL_OUT_STEREO 28 | formats AUDIO_FORMAT_PCM_16_BIT 29 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_USB_DEVICE 30 | flags AUDIO_OUTPUT_FLAG_PRIMARY 31 | } 32 | } 33 | inputs { 34 | primary { 35 | sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000 36 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 37 | formats AUDIO_FORMAT_PCM_16_BIT 38 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_USB_DEVICE 39 | } 40 | } 41 | } 42 | a2dp { 43 | outputs { 44 | a2dp { 45 | sampling_rates 44100 46 | channel_masks AUDIO_CHANNEL_OUT_STEREO 47 | formats AUDIO_FORMAT_PCM_16_BIT 48 | devices AUDIO_DEVICE_OUT_ALL_A2DP 49 | } 50 | } 51 | } 52 | hsp { 53 | outputs { 54 | hsp { 55 | sampling_rates 44100 56 | channel_masks AUDIO_CHANNEL_OUT_STEREO 57 | formats AUDIO_FORMAT_PCM_16_BIT 58 | devices AUDIO_DEVICE_OUT_ALL_SCO 59 | } 60 | } 61 | inputs { 62 | hsp { 63 | sampling_rates 44100 64 | channel_masks AUDIO_CHANNEL_IN_MONO 65 | formats AUDIO_FORMAT_PCM_16_BIT 66 | devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET 67 | } 68 | } 69 | } 70 | usb { 71 | outputs { 72 | usb_accessory { 73 | sampling_rates 44100 74 | channel_masks AUDIO_CHANNEL_OUT_STEREO 75 | formats AUDIO_FORMAT_PCM_16_BIT 76 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 77 | } 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /device-type/minnowboard/minnowboard_core_hardware.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 47 | 49 | 50 | 52 | 54 | 56 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub_bytm/init.rc: -------------------------------------------------------------------------------- 1 | on device-removed-/dev/iio:device0 2 | setprop iio.device0.removed 1 3 | 4 | on device-removed-/dev/iio:device1 5 | setprop iio.device1.removed 1 6 | 7 | on device-removed-/dev/iio:device2 8 | setprop iio.device2.removed 1 9 | 10 | on device-removed-/dev/iio:device3 11 | setprop iio.device3.removed 1 12 | 13 | on device-removed-/dev/iio:device4 14 | setprop iio.device4.removed 1 15 | 16 | on device-removed-/dev/iio:device5 17 | setprop iio.device5.removed 1 18 | 19 | on device-removed-/dev/iio:device6 20 | setprop iio.device6.removed 1 21 | 22 | on device-added-/dev/iio:device0 23 | setprop iio.device0.removed 0 24 | chown system system /dev/iio:device0 25 | chown system system /sys/bus/iio/devices/iio:device0/* 26 | chown system system /sys/bus/iio/devices/iio:device0/buffer/* 27 | chown system system /sys/bus/iio/devices/iio:device0/scan_elements/* 28 | chown system system /sys/bus/iio/devices/iio:device0/trigger/* 29 | 30 | on device-added-/dev/iio:device1 31 | setprop iio.device1.removed 0 32 | chown system system /dev/iio:device1 33 | chown system system /sys/bus/iio/devices/iio:device1/* 34 | chown system system /sys/bus/iio/devices/iio:device1/buffer/* 35 | chown system system /sys/bus/iio/devices/iio:device1/scan_elements/* 36 | chown system system /sys/bus/iio/devices/iio:device1/trigger/* 37 | 38 | on device-added-/dev/iio:device2 39 | setprop iio.device2.removed 0 40 | chown system system /dev/iio:device2 41 | chown system system /sys/bus/iio/devices/iio:device2/* 42 | chown system system /sys/bus/iio/devices/iio:device2/buffer/* 43 | chown system system /sys/bus/iio/devices/iio:device2/scan_elements/* 44 | chown system system /sys/bus/iio/devices/iio:device2/trigger/* 45 | 46 | on device-added-/dev/iio:device3 47 | setprop iio.device3.removed 0 48 | chown system system /dev/iio:device3 49 | chown system system /sys/bus/iio/devices/iio:device3/* 50 | chown system system /sys/bus/iio/devices/iio:device3/buffer/* 51 | chown system system /sys/bus/iio/devices/iio:device3/scan_elements/* 52 | chown system system /sys/bus/iio/devices/iio:device3/trigger/* 53 | 54 | on device-added-/dev/iio:device4 55 | setprop iio.device4.removed 0 56 | chown system system /dev/iio:device4 57 | chown system system /sys/bus/iio/devices/iio:device4/* 58 | chown system system /sys/bus/iio/devices/iio:device4/buffer/* 59 | chown system system /sys/bus/iio/devices/iio:device4/scan_elements/* 60 | chown system system /sys/bus/iio/devices/iio:device4/trigger/* 61 | 62 | on device-added-/dev/iio:device5 63 | setprop iio.device5.removed 0 64 | chown system system /dev/iio:device5 65 | chown system system /sys/bus/iio/devices/iio:device5/* 66 | chown system system /sys/bus/iio/devices/iio:device5/buffer/* 67 | chown system system /sys/bus/iio/devices/iio:device5/scan_elements/* 68 | chown system system /sys/bus/iio/devices/iio:device5/trigger/* 69 | 70 | on device-added-/dev/iio:device6 71 | setprop iio.device6.removed 0 72 | chown system system /dev/iio:device6 73 | chown system system /sys/bus/iio/devices/iio:device6/* 74 | chown system system /sys/bus/iio/devices/iio:device6/buffer/* 75 | chown system system /sys/bus/iio/devices/iio:device6/scan_elements/* 76 | chown system system /sys/bus/iio/devices/iio:device6/trigger/* 77 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub/init.rc: -------------------------------------------------------------------------------- 1 | on boot 2 | insmod /system/lib/modules/industrialio.ko 3 | insmod /system/lib/modules/kfifo_buf.ko 4 | insmod /system/lib/modules/industrialio-triggered-buffer.ko 5 | insmod /system/lib/modules/hid-sensor-hub.ko 6 | insmod /system/lib/modules/hid-sensor-iio-common.ko 7 | insmod /system/lib/modules/hid-sensor-trigger.ko 8 | insmod /system/lib/modules/hid-sensor-accel-3d.ko 9 | insmod /system/lib/modules/hid-sensor-gyro-3d.ko 10 | insmod /system/lib/modules/hid-sensor-als.ko 11 | insmod /system/lib/modules/hid-sensor-magn-3d.ko 12 | 13 | on device-removed-/dev/iio:device0 14 | setprop iio.device0.removed 1 15 | 16 | on device-removed-/dev/iio:device1 17 | setprop iio.device1.removed 1 18 | 19 | on device-removed-/dev/iio:device2 20 | setprop iio.device2.removed 1 21 | 22 | on device-removed-/dev/iio:device3 23 | setprop iio.device3.removed 1 24 | 25 | on device-removed-/dev/iio:device4 26 | setprop iio.device4.removed 1 27 | 28 | on device-removed-/dev/iio:device5 29 | setprop iio.device5.removed 1 30 | 31 | on device-added-/dev/iio:device0 32 | setprop iio.device0.removed 0 33 | chown system system /dev/iio:device0 34 | chown system system /sys/bus/iio/devices/iio:device0/* 35 | chown system system /sys/bus/iio/devices/iio:device0/buffer/* 36 | chown system system /sys/bus/iio/devices/iio:device0/scan_elements/* 37 | chown system system /sys/bus/iio/devices/iio:device0/trigger/* 38 | 39 | on device-added-/dev/iio:device1 40 | setprop iio.device1.removed 0 41 | chown system system /dev/iio:device1 42 | chown system system /sys/bus/iio/devices/iio:device1/* 43 | chown system system /sys/bus/iio/devices/iio:device1/buffer/* 44 | chown system system /sys/bus/iio/devices/iio:device1/scan_elements/* 45 | chown system system /sys/bus/iio/devices/iio:device1/trigger/* 46 | 47 | on device-added-/dev/iio:device2 48 | setprop iio.device2.removed 0 49 | chown system system /dev/iio:device2 50 | chown system system /sys/bus/iio/devices/iio:device2/* 51 | chown system system /sys/bus/iio/devices/iio:device2/buffer/* 52 | chown system system /sys/bus/iio/devices/iio:device2/scan_elements/* 53 | chown system system /sys/bus/iio/devices/iio:device2/trigger/* 54 | 55 | on device-added-/dev/iio:device3 56 | setprop iio.device3.removed 0 57 | chown system system /dev/iio:device3 58 | chown system system /sys/bus/iio/devices/iio:device3/* 59 | chown system system /sys/bus/iio/devices/iio:device3/buffer/* 60 | chown system system /sys/bus/iio/devices/iio:device3/scan_elements/* 61 | chown system system /sys/bus/iio/devices/iio:device3/trigger/* 62 | 63 | on device-added-/dev/iio:device4 64 | setprop iio.device4.removed 0 65 | chown system system /dev/iio:device4 66 | chown system system /sys/bus/iio/devices/iio:device4/* 67 | chown system system /sys/bus/iio/devices/iio:device4/buffer/* 68 | chown system system /sys/bus/iio/devices/iio:device4/scan_elements/* 69 | chown system system /sys/bus/iio/devices/iio:device4/trigger/* 70 | 71 | on device-added-/dev/iio:device5 72 | setprop iio.device5.removed 0 73 | chown system system /dev/iio:device5 74 | chown system system /sys/bus/iio/devices/iio:device5/* 75 | chown system system /sys/bus/iio/devices/iio:device5/buffer/* 76 | chown system system /sys/bus/iio/devices/iio:device5/scan_elements/* 77 | chown system system /sys/bus/iio/devices/iio:device5/trigger/* 78 | -------------------------------------------------------------------------------- /audio/hsw_alc282/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX 9 | } 10 | 11 | # audio hardware module section: contains descriptors for all audio hw modules present on the 12 | # device. Each hw module node is named after the corresponding hw module library base name. 13 | # For instance, "primary" corresponds to audio.primary..so. 14 | # The "primary" module is mandatory and must include at least one output with 15 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 16 | # Each module descriptor contains one or more output profile descriptors and zero or more 17 | # input profile descriptors. Each profile lists all the parameters supported by a given output 18 | # or input stream category. 19 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 20 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 21 | 22 | audio_hw_modules { 23 | primary { 24 | outputs { 25 | primary { 26 | sampling_rates 44100 27 | channel_masks AUDIO_CHANNEL_OUT_STEREO 28 | formats AUDIO_FORMAT_PCM_16_BIT 29 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_USB_DEVICE 30 | flags AUDIO_OUTPUT_FLAG_PRIMARY 31 | } 32 | } 33 | inputs { 34 | primary { 35 | sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000 36 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 37 | formats AUDIO_FORMAT_PCM_16_BIT 38 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_USB_DEVICE 39 | } 40 | } 41 | } 42 | a2dp { 43 | outputs { 44 | a2dp { 45 | sampling_rates 44100 46 | channel_masks AUDIO_CHANNEL_OUT_STEREO 47 | formats AUDIO_FORMAT_PCM_16_BIT 48 | devices AUDIO_DEVICE_OUT_ALL_A2DP 49 | } 50 | } 51 | } 52 | r_submix { 53 | outputs { 54 | submix { 55 | sampling_rates 48000 56 | channel_masks AUDIO_CHANNEL_OUT_STEREO 57 | formats AUDIO_FORMAT_PCM_16_BIT 58 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX 59 | } 60 | } 61 | inputs { 62 | submix { 63 | sampling_rates 48000 64 | channel_masks AUDIO_CHANNEL_IN_STEREO 65 | formats AUDIO_FORMAT_PCM_16_BIT 66 | devices AUDIO_DEVICE_IN_REMOTE_SUBMIX 67 | } 68 | } 69 | } 70 | sco { 71 | outputs { 72 | sco { 73 | sampling_rates 44100 74 | channel_masks AUDIO_CHANNEL_OUT_STEREO 75 | formats AUDIO_FORMAT_PCM_16_BIT 76 | devices AUDIO_DEVICE_OUT_ALL_SCO 77 | } 78 | } 79 | inputs { 80 | sco { 81 | sampling_rates 44100 82 | channel_masks AUDIO_CHANNEL_IN_MONO 83 | formats AUDIO_FORMAT_PCM_16_BIT 84 | devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET 85 | } 86 | } 87 | } 88 | usb { 89 | outputs { 90 | usb_accessory { 91 | sampling_rates 44100 92 | channel_masks AUDIO_CHANNEL_OUT_STEREO 93 | formats AUDIO_FORMAT_PCM_16_BIT 94 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 95 | } 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /audio/ivb_alc271/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX 9 | } 10 | 11 | # audio hardware module section: contains descriptors for all audio hw modules present on the 12 | # device. Each hw module node is named after the corresponding hw module library base name. 13 | # For instance, "primary" corresponds to audio.primary..so. 14 | # The "primary" module is mandatory and must include at least one output with 15 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 16 | # Each module descriptor contains one or more output profile descriptors and zero or more 17 | # input profile descriptors. Each profile lists all the parameters supported by a given output 18 | # or input stream category. 19 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 20 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 21 | 22 | audio_hw_modules { 23 | primary { 24 | outputs { 25 | primary { 26 | sampling_rates 44100 27 | channel_masks AUDIO_CHANNEL_OUT_STEREO 28 | formats AUDIO_FORMAT_PCM_16_BIT 29 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_USB_DEVICE 30 | flags AUDIO_OUTPUT_FLAG_PRIMARY 31 | } 32 | } 33 | inputs { 34 | primary { 35 | sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000 36 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 37 | formats AUDIO_FORMAT_PCM_16_BIT 38 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_USB_DEVICE 39 | } 40 | } 41 | } 42 | a2dp { 43 | outputs { 44 | a2dp { 45 | sampling_rates 44100 46 | channel_masks AUDIO_CHANNEL_OUT_STEREO 47 | formats AUDIO_FORMAT_PCM_16_BIT 48 | devices AUDIO_DEVICE_OUT_ALL_A2DP 49 | } 50 | } 51 | } 52 | r_submix { 53 | outputs { 54 | submix { 55 | sampling_rates 48000 56 | channel_masks AUDIO_CHANNEL_OUT_STEREO 57 | formats AUDIO_FORMAT_PCM_16_BIT 58 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX 59 | } 60 | } 61 | inputs { 62 | submix { 63 | sampling_rates 48000 64 | channel_masks AUDIO_CHANNEL_IN_STEREO 65 | formats AUDIO_FORMAT_PCM_16_BIT 66 | devices AUDIO_DEVICE_IN_REMOTE_SUBMIX 67 | } 68 | } 69 | } 70 | hsp { 71 | outputs { 72 | hsp { 73 | sampling_rates 44100 74 | channel_masks AUDIO_CHANNEL_OUT_STEREO 75 | formats AUDIO_FORMAT_PCM_16_BIT 76 | devices AUDIO_DEVICE_OUT_ALL_SCO 77 | } 78 | } 79 | inputs { 80 | hsp { 81 | sampling_rates 44100 82 | channel_masks AUDIO_CHANNEL_IN_MONO 83 | formats AUDIO_FORMAT_PCM_16_BIT 84 | devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET 85 | } 86 | } 87 | } 88 | usb { 89 | outputs { 90 | usb_accessory { 91 | sampling_rates 44100 92 | channel_masks AUDIO_CHANNEL_OUT_STEREO 93 | formats AUDIO_FORMAT_PCM_16_BIT 94 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 95 | } 96 | } 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /audio/byt_alc262/asound.conf: -------------------------------------------------------------------------------- 1 | # Android ALSA configuration file 2 | 3 | # 4 | # Mixer Devices 5 | # 6 | ctl.AndroidPlayback { 7 | type hw 8 | card 0 9 | device 0 10 | } 11 | 12 | ctl.AndroidPlayback_Widi-Loopback { 13 | type hw 14 | card Loopback 15 | device 0 16 | } 17 | 18 | ctl.AndroidRecord { 19 | type hw 20 | card 0 21 | device 0 22 | } 23 | 24 | ctl.AndroidPlayback_HDMIAudio { 25 | type hw 26 | card 0 27 | device 0 28 | } 29 | 30 | # 31 | # Playback Devices 32 | # 33 | pcm.AndroidPlayback { 34 | type plug 35 | slave.pcm "both" 36 | } 37 | 38 | pcm.AndroidPlayback_Speaker_normal { 39 | type plug 40 | slave.pcm "speaker" 41 | } 42 | 43 | pcm.AndroidPlayback_Headset_normal { 44 | type plug 45 | slave.pcm "headphone" 46 | } 47 | 48 | pcm.both { 49 | type hooks 50 | slave.pcm { 51 | type hw 52 | card 0 53 | device 0 54 | } 55 | hooks.0 { 56 | type ctl_elems 57 | hook_args [ 58 | {name "Speaker Mux Playback Route" value [1 1]} 59 | {name "Mode Playback Route" value 0} 60 | {name "Playback Switch" value 1} 61 | ] 62 | } 63 | } 64 | 65 | pcm.speaker { 66 | type hooks 67 | slave.pcm { 68 | type hw 69 | card 0 70 | device 0 71 | } 72 | hooks.0 { 73 | type ctl_elems 74 | hook_args [ 75 | {name "Speaker Mux Playback Route" value [1 1]} 76 | {name "Mode Playback Route" value 0} 77 | {name "Playback Switch" value 0} 78 | ] 79 | } 80 | } 81 | 82 | pcm.headphone { 83 | type hooks 84 | slave.pcm { 85 | type hw 86 | card 0 87 | device 0 88 | } 89 | hooks.0 { 90 | type ctl_elems 91 | hook_args [ 92 | {name "Speaker Mux Playback Route" value [0 0]} 93 | {name "Mode Playback Route" value 0} 94 | {name "Playback Switch" value 1} 95 | ] 96 | } 97 | } 98 | 99 | # 100 | # HDMI routing 101 | # 102 | pcm.HDMIAudio { 103 | type hw 104 | card 0 105 | device 0 106 | } 107 | 108 | pcm.AndroidPlayback_HDMIAudio { 109 | type linear 110 | slave { 111 | pcm HDMIAudio 112 | format S24_LE 113 | } 114 | } 115 | 116 | pcm.AndroidPlayback_HDMIAudio_normal { 117 | type linear 118 | slave { 119 | pcm HDMIAudio 120 | format S24_LE 121 | } 122 | } 123 | 124 | # 125 | # WIDI routing 126 | # 127 | pcm.AndroidPlayback_Widi-Loopback{ 128 | type plug 129 | slave.pcm "loopback_sink" 130 | } 131 | 132 | pcm.AndroidPlayback_Widi-Loopback_normal{ 133 | type plug 134 | slave.pcm "loopback_sink" 135 | } 136 | 137 | pcm.loopback_sink { 138 | type hw 139 | card Loopback 140 | device 0 141 | subdevice 0 142 | } 143 | 144 | # 145 | # Capture device 146 | # 147 | pcm.AndroidCapture { 148 | type hooks 149 | slave.pcm { 150 | type hw 151 | card 0 152 | device 0 153 | } 154 | hooks.0 { 155 | type ctl_elems 156 | hook_args [ 157 | {name "DMIC12 Capture Route" value 1} 158 | {name "DMIC34 Capture Route" value 1} 159 | {name "Txpath1 Capture Route" value 0} 160 | {name "Txpath2 Capture Route" value 2} 161 | {name "Txpath3 Capture Route" value 6} 162 | {name "Txpath4 Capture Route" value 6} 163 | ] 164 | } 165 | } 166 | 167 | 168 | 169 | # 170 | # WIDI 171 | # 172 | pcm.loopback_src { 173 | type hw 174 | card Loopback 175 | device 1 176 | subdevice 0 177 | } 178 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/asound.conf: -------------------------------------------------------------------------------- 1 | # Android ALSA configuration file 2 | 3 | # 4 | # Mixer Devices 5 | # 6 | ctl.AndroidPlayback { 7 | type hw 8 | card 0 9 | device 0 10 | } 11 | 12 | ctl.AndroidPlayback_Widi-Loopback { 13 | type hw 14 | card Loopback 15 | device 0 16 | } 17 | 18 | ctl.AndroidRecord { 19 | type hw 20 | card 0 21 | device 0 22 | } 23 | 24 | ctl.AndroidPlayback_HDMIAudio { 25 | type hw 26 | card 0 27 | device 0 28 | } 29 | 30 | # 31 | # Playback Devices 32 | # 33 | pcm.AndroidPlayback { 34 | type plug 35 | slave.pcm "both" 36 | } 37 | 38 | pcm.AndroidPlayback_Speaker_normal { 39 | type plug 40 | slave.pcm "speaker" 41 | } 42 | 43 | pcm.AndroidPlayback_Headset_normal { 44 | type plug 45 | slave.pcm "headphone" 46 | } 47 | 48 | pcm.both { 49 | type hooks 50 | slave.pcm { 51 | type hw 52 | card 0 53 | device 0 54 | } 55 | hooks.0 { 56 | type ctl_elems 57 | hook_args [ 58 | {name "Speaker Mux Playback Route" value [1 1]} 59 | {name "Mode Playback Route" value 0} 60 | {name "Playback Switch" value 1} 61 | ] 62 | } 63 | } 64 | 65 | pcm.speaker { 66 | type hooks 67 | slave.pcm { 68 | type hw 69 | card 0 70 | device 0 71 | } 72 | hooks.0 { 73 | type ctl_elems 74 | hook_args [ 75 | {name "Speaker Mux Playback Route" value [1 1]} 76 | {name "Mode Playback Route" value 0} 77 | {name "Playback Switch" value 0} 78 | ] 79 | } 80 | } 81 | 82 | pcm.headphone { 83 | type hooks 84 | slave.pcm { 85 | type hw 86 | card 0 87 | device 0 88 | } 89 | hooks.0 { 90 | type ctl_elems 91 | hook_args [ 92 | {name "Speaker Mux Playback Route" value [0 0]} 93 | {name "Mode Playback Route" value 0} 94 | {name "Playback Switch" value 1} 95 | ] 96 | } 97 | } 98 | 99 | # 100 | # HDMI routing 101 | # 102 | pcm.HDMIAudio { 103 | type hw 104 | card 0 105 | device 0 106 | } 107 | 108 | pcm.AndroidPlayback_HDMIAudio { 109 | type linear 110 | slave { 111 | pcm HDMIAudio 112 | format S24_LE 113 | } 114 | } 115 | 116 | pcm.AndroidPlayback_HDMIAudio_normal { 117 | type linear 118 | slave { 119 | pcm HDMIAudio 120 | format S24_LE 121 | } 122 | } 123 | 124 | # 125 | # WIDI routing 126 | # 127 | pcm.AndroidPlayback_Widi-Loopback{ 128 | type plug 129 | slave.pcm "loopback_sink" 130 | } 131 | 132 | pcm.AndroidPlayback_Widi-Loopback_normal{ 133 | type plug 134 | slave.pcm "loopback_sink" 135 | } 136 | 137 | pcm.loopback_sink { 138 | type hw 139 | card Loopback 140 | device 0 141 | subdevice 0 142 | } 143 | 144 | # 145 | # Capture device 146 | # 147 | pcm.AndroidCapture { 148 | type hooks 149 | slave.pcm { 150 | type hw 151 | card 0 152 | device 0 153 | } 154 | hooks.0 { 155 | type ctl_elems 156 | hook_args [ 157 | {name "DMIC12 Capture Route" value 1} 158 | {name "DMIC34 Capture Route" value 1} 159 | {name "Txpath1 Capture Route" value 0} 160 | {name "Txpath2 Capture Route" value 2} 161 | {name "Txpath3 Capture Route" value 6} 162 | {name "Txpath4 Capture Route" value 6} 163 | ] 164 | } 165 | } 166 | 167 | 168 | 169 | # 170 | # WIDI 171 | # 172 | pcm.loopback_src { 173 | type hw 174 | card Loopback 175 | device 1 176 | subdevice 0 177 | } 178 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 | 15 18 | 20 19 | 30 20 | 45 21 | 100 22 | 300 23 | 400 24 | 1000 25 | 26 | 27 | 32 | 33 | 20 34 | 30 35 | 45 36 | 50 37 | 75 38 | 100 39 | 190 40 | 225 41 | 255 42 | 43 | 50 | 51 | 255 52 | 255 53 | 0 54 | 0 55 | 0 56 | 0 57 | 0 58 | 0 59 | 0 60 | 61 | 62 | 69 | 70 | 255 71 | 255 72 | 0 73 | 0 74 | 0 75 | 0 76 | 0 77 | 0 78 | 0 79 | 80 | 84 | true 85 | 86 | 87 | -------------------------------------------------------------------------------- /sensors/hid_sensorhub_bytm/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 | 15 18 | 20 19 | 30 20 | 45 21 | 100 22 | 300 23 | 400 24 | 1000 25 | 26 | 27 | 32 | 33 | 20 34 | 30 35 | 45 36 | 50 37 | 75 38 | 100 39 | 190 40 | 225 41 | 255 42 | 43 | 50 | 51 | 255 52 | 255 53 | 0 54 | 0 55 | 0 56 | 0 57 | 0 58 | 0 59 | 0 60 | 61 | 62 | 69 | 70 | 255 71 | 255 72 | 0 73 | 0 74 | 0 75 | 0 76 | 0 77 | 0 78 | 0 79 | 80 | 84 | true 85 | 86 | 87 | -------------------------------------------------------------------------------- /audio/byt_alc283/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC 9 | } 10 | 11 | # audio hardware module section: contains descriptors for all audio hw modules present on the 12 | # device. Each hw module node is named after the corresponding hw module library base name. 13 | # For instance, "primary" corresponds to audio.primary..so. 14 | # The "primary" module is mandatory and must include at least one output with 15 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 16 | # Each module descriptor contains one or more output profile descriptors and zero or more 17 | # input profile descriptors. Each profile lists all the parameters supported by a given output 18 | # or input stream category. 19 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 20 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 21 | 22 | audio_hw_modules { 23 | primary { 24 | outputs { 25 | primary { 26 | sampling_rates 44100 27 | channel_masks AUDIO_CHANNEL_OUT_STEREO 28 | formats AUDIO_FORMAT_PCM_16_BIT 29 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_USB_DEVICE 30 | flags AUDIO_OUTPUT_FLAG_PRIMARY 31 | } 32 | } 33 | inputs { 34 | primary { 35 | sampling_rates 8000|11025|16000|22050|24000|32000|44100|48000 36 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 37 | formats AUDIO_FORMAT_PCM_16_BIT 38 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_USB_DEVICE 39 | } 40 | } 41 | } 42 | a2dp { 43 | outputs { 44 | a2dp { 45 | sampling_rates 44100 46 | channel_masks AUDIO_CHANNEL_OUT_STEREO 47 | formats AUDIO_FORMAT_PCM_16_BIT 48 | devices AUDIO_DEVICE_OUT_ALL_A2DP 49 | } 50 | } 51 | } 52 | hsp { 53 | outputs { 54 | hsp { 55 | sampling_rates 44100 56 | channel_masks AUDIO_CHANNEL_OUT_STEREO 57 | formats AUDIO_FORMAT_PCM_16_BIT 58 | devices AUDIO_DEVICE_OUT_ALL_SCO 59 | } 60 | } 61 | inputs { 62 | hsp { 63 | sampling_rates 44100 64 | channel_masks AUDIO_CHANNEL_IN_MONO 65 | formats AUDIO_FORMAT_PCM_16_BIT 66 | devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET 67 | } 68 | } 69 | } 70 | hdmi { 71 | outputs { 72 | hdmi_stereo { 73 | sampling_rates 48000 74 | channel_masks AUDIO_CHANNEL_OUT_STEREO 75 | formats AUDIO_FORMAT_PCM_16_BIT 76 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 77 | } 78 | hdmi_multi { 79 | sampling_rates 32000|44100|48000|88200|96000 80 | # channel_masks AUDIO_CHANNEL_OUT_5POINT1 81 | channel_masks dynamic 82 | formats AUDIO_FORMAT_PCM_16_BIT 83 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 84 | flags AUDIO_OUTPUT_FLAG_DIRECT 85 | } 86 | } 87 | } 88 | usb { 89 | outputs { 90 | usb_accessory { 91 | sampling_rates 44100 92 | channel_masks AUDIO_CHANNEL_OUT_STEREO 93 | formats AUDIO_FORMAT_PCM_16_BIT 94 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 95 | } 96 | usb_device { 97 | sampling_rates 44100 98 | channel_masks AUDIO_CHANNEL_OUT_STEREO 99 | formats AUDIO_FORMAT_PCM_16_BIT 100 | devices AUDIO_DEVICE_OUT_USB_DEVICE 101 | } 102 | } 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /touch/max_1664S_8/maxtouch.cfg: -------------------------------------------------------------------------------- 1 | OBP_RAW V1 2 | A2 00 20 AB 20 34 21 3 | 969531 4 | 96CB66 5 | 0044 0000 0049 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6 | 0026 0000 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7 | 0047 0000 00A8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8 | 0007 0000 0004 14 0A 32 03 9 | 0008 0000 000A 6C 00 14 14 00 00 0A 1E 23 B0 10 | 0009 0000 002F 8F 00 00 1A 28 00 6E 41 02 01 05 02 00 00 0A 0A 14 00 FF 0F FF 0F 00 00 00 00 00 00 00 00 0F 0F 00 00 00 00 44 DC 32 00 00 00 00 00 00 00 00 11 | 0009 0001 002F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 | 000F 0000 000B 00 00 00 00 00 00 00 00 00 00 00 13 | 0012 0000 0002 00 00 14 | 0013 0000 0006 00 00 00 00 00 00 15 | 0018 0000 0013 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 | 0018 0001 0013 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17 | 0019 0000 0015 03 00 C0 5D 2C 4C 00 00 00 00 00 00 00 00 C8 A0 0F 00 00 00 00 18 | 001B 0000 0007 00 00 00 00 00 00 00 19 | 001B 0001 0007 00 00 00 00 00 00 00 20 | 0028 0000 0005 00 00 00 00 00 21 | 0028 0001 0005 00 00 00 00 00 22 | 002A 0000 000D 00 00 00 00 00 00 00 00 00 00 00 00 00 23 | 002A 0001 000D 00 00 00 00 00 00 00 00 00 00 00 00 00 24 | 002B 0000 000C 8D 00 79 00 C1 00 00 00 00 00 00 2C 25 | 002E 0000 000B 00 00 10 10 00 00 01 00 00 00 10 26 | 002F 0000 001C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 27 | 002F 0001 001C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 | 0037 0000 0007 00 00 00 00 00 00 00 29 | 0037 0001 0007 00 00 00 00 00 00 00 30 | 0038 0000 0033 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 02 14 04 00 00 00 00 00 00 00 00 00 31 | 0039 0000 0003 00 00 00 32 | 0039 0001 0003 00 00 00 33 | 003D 0000 0005 00 00 00 00 00 34 | 003D 0001 0005 00 00 00 00 00 35 | 003D 0002 0005 00 00 00 00 00 36 | 003D 0003 0005 00 00 00 00 00 37 | 003E 0000 004A 01 02 00 16 00 0A 00 00 14 00 00 00 00 00 05 00 0A 05 05 64 19 18 1E 18 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 38 | 003F 0000 0019 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 | 003F 0001 0019 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 | 0041 0000 0011 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 41 | 0042 0000 0003 00 00 00 42 | 0046 0000 000A 00 00 00 00 00 00 00 00 00 00 43 | 0046 0001 000A 00 00 00 00 00 00 00 00 00 00 44 | 0046 0002 000A 00 00 00 00 00 00 00 00 00 00 45 | 0046 0003 000A 00 00 00 00 00 00 00 00 00 00 46 | 0046 0004 000A 00 00 00 00 00 00 00 00 00 00 47 | 0046 0005 000A 00 00 00 00 00 00 00 00 00 00 48 | 0046 0006 000A 00 00 00 00 00 00 00 00 00 00 49 | 0046 0007 000A 00 00 00 00 00 00 00 00 00 00 50 | 0046 0008 000A 00 00 00 00 00 00 00 00 00 00 51 | 0046 0009 000A 00 00 00 00 00 00 00 00 00 00 52 | 0046 000A 000A 00 00 00 00 00 00 00 00 00 00 53 | 0046 000B 000A 00 00 00 00 00 00 00 00 00 00 54 | 0049 0000 0006 00 00 00 00 00 00 55 | 0049 0001 0006 00 00 00 00 00 00 56 | 004D 0000 0004 00 00 00 00 57 | 004F 0000 0003 00 00 00 58 | -------------------------------------------------------------------------------- /audio/hsw_alc282_mcghal/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL 9 | custom_properties { 10 | voice_volume_applied_after_mixing_in_communication false 11 | in_call_music_attenuation_dB 6 12 | } 13 | } 14 | 15 | # audio hardware module section: contains descriptors for all audio hw modules present on the 16 | # device. Each hw module node is named after the corresponding hw module library base name. 17 | # For instance, "primary" corresponds to audio.primary..so. 18 | # The "primary" module is mandatory and must include at least one output with 19 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 20 | # Each module descriptor contains one or more output profile descriptors and zero or more 21 | # input profile descriptors. Each profile lists all the parameters supported by a given output 22 | # or input stream category. 23 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 24 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 25 | 26 | audio_hw_modules { 27 | primary { 28 | outputs { 29 | primary { 30 | sampling_rates 48000 31 | channel_masks AUDIO_CHANNEL_OUT_STEREO 32 | formats AUDIO_FORMAT_PCM_16_BIT 33 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET 34 | flags AUDIO_OUTPUT_FLAG_PRIMARY 35 | } 36 | } 37 | inputs { 38 | primary { 39 | sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000 40 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 41 | formats AUDIO_FORMAT_PCM_16_BIT 42 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET 43 | } 44 | } 45 | } 46 | a2dp { 47 | outputs { 48 | a2dp { 49 | sampling_rates 44100 50 | channel_masks AUDIO_CHANNEL_OUT_STEREO 51 | formats AUDIO_FORMAT_PCM_16_BIT 52 | devices AUDIO_DEVICE_OUT_ALL_A2DP 53 | } 54 | } 55 | } 56 | hdmi { 57 | outputs { 58 | hdmi_stereo { 59 | sampling_rates 48000 60 | channel_masks AUDIO_CHANNEL_OUT_STEREO 61 | formats AUDIO_FORMAT_PCM_16_BIT 62 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 63 | } 64 | hdmi_multi { 65 | sampling_rates 32000|44100|48000|88200|96000 66 | # channel_masks AUDIO_CHANNEL_OUT_5POINT1 67 | channel_masks dynamic 68 | formats AUDIO_FORMAT_PCM_16_BIT 69 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 70 | flags AUDIO_OUTPUT_FLAG_DIRECT 71 | } 72 | } 73 | } 74 | r_submix { 75 | outputs { 76 | submix { 77 | sampling_rates 48000 78 | channel_masks AUDIO_CHANNEL_OUT_STEREO 79 | formats AUDIO_FORMAT_PCM_16_BIT 80 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX 81 | } 82 | } 83 | inputs { 84 | submix { 85 | sampling_rates 48000 86 | channel_masks AUDIO_CHANNEL_IN_STEREO 87 | formats AUDIO_FORMAT_PCM_16_BIT 88 | devices AUDIO_DEVICE_IN_REMOTE_SUBMIX 89 | } 90 | } 91 | } 92 | usb { 93 | outputs { 94 | usb_accessory { 95 | sampling_rates 44100 96 | channel_masks AUDIO_CHANNEL_OUT_STEREO 97 | formats AUDIO_FORMAT_PCM_16_BIT 98 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 99 | } 100 | usb_device { 101 | sampling_rates 44100 102 | channel_masks AUDIO_CHANNEL_OUT_STEREO 103 | formats AUDIO_FORMAT_PCM_16_BIT 104 | devices AUDIO_DEVICE_OUT_USB_DEVICE 105 | } 106 | } 107 | } 108 | } 109 | -------------------------------------------------------------------------------- /audio/byt_alc262/audio_policy.conf: -------------------------------------------------------------------------------- 1 | # Global configuration section: lists input and output devices always present on the device 2 | # as well as the output device selected by default. 3 | # Devices are designated by a string that corresponds to the enum in audio.h 4 | 5 | global_configuration { 6 | attached_output_devices AUDIO_DEVICE_OUT_SPEAKER 7 | default_output_device AUDIO_DEVICE_OUT_SPEAKER 8 | attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_REMOTE_SUBMIX 9 | custom_properties { 10 | voice_volume_applied_after_mixing_in_communication false 11 | in_call_music_attenuation_dB 6 12 | } 13 | } 14 | 15 | # audio hardware module section: contains descriptors for all audio hw modules present on the 16 | # device. Each hw module node is named after the corresponding hw module library base name. 17 | # For instance, "primary" corresponds to audio.primary..so. 18 | # The "primary" module is mandatory and must include at least one output with 19 | # AUDIO_OUTPUT_FLAG_PRIMARY flag. 20 | # Each module descriptor contains one or more output profile descriptors and zero or more 21 | # input profile descriptors. Each profile lists all the parameters supported by a given output 22 | # or input stream category. 23 | # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 24 | # to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n". 25 | 26 | audio_hw_modules { 27 | primary { 28 | outputs { 29 | primary { 30 | sampling_rates 48000 31 | channel_masks AUDIO_CHANNEL_OUT_STEREO 32 | formats AUDIO_FORMAT_PCM_16_BIT 33 | devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET 34 | flags AUDIO_OUTPUT_FLAG_PRIMARY 35 | } 36 | } 37 | inputs { 38 | primary { 39 | sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000 40 | channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO 41 | formats AUDIO_FORMAT_PCM_16_BIT 42 | devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_WIRED_HEADSET 43 | } 44 | } 45 | } 46 | a2dp { 47 | outputs { 48 | a2dp { 49 | sampling_rates 44100 50 | channel_masks AUDIO_CHANNEL_OUT_STEREO 51 | formats AUDIO_FORMAT_PCM_16_BIT 52 | devices AUDIO_DEVICE_OUT_ALL_A2DP 53 | } 54 | } 55 | } 56 | hsp { 57 | outputs { 58 | hsp { 59 | sampling_rates 44100 60 | channel_masks AUDIO_CHANNEL_OUT_STEREO 61 | formats AUDIO_FORMAT_PCM_16_BIT 62 | devices AUDIO_DEVICE_OUT_ALL_SCO 63 | } 64 | } 65 | inputs { 66 | hsp { 67 | sampling_rates 44100 68 | channel_masks AUDIO_CHANNEL_IN_MONO 69 | formats AUDIO_FORMAT_PCM_16_BIT 70 | devices AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET 71 | } 72 | } 73 | } 74 | hdmi { 75 | outputs { 76 | hdmi_stereo { 77 | sampling_rates 48000 78 | channel_masks AUDIO_CHANNEL_OUT_STEREO 79 | formats AUDIO_FORMAT_PCM_16_BIT 80 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 81 | } 82 | hdmi_multi { 83 | sampling_rates 32000|44100|48000|88200|96000 84 | # channel_masks AUDIO_CHANNEL_OUT_5POINT1 85 | channel_masks dynamic 86 | formats AUDIO_FORMAT_PCM_16_BIT 87 | devices AUDIO_DEVICE_OUT_AUX_DIGITAL 88 | flags AUDIO_OUTPUT_FLAG_DIRECT 89 | } 90 | } 91 | } 92 | r_submix { 93 | outputs { 94 | submix { 95 | sampling_rates 48000 96 | channel_masks AUDIO_CHANNEL_OUT_STEREO 97 | formats AUDIO_FORMAT_PCM_16_BIT 98 | devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX 99 | } 100 | } 101 | inputs { 102 | submix { 103 | sampling_rates 48000 104 | channel_masks AUDIO_CHANNEL_IN_STEREO 105 | formats AUDIO_FORMAT_PCM_16_BIT 106 | devices AUDIO_DEVICE_IN_REMOTE_SUBMIX 107 | } 108 | } 109 | } 110 | usb { 111 | outputs { 112 | usb_accessory { 113 | sampling_rates 44100 114 | channel_masks AUDIO_CHANNEL_OUT_STEREO 115 | formats AUDIO_FORMAT_PCM_16_BIT 116 | devices AUDIO_DEVICE_OUT_USB_ACCESSORY 117 | } 118 | usb_device { 119 | sampling_rates 44100 120 | channel_masks AUDIO_CHANNEL_OUT_STEREO 121 | formats AUDIO_FORMAT_PCM_16_BIT 122 | devices AUDIO_DEVICE_OUT_USB_DEVICE 123 | } 124 | } 125 | } 126 | } 127 | -------------------------------------------------------------------------------- /audio/byt_alc262/audio_effects.conf: -------------------------------------------------------------------------------- 1 | # List of effect libraries to load. Each library element must contain a "path" element 2 | # giving the full path of the library .so file. 3 | # libraries { 4 | # { 5 | # path 6 | # } 7 | # } 8 | libraries { 9 | bundle { 10 | path /system/lib/soundfx/libbundlewrapper.so 11 | } 12 | reverb { 13 | path /system/lib/soundfx/libreverbwrapper.so 14 | } 15 | visualizer { 16 | path /system/lib/soundfx/libvisualizer.so 17 | } 18 | pre_processing { 19 | path /system/lib/soundfx/libaudiopreprocessing.so 20 | } 21 | downmix { 22 | path /system/lib/soundfx/libdownmix.so 23 | } 24 | } 25 | 26 | # list of effects to load. Each effect element must contain a "library" and a "uuid" element. 27 | # The value of the "library" element must correspond to the name of one library element in the 28 | # "libraries" element. 29 | # The name of the effect element is indicative, only the value of the "uuid" element 30 | # designates the effect. 31 | # The uuid is the implementation specific UUID as specified by the effect vendor. This is not the 32 | # generic effect type UUID. 33 | # effects { 34 | # { 35 | # library 36 | # uuid 37 | # } 38 | # ... 39 | # } 40 | 41 | effects { 42 | bassboost { 43 | library bundle 44 | uuid 8631f300-72e2-11df-b57e-0002a5d5c51b 45 | } 46 | virtualizer { 47 | library bundle 48 | uuid 1d4033c0-8557-11df-9f2d-0002a5d5c51b 49 | } 50 | equalizer { 51 | library bundle 52 | uuid ce772f20-847d-11df-bb17-0002a5d5c51b 53 | } 54 | volume { 55 | library bundle 56 | uuid 119341a0-8469-11df-81f9-0002a5d5c51b 57 | } 58 | reverb_env_aux { 59 | library reverb 60 | uuid 4a387fc0-8ab3-11df-8bad-0002a5d5c51b 61 | } 62 | reverb_env_ins { 63 | library reverb 64 | uuid c7a511a0-a3bb-11df-860e-0002a5d5c51b 65 | } 66 | reverb_pre_aux { 67 | library reverb 68 | uuid f29a1400-a3bb-11df-8ddc-0002a5d5c51b 69 | } 70 | reverb_pre_ins { 71 | library reverb 72 | uuid 172cdf00-a3bc-11df-a72f-0002a5d5c51b 73 | } 74 | visualizer { 75 | library visualizer 76 | uuid d069d9e0-8329-11df-9168-0002a5d5c51b 77 | } 78 | downmix { 79 | library downmix 80 | uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f 81 | } 82 | agc { 83 | library pre_processing 84 | uuid aa8130e0-66fc-11e0-bad0-0002a5d5c51b 85 | } 86 | aec { 87 | library pre_processing 88 | uuid bb392ec0-8d4d-11e0-a896-0002a5d5c51b 89 | } 90 | ns { 91 | library pre_processing 92 | uuid c06c8400-8e06-11e0-9cb6-0002a5d5c51b 93 | } 94 | } 95 | # Audio preprocessor configurations. 96 | # The pre processor configuration consists in a list of elements each describing 97 | # pre processor settings for a given input source. Valid input source names are: 98 | # "mic", "camcorder", "voice_recognition", "voice_communication" 99 | # Each input source element contains a list of effects elements. The name of the effect 100 | # element must be the name of one of the effects in the "effects" list of the file. 101 | # Each effect element may optionally contain a list of parameters and their 102 | # default value to apply when the pre processor effect is created. 103 | # A parameter is defined by a "param" element and a "value" element. Each of these elements 104 | # consists in one or more elements specifying a type followed by a value. 105 | # The types defined are: "int", "short", "float", "bool" and "string" 106 | # When both "param" and "value" are a single int, a simple form is allowed where just 107 | # the param and value pair is present in the parameter description 108 | # pre_processing { 109 | # { 110 | # { 111 | # { 112 | # param { 113 | # int|short|float|bool|string 114 | # [ int|short|float|bool|string ] 115 | # ... 116 | # } 117 | # value { 118 | # int|short|float|bool|string 119 | # [ int|short|float|bool|string ] 120 | # ... 121 | # } 122 | # } 123 | # { } 124 | # ... 125 | # } 126 | # ... 127 | # } 128 | # ... 129 | # } 130 | pre_processing { 131 | voice_communication { 132 | ns { 133 | } 134 | aec { 135 | } 136 | } 137 | } 138 | # 139 | # TODO: add default audio pre processor configurations after debug and tuning phase 140 | # 141 | --------------------------------------------------------------------------------