[Detail]
Fix selinux policy config for meta_tst audio part for android P
[Solution]
Fix selinux policy config for meta_tst audio part for android P
MTK-Commit-Id: c8ad0a5f7b240cd44ca8bd961418e0ceb9b8ad65
Change-Id: Ibac06bd6122256c5067046a660b8c4e7d9de1051
CR-Id: ALPS04021455
Feature: SP META Tool
When CTS ot shell use screencap to cat screenshot, it need to the
permission of search gpu_device. Therefore, we have to add the
authorization for it.
MTK-Commit-Id: 80a07b670c5fc61644fe0118952b1500276106a6
Change-Id: I1a91e9bd6184e9b56587f37af55ca63b7b530315
CR-Id: ALPS04016022
Feature: [Module]SurfaceFlinger/HWComposer
(cherry picked from commit cd8ec2d3be76a8d41d7a508c5b460ea99465e14e)
[Detail] phase out the feature of dumpstate hal service
MTK-Commit-Id: 01cf5ccf1d3b626c8efc1d1d08aa008a6864ba34
Change-Id: I0dd5aaa157d2a91feb5af63f0b5588549c20f8ed
CR-Id: ALPS04022196
Feature: Android Exception Engine(AEE)
revise selinux policy of OTG test item,
align AOSP method due to the same requirement.
(search/read USB devices)
MTK-Commit-Id: a0aed0eede4032d7ed56b7b94297a36366624d52
Change-Id: Iee584b5421069f4159879d7b5c1f4c6ee18082ae
CR-Id: ALPS04017296
Feature: Factory Mode
(cherry picked from commit ea3f52167e7e983843639b4b63b3f1b08290cbad)
Sepolicy denied reading the System property ro.vendor.mtk_exchange_support "Access denied finding property "ro.vendor.mtk_exchange_support""
Adding this property to property_contexts in sepolicy/basic/non_plat as per the guidelines for property defined in PRODUCT_PROPERTY_OVERRIDES.
MTK-Commit-Id: df2d79e0b9c73fe974073a94f02eb27678546043
Change-Id: I10daf364fd044249a2467520d87e8ec49c4829f7
CR-Id: ALPS03872441
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
[Detail]
vendor_init will parse meta_init.rc to ifup lo,which needs some
selinux policy. when meta mode has enabled loopback, gps tool can
run normally
[Solution]
add selinux rule to up lo interface
MTK-Commit-Id: b351d14a284871dae0783f4d48278a1fde515f4d
Change-Id: I962bfc0002a76d34e5366869cb5fea46ae1453da
CR-Id: ALPS03974446
Feature: Location Chipset Capability
[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