aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2015-02-03 03:06:50 +0100
committerdoc <doc.divxm@gmail.com>2015-02-03 11:13:27 +0200
commit341d06bd2cb9fc293a02ce4abd81571c57effbab (patch)
tree240530156b5eb46e5686cbcd29a86ecec67dc18b
parenta458529dc6b2fef627104eda94821cfb29ae74ce (diff)
serranoltexx: Remove init.carrier.rclp5.0
Change-Id: I1cce8cb2e856e6201461609d150054f4619916fe
-rw-r--r--device.mk4
-rw-r--r--rootdir/init.carrier.rc60
2 files changed, 0 insertions, 64 deletions
diff --git a/device.mk b/device.mk
index 3c9fbdd..e53e47e 100644
--- a/device.mk
+++ b/device.mk
@@ -23,7 +23,3 @@ DEVICE_PACKAGE_OVERLAYS += device/samsung/serranoltexx/overlay
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml
-
-# Ramdisk
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/rootdir/init.carrier.rc:root/init.carrier.rc
diff --git a/rootdir/init.carrier.rc b/rootdir/init.carrier.rc
deleted file mode 100644
index 61095c2..0000000
--- a/rootdir/init.carrier.rc
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-# * Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# * Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# * Neither the name of Code Aurora nor
-# the names of its contributors may be used to endorse or promote
-# products derived from this software without specific prior written
-# permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-on boot
- chown system system /sys/class/leds/button-backlight/brightness
-
- # Permissions for bluetooth
- setprop ro.bt.bdaddr_path "/efs/bluetooth/bt_addr"
- chown bluetooth net_bt_stack ro.bt.bdaddr_path
- chown bluetooth net_bt_stack /dev/ttyHS0
- chmod 0660 /dev/ttyHS0
- chmod 0660 /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
- chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
-
- # Sensor - soft iron
- write /sys/class/input/input4/static_matrix "9665 -302 -5 -268 10196 146 83 645 10159"
- write /sys/class/input/input5/static_matrix "9665 -302 -5 -268 10196 146 83 645 10159"
-
- # Enable ellipsoid for dynamic compensation
- write /sys/class/input/input4/ellipsoid_mode 1
- write /sys/class/input/input5/ellipsoid_mode 1
-
- # Assign TCP buffer thresholds to be ceiling value of technology maximums
- # Increased technology maximums should be reflected here.
- write /proc/sys/net/core/rmem_max 2097152
- write /proc/sys/net/core/wmem_max 2097152
-
- # efs
- mkdir /efs/drm 0700 system system
- mkdir /efs/imei 0775 radio radio
-
- # Backlight notification
- chown system system /sys/class/misc/backlightnotification/enabled
- chown system system /sys/class/misc/backlightnotification/blink_control
- chown system system /sys/class/misc/backlightnotification/notification_led
- restorecon /sys/class/misc/backlightnotification/enabled