summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormauimauer <sebastian@n-unity.de>2011-12-04 19:13:23 +0100
committermauimauer <sebastian@n-unity.de>2011-12-04 19:13:23 +0100
commit928e525efbe3fd85709b1ea9d531602b8856e211 (patch)
tree1e975d5ac4d8c211afe75e66df6b95bea6127af8
parentda973010710b4380e930d683ca2b7051fe1983e5 (diff)
downloaddevice_samsung_n7000-928e525efbe3fd85709b1ea9d531602b8856e211.zip
device_samsung_n7000-928e525efbe3fd85709b1ea9d531602b8856e211.tar.gz
device_samsung_n7000-928e525efbe3fd85709b1ea9d531602b8856e211.tar.bz2
more fixes
-rwxr-xr-xgalaxynote.mk17
-rwxr-xr-xinit.smdkv310.rc25
-rwxr-xr-xoverlay/frameworks/base/core/res/res/values/config.xml3
3 files changed, 29 insertions, 16 deletions
diff --git a/galaxynote.mk b/galaxynote.mk
index 6efec02..d96a9d8 100755
--- a/galaxynote.mk
+++ b/galaxynote.mk
@@ -59,18 +59,18 @@ PRODUCT_COPY_FILES += \
device/samsung/galaxynote/configs/vold.fstab:system/etc/vold.fstab
# Bluetooth configuration files
-PRODUCT_COPY_FILES += \
- system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf
+#PRODUCT_COPY_FILES += \
+# system/bluetooth/data/main.le.conf:system/etc/bluetooth/main.conf
# Wifi
PRODUCT_COPY_FILES += \
device/samsung/galaxynote/configs/nvram_net.txt:system/etc/nvram_net.txt \
- device/samsung/galaxynote/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
+# device/samsung/galaxynote/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
device/samsung/galaxynote/configs/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
PRODUCT_PROPERTY_OVERRIDES := \
- wifi.interface=eth0 \
- wifi.supplicant_scan_interval=15
+ wifi.interface=wlan0 \
+ wifi.supplicant_scan_interval=20
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)
@@ -84,6 +84,7 @@ PRODUCT_PACKAGES := \
audio.primary.smdkv310 \
gps.smdkv310 \
smdkv310_hdcp_keys \
+ audio.a2dp.default \
com.android.future.usb.accessory
# Charger
@@ -150,7 +151,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=131072 \
ro.sf.lcd_density=320 \
hwui.render_dirty_regions=false \
- hwui.disable_vsync=true
+ hwui.disable_vsync=true \
+ ro.kernel.android.checkjni=0 \
+ dalvik.vm.checkjni=false
PRODUCT_TAGS += dalvik.gc.type-precise
@@ -159,7 +162,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
persist.sys.usb.config=mtp
# kernel modules for ramdisk
-RAMDISK_MODULES := $(addprefix device/samsung/galaxynote/modules/,bthid.ko dhd.ko gspca_main.ko j4fs.ko \
+RAMDISK_MODULES := $(addprefix device/samsung/galaxynote/modules/,bthid.ko gspca_main.ko j4fs.ko \
scsi_wait_scan.ko Si4709_driver.ko vibrator.ko)
PRODUCT_COPY_FILES += $(foreach module,\
$(RAMDISK_MODULES),\
diff --git a/init.smdkv310.rc b/init.smdkv310.rc
index e57a74c..64f4674 100755
--- a/init.smdkv310.rc
+++ b/init.smdkv310.rc
@@ -79,18 +79,15 @@ on fs
chown system system /sys/class/backlight/pwm-backlight/brightness
# create data/gps for GPS demon
- chown root system /dev/s3c2410_serial1
+ mkdir /data/gps 770 gps system
+ chown gps system /data/gps
+ chown gps root /dev/s3c2410_serial1
chmod 0660 /dev/s3c2410_serial1
-
- chown root system /sys/class/sec/gps/GPS_PWR_EN/value
+ chown gps root /sys/class/sec/gps/GPS_PWR_EN/value
chmod 0664 /sys/class/sec/gps/GPS_PWR_EN/value
-
- chown root system /sys/class/sec/gps/GPS_nRST/value
+ chown gps root /sys/class/sec/gps/GPS_nRST/value
chmod 0664 /sys/class/sec/gps/GPS_nRST/value
- mkdir /data/gps 771 system system
- chown system system /data/gps
-
# allow net_raw to have access to /dev/socket directory
chown root net_raw /dev/socket
chmod 0775 /dev/socket
@@ -249,6 +246,11 @@ service dhcpcd_p2p /system/bin/dhcpcd -aABKL
disabled
oneshot
+service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
+ class main
+ disabled
+ oneshot
+
service iprenew_wlan0 /system/bin/dhcpcd -n
class main
disabled
@@ -259,6 +261,11 @@ service iprenew_p2p /system/bin/dhcpcd -n
disabled
oneshot
+service iprenew_bnep0 /system/bin/dhcpcd -n
+ class main
+ disabled
+ oneshot
+
service wpa_supplicant /system/bin/wpa_supplicant \
-Dnl80211 -iwlan0 -puse_p2p_group_interface=1 -e/data/misc/wifi/entropy.bin
class main
@@ -291,7 +298,7 @@ service gpsd /system/bin/gpsd -c /system/etc/gps.xml
class main
socket gps seqpacket 0660 gps system
user gps
- group system inet sdcard_rw
+ group system inet
# bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/bugmailer.sh -v
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 7dd80af..a22875d 100755
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -190,6 +190,9 @@
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
+ <!-- Boolean indicating whether the wifi chipset has p2p support -->
+ <bool translatable="false" name="config_wifi_p2p_support">true</bool>
+
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>10</item>