Browse files

Fix Bluetooth, preload boot animation, generally catch up with Skate.

- Need to look in to devices having different hardware keys.
  • Loading branch information...
1 parent b489593 commit 8e9b2da4edf6eb16a0aec763be3d1a4f2f99c497 @Dazzozo committed Jun 15, 2012
View
1 BoardConfig.mk
@@ -99,6 +99,7 @@ USE_OPENGL_RENDERER := true
BOARD_ADRENO_DECIDE_TEXTURE_TARGET := true
TARGET_USES_GENLOCK := true
TARGET_FORCE_CPU_UPLOAD := true
+TARGET_BOOTANIMATION_PRELOAD := true
WITH_JIT := true
ENABLE_JSC_JIT := true
View
1 device.mk
@@ -71,7 +71,6 @@ PRODUCT_COPY_FILES := \
device/zte/blade2/prebuilt/start_usb0.sh:system/etc/start_usb0.sh \
device/zte/blade2/init.qcom.fm.sh:system/etc/init.qcom.fm.sh \
device/zte/blade2/init.qcom.bt.sh:system/etc/init.qcom.bt.sh \
- device/zte/blade2/gps.conf:system/etc/gps.conf \
device/zte/blade2/releasetools/extras.sh:system/bin/extras.sh
# Bluetooth configuration files
View
6 gps.conf
@@ -1,6 +0,0 @@
-NTP_SERVER=north-america.pool.ntp.org
-XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
-XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
-XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
-SUPL_HOST=supl.google.com
-SUPL_PORT=7276
View
9 init.blade2.rc
@@ -102,6 +102,13 @@ on boot
service qmuxd /system/bin/qmuxd
class main
+# Necessary to have functional Bluetooth with Wi-Fi disabled.
+on property:init.svc.hciattach=running
+ write /sys/class/rfkill/rfkill1/state 1
+
+on property:init.svc.hciattach=stopped
+ write /sys/class/rfkill/rfkill1/state 0
+
on property:init.svc.bluetoothd=running
write /sys/devices/virtual/bluetooth/hci0/idle_timeout 7000
start abtfilt
@@ -156,4 +163,4 @@ service abtfilt /system/bin/abtfilt -c -d -z -n
service akmd /system/bin/akmd8962
class main
user root
- oneshot
+ oneshot
View
18 overlay/frameworks/base/core/res/res/values/config.xml
@@ -21,7 +21,7 @@
for different hardware and product builds. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <integer name="config_screenOnAnimation">250</integer>
+ <integer name="config_screenOnAnimation">0</integer>
<string-array translatable="false" name="config_tether_usb_regexs">
<item>"usb0"</item>
@@ -119,8 +119,22 @@
<!-- Boolean indicating if current platform supports quick switch-on/off of
Bluetooth Module -->
- <bool name="config_bluetooth_adapter_quick_switch">true</bool>
+ <bool name="config_bluetooth_adapter_quick_switch">false</bool>
<string name="config_legacyUmsLunFile">/sys/devices/platform/msm_hsusb/gadget/lun0/file</string>
+ <!-- Hardware 'face' keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Search
+ 16 - App switch
+ For example, a device with Home, Back, Menu, and Search keys would set this
+ config to 15. -->
+
+ <!-- We need a better way to handle this. P736E has a Search key, P736V does not. w/ Search for now. -->
+ <integer name="config_deviceHardwareKeys">15</integer>
+
</resources>
View
6 overlay/frameworks/base/core/res/res/values/dimens.xml
@@ -0,0 +1,6 @@
+<resources>
+ <!-- Height of the horizontal navigation bar on devices that require it -->
+ <dimen name="navigation_bar_height">36dp</dimen>
+ <!-- Width of the vertical navigation bar on devices that require it -->
+ <dimen name="navigation_bar_width">42dp</dimen>
+</resources>
View
4 system.prop
@@ -25,3 +25,7 @@ persist.sys.use_dithering=1
com.qc.hardware=true
ro.telephony.call_ring.delay=3000
+
+# Uncomment to disable bootanimation
+# persist.sys.nobootanimation=1
+

0 comments on commit 8e9b2da

Please sign in to comment.