Hu Wang (王胡)
3148dea42f
Merge "[ALPS03875759] SELinux for dynamic enable AMS log" into alps-trunk-p0.basic
...
Change-Id: I28567a7a307e393757d7ab1d6a8cc7fcd2102724
MTK-Commit-Id: 53ce53eb531f2078d7ac1f1d425a9a8b8cd9a63c
2020-01-18 10:01:32 +08:00
Hu Wang
b196f4708e
[ALPS03875759] SELinux for dynamic enable AMS log
...
Dynamic enable AMS log is blocked by SELinux.
Add ams log property policy in SELinux.
MTK-Commit-Id: f145a5c2c798d1a93e0c448108c0b476edb39b95
Change-Id: I0ef3c17af2f1e5ed4e7f3cd3b4a93f4436faf6a7
CR-Id: ALPS03875759
Feature: [Module]ActivityManager
2020-01-18 10:01:30 +08:00
Aroha Lin
19669f18b8
Merge "[ALPS03952241] rename property_contexts" into alps-trunk-p0.basic
...
Change-Id: If753a48d661f492da54ebe8cc2378a810b2c0eec
MTK-Commit-Id: 4adae32bc2be89b20309171098166008a170c782
2020-01-18 10:01:28 +08:00
Aroha Lin
64bcf2a1af
[ALPS03952241] rename property_contexts
...
[Detail]
Android P property_contexts need to rename
the original property
[Solution]
to rename the property
MTK-Commit-Id: ede7c62b1c35ebc0a7904758dd443a013c9b8350
Change-Id: Ia0136368510d8da03bb6a91c6fbd0217bd87018b
CR-Id:ALPS03952241
Feature:[Android Default] Camera Application Basic Functions
2020-01-18 10:01:26 +08:00
Youxiu Wang
08da39faff
Merge "[ALPS03878056] Rename mtk system properties" into alps-trunk-p0.basic
...
Change-Id: I07430a1d6d901ac3bcf606d7da36e83efc7b2eea
MTK-Commit-Id: 3b2eae727472a6fe52e274b8f0cc0ff86bd965e9
2020-01-18 10:01:10 +08:00
Youxiu Wang
5d374974d1
[ALPS03878056] Rename mtk system properties
...
1) Due to new vendor system property rule, rename:
"ro.mtk_md_mims_support" to "ro.vendor.md_mims_support"
2) Remove unused property:ctl.viarild
MTK-Commit-Id: 0196b9a913c715908b9c0b2027d793d8085d531d
Change-Id: Ic0b7bc07000fbd9c079f743e5f1e998daafb1468
CR-Id: ALPS03878056
Feature: DSDS (Dual SIM Dual Standby) Framework
2020-01-18 10:01:03 +08:00
Nan Zhao (赵楠)
cfce19b40d
Merge "[ALPS03809072] Set rat config property permission" into alps-trunk-p0.basic
...
Change-Id: Idb4b7276b07ae40d7969e52978e9f70bd1b1b04b
MTK-Commit-Id: 7a1b52200cf44f84cd64078eaba2558ae5244dc5
2020-01-18 10:00:57 +08:00
Muyi Lan
40d70a34e7
[ALPS03809072] Set rat config property permission
...
[Detail]
Set permission for property "ro.vendor.mtk_disable_cap_switch".
MTK-Commit-Id: 253c3301a18932b0b262668bd5cf9c5c1b9d2230
Change-Id: If741b4a391407d1b712fecf8e67e277fbdbbb8aa
CR-Id: ALPS03809072
Feature: SIM Switch
2020-01-18 10:00:55 +08:00
Light Hsieh
e6ff16fef8
Merge "[ALPS03810368] Sepolicy: define rule for ro.vendor.mtk_emmc_support" into alps-trunk-p0.basic
...
Change-Id: I7c10e951d1dec4814710124e3cc61a79d1610099
MTK-Commit-Id: 902e7c029f21d97da238d48e30b097e643570a05
2020-01-18 10:00:49 +08:00
Xihou Li
2291d42fbc
[ALPS03974117] Move md_mims prop to volte group(selinux)
...
[Detail]
Move "ro.vendor.md_mims_support" property to
"mtk_volte_prop" group(selinux).
MTK-Commit-Id: f1df6ee4b33dffa4ab82913aa347af36095d4e45
Change-Id: I4c8fed9e9b462633efaf4916b66b41c338b75614
CR-Id: ALPS03974117
Feature: VoLTE (Voice over LTE)
2020-01-18 10:00:49 +08:00
Light Hsieh
54e28a0403
[ALPS03810368] Sepolicy: define rule for ro.vendor.mtk_emmc_support
...
[Detail]
Define rule for ro.vendor.mtk_emmc_support
MTK-Commit-Id: ecb6dcb6823b088fea26b80aa12d2f6bfbc507bf
Change-Id: If37ce094f1bb06365061bde36f225aa06fc6f424
CR-Id: ALPS03810368
Feature: eMMC Boot Up
2020-01-18 10:00:47 +08:00
Weilun Liu (劉維倫)
7ffcd67a25
Merge "[ALPS03804621] [P migration] Remove old property label" into alps-trunk-p0.basic
...
Change-Id: Ie819063e841169b9615336955f2bc846c9c3c25b
MTK-Commit-Id: 87e607929f078b635829d1a0e00d8c7090355dbb
2020-01-18 10:00:40 +08:00
Allen Chu
561fad2a70
[ALPS03804621] [P migration] Remove old property label
...
We never use persist.ril.* at Android P. So, remove it.
MTK-Commit-Id: 6a1943658ce7647e6efd65234252d69e83be1a47
Change-Id: I49d35e81192dfd9707687400bc3f0885cde16940
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 10:00:38 +08:00
Robbin Chiu
d4bdbf2593
[ALPS03921589] WMT: Fix SEPolicy issue
...
[Solution]
Fix SEPolicy issue for Factory mode and META mode
MTK-Commit-Id: 403b617503f8705fe4286fd48ce751a4a8e7c58f
Change-Id: Ib73481a5f77f08507724730d8430a48f8a57e9fa
CR-Id: ALPS03921589
Feature: [Module]WMT Driver
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
2020-01-18 10:00:35 +08:00
yuhui.zhang
c2c4d55858
[ALPS03914002] EM:Remove unused property lable
...
[Detail]
Remove property lable for following items
1. Old bt ssp property
2. Wifi log property
MTK-Commit-Id: 35a20d1cc097301f05a69e00bc209b597f3d6539
Change-Id: Iffa2a958cce998b7e020696ceb99667f1b7b5891
CR-Id: ALPS03914002
Feature: Engineering Mode
2020-01-18 10:00:23 +08:00
lokesh
19d6da61af
[ALPS03870695] Bootanimation property renaming
...
[Detail] Change persist.bootanimation to persist.vendor.bootanimation
in property_contexts file
[Solution] As we have renamed the system property name to
persist.vendor.bootanimation.xx , we need to make changes in
property_contexts file to ensure effect of this renaming and to
avoid vts fail.
MTK-Commit-Id: 42a2213dcbd87a6acb5823a5b64b89d7207579cf
Change-Id: Ie7ea4a9df3fc1607c648288c527e94660fbea50e
CR-Id: ALPS03870695
Feature: Boot Animation
2020-01-18 09:59:21 +08:00
Lili Lin
da04582187
Merge "[ALPS03934986] Add mtk_default_prop" into alps-trunk-p0.basic
...
Change-Id: I0fdb58e1905438be99c2b0d3e093df1eff9dbaba
MTK-Commit-Id: 7b841d1194001cac2e4b25b983d90693e578fc84
2020-01-18 09:59:16 +08:00
Lili Lin
8c75cd68e6
[ALPS03934986] Add mtk_default_prop
...
1. We have too many config properties set by PRODUCT_PROPERTY_OVERRIDES,
and these properties usually are not sensitive and allow all processes to read.
2. Since Android P, properties should follow naming rule to add "vendor",
and then this will cause properties to be labeled as vendor_default_prop.
By default, coredomain is not granted to read vendor_default_prop.
Actually these properties are read widely from system/vendor processes.
3. So we introduce "mtk_default_prop" type that grant read access to
all processes, including system and vendor.
MTK-Commit-Id: 18077a2cb14b7b1ddadb7000e8abb565f0fd49e3
Change-Id: Ia378db3dbb9d0bf388139be3419e013228c79d6e
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 09:59:13 +08:00
Josh-YC Liu
0cfc3abf3d
Merge "[ALPS03915523] AAL:Android P Property Change" into alps-trunk-p0.basic
...
Change-Id: I703e901e2f4b00107ab12b8da9acacdec477bd5f
MTK-Commit-Id: e18f31051d892d8f6e821d4443b500518e152ff3
2020-01-18 09:59:08 +08:00
Charles Yen
c2beb52c6a
[ALPS03915523] AAL:Android P Property Change
...
Add AAL debug property permission.
MTK-Commit-Id: 5bea45fd17ce1ac20a8a27c4eb7a76f0d4a11377
Change-Id: Ib8b57f6f9bc60b583af6eeed7e134530677599d6
CR-Id:ALPS03915523
Feature:Ambient Light Adaptive Luma
2020-01-18 09:59:07 +08:00
chien-wei hsu
dd694722fa
[ALPS03902666] Sepolicy: audio prop need prefix vendor
...
[Detail]
audio prop need prefix vendor
vendor.streamout. u:object_r:audiohal_prop:s0
vendor.streamin. u:object_r:audiohal_prop:s0
vendor.a2dp. u:object_r:audiohal_prop:s0
new property of vendor.audiohal for general purpose.
vendor.audiohal. u:object_r:audiohal_prop:s0
MTK-Commit-Id: b5097d4763935f129a8bb15d222d12d72a5bd6c7
Change-Id: I0e0809a1e490218c007087e71850f2dcc0ebf007
CR-Id: ALPS03902666
Feature: [Module]Native AudioFlinger
2020-01-18 09:59:02 +08:00
Kaiwen Liu
36c7c80659
[ALPS03951738] Use mtk_uce_support to switch on/off
...
Abandon mtk_uce_ua_support usage
MTK-Commit-Id: 5f79d13d2fd01ce0c507ac37265ef632927b7a08
Change-Id: I0ce1cc044e4c5f4693f9d64dd2a07b2034a1574e
CR-Id: ALPS03951738
Feature: UCE, User Capability Exchange
2020-01-18 09:58:56 +08:00
Charles Yen
072a14dd6e
[ALPS03951976] PQ:Add PQ Property Permission
...
Add pq/aal property label & permission.
MTK-Commit-Id: 7ff05d937adde3f2d3c59029e140a640f23212b9
Change-Id: Ib6d9763bb00df0e40c6d77306d5faece7b5d1a00
CR-Id:ALPS03951976
Feature:MiraVision
2020-01-18 09:58:47 +08:00
Chien-Wei Hsu
20efb87465
Merge "[ALPS03902666] Sepolicy: remove violate properties setting" into alps-trunk-p0.basic
...
Change-Id: Ib554a618de5b4d747bde2cc3e4dde77effdbee34
MTK-Commit-Id: 65696211d98ec125f1b7d533cc2686d12af93dbe
2020-01-18 09:58:34 +08:00
chien-wei hsu
d1522f4166
[ALPS03902666] Sepolicy: remove violate properties setting
...
[Detail]
1.Property new change
neverallow coredomain from writing vendor properties
(allow audioserver_28_0 audiohal_prop (property_service (set)))
(allow audioserver_28_0 mtk_thermal_config_prop (property_service (set)))
audio_hal property which prefix is af. use to audiodump.
it will replace by the audio_prop which property prefix is vendor.af
before, mtk_thermal_config_prop use to set powerhal.
And we use it by HIDL now, so this permission can remove.
[Solution]
remove violate properties setting.
MTK-Commit-Id: 2942812bb4a57655898d407f84162fbdae9c3fc9
Change-Id: I1a01ddd8b83fa7eb0c499f67400660b738e9b986
CR-Id: ALPS03902666
Feature: [Module]Native AudioFlinger
2020-01-18 09:58:29 +08:00
Muyi Lan
80f841d0dd
[ALPS03809072] Set rat config property permission
...
[Detail]
Set permission for property "ro.vendor.mtk_protocol1_rat_config".
MTK-Commit-Id: 6bf36e9b4dc41769abb6d54a204877df82aa3804
Change-Id: Ie0b31f15e65381d4094bdf2095f8047db1be21fd
CR-Id: ALPS03809072
Feature: Telephony feature switch dynamically
2020-01-18 09:58:25 +08:00
Jason Su
8e687077cb
Merge "[ALPS03950289] Add permission to access GPS properties" into alps-trunk-p0.basic
...
Change-Id: I731a490bda9197204316e3ec6e3c96b2c21f9aa2
MTK-Commit-Id: b8c35170a68804f5db06878e636d4f64debab6a8
2020-01-18 09:58:15 +08:00
Jason Su
b2d6377d9c
[ALPS03950289] Add permission to access GPS properties
...
[Detail]
Add selinux permissions to access GPS vendor system peroperties.
MTK-Commit-Id: aa97b76d646e13029488cae3aa0feb73a389675c
Change-Id: Icd41d074b1b620f70e5a68c3c02719f773cf2b2f
CR-Id: ALPS03950289
Feature: Location AOSP
2020-01-18 09:58:10 +08:00
Guoyi Qu
4b9b0ea2a2
[ALPS03934599] property set issue
...
Change property name for new rule in P branch
MTK-Commit-Id: f6085b301d89b12bf36fd0d8fe2cea8144204bad
Change-Id: I0b9945db11eae1a1a59d201389ba001a18a3fc50
CR-Id: ALPS03934599
Feature: Connsys Log Tool
2020-01-18 09:57:59 +08:00
Stella Yang
e74283f1a5
Merge "[ALPS03878966] Declare label for mtk_ril_mode" into alps-trunk-p0.basic
...
Change-Id: Ic553ed91687447da5ae9a064e32fdd04afcc3763
MTK-Commit-Id: 7df057e68500af6a428ff2d925ffd5586ae3b2e2
2020-01-18 09:56:33 +08:00
stella yang
0c41f7d408
[ALPS03878966] Declare label for mtk_ril_mode
...
[Detail]
1. Add label: mtk_ril_mode_prop
2. Add ro.vendor.mtk_ril_mode into the label
MTK-Commit-Id: 68167f299e05a9fc8a11f4d7579c1a62fe2e7575
Change-Id: I3df9fb88b7871506272ec7f020ce2d5ecdf85272
CR-Id: ALPS03878966
Feature: WiFi Calling Service
2020-01-18 09:56:30 +08:00
Guoyi Qu (曲国毅)
570e1867d0
Merge "[ALPS03943443] Modem Log start USB logging fail" into alps-trunk-p0.basic
...
Change-Id: I54d5f747ba455c7b14eefbd8ff83096005e390f1
MTK-Commit-Id: d0ef866415599566461fd4ae5f995e3c96091038
2020-01-18 09:56:02 +08:00
bo.shang
276c0764fc
[ALPS03943443] Modem Log start USB logging fail
...
Fix SELinux errors:
1. Set vendor property
2. Set USB property
[Solution] Add permission
MTK-Commit-Id: f9bea7ca32b8ca70e6f015d786753a43491810aa
Change-Id: I3e7cfc80eb34c3430a059b57afa1474ee49e75b1
CR-Id: ALPS03943443
Feature: Modem Log Tool
2020-01-18 09:55:57 +08:00
Yuhui Zhang
9bfd115a97
Merge "[ALPS03886705] EmCamera:sytemproperty name change" into alps-trunk-p0.basic
...
Change-Id: I85ab713b378de0567d6d5b4eff6287578a9d553b
MTK-Commit-Id: bf2a23c717ea1964fe3e8627170e4bd0db2890a7
2020-01-18 09:55:55 +08:00
Juan Rong
e405561d06
[ALPS03886705] EmCamera:sytemproperty name change
...
[Detail]
P migration: System property name change,
related SELinux need change too.
MTK-Commit-Id: f71582111ca7952637d39f49d8dccebdc933e299
Change-Id: Id0afb83774b37a23dfdcb8c85ccbd79310ad20e3
CR-Id: ALPS03886705
Feature: Engineering Mode
2020-01-18 09:55:49 +08:00
guoyi.zhao
aa8c0897c5
[ALPS03929399] Rename CT VoLTE system property
...
[Detail]
Rename CT VoLTE system property and allow other module to access
persist.vendor.mtk_ct_volte_support.
MTK-Commit-Id: ae81ce0aabd412c630a4ebed0ba4a9a44121f8b6
Change-Id: I3142c30c2dcfe114cdaaf59d3b8bbfb565e50519
CR-Id: ALPS03929399
Feature: CTC VoLTE
2020-01-18 09:55:37 +08:00
bo.shang
8e36e3b63b
[ALPS03939381] Relabel Modem log property
...
[Solution] Add permission for emdlogger and netdiag
MTK-Commit-Id: 14c95f115ab3347144b53fdfadb968697c689456
Change-Id: I591f884fbd7bccbbfd7fd28b5e05f4ea2b2e3181
CR-Id: ALPS03939381
Feature: Modem Log Tool
2020-01-18 09:54:24 +08:00
bo.shang
43da9dd22e
[ALPS03939381] Label mdlogger property
...
change to debug to vendor.
MTK-Commit-Id: 7e44c1459207e6d1ec904ab2cc5224f19cc29ade
Change-Id: I996979da0f2827d9627a7bc69b6b65c3f590aa82
CR-Id: ALPS03939381
Feature: Modem Log Tool
2020-01-18 09:54:14 +08:00
mtk13799
9b9fbdfcf9
[ALPS03936313] NE occured on ccci_fsd
...
[Detail]ccci_fsd cannot open nvdata for selinux rule
[Solution]add selinux rules
MTK-Commit-Id: 187a7abec272b2e4201d7897d6608e5fafbc9070
Change-Id: Idd88dfc3d27d68584ca32be1e0128f21a29a7524
Signed-off-by: mtk13799 <xin.huang@mediatek.com>
CR-Id: ALPS03936313
Feature: Modem Interface Driver
2020-01-18 09:53:24 +08:00
Larry Liang
a308bd06d8
Merge "[ALPS03841705] relable the ro.* property of AEE" into alps-trunk-p0.basic
...
Change-Id: If2ed9f9583e7d466ff1917401fcf69dd7f05227d
MTK-Commit-Id: 6111bda13a76ef18e5974b6c815258882bcba7bd
2020-01-18 09:51:31 +08:00
mtk11285
75d22d6e40
[ALPS03841705] relable the ro.* property of AEE
...
[Detail] relable the ro.* property of AEE
MTK-Commit-Id: d3a00d0323f1ea56c68c75a3c07e5db649ccf328
Change-Id: Id4038cd4b01622bd955d4845eae9493693ef33b6
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:51:24 +08:00
Yuxian Xu
e5092c50cd
[ALPS03886572] Relabel MobileLog properties
...
[Detail]
Relabel MobileLog properties
MTK-Commit-Id: 55ea56fb0008719e0081ff362b3f0867107aaf38
Change-Id: I5546316e039fa28b74946a54dee84fdddfefb2d1
CR-Id: ALPS03886572
Feature: Mobile Log Tool
2020-01-18 09:51:19 +08:00
Joen Chen (陳建豪)
3b302c45bc
Merge "[ALPS03869840] Add selinux for graphic debug prop" into alps-trunk-p0.basic
...
Change-Id: If7c4b3f2a04b5197a8270db779678f4542169c64
MTK-Commit-Id: a63971f7ccc36d66902ff8a680ae70597d970f6f
2020-01-18 09:51:10 +08:00
Ju-Yi Cheng
8f98a88a89
[ALPS03869840] Add selinux for graphic debug prop
...
[Detail]
Relable vendor defined debug property for android P
and label the following property:
1. vendor.debug.sf
2. vendor.debug.hwc
3. vendor.debug.bq
MTK-Commit-Id: 597f4da4e53b1d45c556895e0d85bdb3c6cd80a1
Change-Id: Iaa311f9049a519bd891a45f2b2ca73a61861e353
CR-Id: ALPS03869840
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 09:51:06 +08:00
Robbin Chiu
cd3da1b8a8
[ALPS03931068] WMT: fix SEPolicy issue
...
[Solution]
Add SEPolicy rule for wmt_loader
MTK-Commit-Id: beb5ef6cba5f8328f375c24cdde2c7113412d7a5
Change-Id: Ifd74b1929ff60bdc81a51dbdcb7188f97ea6367d
CR-Id: ALPS03931068
Feature: [Module]WMT Driver
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
2020-01-18 09:50:46 +08:00
Josh Hsiao (蕭志遠)
4abb4dacbd
Merge "[ALPS03867358] Thermal: P Migration" into alps-trunk-p0.basic
...
Change-Id: I2c62cf51cfea15252be947429e8df260130cd784
MTK-Commit-Id: 5601ea641ff6992639ec5add66a8e448327417c4
2020-01-18 09:50:03 +08:00
jerry-sc.wu
c7b0e0020f
[ALPS03867358] Thermal: P Migration
...
[Detail]
Modiy change thermal policy method.
Using "set property" instead of call lib by individual process.
[Solution]
1. Add "on property" in init.thermal_manager.rc file.
2. Modify selinux policy.
3. Remove "on property" in project init.rc.
Using "start service" instead of "exec command" to
avoid performance issue.
4. Rename thermal property.
MTK-Commit-Id: e384dfc938d08ed9e37de6c0ca2bfbe10dfa3f2d
Change-Id: I20981a3ee6461428a29dd01fab0553b3b2a63539
CR-Id: ALPS03867358
Feature: Thermal Management
Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com>
2020-01-18 09:49:54 +08:00
mtk04179
5d38942dee
[ALPS03919865] CCT mtk.client.appmode property
...
allow CCT to set property, and run "MtkEng" mode
MTK-Commit-Id: 1e9d617b4ea425b5201cefc5c44c0a8fe1fc33d6
Change-Id: Icd7312b1dee132110ba4009d31ecb1c365ec8573
CR-Id: ALPS03919865
Feature: Camera Calibration Tuning (CCT) Tool
(cherry picked from commit 71736e24765ee35e4aaa91ac770bda610574fa17)
(cherry picked from commit 4d38e06e9dfbdaec65b725ba7ff6b5671ca82636)
2020-01-18 09:49:21 +08:00
mtk11285
a76cdd9cee
[ALPS03841705] AEE porting on Android P about selinux
...
[Detail]
1. add some rules
2. transfer aee_core_forwarder domain form kerenl to aee_core_forwarder
MTK-Commit-Id: 7ad2c5df75565153ccec471f0eb2224c912515cd
Change-Id: I9b576e3937d04b5848baeb156718d0469fa05a75
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:48:59 +08:00
yuhui.zhang
d442f052ed
[ALPS03914002] Add property sepolicy rules
...
[Detail]
Add property sepolicy rules for EM
MTK-Commit-Id: 33df3c32e9e188bb4f236aac89468a932c35aa5b
Change-Id: Iac21945023892e8cfa9bec9e21bbaf70cbe547dc
CR-Id: ALPS03914002
Feature: Engineering Mode
2020-01-18 09:46:58 +08:00