177 Commits

Author SHA1 Message Date
Freddy Hsin
a380459549 [ALPS04707932] uncrypt: add permission for bcb setting
uncrypt needs misc access right to update bcb

MTK-Commit-Id: d3ef46374d3942f0321613bc9f9979a11d1cadc2

Change-Id: I4b6d5e741d4b7aa55186e6b8c44caa11f3209439
CR-Id: ALPS04707932
Feature: [Android Default] SIU (SD Image Update)
(cherry picked from commit c4550748a1461c467ecdc4ff73e7bb06fdd38643)
2020-01-18 10:18:18 +08:00
Cheng-H Chen
3ae2121560 Merge "[ALPS04709027] ST SE HAL for ST54H (SPI) support" into alps-trunk-q0.basic
Change-Id: Ied52d15185f1d63bfc940b1f9464e1b5322a2b3c
MTK-Commit-Id: 3a71afeb9fac13a84110a03ecb2ece426ce6d237
2020-01-18 10:18:06 +08:00
Megad Lu
3be9ba0bce [ALPS04709027] ST SE HAL for ST54H (SPI) support
[Detail]
New ST NFC stack for Android compatible with native SecureElement service.
Added also SE HAL for ST54H (SPI) support.
SE HAL files are for internal reference only.

MTK-Commit-Id: 1ad8ab131a2acbdf66133db290e4206627a5f50b

Change-Id: Ief43e503b7147ab96185100ae3c02ecb2ce82640
CR-Id: ALPS04709027
Feature: NFC Chipset Capability
2020-01-18 10:18:02 +08:00
Cheng-H Chen
d78668baa8 Merge "[ALPS04707214] ST NFC HAL 1.2" into alps-trunk-q0.basic
Change-Id: I1178c94aae2eda7d2dd1c8383d1f2fe272d185fd
MTK-Commit-Id: b9d80ecb9b047afd398522623c08cd114dd59669
2020-01-18 10:18:00 +08:00
Megad Lu
4d4cdb7208 [ALPS04707214] ST NFC HAL 1.2
[Detail]
Update for the ST NFC HAL version to 1.2.

MTK-Commit-Id: 7c7f8db4cc98b778cddfddae6679947a6b663270

Change-Id: I1c3544d570631d9d46a617203e68466ed529820b
CR-Id: ALPS04707214
Feature: NFC Chipset Capability
2020-01-18 10:17:58 +08:00
sin_mingfeilv
53d88ba13c Merge "[ALPS04707246] porting hdmi hidl service" into alps-trunk-q0.basic
Change-Id: I61666a22c7485f1c2ec593231fe990fb95f32281
MTK-Commit-Id: 9f37e2e99eb79b990663e7a15a56a20c814562b4
2020-01-18 10:17:57 +08:00
gtk_qingyunmei
060eb640e1 [ALPS04707246] porting hdmi hidl service
Refactoring hdmi service as hidl service,so that
other process can call hdmi services API.
Add Selinux permission for hdmi hidl service.

MTK-Commit-Id: 0ecef9e52ce92b52413fbecd2b5be492806b8f53

Change-Id: I7f1c5f48d4ae9777acc80436a4af801f32969fac
CR-Id: ALPS04707246
Feature: [Module]Settings
2020-01-18 10:17:54 +08:00
Jia-Hua Yang
c0ac513d46 [ALPS04668607] NLO: Add define for nlop device
Add define for nlop device.

MTK-Commit-Id: 1312261b0c1b3c20ea8f2d6259e4b46257dc947f

Change-Id: Iee00cf9779af3455ff0235fe5482d41b0d7cb8da
CR-Id: ALPS04668607
Feature: Network Latency Optimization
2020-01-18 10:17:49 +08:00
Guoyi Qu
b4c0ed52b3 Merge "[ALPS04707995] CTS fail fix" into alps-trunk-q0.basic
Change-Id: I9041039776d47e42e064ac126e154b24492c6769
MTK-Commit-Id: 88ff0b09dbbcc96c825f95a69d2172193ca856c4
2020-01-18 10:17:45 +08:00
Guoyi Qu
e1861f520b [ALPS04707995] CTS fail fix
Move defination to private folder

MTK-Commit-Id: e9fcc4d4a929c928dd475887e6a100a85d641815

