First Step to Tattoo CyanogenMod
This commit is contained in:
parent
de212a64fd
commit
c0edc76c29
@ -46,6 +46,10 @@ BOARD_KERNEL_BASE := 0x02E00000
|
||||
|
||||
BOARD_HAVE_BLUETOOTH := true
|
||||
|
||||
# For the FM Radio
|
||||
BOARD_HAVE_FM_RADIO := false
|
||||
BOARD_WITH_A2DP := true
|
||||
|
||||
BOARD_HAS_LIMITED_EGL:=true
|
||||
|
||||
BOARD_VENDOR_USE_AKMD := akm8973
|
||||
|
@ -1,78 +0,0 @@
|
||||
0.7:
|
||||
-Using layout overrides for QVGA resolution from Wildfire
|
||||
-Handling of compcache % settings in CyanogenMod menu
|
||||
From Cyanogen changelog:
|
||||
* Common: ADWLauncher 1.3.3 - Ander Webbs
|
||||
* Common: Optional overscrolling - Google, Arcee, Robert Burns
|
||||
* Common: Messaging/Phone sliders on lockscreen - Rodolfo Hurtado
|
||||
* Common: Lockscreen gestures - Michael Webster
|
||||
* Common: Bluetooth FTP server profile - CodeAurora
|
||||
* Common: New wallpapers - Prash
|
||||
* Common: Super duper unified flashlights - Michael Webster
|
||||
* Common: Launch applications via DeskClock - Evan Charlton
|
||||
|
||||
0.6:
|
||||
-Use ARMv6 optimizations
|
||||
From Cyanogen changelog:
|
||||
* Common: Various bugfixes from AOSP and CodeAurora
|
||||
* Common: ADWLauncher 1.2.0 - Ander Webbs
|
||||
* Common: Notification category support - Pedlar
|
||||
* Common: Galaxy S style power widget in notification bar - Pedlar
|
||||
* Common: Autodetect if we should use /cache for system dex files - Kali-
|
||||
* Common: Quick PIN unlock - gsarrica
|
||||
* Common: Skia performance enhancements - CodeAurora
|
||||
* Common: APN list update - Paul Weiss
|
||||
* Common: Fix AGPS issues on all platforms
|
||||
* Common: Ability to customize location to save attachments in MMS - Wes Garner
|
||||
* Common: Dismiss notifications by swiping - Evan Charlton
|
||||
* Common: Enabled Sound Recorder app
|
||||
* Common: Bluetooth OBEX performance boost - Sony
|
||||
* Common: Updated Terminal Emulator app - Jack Palevich
|
||||
* Common: Updated headset drawables - blunden
|
||||
|
||||
|
||||
0.5:
|
||||
-Fixed phone call with bluetooth handsfree/headset
|
||||
-Updated to Android 2.2.1 and latest cyanogen 6.1 sources
|
||||
From Cyanogen changelog:
|
||||
* ADWLauncher 1.1.5 - Ander Webbs
|
||||
* Configurable audio focus for music app - Jonas Larsson
|
||||
* APN cleanup (fixes many issues with GPS and MMS) - Cyanogen
|
||||
* AudioDSP updates - Antti S. Lankila
|
||||
* Status bar themes - Michael Webster
|
||||
* Email app updates - Michael Webster
|
||||
* Notification "quiet hours" - Evan Charlton
|
||||
* Superuser 2.3.6 - Adam Shanks (ChainsDD)
|
||||
* Control locking of MMS app in memory - Julian J. M
|
||||
* Kill foreground app by long-pressing back - Evan Charlton
|
||||
* New AppWidgetPicker dialog - boombuler@XDA
|
||||
* FileManager app - OpenIntents
|
||||
* Anonymous install statistics gathering - Chris Soyars
|
||||
* Dual-mode snooze (long press dismiss) - Evan Charlton
|
||||
* Compose SMS/MMS via search button long press - Wes Garner
|
||||
|
||||
0.4.1:
|
||||
-Fixed libGps, should not cause issues anymore.
|
||||
|
||||
0.4:
|
||||
-Fixed Network Operators Search
|
||||
-Added ipv6 modules in kernel
|
||||
-Revised layout of Lock Screen, PIN Unlock Screen and Password Unlock Screen
|
||||
-Sync with last Cyanogen sources, new headset icon in status bar.
|
||||
|
||||
0.3:
|
||||
-LatinIME setted as default keyboard
|
||||
-Camera should not drain battery now
|
||||
-Resolve video issues and enabled streaming from Browser
|
||||
-Added TattooCalibration.apk
|
||||
|
||||
0.2:
|
||||
-Disabled menu button in lock screen
|
||||
-Update to lastest CM6 stable release
|
||||
-Cyanogen Compcache setting activated
|
||||
-Included Chinese and Japanese Keyboard
|
||||
-Revisited Layout of Latin Keyboard and USB Storage Dialog for QVGA
|
||||
|
||||
0.1:
|
||||
Initial Release
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
sysctl -p
|
@ -1,17 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
# - Move /data/dalvik-cache to /cache partition
|
||||
# - Get the idea from Cyanogen ROM-5.0.4.1
|
||||
if [ ! -d /cache/dalvik-cache ]
|
||||
then
|
||||
mkdir /cache/dalvik-cache
|
||||
chown system.system /cache/dalvik-cache
|
||||
chmod 0771 /cache/dalvik-cache
|
||||
fi
|
||||
|
||||
mount -o bind /cache/dalvik-cache /data/dalvik-cache
|
||||
# double-check the perms
|
||||
chown system.system /data/dalvik-cache
|
||||
chmod 0771 /data/dalvik-cache
|
||||
|
||||
exit 0
|
@ -1,13 +0,0 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
# - SquashFS mounted.
|
||||
setprop fy.modules.mounted 0
|
||||
|
||||
if [ -f /system/squashfs/modules.sqf ]
|
||||
then
|
||||
busybox losetup /dev/block/loop0 /system/squashfs/modules.sqf
|
||||
busybox mount -o ro -t squashfs /dev/block/loop0 /system/lib/modules
|
||||
setprop fy.modules.mounted 1
|
||||
fi
|
||||
|
||||
exit 0
|
@ -1,30 +1,37 @@
|
||||
#!/system/bin/sh
|
||||
|
||||
L="log -p i -t cm"
|
||||
# - load compcache module
|
||||
|
||||
MEMTOTAL=$( awk '{ if ($1 eq "MemTotal:") print $2 ;exit }' </proc/meminfo )
|
||||
$L " Kalim Compcache: iniciado compcache";
|
||||
|
||||
MEMTOTAL=$( awk '{ if ($1 eq "MemTotal:") print $2 ;exit }' </proc/meminfo )
|
||||
$L "Kalim Compcache Memoria Total: " $MEMTOTAL
|
||||
|
||||
if [ `getprop persist.service.compcache` == 1 ];
|
||||
then
|
||||
PROP=`getprop ro.compcache.default`
|
||||
setprop persist.service.compcache $PROP
|
||||
fi
|
||||
|
||||
if [ -e /data/property/persist.service.compcache ];
|
||||
then
|
||||
$L "Kalim Compcache: propiedad EXISTE"
|
||||
PROP=`getprop persist.service.compcache`
|
||||
else
|
||||
PROP=`getprop ro.compcache.default`
|
||||
$L "Kalim Compcache: NO EXISTE"
|
||||
PROP=18
|
||||
setprop persist.service.compcache $PROP
|
||||
fi
|
||||
|
||||
if [ $PROP != 0 ]
|
||||
modprobe /system/lib/modules/tattoo-hack.ko
|
||||
modprobe /system/lib/modules/lzo_compress.ko
|
||||
modprobe /system/lib/modules/lzo_decompress.ko
|
||||
modprobe /system/lib/modules/xvmalloc.ko
|
||||
$L "Kalim Compcache: Modulos cargados: " $PROP
|
||||
if [ $PROP != 1 ]
|
||||
then
|
||||
CCSIZE=$(($(($MEMTOTAL * $PROP)) / 100))
|
||||
echo 3 > /proc/sys/vm/drop_caches
|
||||
echo 30 > /proc/sys/vm/swappiness
|
||||
$L "Kalim Compcache: TAAMAÑO PREDEF CACHE: " $CCSIZE
|
||||
$L "Kalim Compcache: Modulos cargar RAMZSWAP"
|
||||
insmod /system/lib/modules/ramzswap.ko disksize_kb=$CCSIZE
|
||||
$L "Kalim Compcache: Modulos cargar SWAP"
|
||||
busybox swapon /dev/block/ramzswap0
|
||||
$L "Kalim Compcache: Modulo ramzswap cargado en SWAP"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/system/bin/sh
|
||||
L="log -p i -t cm"
|
||||
$L " Kalim iniciado optandfix";
|
||||
|
||||
# - no need to set higher
|
||||
echo '1' > /sys/devices/virtual/block/mtdblock4/queue/iosched/fifo_batch
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/system/bin/sh
|
||||
L="log -p i -t cm"
|
||||
$L "Kalim iniciado userinit";
|
||||
|
||||
# - run customized shell at boot time
|
||||
userscript="/data/local/bin/autostart.sh"
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/system/bin/sh
|
||||
L="log -p i -t cm"
|
||||
$L " Kalim iniciado complete";
|
||||
|
||||
sync
|
||||
setprop fy.filesystem.ready 1
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@ -3,26 +3,27 @@ PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/logo.rle:root/logo.rle \
|
||||
device/htc/tattoo/proprietary/libgps.so:obj/lib/libgps.so
|
||||
|
||||
# proprietary for /system/squashfs
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/modules.sqf:system/squashfs/modules.sqf
|
||||
|
||||
# Files in /system/etc
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/passwd:system/etc/passwd \
|
||||
device/htc/tattoo/custom/init.d/00sysctl:system/etc/init.d/00sysctl \
|
||||
device/htc/tattoo/custom/init.d/02squashfs:system/etc/init.d/02squashsf \
|
||||
device/htc/tattoo/custom/init.d/08compcache:system/etc/init.d/08compcache \
|
||||
device/htc/tattoo/custom/init.d/20opt_and_fix:system/etc/init.d/20opt_and_fix \
|
||||
device/htc/tattoo/custom/init.d/80userinit:system/etc/init.d/80userinit \
|
||||
device/htc/tattoo/custom/init.d/99complete:system/etc/init.d/99complete \
|
||||
device/htc/tattoo/custom/sysctl.conf:system/etc/sysctl.conf \
|
||||
device/htc/tattoo/custom/placeholder:system/lib/modules/placeholder
|
||||
device/htc/tattoo/custom/permissions/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
|
||||
device/htc/tattoo/custom/placeholder:system/lib/modules/placeholder \
|
||||
device/htc/tattoo/custom/modules/wlan.ko:system/lib/modules/wlan.ko \
|
||||
device/htc/tattoo/custom/modules/lzo_compress.ko:system/lib/modules/lzo_compress.ko \
|
||||
device/htc/tattoo/custom/modules/lzo_decompress.ko:system/lib/modules/lzo_decompress.ko \
|
||||
device/htc/tattoo/custom/modules/xvmalloc.ko:system/lib/modules/xvmalloc.ko \
|
||||
device/htc/tattoo/custom/modules/ramzswap.ko:system/lib/modules/ramzswap.ko \
|
||||
device/htc/tattoo/custom/modules/tattoo-hack.ko:system/lib/modules/tattoo-hack.ko
|
||||
|
||||
# Tattoo Calibration app
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/TattooCalibration.apk:system/app/TattooCalibration.apk
|
||||
|
||||
|
||||
# proprietary for /system/sbin
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/dropbear:system/xbin/dropbear \
|
||||
@ -36,7 +37,7 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# boot partition
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/custom/tattoo-hack.ko:root/sbin/tattoo-hack.ko \
|
||||
device/htc/tattoo/custom/modules/tattoo-hack.ko:root/lib/modules/tattoo-hack.ko \
|
||||
|
||||
# Other bin stuff
|
||||
PRODUCT_COPY_FILES += \
|
||||
@ -57,6 +58,10 @@ PRODUCT_COPY_FILES += \
|
||||
device/htc/tattoo/proprietary/libOmxH264Dec.so:system/lib/libOmxH264Dec.so \
|
||||
device/htc/tattoo/proprietary/libOmxMpeg4Dec.so:system/lib/libOmxMpeg4Dec.so \
|
||||
device/htc/tattoo/proprietary/libOmxVidEnc.so:system/lib/libOmxVidEnc.so \
|
||||
device/htc/tattoo/proprietary/libmmcamera.so:system/lib/libmmcamera.so \
|
||||
device/htc/tattoo/proprietary/libmm-qcamera-tgt.so:system/lib/libmm-qcamera-tgt.so \
|
||||
device/htc/tattoo/proprietary/libqcamera.so:system/lib/libqcamera.so \
|
||||
device/htc/tattoo/proprietary/libmmjpeg.so:system/lib/libmmjpeg.so \
|
||||
device/htc/tattoo/proprietary/libmm-adspsvc.so:system/lib/libmm-adspsvc.so \
|
||||
device/htc/tattoo/proprietary/libhtc_acoustic.so:system/lib/libhtc_acoustic.so \
|
||||
device/htc/tattoo/proprietary/libhtc_ril.so:system/lib/libhtc_ril.so \
|
||||
|
@ -34,7 +34,8 @@ PRODUCT_PACKAGES := \
|
||||
LiveWallpapersPicker \
|
||||
librs_jni
|
||||
|
||||
#Gallery 2d
|
||||
#Gallery 3d o 2D
|
||||
#PRODUCT_PACKAGES += Gallery3D
|
||||
PRODUCT_PACKAGES += Gallery
|
||||
|
||||
# Pick up overlay for features that depend on non-open-source files
|
||||
@ -69,6 +70,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.ril.gprsclass=12 \
|
||||
ro.ril.htcmaskw1.bitmask = 4294967295 \
|
||||
ro.ril.htcmaskw1 = 14449 \
|
||||
ro.compcache.default=1 \
|
||||
ro.ril.def.agps.mode = 2
|
||||
|
||||
# Time between scans in seconds. Keep it high to minimize battery drain.
|
||||
@ -76,7 +78,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
# but none are in range.
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
wifi.interface = tiwlan0 \
|
||||
wifi.supplicant_scan_interval=45
|
||||
wifi.supplicant_scan_interval=60
|
||||
|
||||
# density in DPI of the LCD of this board. This is used to scale the UI
|
||||
# appropriately. If this property is not defined, the default value is 120 dpi.
|
||||
|
@ -45,3 +45,7 @@ adb pull /system/usr/keychars/qwerty2.kcm.bin proprietary
|
||||
adb pull /system/lib/hw/sensors.bahamas.so proprietary
|
||||
adb pull /system/etc/spn-conf.xml proprietary
|
||||
adb pull /system/etc/voicemail-conf.xml proprietary
|
||||
adb pull /system/lib/hw/libqcamera.so proprietary
|
||||
adb pull /system/lib/hw/libmm-qcamera-tgt.so proprietary
|
||||
adb pull /system/lib/hw/libmmjpeg.so proprietary
|
||||
adb pull /system/etc/libmmcamera.so proprietary
|
||||
|
@ -20,6 +20,7 @@
|
||||
#
|
||||
|
||||
# Inherit from those products. Most specific first.
|
||||
#$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
|
||||
$(call inherit-product, device/htc/tattoo/device_tattoo_eu.mk)
|
||||
|
||||
@ -29,6 +30,14 @@ $(call inherit-product, device/htc/common/common.mk)
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
|
||||
|
||||
# Discard inherited values and use our own instead.
|
||||
PRODUCT_NAME := full_tattoo
|
||||
PRODUCT_DEVICE := tattoo
|
||||
PRODUCT_MODEL := Full Android on Tattoo
|
||||
PRODUCT_NAME := KalimROM_6.2.0
|
||||
PRODUCT_DEVICE := KalimROM
|
||||
PRODUCT_MODEL := KalimochoAzucarado
|
||||
#PRODUCT_LOCALES := es_ES
|
||||
ro.product.locale.language=es
|
||||
ro.product.locale.region=ES
|
||||
ro.product.name=Kalim2010
|
||||
ro.product.device=tattoo-Kalim
|
||||
ro.build.product=tattoo-Kalim
|
||||
ro.rommanager.developerid=KalimochoAzucarado
|
||||
ro.modversion=CyanogenMod-6.2.0-RC1-Kalim
|
||||
|
5
init.rc
5
init.rc
@ -24,7 +24,7 @@ loglevel 3
|
||||
symlink /system/lib /lib
|
||||
|
||||
# make /system partition writable
|
||||
insmod /sbin/tattoo-hack.ko
|
||||
insmod /lib/modules/tattoo-hack.ko
|
||||
|
||||
# create mountpoints
|
||||
mkdir /mnt 0775 root system
|
||||
@ -271,6 +271,9 @@ on boot
|
||||
chown system system /sys/kernel/ipv4/tcp_rmem_max
|
||||
chown root radio /proc/cmdline
|
||||
|
||||
# Kalim Change fb0 permissions to enable write ( copybiterror )
|
||||
chmod 666 /dev/graphics/fb0
|
||||
|
||||
# Define TCP buffer sizes for various networks
|
||||
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
|
||||
setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
|
||||
|
@ -1,74 +0,0 @@
|
||||
diff -ru com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali
|
||||
--- com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali 2010-11-04 00:54:16.000000000 +0100
|
||||
+++ com/android/vending/model/DeviceConfiguration$ScreenLayoutSize.smali 2010-11-04 00:55:05.000000000 +0100
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
const/4 v4, 0x2
|
||||
|
||||
- const/4 v3, 0x1
|
||||
+ const/4 v3, 0x2
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
diff -ru com/android/vending/model/DeviceConfiguration.smali com/android/vending/model/DeviceConfiguration.smali
|
||||
--- com/android/vending/model/DeviceConfiguration.smali 2010-11-04 00:54:16.000000000 +0100
|
||||
+++ com/android/vending/model/DeviceConfiguration.smali 2010-11-04 00:55:05.000000000 +0100
|
||||
@@ -1202,7 +1202,7 @@
|
||||
.end method
|
||||
|
||||
.method public setScreenDensity(I)Lcom/android/vending/model/DeviceConfiguration;
|
||||
- .registers 4
|
||||
+ .registers 5
|
||||
.parameter "screenDensity"
|
||||
|
||||
.prologue
|
||||
@@ -1211,14 +1211,16 @@
|
||||
|
||||
const/4 v1, 0x7
|
||||
|
||||
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
+ const/16 v2, 0xa0
|
||||
+
|
||||
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
|
||||
.line 297
|
||||
return-object p0
|
||||
.end method
|
||||
|
||||
.method public setScreenHeight(I)Lcom/android/vending/model/DeviceConfiguration;
|
||||
- .registers 4
|
||||
+ .registers 5
|
||||
.parameter "screenHeight"
|
||||
|
||||
.prologue
|
||||
@@ -1227,7 +1229,9 @@
|
||||
|
||||
const/16 v1, 0xd
|
||||
|
||||
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
+ const/16 v2, 0x1e0
|
||||
+
|
||||
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
|
||||
.line 319
|
||||
return-object p0
|
||||
@@ -1254,7 +1258,7 @@
|
||||
.end method
|
||||
|
||||
.method public setScreenWidth(I)Lcom/android/vending/model/DeviceConfiguration;
|
||||
- .registers 4
|
||||
+ .registers 5
|
||||
.parameter "screenWidth"
|
||||
|
||||
.prologue
|
||||
@@ -1263,7 +1267,9 @@
|
||||
|
||||
const/16 v1, 0xc
|
||||
|
||||
- invoke-virtual {v0, v1, p1}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
+ const/16 v2, 0x140
|
||||
+
|
||||
+ invoke-virtual {v0, v1, v2}, Lcom/google/common/io/protocol/ProtoBuf;->setInt(II)V
|
||||
|
||||
.line 308
|
||||
return-object p0
|
71
overlay/frameworks/base/core/res/res/values/config.xml
Normal file → Executable file
71
overlay/frameworks/base/core/res/res/values/config.xml
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2009, The Android Open Source Project
|
||||
@ -74,25 +74,27 @@
|
||||
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>usb\\d</item>
|
||||
<item>usb\\d</item>
|
||||
<item>"usb0"</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">
|
||||
<item>tiwlan\\d</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Dhcp range (min, max) to use for tethering purposes -->
|
||||
<string-array translatable="false" name="config_tether_dhcp_range">
|
||||
</string-array>
|
||||
|
||||
<!-- Regex array of allowable upstream ifaces for tethering - for example if you want
|
||||
tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
|
||||
<!-- Regex array of allowable upstream ifaces for tethering - for example if you want
|
||||
tethering on a new interface called "foo2" add <item>"foo\\d"</item> to the array -->
|
||||
<string-array translatable="false" name="config_tether_upstream_regexs">
|
||||
<item>"rmnet\\d"</item>
|
||||
<item>"tiwlan\\d"</item>
|
||||
<item>"rmnet\\d"</item>
|
||||
<item>"eth\\d"</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">
|
||||
<item>"wl0.1"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Boolean indicating if we require the use of DUN on mobile for tethering.
|
||||
@ -115,7 +117,7 @@
|
||||
|
||||
<!-- 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>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
|
||||
<!-- XXXXXX END OF RESOURCES USING WRONG NAMING CONVENTION -->
|
||||
|
||||
@ -252,8 +254,17 @@
|
||||
Zone N: array[N - 1] <= LUX < array[N]
|
||||
Zone N + 1: array[N] <= LUX < infinity
|
||||
|
||||
Must be overridden in platform specific overlays -->
|
||||
Must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
<item>11</item>
|
||||
<item>41</item>
|
||||
<item>91</item>
|
||||
<item>161</item>
|
||||
<item>226</item>
|
||||
<item>321</item>
|
||||
<item>641</item>
|
||||
<item>1281</item>
|
||||
<item>2601</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for LCD backlight corresponding to the LUX values
|
||||
@ -261,13 +272,33 @@
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessLcdBacklightValues">
|
||||
<item>66</item>
|
||||
<item>66</item>
|
||||
<item>103</item>
|
||||
<item>103</item>
|
||||
<item>103</item>
|
||||
<item>152</item>
|
||||
<item>152</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
</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 name="config_autoBrightnessButtonBacklightValues">
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>225</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Array of output values for keyboard backlight corresponding to the LUX values
|
||||
@ -275,6 +306,16 @@
|
||||
than the size of the config_autoBrightnessLevels array.
|
||||
This must be overridden in platform specific overlays -->
|
||||
<integer-array name="config_autoBrightnessKeyboardBacklightValues">
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>255</item>
|
||||
<item>225</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
<item>0</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Amount of time it takes for the light sensor to warm up in milliseconds.
|
||||
|
4
overlay/packages/apps/Phone/res/values/config.xml
Normal file → Executable file
4
overlay/packages/apps/Phone/res/values/config.xml
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -36,7 +36,7 @@
|
||||
<!-- If true, enable the onscreen touch UI for incoming calls.
|
||||
This feature is necessary for devices with no hard SEND/END keys,
|
||||
and optional on all other devices. -->
|
||||
<bool name="allow_incoming_call_touch_ui">false</bool>
|
||||
<bool name="allow_incoming_call_touch_ui">true</bool>
|
||||
|
||||
<!-- If true, enable the onscreen touch UI for regular "ongoing call"
|
||||
states of the in-call UI.
|
||||
|
Loading…
x
Reference in New Issue
Block a user