From 324c80581794da5590f97642ef978d0b940578da Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Sat, 3 Dec 2011 22:35:09 +0000 Subject: [PATCH] leo: a few changes --- cm.mk | 4 +++- prebuilt/init.htcleo.rc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cm.mk b/cm.mk index c641a90..47a9f67 100644 --- a/cm.mk +++ b/cm.mk @@ -11,9 +11,11 @@ $(call inherit-product, vendor/cm/config/common_full_phone.mk) $(call inherit-product, device/htc/leo/leo.mk) ## Device identifier. This must come after all inclusions +PRODUCT_MODEL := HTC HD2 +PRODUCT_MANUFACTURER := HTC PRODUCT_BRAND := htc PRODUCT_DEVICE := leo PRODUCT_NAME := cm_leo #Set build fingerprint / ID / Prduct Name ect. -PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=leo BUILD_ID=ITL41D BUILD_DISPLAY_ID=ITL41D BUILD_FINGERPRINT="google/full_leo/leo:4.0.1/ITL41D/223971:user/release-keys" PRVIATE_BUILD_DESC="full_leo-user 4.0.1 ITL41D 223971 release-keys" +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=leo BUILD_ID=ITL41D BUILD_DISPLAY_ID=ITL41D BUILD_FINGERPRINT="google/htc_leo/leo:4.0.1/ITL41D/223971:user/release-keys" PRVIATE_BUILD_DESC="full_leo-user 4.0.1 ITL41D 223971 release-keys" diff --git a/prebuilt/init.htcleo.rc b/prebuilt/init.htcleo.rc index 5e1dcfc..151036e 100644 --- a/prebuilt/init.htcleo.rc +++ b/prebuilt/init.htcleo.rc @@ -36,6 +36,8 @@ on boot mkdir /data/misc/dhcp 0770 dhcp dhcp chown dhcp dhcp /data/misc/dhcp + setprop vold.post_fs_data_done 1 + # bluetooth power up/down interface chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state @@ -118,14 +120,14 @@ on boot #setprop ro.ril.gprsclass 10 chown root radio /proc/cmdline - chown system system /dev/ttyHS0 + chown bluetooth bluetooth /dev/ttyHS0 chown system system /dev/smd0 chown system system /dev/smd1 chown system system /dev/smd27 chmod 0666 /dev/rfkill chmod 0666 /dev/q6venc - chmod 0666 /dev/ttyHS0 + chmod 0600 /dev/ttyHS0 chmod 0666 /dev/ttyHS1 chmod 666 /proc/cmdline