Change-Id: I34fc6d2f3c96f8ab9d53f840da53465f7b79e9cf
CR-Id: ALPS04707995
Feature: Connsys Log Tool
2020-01-18 10:17:40 +08:00
Larry Liang
30cede8986 Merge "[ALPS04642542] update sepolicy rules for dumping kmemleak file" into alps-trunk-q0.basic
Change-Id: I8d39195bf5e8f73101d1fa350c4124fba4ff1165
MTK-Commit-Id: 3331b590249be0d60f51d699767152445d7cd3ce
2020-01-18 10:17:38 +08:00
Huaiming Li
fc904e056e [ALPS04642542] update sepolicy rules for dumping kmemleak file
add new sepolicy rules for dumping kmemleak file into manual DB

MTK-Commit-Id: bbc72864526fe28df5f9278c4250a152fbe94515

Change-Id: Ie59c50451d3e7b00500a11eab43b99004d0b543c
CR-Id: ALPS04642542
Feature: Android Exception Engine(AEE)
2020-01-18 10:17:36 +08:00
Yifei Qiao
9708912e27 [ALPS04700799] Align keymanager sepolicy with p0.mp6
Align keymanager sepolicy with p0.mp6

MTK-Commit-Id: 24a187bc32e2be7663abb880c07659834d71f4b0

Change-Id: Ia98525be2155dcf3261633d1e6c25a775426068d
CR-Id: ALPS04700799
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:17:31 +08:00
Hua Tian (田华)
642e127203 Merge "[ALPS04649268] Move SELINUX policies to plat_private" into alps-trunk-q0.basic
Change-Id: I896822f69d6a7a9877b39468141822eba21cd2e8
MTK-Commit-Id: 7158df56b1ae9d92622d91dad092628e1741d256
2020-01-18 10:16:49 +08:00
hua.tian
7574cf2c9c [ALPS04649268] Move SELINUX policies to plat_private
These policies are for system process, as a result,
move it to plat_private folder.

MTK-Commit-Id: 46e87002024d5675d566dd59f77cbde9c69bdd37

Change-Id: I9c2b72136d1f1c3062f0ac6b174c8334b1965e80
CR-Id: ALPS04649268
Feature: Mobile Log Tool
2020-01-18 10:16:47 +08:00
Hua Fu
899c01d964 [ALPS04088869] GPS: Add selinux allow for mnld to access gpsdl devices
Allow mnld to access MT6885 new GPS device drivers, which are:
/dev/gpsdl0 and /dev/gpsdl1.

MTK-Commit-Id: 11b8302cd93d085be0e56f7e7645a1e6fd7b5980

Change-Id: I49f18a7ff01c6c4c700f9069920994dd5e62a624
Signed-off-by: Hua Fu <hua.fu@mediatek.com>
CR-Id: ALPS04088869
Feature: Location Chipset Capability
2020-01-18 10:16:44 +08:00
chien-wei hsu
723628ecbd [ALPS04286398] adsp: add adsp permission
[detail]
add device adsp permission

MTK-Commit-Id: e4e95de61164b584c97b949d2aa57ed17dd3120e

Change-Id: I691cb90e40034357d6a320bb0749db497b76a9e7
CR-Id: ALPS04286398
Feature: [Module]Audio OpenDSP
2020-01-18 10:16:14 +08:00
bo.shang
5068833fef [ALPS04532537] Copy vendor modem db and filter
New feature:

Add selinux of HIDL service and client.

Use HIDL copy modem db and filter from vendor image

to data partition for modem log tool.

MTK-Commit-Id: 7fadaf0f2a60d05d7464264ef9e23a75ca27bb66

Change-Id: I12cc8614537f30e90a1717f9838c52283342eb55
CR-Id: ALPS04532537
Feature: Modem Log Tool
2020-01-18 10:15:08 +08:00
mtk81325
0605921b96 [ALPS04304578] [V3]UDC: SElinux permission grant
Feature - Userdata Checkpoint

We will format the metadata partition(md_udc) in first boot-up,
because it is a RAW data part, so giving the permission grant
to e2fs.

MTK-Commit-Id: de837a8e097cad8067f5d653370545b51f8d457e

Change-Id: Iaebc665979ab36422b6df846a2f05450c222d1f5
CR-Id: ALPS04304578
Feature: [Android Default] F2FS File System
2020-01-18 10:14:58 +08:00
Hua Tian (田华)
2053ec451b Merge "[ALPS04649268] Save mobile log in data partition in meta mode" into alps-trunk-q0.basic
Change-Id: I5efc68f3ae699362104c5db0659b91fe65f37ce7
MTK-Commit-Id: 3294cc8af25cc2e6b4358acd0d6b2a589574b403
2020-01-18 10:14:57 +08:00
hua.tian
270eab4eb8 [ALPS04649268] Save mobile log in data partition in meta mode
Add SELINUX policy for mobile_log_d to save log in /data/debuglogger
and for getting log from adb.

