diff --git a/Android.bp b/Android.bp index 31e5ea6..0f090af 100644 --- a/Android.bp +++ b/Android.bp @@ -10769,23 +10769,6 @@ cc_prebuilt_binary { soc_specific: true, } -cc_prebuilt_binary { - name: "modemManager", - owner: "xiaomi", - target: { - android_arm64: { - srcs: ["proprietary/vendor/bin/modemManager"], - shared_libs: ["libavservices_minijail", "libcutils", "libdiag", "liblog", "libhidlbase", "libbinder", "libjsoncpp", "libqesdk", "libqti_vndfwk_detect_vendor", "libutils", "vendor.qti.data.factory@2.3", "vendor.qti.hardware.data.lce@1.0", "vendor.qti.latency@2.0", "vendor.qti.latency@2.1", "libc++", "libc", "libm", "libdl", ], - }, - }, - compile_multilib: "64", - strip: { - none: true, - }, - prefer: true, - soc_specific: true, -} - cc_prebuilt_binary { name: "msm_irqbalance", owner: "xiaomi", diff --git a/proprietary/vendor/bin/modemManager b/proprietary/vendor/bin/modemManager deleted file mode 100755 index 4fd1455..0000000 Binary files a/proprietary/vendor/bin/modemManager and /dev/null differ diff --git a/proprietary/vendor/etc/init/modemManager.rc b/proprietary/vendor/etc/init/modemManager.rc deleted file mode 100644 index 73f4185..0000000 --- a/proprietary/vendor/etc/init/modemManager.rc +++ /dev/null @@ -1,4 +0,0 @@ -service vendor.modemManager /vendor/bin/modemManager - class main - user radio - group radio diff --git a/proprietary/vendor/etc/seccomp_policy/modemManager.policy b/proprietary/vendor/etc/seccomp_policy/modemManager.policy deleted file mode 100644 index f9564cf..0000000 --- a/proprietary/vendor/etc/seccomp_policy/modemManager.policy +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright (C) 2018 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. - -mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE -mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE -munmap: 1 -epoll_pwait: 1 -openat: 1 -#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE || arg0 == 0x37 /* PR_??? */ -prctl: 1 -read: 1 -futex: 1 -close: 1 -fstat: 1 -getuid: 1 -writev: 1 -readlinkat: 1 -mremap: 1 -pread64: 1 -fstatfs: 1 -newfstatat: 1 -rt_sigaction: 1 -#ioctl: arg1 == BINDER_WRITE_READ -ioctl: 1 -rt_sigprocmask: 1 -faccessat: 1 -sendto: 1 -getrandom: 1 -epoll_ctl: 1 -fcntl: 1 -eventfd2: 1 -socket: arg0 == AF_UNIX -connect: 1 -epoll_create1: 1 -exit_group: 1 -sched_getaffinity: 1 -write: 1 -exit: 1 -getpid: 1 -sigaltstack: 1 -restart_syscall: 1 -clone: 1 -sched_getscheduler: 1 -execve: 1 -madvise: 1 -set_tid_address: 1 -pipe2: 1 -rt_sigreturn: 1 -recvfrom: 1 -getrlimit: 1 -setpriority: 1 -nanosleep: 1 diff --git a/sm8450-common-vendor.mk b/sm8450-common-vendor.mk index 96577da..db618f8 100644 --- a/sm8450-common-vendor.mk +++ b/sm8450-common-vendor.mk @@ -103,7 +103,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/init_thermal-engine-v2.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init_thermal-engine-v2.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/ipa_fws.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/ipa_fws.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/loc-launcher.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/loc-launcher.rc \ - vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/modemManager.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/modemManager.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/netmgrd.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/netmgrd.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/port-bridge.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/port-bridge.rc \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/init/qconfig.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/qconfig.rc \ @@ -215,7 +214,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.base-arm64.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.base-arm64.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/codec2.vendor.ext-arm64.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/codec2.vendor.ext-arm64.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/imsrtp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/imsrtp.policy \ - vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/modemManager.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/modemManager.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qapeservice.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qapeservice.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qcrilnr@2.0.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qcrilnr@2.0.policy \ vendor/xiaomi/sm8450-common/proprietary/vendor/etc/seccomp_policy/qspm.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/qspm.policy \ @@ -886,7 +884,6 @@ PRODUCT_PACKAGES += \ mi_thermald \ mlid \ mlipayd@1.1 \ - modemManager \ msm_irqbalance \ netmgrd \ nv_mac \