[Solution]
Factory Mode needs the permission to save test report in
data/vendor, so add it
MTK-Commit-Id: 1daeb3669ade3f8213b893ae903733ca13bb9b93
Change-Id: I8005207d25fdc2bcab06dd193a3d7f7d2b521f23
CR-Id: ALPS03997985
Feature: Factory Mode
(cherry picked from commit 981cd097e413fd52a3cae2d5b8203150e9c1b45f)
(cherry picked from commit d49fb6cec0ea53e47ab72bcd5f2cbfa0dcf4eb34)
[Detail]
Add SEPolicy for EM and YGPS to acces LBS hidl
MTK-Commit-Id: 6fefe972ef73431e64ff762b3a3344ef448f1fe3
Change-Id: I6459c26c0146f72f0adb62562d8daa65bd6cba45
CR-Id: ALPS04013705
Feature: Engineering Mode
[Solution]
Meta Mode will support to query RSC version
Conflicts:
non_plat/property_contexts
MTK-Commit-Id: db231d2c6ea5ed34f20cc93b135925b117bd98f3
Change-Id: Ib9fb54bbd7355bfd50c5a3527e835ff63693c38d
CR-Id: ALPS03972298
Feature: Factory Mode
(cherry picked from commit a504e618d593ef19cfd0738048db935289515fc1)
The system read property should apply the read right
MTK-Commit-Id: 91075726eb8ef7406c7581645add5d702f3475a7
Change-Id: Ib0927cf08f9091d3385514a252fa627dba9eeec9
CR-Id: ALPS04011772
Feature: IRAT - C2K
Add new AAL API for set function with property.
MTK-Commit-Id: 9fa5437f96066104e04ebb655e39d24db2935080
Change-Id: Iab58a2ecd919ceadd9b8586d2b52720c176ded01
CR-Id: ALPS04010443
Feature: Ambient Light Adaptive Luma
[Detail]
libGLES_mali.so depends on libm4u.so on mali GPU.
Surfaceflinger needs libGLES_mali.so, but it cant access normal vendor lib.
[Solution]
Change libm4u.so file label from u:object_r:vendor_file:s0 to u:object_r:same_process_hal_file:s0.
MTK-Commit-Id: cb147e1fb1711d5fea686b3f11d90b60829f1953
Change-Id: I73a0bab2188aa7d2f7f7c488f8377bc8b34af24c
CR-Id: ALPS04007267
Feature: OpenGL|ES
(cherry picked from commit baec3fff9cc025f8131f0fb461400591b8156632)
system_writes_vendor_properties_violators is only workaround,
and will cause *TS test fail, so remove the workaround and
corresponding rules that cause build fail.
MTK-Commit-Id: f637c1416b591c821bc9c18fd3dbf3aa5f9038af
Change-Id: If09922120de0742ec47d7c0522168d4e78a4e74f
CR-Id: ALPS03878175
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
Add the system write and system read property selinux rights
MTK-Commit-Id: 432c666c3d1275c3c7d7f0d88b4fcf69650314bf
Change-Id: I835af9bfdf0b0ac039a4b04498b36f3feb791a12
CR-Id: ALPS04001212
Feature: Engineering Mode
[Detail]
Add poilcy for update_engine and vbmeta so that A/B
system update can work well.
MTK-Commit-Id: de7ad7a48111b4e02f042600c6e65484d03ac87f
Change-Id: I79346615ad1be4c5ea33343c1fce73c22be1f82f
CR-Id: ALPS03783870
Feature: Secure Boot
vendor_default_prop object was blocked by SELinux for radio process.
Add get_prop permission for radio process to get property values for
the vendor default properties.
MTK-Commit-Id: 7dc6ef3ddc126117fbd69cf83a1d3f5bfb70b61e
Change-Id: If0ebff064cc7b3622bcf513650304daf67f3f8fc
CR-Id: ALPS03999678
Feature: WiFi Calling Service
(cherry picked from commit 99687c64c8cfdf261186a1c682a456409e52d20b)
Config property "vendor.gsm.sim.operator.default-name" as:
1. system image could set but vendor image cant.
2. System could read.
MTK-Commit-Id: 79e9cc75b8937a0eeb1e0a34af2095fad7182388
Change-Id: Ib14716449080c17dbd98e681215e1d89d96029a8
CR-Id: ALPS03856250
Feature: SIM
(cherry picked from commit ef7ae758c93dc94fec1f7f23c877d86a254d035d)
[Detail]
Android P add new limitation for property access between
system partition and vendor partition:
1. SET and GET only by system
2. System cannot SET the property which SET/GET by vendor.
3. Allow system and vendor GET the property which SET by vendor.
[Solution]
Add new CXP HIDL to set the vendor property in vendor layer.
MTK-Commit-Id: 9a2ec20bc8a60761ed0ff15f897f67b3883f8486
Change-Id: Icaea3afb2743108d7c78eea2b6e4dad363a8052d
CR-Id: ALPS03873734
Feature: Regional Carrier Express Pack
[Detail]
SEPolicy rule that put in plat_private folder will be placed in system image.
So, It will be overwrited after flashing GSI.
[Solution]
Move MTK rules to non_plat folder instead which will be placed in
vendor image.
MTK-Commit-Id: 91e5023b67f0ce18e5e364adce5da5413c71fc69
Change-Id: I372b059e44c4bbfd6d4a92a790846b2228213b88
CR-Id: ALPS03998186
Feature: Treble
Mobile_log_d exec logcat -L to get last Android Log
MTK-Commit-Id: e51d67ff3d1024ec236d26f66d5286a1aed6fb75
Change-Id: Id2f2aceb501a5324ff642f34455080ccbd54bf34
CR-Id: ALPS03997871
Feature: Mobile Log Tool
[Detail]
Some function will move to vendor hidl, so related sepolicy rules in radio.te could be removed.
MTK-Commit-Id: 8294731a4889e3954a70f5d4379327d9ae0a0ec3
Change-Id: Ib6693e7b6ec3d076e64b505ce670e9c9f5b88281
CR-Id: ALPS03914002
Feature: Engineering Mode
[Detail]
Android P add new limitation for property access between
system partition and vendor partition:
1. SET and GET only by system
2. System cannot SET the property which SET/GET by vendor.
3. Allow system and vendor GET the property which SET by vendor.
[Solution]
1. Add new property label mtk_cxp_vendor_prop
2. Modify CXP related SELinux setting
MTK-Commit-Id: 4cac600ed76d413b5aee7ee64a1d6af55aa499d1
Change-Id: I9498840dead36a536acd5d18470f57bf7aec0a7c
CR-Id: ALPS03873734
Feature: Regional Carrier Express Pack
Google has new property limitation, neverallow coredomain
from writing vendor properties.
Change the type from mtk_core_property_type to
extended_core_property_type
MTK-Commit-Id: d430f6e975a68837ae7c95be664f9004149a6852
Change-Id: I24c634223eb40fc4f28934cdcacb26ea94b0d4f6
CR-Id: ALPS03902630
Feature: BT AOSP
[Detail]
Modify "performance first thermal policy" change
thermal policy method.
1. Using call libmtcloader lib instead of using set property.
2. Add related SEPolicy.
3. Support 32 bit and 64 bit mtcloader lib.
MTK-Commit-Id: 13e96819d3e6663be61276000ae5a800de71862b
Change-Id: Ia78610485f67e94b63f0fcfbccbd7d4b4411ed31
CR-Id: ALPS03867358
Feature: Thermal Management
Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com>