40 Commits

Author SHA1 Message Date
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
Xihou Li
7a2b47e958 [ALPS03873094] Rename mtk system properties
[Detail]
Due to new vendor system property rule, rename:
"ro.mtk_md_mims_support" to "ro.vendor.md_mims_support"

MTK-Commit-Id: 044ed790c998cc742f0beea6c8602a0adfed08f8

Change-Id: I7ebadeae292a6a814e05eb1032a7ef65938fc309
CR-Id: ALPS03873094
Feature: VoLTE (Voice over LTE)
2020-01-18 09:46:17 +08:00
Peng QI
7941a87b15 Merge "[ALPS03866092] BT HCI snoop log (2/2)" into alps-trunk-p0.basic
Change-Id: I57b57fd88223366357b717fb7aa9d9b2b2e31872
MTK-Commit-Id: d968e2163fad3e6912b3f9e937aa5b8a00cb8714
2020-01-18 09:45:49 +08:00
Peng Qi
bf77ac2d12 [ALPS03866092] BT HCI snoop log (2/2)
[Detail]
1. Add selinux right for MTKLogger to able to connect Bluetooth
via socket
2. Add selinux right for Bluetooth to set debug property for
MTKLogger state check

MTK-Commit-Id: db60d64b8ed91dfee48588fb5a32f2bedc2ba604

Change-Id: I31c5abb153c2bcd44a2dafca0f1f669e7310c3fe
CR-Id: ALPS03866092
Feature: BT AOSP
2020-01-18 09:45:40 +08:00
mtk14723
681f5b91de [ALPS03900296] EM move xcap system property to bsp
[Detail]
EM move xcap system property from basic to bsp

MTK-Commit-Id: 101ad6522cf582f548e53260346a441b80acddf4

Change-Id: If70507ef90c5a76c9fc66b1d4cc8d230329a5428
CR-Id: ALPS03900296
Feature: Engineering Mode
2020-01-18 09:44:13 +08:00
Chaoran Zhang
5f2560e086 [ALPS03872369] Rename GPS property to "vendor.xx"
[Detail]
Rename GPS property to "vendor.xx"
[Solution]
Rename GPS property to "vendor.xx"

MTK-Commit-Id: ec44a72c9d682320199fd5d8b6e3275a8e038c6d

Change-Id: Iad18e35b9fae08ab3ac3daa300119d8b91e53786
CR-Id: ALPS03872369
Feature: Location Chipset Capability
2020-01-18 09:42:47 +08:00
Gang Wei
bc6d87511e Merge "[ALPS03888283] [P Migration]Property Rename" into alps-trunk-p0.basic
Change-Id: I31c2347d1a71a7143d4a09d940fed7326f88a3ff
MTK-Commit-Id: e4216535b2264566474d3a79f2ff6b20e46d46b9
2020-01-18 09:42:05 +08:00
Dian Wang
e8b0ff9895 [ALPS03888283] [P Migration]Property Rename
[Detail] Property rename in sepolicy

[Solution]
According P property rule

MTK-Commit-Id: dccca517eb8386e9e509da7461dddd82e3cbb06d

Change-Id: I9b38830f8792d40c954f251656d5623bb6c731c6
CR-Id: ALPS03888283
Feature: SP META Tool
2020-01-18 09:42:02 +08:00
Henry Huang (黃健智)
4991b689c6 Merge "[ALPS03841839] nvram init property rename" into alps-trunk-p0.basic
Change-Id: I05c4129f1579d908a416fa97bb3650d01b2de842
MTK-Commit-Id: 107e79ea03725db288290347d30cdcfd8e354a18
2020-01-18 09:40:15 +08:00
henry huang
77e5a274ef [ALPS03841839] nvram init property rename
[Detail]nvram init property rename for Android P

[Solution]as detail

MTK-Commit-Id: 65ecb62d61060ac65847faf0706c752523ed3610

Change-Id: I8fd4a5a64681a92d0346dabab4d30821a232581b
CR-Id: ALPS03841839
Feature: NVRAM Partition
2020-01-18 09:40:06 +08:00
Allen Chu
64d6f4722e [ALPS03804621] [P migration] Add property context
[Detail]
Add the following prefix property to vendor_radio_prop:
vendor.ril.
ro.vendor.ril.
vendor.gsm.
persist.vendor.radio

And declare permission at te file.

MTK-Commit-Id: 2754547c48d8cb78008c8b59e01d43e8d242813a