MTK-Commit-Id: 8775f10bd89be7ac112cbc56daf422814f0f385f

Change-Id: I39e5e1d0ccb2381ef302c187ff83a9e9cb0fa959
CR-Id: ALPS04649268
Feature: Mobile Log Tool
2020-01-18 10:14:56 +08:00
Cheng-Wei Lee
dc1d2e3aba Merge "[ALPS04331556] Gralloc: Enable mapper 2.1 implement" into alps-trunk-q0.basic
Change-Id: If74e6a095cfb8b853358e446df7b6b5cbbda2b63
MTK-Commit-Id: 4add8c8425fe25734ce37b2a26860296f241247e
2020-01-18 10:14:54 +08:00
WEi Lee
0afde209c0 [ALPS04331556] Gralloc: Enable mapper 2.1 implement
[Detail]
Enable mapper 2.1 impl. on file contexts

MTK-Commit-Id: f70b1b9b0eb38ce6ec9a93f7667afb4c9e3bdd74

Change-Id: If5c793d8d7e0cbc3a94afa27274b828531e97c61
CR-Id: ALPS04331556
Feature: OpenGL|ES
2020-01-18 10:14:49 +08:00
Qiuyue Zhong (钟秋月)
4f69960fd1 Merge "[ALPS04608727] improve sepolicy for d2 plus" into alps-trunk-q0.basic
Change-Id: I76dc84c36793e15c855cf55ddd6d4711b1092b2b
MTK-Commit-Id: f42e007c213c1681904d72026af41a20d5e09d1d
2020-01-18 10:14:45 +08:00
kai.zhao
c882363e4d [ALPS04608727] improve sepolicy for d2 plus
[Detail] improve sepolicy for d2 plus

MTK-Commit-Id: 2340a49104f5457dbd4c02fdd0027d3a6487e203

Change-Id: Idf1d27da771e438b9e8a12ab54591775cdeefeb3
CR-Id: ALPS04608727
Feature: OpenGL|ES
2020-01-18 10:14:41 +08:00
YC Shen
f9c68f4cad Merge "[ALPS04292313] Add sepolicy for MTK Wi-Fi lazy hal" into alps-trunk-q0.basic
Change-Id: I8a72afdeff48a6372df0391c63fc6d03671ba8d9
MTK-Commit-Id: 6de0c92ba0fcd139dfe7065d067a2ba002f13c27
2020-01-18 10:14:40 +08:00
TF Huang
bdf828cf29 [ALPS04292313] Add sepolicy for MTK Wi-Fi lazy hal
Add sepolicy for new added Wi-Fi lazy hal

MTK-Commit-Id: 16ae21d83bc037845e2c6f5c17af86940998a90e

Change-Id: I7863c666aeb9ea782f8007b81124eb00cff430d0
CR-Id: ALPS04292313
Feature: [Module]Wi-Fi HAL
2020-01-18 10:14:31 +08:00
Vincent Sung
d82b26fb4d Merge "[ALPS04578241] GPU: Enable selinux of apphint shared lib" into alps-trunk-q0.basic
Change-Id: Ic766960e09bf93730eae6018a4e9fc71cef80bc1
MTK-Commit-Id: ce7fe4da2e609a39c1f6b36b436ca9a439629d84
2020-01-18 10:14:18 +08:00
Eric Chung
96acf6341d [ALPS04578241] GPU: Enable selinux of apphint shared lib
[Detail]
Enable selinux for dlopen new GPU shared lib in GPU driver

MTK-Commit-Id: 2085a1ed91111ea79d8a99d8aa8707deb9fdf4d3

Change-Id: Ia7b3b633da12027328fe978adf652fedd18ccb3b
CR-Id: ALPS04578241
Feature: OpenGL|ES
2020-01-18 10:14:13 +08:00
dengwei.xu
c6ed642277 [ALPS04285435] EM hidl server sepolicy
Fix the EM hidl server sepllicy build errro

MTK-Commit-Id: 8b95a2baf6f04fd1c8ec5fa6548f78203a581e3d

Change-Id: Iac820d493352c5d37991c23cb10c01f9615ed888
CR-Id: ALPS04285435
Feature: Engineering Mode
2020-01-18 10:13:51 +08:00
James Hsu
61b25561f6 [ALPS04515390] mrdump: add sepolicy for mrdump partition
[Detail]
Add sepolicy for aee access mrdump partition

