aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk4
-rw-r--r--bluetooth/bdroid_buildcfg.h3
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml4
-rw-r--r--overlay/packages/services/Telephony/res/values/config.xml24
-rw-r--r--rootdir/fstab.smdk4x124
-rw-r--r--selinux/file_contexts3
-rwxr-xr-xselinux/system.te5
7 files changed, 36 insertions, 11 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 8dd1e25..fe15653 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -46,10 +46,10 @@ TARGET_OTA_ASSERT_DEVICE := m3,m3xx,i9305,GT-I9305
-include vendor/samsung/i9305/BoardConfigVendor.mk
# Selinux
-BOARD_SEPOLICY_DIRS := \
+BOARD_SEPOLICY_DIRS += \
device/samsung/i9305/selinux
-BOARD_SEPOLICY_UNION := \
+BOARD_SEPOLICY_UNION += \
file_contexts \
te_macros \
device.te \
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
index 6aa5a1b..c5597df 100644
--- a/bluetooth/bdroid_buildcfg.h
+++ b/bluetooth/bdroid_buildcfg.h
@@ -19,5 +19,8 @@
#define _BDROID_BUILDCFG_H
#define BTM_DEF_LOCAL_NAME "Galaxy S III LTE"
+#define BLE_INCLUDED TRUE
+#define BTA_GATT_INCLUDED TRUE
+#define SMP_INCLUDED TRUE
#endif
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index cbff611..84a4b61 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -95,10 +95,10 @@
<bool name="config_disableMenuKeyInLockScreen">true</bool>
<!-- Disable the home key unlock setting -->
- <bool name="config_disableHomeUnlockSetting">false</bool>
+ <!-- <bool name="config_disableHomeUnlockSetting">false</bool> -->
<!-- Workaround for devices with broken keyboards -->
- <bool name="config_forceDisableHardwareKeyboard">true</bool>
+ <!-- <bool name="config_forceDisableHardwareKeyboard">true</bool> -->
<!-- Hardware 'face' keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
new file mode 100644
index 0000000..b753003
--- /dev/null
+++ b/overlay/packages/services/Telephony/res/values/config.xml
@@ -0,0 +1,24 @@
+<?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");
+ 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.
+-->
+
+<resources>
+ <!-- This device implements a noise suppression device for in call audio-->
+ <bool name="has_in_call_noise_suppression">true</bool>
+
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
+
+</resources>
diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12
index 69749bd..e54474f 100644
--- a/rootdir/fstab.smdk4x12
+++ b/rootdir/fstab.smdk4x12
@@ -12,8 +12,8 @@
/dev/block/mmcblk0p16 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
# vold-managed volumes ("block device" is actually a sysfs devpath)
-/devices/platform/s3c-sdhci.2/mmc_host/mmc1 /storage/sdcard1 auto defaults voldmanaged=sdcard1:auto
-/devices/platform/s5p-ehci /storage/usbdisk0 auto defaults voldmanaged=usbdisk0:auto
+/devices/platform/s3c-sdhci.2/mmc_host/mmc1 auto auto defaults voldmanaged=sdcard1:auto
+/devices/platform/s5p-ehci auto auto defaults voldmanaged=usbdisk0:auto
# recovery
/dev/block/mmcblk0p8 /boot emmc defaults recoveryonly
diff --git a/selinux/file_contexts b/selinux/file_contexts
index 856bdd5..fb1996e 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -3,9 +3,6 @@
/dev/ump u:object_r:mali_device:s0
/dev/fimg2d u:object_r:mali_device:s0
-# NFC
-/dev/pn544 u:object_r:nfc_device:s0
-
# RIL
/dev/mdm u:object_r:radio_device:s0
/dev/hsicctl[0-3]* u:object_r:radio_device:s0
diff --git a/selinux/system.te b/selinux/system.te
index 73de1ee..bfc12a6 100755
--- a/selinux/system.te
+++ b/selinux/system.te
@@ -2,11 +2,12 @@
qmux_socket(system)
allow system diagnostic_device:chr_file rw_file_perms;
-allow system uinput_device:chr_file { read ioctl write open };
+#allow system uinput_device:chr_file { read ioctl write open };
allow system sensors_device:chr_file { read open };
allow system sensors_data_file:file r_file_perms;
allow system wpa_socket:unix_dgram_socket sendto;
allow system_app volume_data_file:file { read write open getattr };
allow system sysfs:file { read open write };
-allow system self:capability { sys_module }; \ No newline at end of file
+allow system self:capability { sys_module };
+