Change-Id: I593d7d1cdaf0caa5a92c65d0f7b03591cc8cbac8
CR-Id: ALPS03804621
Feature: DSDS (Dual SIM Dual Standby) Framework-Common Framework(RIL)
2020-01-18 09:39:37 +08:00
Yuhui Zhang
931dce4dc1 Merge "[ALPS03830074] EM telephony property selinux" into alps-trunk-p0.basic
Change-Id: I9051921cd06c7ca689de719fdf8b6962b7eb8607
MTK-Commit-Id: 9013bc0156f6b26a4859067a9a1ea46299fd0f9f
2020-01-18 09:38:41 +08:00
dengwei.xu
05776353bd [ALPS03830074] EM telephony property selinux
[Detail]
The Basic EM selinux modify

MTK-Commit-Id: 6b4156244ced418aa502dc771ae63d47015c4e66

Change-Id: I01f8927774f3fac7a477a510d4a7d2c265e01f4a
CR-Id: ALPS03830074
Feature: Engineering Mode
2020-01-18 09:38:35 +08:00
Lei Shi
37ed25d0f9 [ALPS03869735] Properties rename in Android P
Rename persist.radio.last_iccid_sim to
persist.vendor.radio.last_iccid_sim.

MTK-Commit-Id: 6db1504ac7d3acd22bfa500dd65dd2905c5e8297

Change-Id: I91d63f59e2676e406fbac16593f4c1b571ab0bc5
CR-Id: ALPS03869735
Feature: Mobile Telephony Network
2020-01-18 09:37:21 +08:00
Jih-Cheng Chiu (邱日成)
664c95ece8 Merge "[ALPS03869840] P migration: Remove label aosp prop" into alps-trunk-p0.basic
Change-Id: I1ddf6448644d16bb3b6af3904a3a0e083de58335
MTK-Commit-Id: 252f87ac42bc933aa35c0c2bf3d6e894026973a1
2020-01-18 09:37:06 +08:00
Ju-Yi Cheng
80531326ac [ALPS03869840] P migration: Remove label aosp prop
[Detail] Vendor partition shouldnt access aosp defined property
which is not in whitlist. So remove the related changes of labeled
aosp property.
  This reverts commit 9d534a80d67e7457a1411b8b36249898ed4c6986.
  This reverts commit 901fb42d2e3856a139b90420922f558d7231ea7d.
  This reverts commit 41dc8fb567b409e149e59f4f514268ca5883c7ab.

[Solution] Remove label of ro.sf.lcd_density.

MTK-Commit-Id: 02cf063b8407a9d9242f064c86767200e9c0ac0a

Change-Id: I02dcc2fa3fda95c498f0ef70d9aa6bd9224d3b02
CR-Id: ALPS03869840
Feature: [Module]SurfaceFlinger/HWComposer
2020-01-18 09:37:01 +08:00
Guoyi Qu
a6ef7466fe [ALPS03866092] connsys log support
Selinux:porting code to P branch

MTK-Commit-Id: 507ec96911d24544a769fec4126a8582eb7246c9

Change-Id: I5104eb3e3de8a13e060f4af2db6c88f4dd669429
CR-Id: ALPS03866092
Feature: Connsys Log Tool
2020-01-18 09:36:45 +08:00
Ming-Pei Hsu
9a23d8ea96 Merge "[ALPS03845186] SIM related system properties rename" into alps-trunk-p0.basic
Change-Id: I0a6551f62ac28f9d6e007cf08a0623dca2148c6e
MTK-Commit-Id: 56d9e1fc63fa70dcb7d1c7f6fe08f17aa5ececdf
2020-01-18 09:36:26 +08:00
ming-pei.hsu
d2c84d6a69 [ALPS03845186] SIM related system properties rename
Add vendor keyword for MTK added system properties.

MTK-Commit-Id: c0b0f66cffe90e543b71c07dd8d1f07b6a30288c

Change-Id: I06af970436e0df87d9eae478f6540411028f996f
CR-Id: ALPS03845186
Feature: SIM
2020-01-18 09:36:22 +08:00
Larry Liang
a94ac3e353 Merge "[ALPS03841705] AEE porting on Android P" into alps-trunk-p0.basic
Change-Id: Ie88c8fb29e6e51f122cb41103b6807dc9486b8a5
MTK-Commit-Id: 17ddd9047c584201262777a2b7209980d600ab49
2020-01-18 09:35:50 +08:00
mtk11285
457f1855f1 [ALPS03841705] AEE porting on Android P
[Detail]
1. modify property according to P rule
2. add some selinux rules
3. relable /proc/slabinfo /proc/zraminfo

