diff options
-rw-r--r-- | config.fs | 76 | ||||
-rw-r--r-- | configs/privapp-permissions-qti.xml | 13 | ||||
-rw-r--r-- | configs/public.libraries.txt | 3 | ||||
-rw-r--r-- | configs/qti_whitelist.xml | 71 | ||||
-rw-r--r-- | configs/sec_config | 1 | ||||
-rw-r--r-- | configs/whitelistedapps.xml | 63 | ||||
-rw-r--r-- | sdm660.mk | 3 |
7 files changed, 129 insertions, 101 deletions
@@ -1,6 +1,3 @@ -[AID_VENDOR_QCOM_DIAG] -value:2950 - [AID_VENDOR_QTI_DIAG] value:2901 @@ -8,10 +5,10 @@ value:2901 value:2902 [AID_VENDOR_RFS] -value:2951 +value:2903 [AID_VENDOR_RFS_SHARED] -value:2952 +value:2904 [AID_VENDOR_ADPL_ODL] value:2905 @@ -19,6 +16,21 @@ value:2905 [AID_VENDOR_QRTR] value:2906 +[AID_VENDOR_THERMAL] +value:2907 + +[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 @@ -31,6 +43,18 @@ 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 @@ -75,37 +99,37 @@ caps: NET_BIND_SERVICE [vendor/bin/imsdatadaemon] mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM +user: AID_RADIO +group: AID_RADIO caps: NET_BIND_SERVICE [system/vendor/bin/imsdatadaemon] mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM +user: AID_RADIO +group: AID_RADIO caps: NET_BIND_SERVICE [vendor/bin/ims_rtp_daemon] mode: 0755 -user: AID_SYSTEM +user: AID_RADIO group: AID_RADIO caps: NET_BIND_SERVICE [system/vendor/bin/ims_rtp_daemon] mode: 0755 -user: AID_SYSTEM +user: AID_RADIO group: AID_RADIO caps: NET_BIND_SERVICE [vendor/bin/imsrcsd] mode: 0755 -user: AID_SYSTEM +user: AID_RADIO group: AID_RADIO caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM [system/vendor/bin/imsrcsd] mode: 0755 -user: AID_SYSTEM +user: AID_RADIO group: AID_RADIO caps: NET_BIND_SERVICE BLOCK_SUSPEND WAKE_ALARM @@ -121,18 +145,6 @@ user: AID_SYSTEM group: AID_SYSTEM caps: NET_BIND_SERVICE BLOCK_SUSPEND NET_ADMIN -[vendor/bin/sensors.qti] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - -[system/vendor/bin/sensors.qti] -mode: 0755 -user: AID_SYSTEM -group: AID_SYSTEM -caps: NET_BIND_SERVICE - [vendor/bin/slim_daemon] mode: 0755 user: AID_GPS @@ -151,12 +163,24 @@ 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 @@ -171,7 +195,7 @@ caps: 0 [vendor/firmware_mnt/image/*] mode: 0771 -user: AID_ROOT +user: AID_SYSTEM group: AID_SYSTEM caps: 0 diff --git a/configs/privapp-permissions-qti.xml b/configs/privapp-permissions-qti.xml index d100bc1..380b7bd 100644 --- a/configs/privapp-permissions-qti.xml +++ b/configs/privapp-permissions-qti.xml @@ -40,9 +40,6 @@ It allows additional grants on top of privapp-permissions-platform.xml <privapp-permissions package="com.qualcomm.qcrilmsgtunnel"> <permission name="android.permission.INTERACT_ACROSS_USERS"/> </privapp-permissions> - <privapp-permissions package="se.dirac.acs"> - <permission name="android.permission.INTERACT_ACROSS_USERS"/> - </privapp-permissions> <privapp-permissions package="org.codeaurora.dialer"> <permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/> @@ -88,11 +85,7 @@ It allows additional grants on top of privapp-permissions-platform.xml <privapp-permissions package="com.android.mms"> <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> <permission name="android.permission.WRITE_APN_SETTINGS"/> - </privapp-permissions> - - <privapp-permissions package="org.codeaurora.bluetooth.batestapp"> - <permission name="android.permission.BLUETOOTH_PRIVILEGED"/> - <permission name="android.permission.LOCAL_MAC_ADDRESS"/> + <permission name="android.permission.CALL_PRIVILEGED"/> </privapp-permissions> <privapp-permissions package="org.codeaurora.snapcam"> @@ -100,6 +93,10 @@ It allows additional grants on top of privapp-permissions-platform.xml <permission name="android.permission.WRITE_MEDIA_STORAGE"/> </privapp-permissions> + <privapp-permissions package="org.codeaurora.gallery"> + <permission name="android.permission.MODIFY_AUDIO_ROUTING"/> + </privapp-permissions> + <privapp-permissions package="com.qualcomm.qti.callenhancement"> <permission name="android.permission.RECORD_AUDIO" /> <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" /> diff --git a/configs/public.libraries.txt b/configs/public.libraries.txt index 19c3863..94c0a5d 100644 --- a/configs/public.libraries.txt +++ b/configs/public.libraries.txt @@ -1,3 +1,6 @@ libqti-perfd-client.so libadsprpc.so +libcdsprpc.so +libsdsprpc.so +libfastcvopt.so libOpenCL.so diff --git a/configs/qti_whitelist.xml b/configs/qti_whitelist.xml index 131953b..ef60d81 100644 --- a/configs/qti_whitelist.xml +++ b/configs/qti_whitelist.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- -/* Copyright (c) 2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2017-2018, 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 @@ -42,8 +42,75 @@ <allow-in-power-save package="com.qualcomm.qti.server.wigigapp" /> <allow-in-power-save package="com.qualcomm.qti.StatsPollManager" /> <allow-in-power-save package="com.qualcomm.qti.gsma.services.nfc" /> - + <allow-in-power-save package="com.quicinc.voice.activation" /> + <allow-in-power-save package="com.android.mms" /> + <allow-in-power-save package="com.android.exchange" /> + <allow-in-power-save package="com.android.email" /> + <allow-in-power-save package="com.qualcomm.qti.callenhancement" /> + <allow-in-power-save package="com.qualcomm.qti.smartassistant" /> <!-- These telephony applications need access to non-[System]SDK APIs --> + <hidden-api-whitelisted-app package="com.qualcomm.uimremoteserver" /> + <hidden-api-whitelisted-app package="com.qualcomm.uimremoteclient" /> + <hidden-api-whitelisted-app package="com.qualcomm.atfwd" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.autoregistration" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.callenhancement" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.callfeaturessetting" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.confdialer" /> + <hidden-api-whitelisted-app package="org.codeaurora.dialer" /> + <hidden-api-whitelisted-app package="com.qti.qualcomm.datastatusnotification" /> + <hidden-api-whitelisted-app package="com.qti.qualcomm.deviceinfo" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.modemtestmode" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.networksetting" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.qtisystemservice" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.telephonyservice" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfiginterface" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.radioconfigtest" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.roamingsettings" /> + <hidden-api-whitelisted-app package="com.qualcomm.simcontacts" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.simsettings" /> + <hidden-api-whitelisted-app package="org.codeaurora.ims" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.ims" /> + <hidden-api-whitelisted-app package="com.qti.xdivert" /> + <hidden-api-whitelisted-app package="com.qualcomm.qcrilmsgtunnel" /> + <hidden-api-whitelisted-app package="com.qti.confuridialer" /> + <hidden-api-whitelisted-app package="com.qti.editnumber" /> + <hidden-api-whitelisted-app package="com.qualcomm.embmstest" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.ltedirect" /> + <hidden-api-whitelisted-app package="com.android.MultiplePdpTest" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.app" /> + <hidden-api-whitelisted-app package="com.qualcomm.embms" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.embmstuneaway" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.uimlpatest" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.uim" /> + + <hidden-api-whitelisted-app package="org.codeaurora.snapcam" /> + <hidden-api-whitelisted-app package="com.android.mms" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.carrierswitch" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.carrierconfigure" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.sva" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.smartassistant" /> + <hidden-api-whitelisted-app package="com.quicinc.voice.activation" /> + <hidden-api-whitelisted-app package="com.android.backup" /> + <hidden-api-whitelisted-app package="com.android.contacts" /> + <hidden-api-whitelisted-app package="com.android.exchange" /> + <hidden-api-whitelisted-app package="com.android.soundrecorder" /> + <hidden-api-whitelisted-app package="com.android.camera2" /> + <hidden-api-whitelisted-app package="org.codeaurora.gallery" /> + <hidden-api-whitelisted-app package="com.example.connmgr" /> + <hidden-api-whitelisted-app package="com.android.email" /> + <hidden-api-whitelisted-app package="com.cyanogenmod.filemanager" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.presenceappSub2" /> + <hidden-api-whitelisted-app package="com.qualcomm.secureindicator" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.sysmonappExternal" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.biometrics.voiceprint.voiceprintdemo" /> + <hidden-api-whitelisted-app package="com.qti.vtloopback " /> + <hidden-api-whitelisted-app package="com.android.bluetooth" /> + <hidden-api-whitelisted-app package="org.codeaurora.bluetooth" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.qmmi" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.perfdump" /> <hidden-api-whitelisted-app package="com.qualcomm.wfd.client" /> <hidden-api-whitelisted-app package="com.qualcomm.wfd.service" /> + <hidden-api-whitelisted-app package="com.qualcomm.qti.server.wigigapp" /> + <hidden-api-whitelisted-app package="com.qti.service.colorservice" /> </config> diff --git a/configs/sec_config b/configs/sec_config index 9f8fe23..4825eb2 100644 --- a/configs/sec_config +++ b/configs/sec_config @@ -318,6 +318,7 @@ /*SERVREG_NOTIF*/ 64:4294967295:1001 66:4294967295:1001 +73:4294967295:1001 /*LTE*/ 70:4294967295:1001 /* Allow Data dpmd to access QMI DFS */ diff --git a/configs/whitelistedapps.xml b/configs/whitelistedapps.xml deleted file mode 100644 index 06e3874..0000000 --- a/configs/whitelistedapps.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - -<!-- -/* Copyright (c) 2017 Qualcomm Technologies, Inc. - * All Rights Reserved. - * Confidential and Proprietary - Qualcomm Technologies, Inc. - */ ---> - -<AppCatalog> - <ResolutionOverrideApps> - - <!-- In AppAttributes, PackageName is must. - ActivityName and VersionCode are optional and can be used to - further restrict the whitelisting in terms of when and where to apply - - 1. <AppAttributes PackageName="com.imangi.templerun" /> - Straight forward whitelisting when activityTrigger is called with this PackageName - 2. <AppAttributes PackageName="com.imangi.templerun" - ActivityName="com.unity3d.player.UnityPlayerProxyActivity" /> - Updating ApplicationInfo to override the resolution is done when activityTrigger - is called with both the above PackageName and ActivityName - 3. <AppAttributes PackageName="com.imangi.templerun" - VersionCode="11" /> - Same as (1) but happens when app is of verionCode 11 - 4. <AppAttributes PackageName="com.imangi.templerun" - ActivityName="com.unity3d.player.UnityPlayerProxyActivity" - VersionCode="11" /> - Same as (2) but happens when app is of versionCode 11 - --> - - <AppAttributes - PackageName="com.imangi.templerun" - ActivityName="com.unity3d.player.UnityPlayerProxyActivity" /> - - <AppAttributes - PackageName="com.imangi.templerun2" - ActivityName="com.prime31.UnityPlayerProxyActivity" /> - - </ResolutionOverrideApps> - <GameTriggerApps> - </GameTriggerApps> - <AnimTriggerApps> - <AppAttributes - PackageName="com.tencent.mm" - ActivityName="com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyReceiveUI" - WindowAnimationScale = "0" - TransitionAnimationScale = "0" - AnimatorDurationScale = "0" /> - </AnimTriggerApps> - <NetTriggerApps> - <AppAttributes - PackageName="com.tencent.mm" /> - </NetTriggerApps> - <HWAccelApps> - <AppAttributes PackageName="com.autonavi.xmgd.navigator" /> - <AppAttributes PackageName="com.tencent.qqpimsecure" /> - <AppAttributes PackageName="com.ludashi.benchmark" /> - <AppAttributes PackageName="com.tencent.mobileqq" /> - <AppAttributes PackageName="com.taobao.taobao" /> - <AppAttributes PackageName="com.youdao.dict" /> - </HWAccelApps> -</AppCatalog> @@ -370,8 +370,7 @@ PRODUCT_COPY_FILES += \ # Low power Whitelist PRODUCT_COPY_FILES += \ - $(COMMON_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml \ - $(COMMON_PATH)/configs/whitelistedapps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/whitelistedapps.xml \ + $(COMMON_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml # QMI PRODUCT_PACKAGES += \ |