From 211c0435acc4b68dddcf707cc96223524cdcbd34 Mon Sep 17 00:00:00 2001 From: chrisl7 Date: Fri, 15 Jul 2022 03:59:18 +0000 Subject: [PATCH] aospa: Move Qualcomm specific configs to qcom/common [1] - Now we have Pixel 6 here, which doesn't use any Qualcommon, so let's move it to the appropriate place. Signed-off-by: chrisl7 Change-Id: I534ce11753b5cb7a7b892c5e4c441951b312369b --- target/config/config.fs | 228 ------------------ .../permissions/privapp-permissions-qti.xml | 113 --------- target/config/permissions/qti_whitelist.xml | 119 --------- target/product/aospa-target.mk | 2 - 4 files changed, 462 deletions(-) delete mode 100644 target/config/permissions/privapp-permissions-qti.xml delete mode 100644 target/config/permissions/qti_whitelist.xml diff --git a/target/config/config.fs b/target/config/config.fs index 7d18aa06..f966a773 100644 --- a/target/config/config.fs +++ b/target/config/config.fs @@ -1,231 +1,3 @@ -[AID_VENDOR_QTI_DIAG] -value:2901 - -[AID_VENDOR_QDSS] -value:2902 - -[AID_VENDOR_RFS] -value:2903 - -[AID_VENDOR_RFS_SHARED] -value:2904 - -[AID_VENDOR_ADPL_ODL] -value:2905 - -[AID_VENDOR_QRTR] -value:2906 - -[AID_VENDOR_THERMAL] -value:2907 - -[AID_VENDOR_FASTRPC] -value:2908 - -[vendor/bin/wcnss_filter] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND - -[system/vendor/bin/wcnss_filter] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND - -[vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND NET_ADMIN - -[system/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: BLOCK_SUSPEND NET_ADMIN - -[vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti-lazy] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: BLOCK_SUSPEND NET_ADMIN - -[system/vendor/bin/hw/android.hardware.bluetooth@1.0-service-qti-lazy] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: BLOCK_SUSPEND NET_ADMIN - -[system/bin/cnss-daemon] -mode: 0755 -user: AID_BLUETOOTH -group: AID_BLUETOOTH -caps: NET_BIND_SERVICE - -[vendor/bin/pm-service] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/vendor/bin/pm-service] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/bin/pm-service] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/bin/pd-mapper] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/vendor/bin/pd-mapper] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/bin/pd-mapper] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[vendor/bin/imsdatadaemon] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE - -[system/vendor/bin/imsdatadaemon] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE - -[vendor/bin/ims_rtp_daemon] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE - -[system/vendor/bin/ims_rtp_daemon] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE - -[vendor/bin/imsrcsd] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[system/vendor/bin/imsrcsd] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[vendor/bin/imsdaemon] -mode: 0755 -user: AID_RADIO -group: AID_RADIO -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[vendor/bin/cnd] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN - -[system/vendor/bin/cnd] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN - -[vendor/bin/slim_daemon] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: NET_BIND_SERVICE - -[system/vendor/bin/slim_daemon] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: NET_BIND_SERVICE - -[vendor/bin/loc_launcher] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: SETUID SETGID - -[system/vendor/bin/loc_launcher] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: SETUID SETGID - -[vendor/bin/xtwifi-client] -mode: 0755 -user: AID_GPS -group: AID_GPS -caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM - -[vendor/bin/sensors.qti] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[firmware/] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[firmware/image/*] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[vendor/firmware_mnt/image/*] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[bt_firmware/] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[persist/] -mode: 0771 -user: AID_SYSTEM -group: AID_SYSTEM -caps: 0 - -[dsp/] -mode: 0771 -user: AID_MEDIA -group: AID_MEDIA -caps: 0 - [system/product/vendor_overlay/*/bin/*] mode: 0755 user: AID_ROOT diff --git a/target/config/permissions/privapp-permissions-qti.xml b/target/config/permissions/privapp-permissions-qti.xml deleted file mode 100644 index 75f7f1bf..00000000 --- a/target/config/permissions/privapp-permissions-qti.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/target/config/permissions/qti_whitelist.xml b/target/config/permissions/qti_whitelist.xml deleted file mode 100644 index c99da3f5..00000000 --- a/target/config/permissions/qti_whitelist.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/target/product/aospa-target.mk b/target/product/aospa-target.mk index b9f5e0b7..c3ef3327 100644 --- a/target/product/aospa-target.mk +++ b/target/product/aospa-target.mk @@ -61,9 +61,7 @@ PRODUCT_VENDOR_MOVE_ENABLED := true # Permissions PRODUCT_COPY_FILES += \ - vendor/aospa/target/config/permissions/privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-qti.xml \ vendor/aospa/target/config/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml \ - vendor/aospa/target/config/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ vendor/aospa/target/config/permissions/lily_experience.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/lily_experience.xml # Sensitive phone numbers and APN configurations