error log:
mrdump partition /dev/block/platform/bootdevice/by-name/mrdump
 open failed (13), Permission denied

MTK-Commit-Id: f837dec83ec395bddca7806ef5ff2d35ed2f8f7a

Change-Id: Iad2414cdebb66cc3b7046fbe2570ea972101854a
Signed-off-by: James Hsu <james.hsu@mediatek.com>
CR-Id: ALPS04515390
Feature: Memory RAM Dump (MRDUMP)
2020-01-18 10:13:21 +08:00
Gang Wei
edfe850621 Merge "[ALPS04418515] [META]change to vendor_de" into alps-trunk-q0.basic
Change-Id: I09eb4d1e2169689537356c598026813fdb0e592c
MTK-Commit-Id: 5b5870298b5f9daca992d6b2ca738fa6d6bc5316
2020-01-18 10:13:20 +08:00
jing.li
2286610683 [ALPS04418515] [META]change to vendor_de
[META]
Change /data/vendor to /data/vendor_de

MTK-Commit-Id: 4f8a9f9adadd9c32da5d6f781553b4256fec9c38

Change-Id: I3cee972d9d19eafc6bfe465df5229eff584d9ea6
CR-Id: ALPS04418515
Feature: SP META Tool
2020-01-18 10:13:18 +08:00
Juju Sung
f680189e6c [ALPS04284125] Sepolicy: add lost label
[Detail]
netd_socket is deprecated in a/26f84c6.
The netd_socket used in mulitple modem generation,
for cross modem compatibility we add a dummy label to
prevent splitting new branch.

MTK-Commit-Id: b949378b387f9eb942de90b7475aea4ec711f68c

Change-Id: I5179175d9df973a0da01d4520269468b70f742ce
CR-Id: ALPS04284125
Feature: Modem Interface Driver
2020-01-18 10:13:13 +08:00
mtk07406
210222b8d4 [ALPS04431046] GPU: Enable SPHAL for OpenCL
[Detail]
Same process hal modification

MTK-Commit-Id: 54746202d1051616f8d4e65c13d516063899040f

Change-Id: I31873741ce1a25106552d3cc83b22ef866f49433
CR-Id: ALPS04431046
Feature: OpenGL|ES
(cherry picked from commit 53d59eca15de0fdfc5ab1eb6e7ebe45a8dc9ba91)
2020-01-18 10:12:48 +08:00
Code Lin
1cdd0f7bd4 Merge "[ALPS04431920] NP: Add MDLA device SEPolicy" into alps-trunk-q0.basic
Change-Id: Idc43193e6f45c35ef3f4799a1500a9b17c3a503f
MTK-Commit-Id: 7e30f1dccea206f80e4a6ac957e1752565777ac1
2020-01-18 10:12:44 +08:00
Code Lin
da52ff0805 [ALPS04431920] NP: Add MDLA device SEPolicy
Add MDLA device SEPolicy.

MTK-Commit-Id: 097bfbf9de8c3c8760f436ca8f1964037c4ab7f6

Change-Id: Ie4aaab4fc28eb1daf0d6c88cbe4e86f0f59444af
CR-Id: ALPS04431920
Feature: NeuroPilot
2020-01-18 10:12:37 +08:00
Zhongchao Xia
bed757c9c8 Merge "[ALPS04382560] MDP: open mdp device fail" into alps-trunk-q0.basic
Change-Id: I32eb257de568b42ee3405d57bfeb1407addc0836
MTK-Commit-Id: 4c9bdb05011d86bf33434ada19b957201cfe69a2
2020-01-18 10:12:33 +08:00
Zhongchao Xia
379de5a9b0 [ALPS04382560] MDP: open mdp device fail
[Detail]
1. Change /proc/mdp/device to /dev/mdp_device
2. Modify kernel driver change device node
3. Modify init.rc change device owner
4. Add selinux policy

MTK-Commit-Id: 08cf6d6ee97647a5f1262f475b79b420b616e527

Change-Id: I2bd7ee983116294dd62f247a9d30a67655316bd8
CR-Id: ALPS04382560
Feature: [Module]MDP Driver
2020-01-18 10:12:32 +08:00
Jason Su
e1868bca08 Merge "[ALPS04414889] GNSS HIDL 2.0 feature support" into alps-trunk-q0.basic
Change-Id: If79d0dcd54fcd6d043d2b2b48209be393849b420
MTK-Commit-Id: f25092a07205872b985fb8fe954cc2a06faf93b1
2020-01-18 10:12:24 +08:00
Jason Su
4817794ff1 [ALPS04414889] GNSS HIDL 2.0 feature support
GNSS HIDL 2.0 feature support.

