[Detail]
System properties like init.svc.vendor.* cannot be dumped
in mobilelog. It is because moblelogd doesnt have permission to
access them. The status of VoLTE-stack cannot be shown in
mobilelog.
[Solution]
Add get permission to access those system properties
MTK-Commit-Id: 73a911ef7934cdb4640809343f64c9815c43f1be
Change-Id: I6c11e5a397826c45ca83cb19ce6cb114aee59f53
CR-Id:ALPS03908242
Feature:VoLTE (Voice over LTE)
[Detail]
make Mobilelog its own properties only used in system partition
MTK-Commit-Id: 98c61ef31a7a7a09bed1c492a9dc1e7c1f12c47e
Change-Id: Iceea093a055817f4ccc8350c3543433b83ecc2f2
CR-Id: ALPS03976171
Feature: Mobile Log Tool
vendor.sys.boot.reason is set by system process, not vendor_init
thus remove it from mtk_default_prop
MTK-Commit-Id: f0df9ebeb7cff07aa134559b4e4dedef66417302
Change-Id: I39b14ee6863396eb5296b1a0a4e171a369dd994b
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
Some rules is no need any more, need to remove it.
MTK-Commit-Id: 49685f1299d990a7195a2d54b955517d8f2cc699
Change-Id: I4a590ad781589cf94989ce72c88751ac10b82eae
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
Add the new selinux rights support
MTK-Commit-Id: 31147b1027de480ab0b3379a008813351049e342
Change-Id: Ia07ca66917911ce7e8a7e6d76c9c4137c1cd5cf2
CR-Id: ALPS03984881
Feature: Engineering Mode
[Detail]
add sepolicy for sysenv get device path by fstab
MTK-Commit-Id: 3b4654113dec0bebfd1ba6f4b90fd501ccc6513d
Change-Id: I8cfdaf572363f8ac9ce5276eb4ddff525dd7c841
CR-Id: ALPS03908752
Feature: eMMC Boot Up
(cherry picked from commit 9a53df024a1c1a1cba9a94373b867a50956225d4)
Need to apply selinux access right for connsys
log feature system property
Test: make, read check by MTKLogger
MTK-Commit-Id: cabc0581448be6b267e44f87b36e216905fd4045
Change-Id: I2fb5ea65dad6ba87dc63f7922eb3384cfb96b485
CR-Id: ALPS03866092
Feature: MTKLogger
Since Android P, all properties under non_plat/property_contexts
should follow naming rule to add "vendor" prefix, otherwise
VTS will fail.
MTK-Commit-Id: 4563796d8ea83f170097b1ad8fdc3bae0cbae5a1
Change-Id: I0315ae6beefc6f4dd97bf79d217c82b4b7c281e5
CR-Id: ALPS03934986
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
Remove violators of system_executes_vendor_violators
in all .te files for Google rule.
MTK-Commit-Id: 2ea1f525e8cd6ef3cda981b2a47eabc4582fe767
Change-Id: I3940095186b1a530e7ed442cc34658c2317b9a89
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
[Detail]
We use system property to start service,
follow android P rules, we should add prefix "vendor."
into the property name
MTK-Commit-Id: fbd0d1e60f45d93dd0402747afd0a91624f7e0cf
Change-Id: I02d8dace8d0445b3adf8c4044e15fed3f5fe95ab
CR-Id: ALPS03861873
Feature: [Module]Telephony power on
[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
In P version, process needs add net permission to access socket.
MTK-Commit-Id: 4cd65a5adf83ee597402220297cf8d7b727f3da0
Change-Id: I39fbeb59e146fc508cc721ddb299fedc15a70a6b
Signed-off-by: Black Chen <black-ch.chen@mediatek.com>
CR-Id: ALPS03969178
Feature: [Module]Wi-Fi Driver
(cherry picked from commit 1569bcd159fe2472597e2bf2b3c5016f44d7756d)
[Detail]
Mediaserver doesnt set property to audio hal,
Remove the sepolicy permission.
MTK-Commit-Id: d4d2c9bcfc7d6e1c400673da105aacf7af9a2577
Change-Id: I1ea50f192688f9065856c710c2b7af55b9a30bef
CR-Id: ALPS03889880
Feature: [Module]Audio HAL
shell.te: remove mtkcam_prop
Remove the following due to the violation:
typeattribute shell system_writes_vendor_properties_violators;
set_prop(shell, mtkcam_prop)
MTK-Commit-Id: 59d4ee65c6ca6e46a6caa246fd2f68d220b3e4e3
Change-Id: Ia434883e82f0a0432c42b00da2c8b695be6988b9
CR-Id: ALPS03972288
Feature: [Android Default] Camera Application Basic Functions
Remove uce property to compliance google new rule on android P
MTK-Commit-Id: d5819765a722ab16504011bdc12797e72576b6df
Change-Id: I91f011952ac7e6272700de5042fb776ad0f497f9
CR-Id: ALPS03974555
Feature: UCE, User Capability Exchange