diff --git a/bengal.mk b/bengal.mk index 5f25c18..3b244d2 100644 --- a/bengal.mk +++ b/bengal.mk @@ -375,7 +375,6 @@ PRODUCT_PACKAGES += \ # Rootdir PRODUCT_PACKAGES += \ init.class_main.sh \ - init.mdm.sh \ init.mmi.boot.sh \ init.mmi.laser.sh \ init.mmi.touch.sh \ diff --git a/rootdir/Android.mk b/rootdir/Android.mk index 26c52e8..7df8b85 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -8,14 +8,6 @@ LOCAL_SRC_FILES := bin/init.class_main.sh LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) include $(BUILD_PREBUILT) -include $(CLEAR_VARS) -LOCAL_MODULE := init.mdm.sh -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := ETC -LOCAL_SRC_FILES := bin/init.mdm.sh -LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) -include $(BUILD_PREBUILT) - include $(CLEAR_VARS) LOCAL_MODULE := init.mmi.boot.sh LOCAL_MODULE_TAGS := optional diff --git a/rootdir/bin/init.mdm.sh b/rootdir/bin/init.mdm.sh deleted file mode 100755 index 3ed7ed5..0000000 --- a/rootdir/bin/init.mdm.sh +++ /dev/null @@ -1,34 +0,0 @@ -#! /vendor/bin/sh - -# Copyright (c) 2013, The Linux Foundation. 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 Linux Foundation 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. -# - -baseband=`getprop ro.baseband` -if [ "$baseband" = "mdm" ] || [ "$baseband" = "mdm2" ]; then - start vendor.mdm_helper -fi - diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 01969ad..5e0a620 100755 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -116,15 +116,6 @@ service vendor.per_proxy /vendor/bin/pm-proxy group system disabled -service vendor.mdm_helper /vendor/bin/mdm_helper - class core - group system wakelock - disabled - -service vendor.mdm_launcher /vendor/bin/sh /vendor/bin/init.mdm.sh - class core - oneshot - on property:init.svc.vendor.per_mgr=running start vendor.per_proxy diff --git a/sepolicy/vendor/vendor_mdm_helper.te b/sepolicy/vendor/vendor_mdm_helper.te deleted file mode 100644 index 81d74f1..0000000 --- a/sepolicy/vendor/vendor_mdm_helper.te +++ /dev/null @@ -1,4 +0,0 @@ -get_prop(vendor_mdm_helper, vendor_radio_prop) - -allow vendor_mdm_helper { mnt_vendor_file vendor_persist_rfs_file }:dir search; -allow vendor_mdm_helper vendor_persist_rfs_file:file rw_file_perms;