MTK-Commit-Id: f0cdd26e9b65f70a4025c542743ff0d2b32359b7

Change-Id: Ic50f73813934c218c6917f5ab7aa735fcc0478d0
CR-Id: ALPS04414889
Feature: Location AOSP
2020-01-18 10:12:19 +08:00
Robbin Chiu
7238f50dd0 [ALPS04419955] WMT: stp_dump moving to vendor
[Solution]
Set SEPolicy for stp_dump

MTK-Commit-Id: 5caf8dd3780faaf3c8933406756ef7298560590c

Change-Id: I3f2ac66941eb5f54f4b2079fbeef15e1ebe1e2b6
Signed-off-by: Robbin Chiu <robbin.chiu@mediatek.com>
CR-Id: ALPS04419955
Feature: [Module]WMT Driver
2020-01-18 10:12:09 +08:00
Ning Cui
be375a5c38 Merge "[ALPS04423573] Led: add sepolicy for lazy hal" into alps-trunk-q0.basic
Change-Id: I3240f308da6632df550a32b5607e89bf72315acb
MTK-Commit-Id: 78f8b67b3716c647d416b4e384656237f824d7c7
2020-01-18 10:11:59 +08:00
mtk14723
d28ce5e220 [ALPS04423573] Led: add sepolicy for lazy hal
[Detail]
Add selinux for lazy hidl, to make lazy hidl service can be started

MTK-Commit-Id: d2bbc3f95ab7f2d7dfafe932515053226747ea78

Change-Id: Id6fd21bf7794dbc42454202b081113a9c040722c
CR-Id: ALPS04423573
Feature: [Android Default] Backlight
2020-01-18 10:11:57 +08:00
Ning Cui
735845c0fc Merge "[ALPS04411237] Vibrator: add sepolicy lazy hidl" into alps-trunk-q0.basic
Change-Id: I5524e06ee343d2e1d87d300722d622c5382a8f63
MTK-Commit-Id: 288239634030deafcfe540670e6fc420dea7a6be
2020-01-18 10:11:56 +08:00
mtk14723
5ae2f3b4d1 [ALPS04411237] Vibrator: add sepolicy lazy hidl
[Detail]
add selinux for lazy hidl, to make lazy hidl service can be started

MTK-Commit-Id: 68eae2f272d3cee8db8377cb298e2227bf21c6fd

Change-Id: Ic1c4ce80ed2574093bdd42f1061aca66596f3dca
CR-Id: ALPS04411237
Feature: [Module]Vibrator
2020-01-18 10:11:54 +08:00
Shiuan Huang
a0f777e564 [ALPS04167940] PQ : Add sepolicy for libscltm and libhdrvideo
[Detail]
More strictly selinux policy that system process cannot access vendor
partition,
unless label the specific vendor lib to same_process_hal_file

[Solution]
Add same-process HAL files and their dependencies

MTK-Commit-Id: 565e78ca92a83f2aaf44bc599b91f9cb61a5bec5

Change-Id: Id5450d9ae3467b9aae8be20d3d1934e3e1f8a375
CR-Id: ALPS04167940
Feature: MiraVision
(cherry picked from commit c62b2f1b4d75034ce130d909a574aa8d6879b345)
2020-01-18 10:11:43 +08:00
GW Chen
3c4854c9f5 Merge "[ALPS04383692] GPU: GPU HIDL" into alps-trunk-q0.basic
Change-Id: I93d8b6a0f28f49c517f54df90b7cf0b2a44a8265
MTK-Commit-Id: eaa711f5f9142e1901062874bb3d23447f1d01f0
2020-01-18 10:11:27 +08:00
GuanWen Chen
01ae15f287 [ALPS04383692] GPU: GPU HIDL
[Detail]
Add sepolicy for gpu hidl

MTK-Commit-Id: c603f9f321c0f50cf21227787ccc3c35e50e55d2

Change-Id: I7a0ed82e546391a509687ef1b4cf5927cfbefe46
CR-Id: ALPS04383692
Feature: OpenGL|ES
2020-01-18 10:11:25 +08:00
Sokonisa Wei
211b424c1e Merge "[ALPS04419954] sync code from android p" into alps-trunk-q0.basic
Change-Id: I39ab50fef0f43ce30d520809713e886a0fa88b43
MTK-Commit-Id: 2afafca07620f6de79a9311210f0ff33c8193c59
2020-01-18 10:11:23 +08:00