MTK-Commit-Id: aa654138c8b48d223b614c81d2f39d7cd6eedd1f

Change-Id: Ib47383553b0d320d3766780f35c397be60dc1339
CR-Id: ALPS03841705
Feature: Android Exception Engine(AEE)
2020-01-18 09:35:48 +08:00
Chaoran Zhang
98dbe25ff8 [ALPS03872369] Rename property to "vendor.xx"
[Detail]
Rename property to "vendor.xx"
[Solution]
Rename property to "vendor.xx"

MTK-Commit-Id: 87caf0e36e6fdba1493399d2fae880f86e4f8024

Change-Id: Ia5015020a88fcb84609635938792f86a6492aa3f
CR-Id: ALPS03872369
Feature: Location Chipset Capability
2020-01-18 09:35:23 +08:00
ming-pei.hsu
9fcff12f5c [ALPS03875603] Relabel telephony switch property
Relabel global telephony configuration properties.

MTK-Commit-Id: 2666cdeb888a5c7c0e87358766d60857cd3dc896

Change-Id: I317dd786e6ea32087a6866adeb415e35bc5017e1
CR-Id: ALPS03875603
Feature: Telephony feature switch dynamically
2020-01-18 09:34:04 +08:00
Weilun Liu
099ce766c2 [ALPS03861873] rename system property
[Detail]
1. rename ril.mux to ril.vendor.mux
2. rename ril.ipo to vendor.ril.ipo

MTK-Commit-Id: 78bc6ff5295857d43026874250bf19005601f04f

Change-Id: I11f24cfb470db4ca4ed9108bce66a6bf956095fd
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
2020-01-18 09:32:27 +08:00
mtk81217
ce7965cf78 [ALPS03855838] Rename MTKs system properties
Rename World Phone property "ril.active.md" to "vendor.ril.active.md" for
change sepolicy file.

MTK-Commit-Id: 168ea39aae1a74f214888201f7c3e1ce3ac57299

Change-Id: Iff29c044cfe3914a2bc78a673b4fc4a851c5f669
CR-Id: ALPS03855838
Feature: World Phone
2020-01-18 09:31:58 +08:00
Jungo Lin
b5f93ddd6c [ALPS03859804] Rename MTKs system properties
From Android P, system properties added by vendor/ODM/OEM should follow
naming rules.

Please follow naming rule to rename the property:
1. Read-writable: A.B -> vendor.A.B
2. Read-only: ro.A.B -> ro.vendor.A.B
3. Persistent: persist.A.B -> persist.vendor.A.B

MTK-Commit-Id: 0ced1a123df3fc3698ae01c9461c7e805aa5a948

Change-Id: I94b95909d9c2f7273fed87b0c5b6f38f670f6b05
CR-Id: ALPS03859804
Feature: [Module]IP Networking
2020-01-18 09:31:42 +08:00
roger.chang
a66b8deff0 [ALPS03867541] Rename MTKs system properties
From Android P, system properties added by vendor/ODM/OEM should follow
naming rules.

Please follow naming rule to rename the property:
1. Read-writable: A.B -> vendor.A.B
2. Read-only: ro.A.B -> ro.vendor.A.B
3. Persistent: persist.A.B -> persist.vendor.A.B

MTK-Commit-Id: e750504be160afe62a2805b334157e4304878ce4

Change-Id: I0f263557a5d6fb5e471c4680f4028eddb85f7504
CR-Id: ALPS03867541
Feature: UCE, User Capability Exchange
2020-01-18 09:31:30 +08:00
Morven-CF Yeh
a1cfcc550c [ALPS03860276] Rename MTKs system properties
[Detail] modify debug.factory.idle_state to
vendor.debug.factory.idle_state

MTK-Commit-Id: 725183500a96ad7d96bea72edfd5fd42643db833

Change-Id: I323b158642aec36604fe6d1dab2afe217ba09002
Signed-off-by: Morven-CF Yeh <morven-cf.yeh@mediatek.com>
CR-Id: ALPS03860276
Feature: Power Management
2020-01-18 09:31:09 +08:00
Chunyan Zhang
37e0caa36e import from mediatek/master to mediatek/alps-mp-o1.mp1
Change-Id: Ic78db8195c5c51f85c9c6fd3ef8333489afd6e79
MTK-Commit-Id: 848bf57127be9d01fd1df4aab95737855456afee
2020-01-18 09:29:32 +08:00