diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2012-11-19 19:35:57 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2012-11-19 19:35:57 +0530 |
commit | c892a0d62c642868952e2fd29e80cdbc399be81f (patch) | |
tree | 8211aab65e94e4775400026ce973e2cb61be614c | |
download | origen_quad-c892a0d62c642868952e2fd29e80cdbc399be81f.tar.gz |
-rw-r--r-- | AndroidProducts.mk | 2 | ||||
-rw-r--r-- | BoardConfig.mk | 48 | ||||
-rw-r--r-- | Logitech_Logitech_USB_Keyboard.kcm | 64 | ||||
-rw-r--r-- | Logitech_Logitech_USB_Keyboard.kl | 90 | ||||
-rw-r--r-- | README.txt | 11 | ||||
-rw-r--r-- | bl1 | bin | 0 -> 24576 bytes | |||
-rw-r--r-- | device.mk | 58 | ||||
-rwxr-xr-x | egl.cfg | 2 | ||||
-rw-r--r-- | gpio-keys.kcm | 3 | ||||
-rw-r--r-- | gpio-keys.kl | 6 | ||||
-rw-r--r-- | init.origen.rc | 119 | ||||
-rwxr-xr-x | init.origen.sh | 3 | ||||
-rw-r--r-- | init.origen.usb.rc | 44 | ||||
-rw-r--r-- | initlogo.rle | bin | 0 -> 27288 bytes | |||
-rw-r--r-- | origen_quad.mk | 10 | ||||
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 869 | ||||
-rw-r--r-- | system.prop | 6 | ||||
-rw-r--r-- | u-boot.bin | bin | 0 -> 524288 bytes | |||
-rw-r--r-- | ueventd.origen.rc | 10 | ||||
-rw-r--r-- | unidisplay_ts.idc | 39 | ||||
-rw-r--r-- | vendorsetup.sh | 1 | ||||
-rw-r--r-- | vold.fstab | 15 |
22 files changed, 1400 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..4cf9a56 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,2 @@ +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/origen_quad.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..4f5cec1 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,48 @@ +# config.mk +# +# Product-specific compile-time definitions. +# + +TARGET_BOARD_PLATFORM := origen_quad +TARGET_NO_BOOTLOADER := true # Uses u-boot instead +TARGET_NO_KERNEL := false +KERNEL_CONFIG := android_origen_quad_defconfig +USE_PREBUILT_UBOOT := true +TARGET_NO_RECOVERY := true +TARGET_NO_RADIOIMAGE := true +TARGET_CPU_SMP := true +BOARD_USES_GENERIC_AUDIO := true +BOARD_USES_ALSA_AUDIO := true +OMAP_ENHANCEMENT := false +HARDWARE_OMX := false +USE_CAMERA_STUB := true + +BOARD_HAVE_BLUETOOTH := false + +TARGET_CPU_ABI := armeabi-v7a +TARGET_CPU_ABI2 := armeabi + +# Enable NEON feature +TARGET_ARCH_VARIANT := armv7-a-neon +ARCH_ARM_HAVE_TLS_REGISTER := true + +EXTRA_PACKAGE_MANAGEMENT := false + +TARGET_USERIMAGES_USE_EXT4 := true +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true + +USE_OPENGL_RENDERER := true + +# bootargs +BOARD_KERNEL_CMDLINE := console=ttySAC2 root=/dev/mmcblk0p2 + +# Origen uses an Exynos4 -- Cortex A9 +TARGET_EXTRA_CFLAGS += $(call cc-option,-mtune=cortex-a9,$(call cc-option,-mtune=cortex-a8)) $(call cc-option,-mcpu=cortex-a9,$(call cc-option,-mcpu=cortex-a8)) + +# ARMs gator (DS-5) +TARGET_USE_GATOR := true + +BOARD_HAVE_CODEC_SUPPORT := SAMSUNG_CODEC_SUPPORT +BOARD_HAVE_HDMI_SUPPORT := SAMSUNG_HDMI_SUPPORT + +TARGET_BOOTLOADER_TYPE := uboot diff --git a/Logitech_Logitech_USB_Keyboard.kcm b/Logitech_Logitech_USB_Keyboard.kcm new file mode 100644 index 0000000..8056364 --- /dev/null +++ b/Logitech_Logitech_USB_Keyboard.kcm @@ -0,0 +1,64 @@ +[type=QWERTY] + +# keycode display number base caps fn caps_fn + +A 'A' '2' 'a' 'A' '#' 0x00 +B 'B' '2' 'b' 'B' '<' 0x00 +C 'C' '2' 'c' 'C' '9' 0x00E7 +D 'D' '3' 'd' 'D' '5' 0x00 +E 'E' '3' 'e' 'E' '2' 0x0301 +F 'F' '3' 'f' 'F' '6' 0x00A5 +G 'G' '4' 'g' 'G' '-' '_' +H 'H' '4' 'h' 'H' '[' '{' +I 'I' '4' 'i' 'I' '$' 0x0302 +J 'J' '5' 'j' 'J' ']' '}' +K 'K' '5' 'k' 'K' '"' '~' +L 'L' '5' 'l' 'L' ''' '`' +M 'M' '6' 'm' 'M' '!' 0x00 +N 'N' '6' 'n' 'N' '>' 0x0303 +O 'O' '6' 'o' 'O' '(' 0x00 +P 'P' '7' 'p' 'P' ')' 0x00 +Q 'Q' '7' 'q' 'Q' '*' 0x0300 +R 'R' '7' 'r' 'R' '3' 0x20AC +S 'S' '7' 's' 'S' '4' 0x00DF +T 'T' '8' 't' 'T' '+' 0x00A3 +U 'U' '8' 'u' 'U' '&' 0x0308 +V 'V' '8' 'v' 'V' '=' '^' +W 'W' '9' 'w' 'W' '1' 0x00 +X 'X' '9' 'x' 'X' '8' 0xEF00 +Y 'Y' '9' 'y' 'Y' '%' 0x00A1 +Z 'Z' '9' 'z' 'Z' '7' 0x00 + +# on pc keyboards +COMMA ',' ',' ',' ';' ';' '|' +PERIOD '.' '.' '.' ':' ':' 0x2026 +AT '@' '0' '@' '0' '0' 0x2022 +SLASH '/' '/' '/' '?' '?' '\' + +SPACE 0x20 0x20 0x20 0x20 0xEF01 0xEF01 +ENTER 0xa 0xa 0xa 0xa 0xa 0xa + +TAB 0x9 0x9 0x9 0x9 0x9 0x9 +0 '0' '0' '0' ')' ')' ')' +1 '1' '1' '1' '!' '!' '!' +2 '2' '2' '2' '@' '@' '@' +3 '3' '3' '3' '#' '#' '#' +4 '4' '4' '4' '$' '$' '$' +5 '5' '5' '5' '%' '%' '%' +6 '6' '6' '6' '^' '^' '^' +7 '7' '7' '7' '&' '&' '&' +8 '8' '8' '8' '*' '*' '*' +9 '9' '9' '9' '(' '(' '(' + +GRAVE '`' '`' '`' '~' '`' '~' +MINUS '-' '-' '-' '_' '-' '_' +EQUALS '=' '=' '=' '+' '=' '+' +LEFT_BRACKET '[' '[' '[' '{' '[' '{' +RIGHT_BRACKET ']' ']' ']' '}' ']' '}' +BACKSLASH '\' '\' '\' '|' '\' '|' +SEMICOLON ';' ';' ';' ':' ';' ':' +APOSTROPHE ''' ''' ''' '"' ''' '"' +STAR '*' '*' '*' '*' '*' '*' +POUND '#' '#' '#' '#' '#' '#' +PLUS '+' '+' '+' '+' '+' '+' + diff --git a/Logitech_Logitech_USB_Keyboard.kl b/Logitech_Logitech_USB_Keyboard.kl new file mode 100644 index 0000000..fef2d92 --- /dev/null +++ b/Logitech_Logitech_USB_Keyboard.kl @@ -0,0 +1,90 @@ +key 399 GRAVE +key 2 1 +key 3 2 +key 4 3 +key 5 4 +key 6 5 +key 7 6 +key 8 7 +key 9 8 +key 10 9 +key 11 0 +key 158 BACK WAKE_DROPPED +key 230 SOFT_RIGHT WAKE +key 60 SOFT_RIGHT WAKE +key 107 ENDCALL WAKE_DROPPED +key 62 ENDCALL WAKE_DROPPED +key 229 MENU WAKE_DROPPED +key 139 MENU WAKE_DROPPED +key 59 MENU WAKE_DROPPED +key 88 MENU WAKE_DROPPED +key 127 SEARCH WAKE_DROPPED +key 217 SEARCH WAKE_DROPPED +key 228 POUND +key 227 STAR +key 231 CALL WAKE_DROPPED +key 61 CALL WAKE_DROPPED +key 232 DPAD_CENTER WAKE_DROPPED +key 108 DPAD_DOWN WAKE_DROPPED +key 103 DPAD_UP WAKE_DROPPED +key 102 HOME WAKE +key 105 DPAD_LEFT WAKE_DROPPED +key 106 DPAD_RIGHT WAKE_DROPPED +key 115 VOLUME_UP +key 114 VOLUME_DOWN +key 116 POWER WAKE +key 212 CAMERA + +key 16 Q +key 17 W +key 18 E +key 19 R +key 20 T +key 21 Y +key 22 U +key 23 I +key 24 O +key 25 P +key 26 LEFT_BRACKET +key 27 RIGHT_BRACKET +key 43 BACKSLASH + +key 30 A +key 31 S +key 32 D +key 33 F +key 34 G +key 35 H +key 36 J +key 37 K +key 38 L +key 39 SEMICOLON +key 40 APOSTROPHE +key 14 DEL + +key 44 Z +key 45 X +key 46 C +key 47 V +key 48 B +key 49 N +key 50 M +key 51 COMMA +key 52 PERIOD +key 53 SLASH +key 28 ENTER + +key 56 ALT_LEFT +key 100 ALT_RIGHT +key 42 SHIFT_LEFT +key 54 SHIFT_RIGHT +key 15 TAB +key 57 SPACE +key 150 EXPLORER +key 155 ENVELOPE + +key 12 MINUS +key 13 EQUALS +key 215 AT + + diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..0fd2438 --- /dev/null +++ b/README.txt @@ -0,0 +1,11 @@ +Summary: Linaro Evaluation Build for Android + +Author: Linaro Limited + +Description: + In order to ensure that Software Components developed and improved work + well and really matter in a production like environment, Linaro Platform + Releases introduced a concept called "Evaluation Builds". + + Evaluation Builds are images that can be installed on high volume member + boards supported by Linaro Platform and Landing Teams. Binary files differdiff --git a/device.mk b/device.mk new file mode 100644 index 0000000..e045945 --- /dev/null +++ b/device.mk @@ -0,0 +1,58 @@ +# Copyright (C) 2011 Linaro Limited +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +LOCAL_PATH := device/linaro/origen_quad + +PRODUCT_COPY_FILES := \ + device/linaro/common/init.partitions-with-kernelpartition.rc:root/init.partitions.rc \ + device/linaro/origen_quad/vold.fstab:system/etc/vold.fstab \ + device/linaro/origen_quad/egl.cfg:system/lib/egl/egl.cfg + +PRODUCT_COPY_FILES += \ + device/linaro/origen_quad/init.origen.rc:root/init.origen.rc \ + device/linaro/origen_quad/init.origen.usb.rc:root/init.origen.usb.rc \ + device/linaro/origen_quad/ueventd.origen.rc:root/ueventd.origen.rc \ + device/linaro/origen_quad/initlogo.rle:root/initlogo.rle \ + device/linaro/origen_quad/unidisplay_ts.idc:system/usr/idc/unidisplay_ts.idc \ + device/linaro/origen_quad/gpio-keys.kcm:system/usr/keychars/gpio-keys.kcm \ + device/linaro/origen_quad/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ + device/linaro/common/wallpaper_info.xml:data/system/wallpaper_info.xml + +# Set default USB interface +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + persist.sys.usb.config=mtp + +# Set screen DPI to 120 to boot into tablet GUI +PRODUCT_PROPERTY_OVERRIDES += \ + ro.sf.lcd_density = 120 + +PRODUCT_PROPERTY_OVERRIDES += \ + hwui.render_dirty_regions=false + +PRODUCT_CHARACTERISTICS := tablet,nosdcard + +PRODUCT_TAGS += dalvik.gc.type-precise + +PRODUCT_PACKAGES += \ + librs_jni \ + com.android.future.usb.accessory + +# Filesystem management tools +PRODUCT_PACKAGES += \ + make_ext4fs + +DEVICE_PACKAGE_OVERLAYS := $(LOCAL_PATH)/overlay + +$(call inherit-product-if-exists, vendor/samsung/origen/device-origen.mk) +$(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk) @@ -0,0 +1,2 @@ +0 0 android +0 1 mali diff --git a/gpio-keys.kcm b/gpio-keys.kcm new file mode 100644 index 0000000..674fca8 --- /dev/null +++ b/gpio-keys.kcm @@ -0,0 +1,3 @@ + +type SPECIAL_FUNCTION + diff --git a/gpio-keys.kl b/gpio-keys.kl new file mode 100644 index 0000000..a388322 --- /dev/null +++ b/gpio-keys.kl @@ -0,0 +1,6 @@ +key 158 BACK WAKE_DROPPED +key 139 MENU WAKE_DROPPED +key 102 HOME WAKE +key 116 ENDCALL WAKE_DROPPED +#key 108 ROTATOR +key 103 POWER WAKE diff --git a/init.origen.rc b/init.origen.rc new file mode 100644 index 0000000..3a6c1c7 --- /dev/null +++ b/init.origen.rc @@ -0,0 +1,119 @@ +import init.origen.usb.rc + +on init + # mount debugfs + mount debugfs /sys/kernel/debug /sys/kernel/debug + +# power management +# Enable off mode by default + #write /sys/kernel/debug/pm_debug/enable_off_mode 1 + +# Enable Smart Reflex in debugfs + write /sys/kernel/debug/pm_debug/smartreflex/sr_core/autocomp 1 + write /sys/kernel/debug/pm_debug/smartreflex/sr_iva/autocomp 1 + write /sys/kernel/debug/pm_debug/smartreflex/sr_mpu/autocomp 1 + +on boot + setprop hw.nobattery true + setprop ro.build.product exynos4 + setprop ro.product.device exynos4 + setprop wifi.interface wlan0 + setprop dev.hdmi 0 + setprop dev.videoPlayback 0 + + # switch CPUfreq from performance to hotplug + #write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor hotplug + #write /sys/devices/system/cpu/cpufreq/hotplug/down_threshold 30 + + #Give system ownership and permission to boost clock for specified timeout + #Note boost_timeout cannot be changed from application because of dynamic sysfs creation. It will have default value of 3 sec. + chown system system /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq + chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq + + # Boost the CPU for 60 sec for boot optimization + #write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 60000000 + #write /sys/devices/system/cpu/cpu0/cpufreq/boost_cpufreq 1 + + # change permissions for alsa nodes + chmod 0777 /dev/snd/pcmC0D0c + chmod 0777 /dev/snd/pcmC0D0p + chmod 0777 /dev/snd/controlC0 + chmod 0777 /dev/snd/timer + + #change permissions for alsa nodes for audio modem + chmod 0777 /dev/snd/pcmC0D5c + chmod 0777 /dev/snd/pcmC0D5p + + #change permissions for alsa nodes for HDMI + chmod 777 /dev/snd/pcmC0D7p + + # change ownership and permissions for Overlay + chown system system /dev/video1 + chown system system /dev/video2 + chown system system /dev/video3 + chmod 0666 /dev/video1 + chmod 0666 /dev/video2 + chmod 0666 /dev/video3 + + # change permissions for Tiler driver + chown media media /dev/tiler + chmod 0660 /dev/tiler + chmod 0660 /dev/dmm + + # Revert the boost_timeout to the default value of 3 sec. Note this won't affect the prev boost + # request for boot time reduction + # write /sys/devices/system/cpu/cpufreq/hotplug/boost_timeout 3000000 + + # Enable hotplug detection for HDMI + # write /sys/devices/platform/omapdss/display2/hpd_enabled 1 + + chown system system /sys/class/graphics/fb0/overlays + chown system system /sys/class/graphics/fb0/fit_to_screen + chown system system /sys/class/graphics/fb1/overlays + + # owners and permissions for Bluetooth + chmod 0660 sys/class/rfkill/rfkill0/state + chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state + + insmod /system/modules/cfg80211.ko + +on property:dev.videoPlayback=1 + start hdmiIPC + +service hdmiIPC /system/bin/refreshSurfaceFlinger + user root + disabled + oneshot + +service faketsd /system/bin/faketsd + user bluetooth + group bluetooth + oneshot + +service wpa_supplicant /system/bin/wpa_supplicant \ + -iwlan0 -Dwext -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin + # we will start as root and wpa_supplicant will switch to user wifi + # after setting up the capabilities required for WEXT + # user wifi + # group wifi inet keystore + class main + socket wpa_wlan0 dgram 660 wifi wifi + disabled + oneshot + +service dhcpcd_wlan0 /system/bin/dhcpcd -dABKL + disabled + oneshot + +service iprenew_wlan0 /system/bin/dhcpcd -n + disabled + oneshot + +# For Samsung Origen Bluetooth Feature +service bccmd /system/bin/bccmd -t bcsp -d /dev/ttySAC0 psload -r /system/etc/firmware/bluetooth/origen.psr + disabled + oneshot + +service hciattach /system/bin/hciattach -s 921600 /dev/ttySAC0 bcsp 921600 flow + disabled + oneshot diff --git a/init.origen.sh b/init.origen.sh new file mode 100755 index 0000000..dea7fa2 --- /dev/null +++ b/init.origen.sh @@ -0,0 +1,3 @@ +#!/system/bin/sh + +setprop ro.runtime.device origenboard diff --git a/init.origen.usb.rc b/init.origen.usb.rc new file mode 100644 index 0000000..8571802 --- /dev/null +++ b/init.origen.usb.rc @@ -0,0 +1,44 @@ +on boot + write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer + write /sys/class/android_usb/android0/iProduct $ro.product.model + write /sys/class/android_usb/android0/iSerial $ro.serialno + write /sys/class/android_usb/android0/f_mass_storage/inquiry_string "Google Nexus S 0100" + write /sys/class/android_usb/android0/f_rndis/manufacturer Samsung + write /sys/class/android_usb/android0/f_rndis/vendorID 18d1 + write /sys/class/android_usb/android0/f_rndis/wceis 1 + +on property:sys.usb.config=mtp + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 18d1 + write /sys/class/android_usb/android0/idProduct 4e21 + write /sys/class/android_usb/android0/idProduct 4e26 + write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/enable 1 + setprop sys.usb.state $sys.usb.config + +on property:sys.usb.config=mtp,adb + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 18d1 + write /sys/class/android_usb/android0/idProduct 4e26 + write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/enable 1 + start adbd + +on property:sys.usb.config=rndis + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 18d1 + write /sys/class/android_usb/android0/idProduct 4e23 + write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/bDeviceClass 224 + write /sys/class/android_usb/android0/enable 1 + setprop sys.usb.state $sys.usb.config + +on property:sys.usb.config=rndis,adb + write /sys/class/android_usb/android0/enable 0 + write /sys/class/android_usb/android0/idVendor 18d1 + write /sys/class/android_usb/android0/idProduct 4e24 + write /sys/class/android_usb/android0/functions $sys.usb.config + write /sys/class/android_usb/android0/bDeviceClass 224 + write /sys/class/android_usb/android0/enable 1 + start adbd + setprop sys.usb.state $sys.usb.config diff --git a/initlogo.rle b/initlogo.rle Binary files differnew file mode 100644 index 0000000..9bf8bef --- /dev/null +++ b/initlogo.rle diff --git a/origen_quad.mk b/origen_quad.mk new file mode 100644 index 0000000..1dbac05 --- /dev/null +++ b/origen_quad.mk @@ -0,0 +1,10 @@ +# The Samsung Origen low cost board +$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) +$(call inherit-product, device/linaro/common/common.mk) +$(call inherit-product, device/linaro/origen_quad/device.mk) + +PRODUCT_BRAND := origen_quad +PRODUCT_DEVICE := origen_quad +PRODUCT_NAME := origen_quad +PRODUCT_MODEL := origen_quad +PRODUCT_MANUFACTURER := Samsung diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..18bc1a3 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,869 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. Do not translate. --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Do not translate. Defines the slots for the right-hand side icons. That is to say, the + icons in the status bar that are not notifications. --> + <string-array name="config_statusBarIcons"> + <item><xliff:g id="id">ime</xliff:g></item> + <item><xliff:g id="id">sync_failing</xliff:g></item> + <item><xliff:g id="id">sync_active</xliff:g></item> + <item><xliff:g id="id">gps</xliff:g></item> + <item><xliff:g id="id">bluetooth</xliff:g></item> + <item><xliff:g id="id">nfc</xliff:g></item> + <item><xliff:g id="id">tty</xliff:g></item> + <item><xliff:g id="id">speakerphone</xliff:g></item> + <item><xliff:g id="id">mute</xliff:g></item> + <item><xliff:g id="id">volume</xliff:g></item> + <item><xliff:g id="id">wifi</xliff:g></item> + <item><xliff:g id="id">cdma_eri</xliff:g></item> + <item><xliff:g id="id">data_connection</xliff:g></item> + <item><xliff:g id="id">phone_evdo_signal</xliff:g></item> + <item><xliff:g id="id">phone_signal</xliff:g></item> + <item><xliff:g id="id">battery</xliff:g></item> + <item><xliff:g id="id">alarm_clock</xliff:g></item> + <item><xliff:g id="id">secure</xliff:g></item> + <item><xliff:g id="id">clock</xliff:g></item> + </string-array> + + <!-- Flag indicating whether the surface flinger has limited + alpha compositing functionality in hardware. If set, the window + manager will disable alpha trasformation in animations where not + strictly needed. --> + <bool name="config_sf_limitedAlpha">false</bool> + + <!-- Default value used to block data calls if ims is not + connected. If you use the ims apn DCT will block + any other apn from connecting until ims apn is connected--> + <bool name="ImsConnectedDefaultValue">false</bool> + + <!-- Flag indicating whether the surface flinger is inefficient + at performing a blur. Used by parts of the UI to turn off + the blur effect where it isn't worth the performance hit. + As of Honeycomb, blurring is not supported anymore. --> + <bool name="config_sf_slowBlur">true</bool> + + <!-- Flag indicating that the media framework should allow changing + master volume stream and nothing else . --> + <bool name="config_useMasterVolume">false</bool> + + <!-- Array of integer pairs controlling the rate at which the master volume changes + in response to volume up and down key events. + The first integer of each pair is compared against the current master volume + (in range 0 to 100). + The last pair with first integer <= the current volume is chosen, + and the second integer of the pair indicates the amount to increase the master volume + when volume up is pressed. --> + <integer-array name="config_masterVolumeRamp"> + <item>0</item> <item>5</item> <!-- default: always increase volume by 5% --> + </integer-array> + + <!-- The attenuation in dB applied to the sound effects played + through AudioManager.playSoundEffect() when no volume is specified. --> + <integer name="config_soundEffectVolumeDb">-6</integer> + + <!-- The attenuation in dB applied to the lock/unlock sounds. --> + <integer name="config_lockSoundVolumeDb">-6</integer> + + <!-- Flag indicating whether the AUDIO_BECOMING_NOISY notification should + be sent during a change to the audio output device. --> + <bool name="config_sendAudioBecomingNoisy">true</bool> + + <!-- The duration (in milliseconds) of a short animation. --> + <integer name="config_shortAnimTime">200</integer> + + <!-- The duration (in milliseconds) of a medium-length animation. --> + <integer name="config_mediumAnimTime">400</integer> + + <!-- The duration (in milliseconds) of a long animation. --> + <integer name="config_longAnimTime">500</integer> + + <!-- The duration (in milliseconds) of the activity open/close and fragment open/close animations. --> + <integer name="config_activityShortDur">150</integer> + <integer name="config_activityDefaultDur">220</integer> + + <!-- Duration for the dim animation behind a dialog. This may be either + a percentage, which is relative to the duration of the enter/open + animation of the window being shown that is dimming behind, or it may + be an integer for a constant duration. --> + <fraction name="config_dimBehindFadeDuration">100%</fraction> + + <!-- The maximum width we would prefer dialogs to be. 0 if there is no + maximum (let them grow as large as the screen). Actual values are + specified for -large and -xlarge configurations. --> + <dimen name="config_prefDialogWidth">320dp</dimen> + + <!-- Enables or disables fading edges when marquee is enabled in TextView. --> + <bool name="config_ui_enableFadingMarquee">true</bool> + + <!-- Whether dialogs should close automatically when the user touches outside + of them. This should not normally be modified. --> + <bool name="config_closeDialogWhenTouchOutside">true</bool> + + <!-- The duration (in milliseconds) that the radio will scan for a signal + when there's no network connection. If the scan doesn't timeout, use zero --> + <integer name="config_radioScanningTimeout">0</integer> + + <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. + Please don't copy them, copy anything else. --> + + <!-- This string array should be overridden by the device to present a list of network + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx], + [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] --> + <!-- the 5th element "resore-time" indicates the number of milliseconds to delay + before automatically restore the default connection. Set -1 if the connection + does not require auto-restore. --> + <!-- the 6th element indicates boot-time dependency-met value. --> + <string-array translatable="false" name="networkAttributes"> + <item>"wifi,1,1,1,-1,true"</item> + <item>"mobile,0,0,0,-1,true"</item> + <item>"mobile_mms,2,0,2,60000,true"</item> + <item>"mobile_supl,3,0,2,60000,true"</item> + <item>"mobile_hipri,5,0,3,60000,true"</item> + <item>"mobile_fota,10,0,2,60000,true"</item> + <item>"mobile_ims,11,0,2,60000,true"</item> + <item>"mobile_cbs,12,0,2,60000,true"</item> + <item>"wifi_p2p,13,1,0,-1,true"</item> + </string-array> + + <!-- Array of ConnectivityManager.TYPE_xxxx constants for networks that may only + be controlled by systemOrSignature apps. --> + <integer-array translatable="false" name="config_protectedNetworks"> + <item>10</item> + <item>11</item> + <item>12</item> + </integer-array> + + <!-- This string array should be overridden by the device to present a list of radio + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- An Array of "[ConnectivityManager connectionType], + [# simultaneous connection types]" --> + <string-array translatable="false" name="radioAttributes"> + <item>"1,1"</item> + <item>"0,1"</item> + </string-array> + + <!-- Set of NetworkInfo.getType() that reflect data usage. --> + <integer-array translatable="false" name="config_data_usage_network_types"> + <item>0</item> <!-- TYPE_MOBILE --> + <item>2</item> <!-- TYPE_MOBILE_MMS --> + <item>3</item> <!-- TYPE_MOBILE_SUPL --> + <item>4</item> <!-- TYPE_MOBILE_DUN --> + <item>5</item> <!-- TYPE_MOBILE_HIPRI --> + <item>10</item> <!-- TYPE_MOBILE_FOTA --> + <item>11</item> <!-- TYPE_MOBILE_IMS --> + <item>12</item> <!-- TYPE_MOBILE_CBS --> + </integer-array> + + <!-- The maximum duration (in milliseconds) we expect a network transition to take --> + <integer name="config_networkTransitionTimeout">60000</integer> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + USB interfaces. If the device doesn't want to support tething over USB this should + be empty. An example would be "usb.*" --> + <string-array translatable="false" name="config_tether_usb_regexs"> + <item>"rndis0"</item> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + Wifi interfaces. If the device doesn't want to support tethering over Wifi this + should be empty. An example would be "softap.*" --> + <string-array translatable="false" name="config_tether_wifi_regexs"> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + WiMAX interfaces. If the device doesn't want to support tethering over Wifi this + should be empty. An example would be "softap.*" --> + <string-array translatable="false" name="config_tether_wimax_regexs"> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this + should be empty. --> + <string-array translatable="false" name="config_tether_bluetooth_regexs"> + </string-array> + + <!-- Max number of Bluetooth tethering connections allowed. If this is + updated config_tether_dhcp_range has to be updated appropriately. --> + <integer translateable="false" name="config_max_pan_devices">5</integer> + + <!-- Dhcp range (min, max) to use for tethering purposes --> + <string-array translatable="false" name="config_tether_dhcp_range"> + </string-array> + + <!-- Regex of wired ethernet ifaces --> + <string translatable="false" name="config_ethernet_iface_regex">eth\\d</string> + + <!-- If the mobile hotspot feature requires provisioning, a package name and class name + can be provided to launch a supported application that provisions the devices. + + Example Usage: + + String[] appDetails = getStringArray(R.array.config_mobile_hotspot_provision_app); + Intent intent = new Intent(Intent.ACTION_MAIN); + intent.setClassName(appDetails[0], appDetails[1]); + startActivityForResult(intent, 0); + + public void onActivityResult(int requestCode, int resultCode, Intent intent) { + super.onActivityResult(requestCode, resultCode, intent); + if (requestCode == 0) { + if (resultCode == Activity.RESULT_OK) { + //Mobile hotspot provisioning successful + } else { + //Mobile hotspot provisioning failed + } + } + + See src/com/android/settings/TetherSettings.java for more details. + --> + <!-- The first element is the package name and the second element is the class name + of the provisioning app --> + <string-array translatable="false" name="config_mobile_hotspot_provision_app"> + <!-- + <item>com.example.provisioning</item> + <item>com.example.provisioning.Activity</item> + --> + </string-array> + + <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering --> + <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or + <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH --> + <integer-array translatable="false" name="config_tether_upstream_types"> + <item>1</item> + <item>4</item> + </integer-array> + + <!-- If the DUN connection for this CDMA device supports more than just DUN --> + <!-- traffic you should list them here. --> + <!-- If this device is not CDMA this is ignored. If this list is empty on --> + <!-- a DUN-requiring CDMA device, the DUN APN will just support just DUN. --> + <string-array translatable="false" name="config_cdma_dun_supported_types"> + </string-array> + + <!-- String containing the apn value for tethering. May be overriden by secure settings + TETHER_DUN_APN. Value is a comma separated series of strings: + "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type" + note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN" --> + <string translatable="false" name="config_tether_apndata"></string> + + <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> + <bool translatable="false" name="config_wifi_dual_band_support">false</bool> + + <!-- Boolean indicating whether the wifi chipset has p2p support --> + <bool translatable="false" name="config_wifi_p2p_support">false</bool> + <!-- Device type information conforming to Annex B format in WiFi Direct specification. + The default represents a dual-mode smartphone --> + <string translatable="false" name="config_wifi_p2p_device_type">10-0050F204-5</string> + + <!-- Boolean indicating whether the wifi chipset supports background scanning mechanism. + This mechanism allows the host to remain in suspend state and the dongle to actively + scan and wake the host when a configured SSID is detected by the dongle. This chipset + capability can provide power savings when wifi needs to be always kept on. --> + <bool translatable="false" name="config_wifi_background_scan_support">false</bool> + + <!-- Integer indicating wpa_supplicant scan interval in milliseconds --> + <integer translatable="false" name="config_wifi_supplicant_scan_interval">15000</integer> + + <!-- Integer indicating the framework scan interval in milliseconds. This is used in the scenario + where the chipset does not support background scanning (config_wifi_background_scan_suport + is false) to set up a periodic wake up scan so that the device can connect to a new access + point on the move. A value of 0 means no periodic scans will be used in the framework. --> + <integer translatable="false" name="config_wifi_framework_scan_interval">300000</integer> + + <!-- Wifi driver stop delay, in milliseconds. + Default value is 2 minutes. --> + <integer translatable="false" name="config_wifi_driver_stop_delay">120000</integer> + + <!-- Flag indicating whether the we should enable the automatic brightness in Settings. + Software implementation will be used if config_hardware_auto_brightness_available is not set --> + <bool name="config_automatic_brightness_available">false</bool> + + <!-- Don't name config resources like this. It should look like config_annoyDianne --> + <bool name="config_annoy_dianne">true</bool> + + <!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION --> + + <!-- If this is true, the screen will come on when you unplug usb/power/whatever. --> + <bool name="config_unplugTurnsOnScreen">false</bool> + + <!-- If this is true, the screen will fade off. --> + <bool name="config_animateScreenLights">true</bool> + + <!-- If this is true, key chords can be used to take a screenshot on the device. --> + <bool name="config_enableScreenshotChord">true</bool> + + <!-- If true, the screen can be rotated via the accelerometer in all 4 + rotations as the default behavior. --> + <bool name="config_allowAllRotations">false</bool> + + <!-- If true, the direction rotation is applied to get to an application's requested + orientation is reversed. Normally, the model is that landscape is + clockwise from portrait; thus on a portrait device an app requesting + landscape will cause a clockwise rotation, and on a landscape device an + app requesting portrait will cause a counter-clockwise rotation. Setting + true here reverses that logic. --> + <bool name="config_reverseDefaultRotation">false</bool> + + <!-- The number of degrees to rotate the display when the keyboard is open. + A value of -1 means no change in orientation by default. --> + <integer name="config_lidOpenRotation">-1</integer> + + <!-- The number of degrees to rotate the display when the device is in a desk dock. + A value of -1 means no change in orientation by default. --> + <integer name="config_deskDockRotation">-1</integer> + + <!-- The number of degrees to rotate the display when the device is in a car dock. + A value of -1 means no change in orientation by default. --> + <integer name="config_carDockRotation">-1</integer> + + <!-- Control the default UI mode type to use when there is no other type override + happening. One of the following values (See Configuration.java): + 1 UI_MODE_TYPE_NORMAL + 4 UI_MODE_TYPE_TELEVISION + 5 UI_MODE_TYPE_APPLIANCE + Any other values will have surprising consequences. --> + <integer name="config_defaultUiModeType">1</integer> + + <!-- Control whether being in the desk dock (and powered) always + keeps the screen on. By default it stays on when plugged in to + AC. 0 will not keep it on; or together 1 to stay on when plugged + in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> + <integer name="config_deskDockKeepsScreenOn">1</integer> + + <!-- Control whether being in the car dock (and powered) always + keeps the screen on. By default it stays on when plugged in to + AC. 0 will not keep it on; or together 1 to stay on when plugged + in to AC and 2 to stay on when plugged in to USB. (So 3 for both.) --> + <integer name="config_carDockKeepsScreenOn">1</integer> + + <!-- Control whether being in the desk dock should enable accelerometer + based screen orientation. This defaults to true because it is + common for desk docks to be sold in a variety of form factors + with different orientations. Since we cannot always tell these docks + apart and the docks cannot report their true orientation on their own, + we rely on gravity to determine the effective orientation. --> + <bool name="config_deskDockEnablesAccelerometer">true</bool> + + <!-- Control whether being in the car dock should enable accelerometer based + screen orientation. This defaults to true because putting a device in + a car dock make the accelerometer more a physical input (like a lid). --> + <bool name="config_carDockEnablesAccelerometer">true</bool> + + <!-- Indicate whether the lid state impacts the accessibility of + the physical keyboard. 0 means it doesn't, 1 means it is accessible + when the lid is open, 2 means it is accessible when the lid is + closed. The default is 0. --> + <integer name="config_lidKeyboardAccessibility">0</integer> + + <!-- Indicate whether the lid state impacts the accessibility of + the navigation buttons. 0 means it doesn't, 1 means it is accessible + when the lid is open, 2 means it is accessible when the lid is + closed. The default is 0. --> + <integer name="config_lidNavigationAccessibility">0</integer> + + <!-- Indicate whether closing the lid causes the device to go to sleep and opening + it causes the device to wake up. + The default is false. --> + <bool name="config_lidControlsSleep">false</bool> + + <!-- Control the behavior when the user long presses the power button. + 0 - Nothing + 1 - Global actions menu + 2 - Power off (with confirmation) + --> + <integer name="config_longPressOnPowerBehavior">1</integer> + + <!-- Indicate whether the SD card is accessible without removing the battery. --> + <bool name="config_batterySdCardAccessibility">false</bool> + + <!-- List of file paths for USB host busses to exclude from USB host support. + For example, if the first USB bus on the device is used to communicate + with the modem or some other restricted hardware, add "/dev/bus/usb/001/" + to this list. If this is empty, no parts of the host USB bus will be excluded. + --> + <string-array name="config_usbHostBlacklist" translatable="false"> + </string-array> + + <!-- List of paths to serial ports that are available to the serial manager. + for example, /dev/ttyUSB0 + --> + <string-array translatable="false" name="config_serialPorts"> + </string-array> + + <!-- Vibrator pattern for feedback about a long screen/key press --> + <integer-array name="config_longPressVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + </integer-array> + + <!-- Vibrator pattern for feedback about touching a virtual key --> + <integer-array name="config_virtualKeyVibePattern"> + <item>0</item> + <item>10</item> + <item>20</item> + <item>30</item> + </integer-array> + + <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> + <integer-array name="config_keyboardTapVibePattern"> + <item>40</item> + </integer-array> + + <!-- Vibrator pattern for feedback about booting with safe mode disabled --> + <integer-array name="config_safeModeDisabledVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + </integer-array> + + <!-- Vibrator pattern for feedback about booting with safe mode disabled --> + <integer-array name="config_safeModeEnabledVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + <item>500</item> + <item>600</item> + </integer-array> + + <!-- Vibrator pattern for feedback about hitting a scroll barrier --> + <integer-array name="config_scrollBarrierVibePattern"> + <item>0</item> + <item>15</item> + <item>10</item> + <item>10</item> + </integer-array> + + <bool name="config_use_strict_phone_number_comparation">false</bool> + + <!-- Display low battery warning when battery level dips to this value. + Also, the battery stats are flushed to disk when we hit this level. --> + <integer name="config_criticalBatteryWarningLevel">4</integer> + + <!-- Display low battery warning when battery level dips to this value --> + <!-- Display low battery warning when battery level dips to this value --> + <integer name="config_lowBatteryWarningLevel">15</integer> + + <!-- Close low battery warning when battery level reaches this value --> + <integer name="config_lowBatteryCloseWarningLevel">20</integer> + + <!-- Default color for notification LED. --> + <color name="config_defaultNotificationColor">#ff00ff00</color> + + <!-- Default LED on time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOn">500</integer> + + <!-- Default LED off time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOff">2000</integer> + + <!-- Default value for led color when battery is low on charge --> + <integer name="config_notificationsBatteryLowARGB">0xFFFF0000</integer> + + <!-- Default value for led color when battery is medium charged --> + <integer name="config_notificationsBatteryMediumARGB">0xFFFFFF00</integer> + + <!-- Default value for led color when battery is fully charged --> + <integer name="config_notificationsBatteryFullARGB">0xFF00FF00</integer> + + <!-- Default value for LED on time when the battery is low on charge in miliseconds --> + <integer name="config_notificationsBatteryLedOn">125</integer> + + <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveNotificationLed">false</bool> + + <!-- Default value for LED off time when the battery is low on charge in miliseconds --> + <integer name="config_notificationsBatteryLedOff">2875</integer> + + <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> + <bool name="config_disableMenuKeyInLockScreen">false</bool> + + <!-- Don't show lock screen before unlock screen (PIN/pattern/password) --> + <bool name="config_enableLockBeforeUnlockScreen">false</bool> + + <!-- Diable lockscreen rotation by default --> + <bool name="config_enableLockScreenRotation">false</bool> + + <!-- Enable puk unlockscreen by default. + If unlock screen is disabled, the puk should be unlocked through Emergency Dialer --> + <bool name="config_enable_puk_unlock_screen">true</bool> + + <!-- Enable emergency call when sim is locked or puk locked. Some countries/carriers do not + allow emergency calls to be placed without the IMSI, which is locked in the SIM. + If so, this should be set to 'false' in an overlay. --> + <bool name="config_enable_emergency_call_while_sim_locked">true</bool> + + <!-- Control the behavior when the user long presses the home button. + 0 - Nothing + 1 - Recent apps dialog + 2 - Recent apps view in SystemUI + This needs to match the constants in + policy/src/com/android/internal/policy/impl/PhoneWindowManager.java + --> + <integer name="config_longPressOnHomeBehavior">2</integer> + + <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. + The N entries of this array define N + 1 zones as follows: + + Zone 0: 0 <= LUX < array[0] + Zone 1: array[0] <= LUX < array[1] + ... + Zone N: array[N - 1] <= LUX < array[N] + Zone N + 1: array[N] <= LUX < infinity + + Must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessLevels"> + </integer-array> + + + <!-- Minimum screen brightness allowed by the power manager. --> + <integer name="config_screenBrightnessDim">20</integer> + + <!-- Array of output values for LCD backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + This must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessLcdBacklightValues"> + </integer-array> + + <!-- Array of output values for button backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + This must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessButtonBacklightValues"> + </integer-array> + + <!-- Array of output values for keyboard backlight corresponding to the LUX values + in the config_autoBrightnessLevels array. This array should have size one greater + than the size of the config_autoBrightnessLevels array. + This must be overridden in platform specific overlays --> + <integer-array name="config_autoBrightnessKeyboardBacklightValues"> + </integer-array> + + <!-- Amount of time it takes for the light sensor to warm up in milliseconds. + For this time after the screen turns on, the Power Manager + will not debounce light sensor readings --> + <integer name="config_lightSensorWarmupTime">0</integer> + + <!-- Enables swipe versus poly-finger touch disambiguation in the KeyboardView --> + <bool name="config_swipeDisambiguation">true</bool> + + <!-- Specifies the amount of time to disable virtual keys after the screen is touched + in order to filter out accidental virtual key presses due to swiping gestures + or taps near the edge of the display. May be 0 to disable the feature. + It is recommended that this value be no more than 250 ms. + This feature should be disabled for most devices. --> + <integer name="config_virtualKeyQuietTimeMillis">0</integer> + + <!-- Component name of the default wallpaper. This will be ImageWallpaper if not + specified --> + <string name="default_wallpaper_component" translatable="false">@null</string> + + <!-- True if WallpaperService is enabled --> + <bool name="config_enableWallpaperService">true</bool> + + <!-- Package name providing network location support. --> + <string name="config_networkLocationProviderPackageName" translatable="false">@null</string> + + <!-- Package name providing geocoder API support. --> + <string name="config_geocodeProviderPackageName" translatable="false">@null</string> + + <!-- Boolean indicating if current platform supports bluetooth SCO for off call + use cases --> + <bool name="config_bluetooth_sco_off_call">true</bool> + + <!-- Boolean indicating if current platform supports bluetooth wide band + speech --> + <bool name="config_bluetooth_wide_band_speech">true</bool> + + <!-- Boolean indicating if current platform supports quick switch-on/off of + Bluetooth Module --> + <bool name="config_bluetooth_adapter_quick_switch">true</bool> + + <!-- The default data-use polling period. --> + <integer name="config_datause_polling_period_sec">600</integer> + + <!-- The default data-use threshold in bytes. 0 disables--> + <integer name="config_datause_threshold_bytes">0</integer> + + <!-- The default reduced-datarate value in kilobits per sec --> + <integer name="config_datause_throttle_kbitsps">300</integer> + + <!-- The default iface on which to monitor data use --> + <string name="config_datause_iface" translatable="false">rmnet0</string> + + <!-- The default reduced-datarate notification mask --> + <!-- 2 means give warning --> + <integer name="config_datause_notification_type">2</integer> + + <!-- Flag indicating whether the current device is "voice capable". + If true, this means that the device supports circuit-switched + (i.e. voice) phone calls over the telephony network, and is + allowed to display the in-call UI while a cellular voice call is + active. This can be overridden to false for "data only" devices + which can't make voice calls and don't support any in-call UI. + + Note: this flag is subtly different from the + PackageManager.FEATURE_TELEPHONY system feature, which is + available on *any* device with a telephony radio, even if the + device is data-only. --> + <bool name="config_voice_capable">true</bool> + + <!-- Flag indicating whether the current device allows sms service. + If true, this means that the device supports both sending and + receiving sms via the telephony network. + This can be overridden to false for "data only" devices + which can't send and receive sms message. + + Note: Disable SMS also disable voicemail waiting sms, + cell broadcasting sms, and MMS. --> + <bool name="config_sms_capable">true</bool> + + <!-- Enable/disable default bluetooth profiles: + HSP_AG, ObexObjectPush, Audio, NAP --> + <bool name="config_bluetooth_default_profiles">true</bool> + + <!-- IP address of the dns server to use if nobody else suggests one --> + <string name="config_default_dns_server" translatable="false">8.8.8.8</string> + + <!-- The default character set for GsmAlphabet --> + <!-- Empty string means MBCS is not considered --> + <string name="gsm_alphabet_default_charset" translatable="false"></string> + + <!-- Enables SIP on WIFI only --> + <bool name="config_sip_wifi_only">false</bool> + + <!-- Enables built-in SIP phone capability --> + <bool name="config_built_in_sip_phone">true</bool> + + <!-- Boolean indicating if restoring network selection should be skipped --> + <!-- The restoring is handled by modem if it is true--> + <bool translatable="false" name="skip_restoring_network_selection">false</bool> + + <!-- Maximum number of database connections opened and managed by framework layer + to handle queries on each database when using Write-Ahead Logging. --> + <integer name="db_connection_pool_size">4</integer> + + <!-- The default journal mode to use use when Write-Ahead Logging is not active. + Choices are: OFF, DELETE, TRUNCATE, PERSIST and MEMORY. + PERSIST may improve performance by reducing how often journal blocks are + reallocated (compared to truncation) resulting in better data block locality + and less churn of the storage media. --> + <string name="db_default_journal_mode">PERSIST</string> + + <!-- Maximum size of the persistent journal file in bytes. + If the journal file grows to be larger than this amount then SQLite will + truncate it after committing the transaction. --> + <integer name="db_journal_size_limit">524288</integer> + + <!-- The database synchronization mode when using the default journal mode. + FULL is safest and preserves durability at the cost of extra fsyncs. + NORMAL also preserves durability in non-WAL modes and uses checksums to ensure + integrity although there is a small chance that an error might go unnoticed. + Choices are: FULL, NORMAL, OFF. --> + <string name="db_default_sync_mode">FULL</string> + + <!-- The database synchronization mode when using Write-Ahead Logging. + FULL is safest and preserves durability at the cost of extra fsyncs. + NORMAL sacrifices durability in WAL mode because syncs are only performed before + and after checkpoint operations. If checkpoints are infrequent and power loss + occurs, then committed transactions could be lost and applications might break. + Choices are: FULL, NORMAL, OFF. --> + <string name="db_wal_sync_mode">FULL</string> + + <!-- The Write-Ahead Log auto-checkpoint interval in database pages (typically 1 to 4KB). + The log is checkpointed automatically whenever it exceeds this many pages. + When a database is reopened, its journal mode is set back to the default + journal mode, which may cause a checkpoint operation to occur. Checkpoints + can also happen at other times when transactions are committed. + The bigger the WAL file, the longer a checkpoint operation takes, so we try + to keep the WAL file relatively small to avoid long delays. + The size of the WAL file is also constrained by 'db_journal_size_limit'. --> + <integer name="db_wal_autocheckpoint">100</integer> + + <!-- Max space (in MB) allocated to DownloadManager to store the downloaded + files if they are to be stored in DownloadManager's data dir, + which typically is /data/data/com.android.providers.downloads/files --> + <integer name="config_downloadDataDirSize">100</integer> + + <!-- Max number of downloads allowed to proceed concurrently --> + <integer name="config_MaxConcurrentDownloadsAllowed">5</integer> + + <!-- When the free space available in DownloadManager's data dir falls + below the percentage value specified by this param, DownloadManager + starts removing files to try to make percentage of available + free space above this threshold value. --> + <integer name="config_downloadDataDirLowSpaceThreshold">10</integer> + + <!-- The URL that should be sent in an x-wap-profile header with an HTTP request, + as defined in the Open Mobile Alliance User Agent Profile specification + OMA-TS-UAProf-V2_0-20060206-A Section 8.1.1.1. If the URL contains a '%s' + format string then that substring will be replaced with the value of + Build.MODEL. The format string shall not be escaped. --> + <string name="config_useragentprofile_url" translatable="false"></string> + + <!-- When a database query is executed, the results retuned are paginated + in pages of size (in KB) indicated by this value --> + <integer name="config_cursorWindowSize">2048</integer> + + <!-- Sets whether menu shortcuts should be displayed on panel menus when + a keyboard is present. --> + <bool name="config_showMenuShortcutsWhenKeyboardPresent">false</bool> + + <!-- Do not translate. Defines the slots is Two Digit Number for dialing normally not USSD --> + <string-array name="config_twoDigitNumberPattern" translatable="false"> + </string-array> + + <!-- The VoiceMail default value is displayed to my own number if it is true --> + <bool name="config_telephony_use_own_number_for_voicemail">false</bool> + + <!-- If this value is true, Sms encoded as octet is decoded by utf8 decoder. + If false, decoded by Latin decoder. --> + <bool name="config_sms_utf8_support">false</bool> + + <!-- If this value is true, The mms content-disposition field is supported correctly. + If false, Content-disposition fragments are ignored --> + <bool name="config_mms_content_disposition_support">true</bool> + + <!-- National Language Identifier codes for the following two config items. + (from 3GPP TS 23.038 V9.1.1 Table 6.2.1.2.4.1): + 0 - reserved + 1 - Turkish + 2 - Spanish (single shift table only) + 3 - Portuguese + 4 - Bengali + 5 - Gujarati + 6 - Hindi + 7 - Kannada + 8 - Malayalam + 9 - Oriya + 10 - Punjabi + 11 - Tamil + 12 - Telugu + 13 - Urdu + 14+ - reserved --> + + <!-- National language single shift tables to enable for SMS encoding. + Decoding is always enabled. 3GPP TS 23.038 states that this feature + should not be enabled until a formal request is issued by the relevant + national regulatory body. Array elements are codes from the table above. + Example 1: devices sold in Turkey must include table 1 to conform with + By-Law Number 27230. (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf) + Example 2: devices sold in India should include tables 4 through 13 + to enable use of the new Release 9 tables for Indic languages. --> + <integer-array name="config_sms_enabled_single_shift_tables"></integer-array> + + <!-- National language locking shift tables to enable for SMS encoding. + Decoding is always enabled. 3GPP TS 23.038 states that this feature + should not be enabled until a formal request is issued by the relevant + national regulatory body. Array elements are codes from the table above. + Example 1: devices sold in Turkey must include table 1 after the + Turkish Telecommunication Authority requires locking shift encoding + to be enabled (est. July 2012). (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf) + See also: http://www.mobitech.com.tr/tr/ersanozturkblog_en/index.php?entry=entry090223-160014 + Example 2: devices sold in India should include tables 4 through 13 + to enable use of the new Release 9 tables for Indic languages. --> + <integer-array name="config_sms_enabled_locking_shift_tables"></integer-array> + + <!-- Set to true if the RSSI should always display CDMA signal strength even on EVDO --> + <bool name="config_alwaysUseCdmaRssi">false</bool> + + + <!-- If this value is true, duplicate Source/Destination port fields + in WDP header of some carriers OMADM wap push are supported. + ex: MSGTYPE-TotalSegments-CurrentSegment + -SourcePortDestPort-SourcePortDestPort-OMADM PDU + If false, not supported. --> + <bool name="config_duplicate_port_omadm_wappush">false</bool> + + <!-- Maximum numerical value that will be shown in a status bar + notification icon or in the notification itself. Will be replaced + with @string/status_bar_notification_info_overflow when shown in the + UI. --> + <integer name="status_bar_notification_info_maxnum">999</integer> + + <!-- Path to an ISO image to be shared with via USB mass storage. + This is intended to allow packaging drivers or tools for installation on a PC. --> + <string translatable="false" name="config_isoImagePath"></string> + + <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be + autodetected from the Configuration. --> + <bool name="config_showNavigationBar">false</bool> + + <!-- Whether action menu items should be displayed in ALLCAPS or not. + Defaults to true. If this is not appropriate for specific locales + it should be disabled in that locale's resources. --> + <bool name="config_actionMenuItemAllCaps">true</bool> + + <!-- Whether action menu items should obey the "withText" showAsAction + flag. This may be set to false for situations where space is + extremely limited. --> + <bool name="config_allowActionMenuItemTextWithIcon">false</bool> + + <!-- Remote server that can provide NTP responses. --> + <string translatable="false" name="config_ntpServer">2.android.pool.ntp.org</string> + <!-- Timeout to wait for NTP server response. --> + <integer name="config_ntpTimeout">20000</integer> + + <!-- Default network policy warning threshold, in megabytes. --> + <integer name="config_networkPolicyDefaultWarning">2048</integer> + + <!-- Set and Unsets WiMAX --> + <bool name="config_wimaxEnabled">false</bool> + <!-- Location of the wimax framwork jar location --> + <string name="config_wimaxServiceJarLocation" translatable="false"></string> + <!-- Location of the wimax native library locaiton --> + <string name="config_wimaxNativeLibLocation" translatable="false"></string> + <!-- Name of the wimax manager class --> + <string name="config_wimaxManagerClassname" translatable="false"></string> + <!-- Name of the wimax service class --> + <string name="config_wimaxServiceClassname" translatable="false"></string> + <!-- Name of the wimax state tracker clas --> + <string name="config_wimaxStateTrackerClassname" translatable="false"></string> + + <!-- enable screen saver feature --> + <bool name="config_enableDreams">false</bool> + <!-- Name of screensaver components to look for if none has been chosen by the user --> + <string name="config_defaultDreamComponent" translatable="false">com.google.android.deskclock/com.android.deskclock.Screensaver</string> + + <!-- Base "touch slop" value used by ViewConfiguration as a + movement threshold where scrolling should begin. --> + <dimen name="config_viewConfigurationTouchSlop">8dp</dimen> + + <!-- Maximum number of grid columns permitted in the ResolverActivity + used for picking activities to handle an intent. --> + <integer name="config_maxResolverActivityColumns">2</integer> + + <!-- Array of OEM specific USB mode override config. + OEM can override a certain USB mode depending on ro.bootmode. + Specify an array of below items to set override rule. + [bootmode]:[original USB mode]:[USB mode used]--> + <integer-array translatable="false" name="config_oemUsbModeOverride"> + </integer-array> + + <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> + <bool name="config_cellBroadcastAppLinks">false</bool> +</resources> diff --git a/system.prop b/system.prop new file mode 100644 index 0000000..91c3bcf --- /dev/null +++ b/system.prop @@ -0,0 +1,6 @@ +# +# system.prop +# + +rild.libpath=/system/lib/libreference-ril.so +rild.libargs=-d /dev/ttyUSB2 diff --git a/u-boot.bin b/u-boot.bin Binary files differnew file mode 100644 index 0000000..d9fc867 --- /dev/null +++ b/u-boot.bin diff --git a/ueventd.origen.rc b/ueventd.origen.rc new file mode 100644 index 0000000..160b0d3 --- /dev/null +++ b/ueventd.origen.rc @@ -0,0 +1,10 @@ + + /dev/mali 0666 system system + /dev/ump 0666 system graphics + /dev/video* 0666 root root + /dev/i2c-6 0666 system system + /dev/CEC 0666 system system + /dev/HPD 0666 system system + /dev/s5p-rp 0666 system audio + /dev/s5p-rp_ctrl 0666 system audio + /dev/graphics/* 0666 root graphics diff --git a/unidisplay_ts.idc b/unidisplay_ts.idc new file mode 100644 index 0000000..ebd5663 --- /dev/null +++ b/unidisplay_ts.idc @@ -0,0 +1,39 @@ +# Copyright (C) 2011 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# Input Device Calibration File for the Origen touch screen. +# + +# Basic Parameters +touch.deviceType = touchScreen +touch.orientationAware = 1 + +# Size +touch.size.calibration = diameter +touch.size.scale = 10 +touch.size.bias = 0 +touch.size.isSummed = 0 + +# Pressure +# Driver reports signal strength as pressure. +# +# A normal thumb touch typically registers about 200 signal strength +# units although we don't expect these values to be accurate. +touch.pressure.calibration = amplitude +touch.pressure.scale = 0.005 + +# Orientation +touch.orientation.calibration = none + diff --git a/vendorsetup.sh b/vendorsetup.sh new file mode 100644 index 0000000..2313761 --- /dev/null +++ b/vendorsetup.sh @@ -0,0 +1 @@ +add_lunch_combo origen-eng diff --git a/vold.fstab b/vold.fstab new file mode 100644 index 0000000..2c388f4 --- /dev/null +++ b/vold.fstab @@ -0,0 +1,15 @@ +## Vold 2.0 Generic fstab +## - San Mehat (san@android.com) +## + +####################### +## Regular device mount +## +## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...> +## label - Label for the volume +## mount_point - Where the volume will be mounted +## part - Partition # (1 based), or 'auto' for first usable partition. +## <sysfs_path> - List of sysfs paths to source devices +###################### + +dev_mount sdcard /mnt/sdcard 7 /devices/platform/exynos4-sdhci.2/mmc_host/mmc0 |