[Detail]
Add sepolicy for Storage item in factory mode so that factory can
access /sys/class/block/mmcblk0/.
MTK-Commit-Id: b3e289e9ea36a4d2581365a73ecae798c4fc60e0
Change-Id: I14222cef75b5e0516cb7a767cdb3487d38dbd95b
CR-Id: ALPS04046768
Feature: Factory Mode
Widevine provides a script in /vendor/widevine/
libwvdrmengine/move_widevine_data.sh that copies
the data files from /data to /data/vendor. Some
sepolicy rules are required to enable the device
to run this script.
MTK-Commit-Id: f7aba378699fc68e4e10ed2ed2b812c1e502e66f
Change-Id: I2731ad21da180a1a5f927c5631dcc579da1dc314
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
root cause: cant access dev/gsensor
solution: modify dev/gsensor user group
and modify selinux at the same time
MTK-Commit-Id: d9a07d298ac7c7f6f337e998e79e0c7b607968ec
Change-Id: Id8d37fe90970297a1e23d40cb8c3fe39fd928e0f
CR-Id: ALPS04033230
Feature: [Android Default] Acclerometer
[Detail]
1. Set audio hal as RT thread for USB call and fast record
2. Revise mt3967 to add 4.0 service
3. Replace 2.0 with 4.0
MTK-Commit-Id: 762c6ab286f7b22ca349b82c5e5d0bd7e2891c61
Change-Id: I1bbb3ea67c2bc631116077cf6a88f40cced38a54
CR-Id: ALPS03889880
Feature: [Module]Audio HAL
[Detail] Meta support one key to catch log
[Solution] Meta connect log hidl service
and send socket command
MTK-Commit-Id: 3e935bdb1164fefd257c4bccc33a85aadbc88e58
Change-Id: I12c9a080ebcbd360cde7d8b0d26423cb3c6fb1e1
CR-Id: ALPS04028748
Feature: SP META Tool
(cherry picked from commit a2e072ccbdfccd4a3248fc8b27d7c5fa69ba5896)
[Detail]
1. create /data/aee_exp at runtime.
2. debug utils dispaly error, because engineermode cant get
aee system property, allow engineermode to get aee vendor property.
MTK-Commit-Id: f269072cba0351e65d92452bbd1b7b304d295cf6
Change-Id: I4d51ca658f6a03d18e5dde7e5028b94a08d3e17d
CR-Id: ALPS04020173
Feature: Power Management
[Detail]
Add permission for meta_tst to get kernel uevent via socket
MTK-Commit-Id: d30205369cf482796fcd75feb9e1592e17ba1f61
Change-Id: I11acdd38467d84ce8a62e0ec5b780fca5c90f3b6
CR-Id: ALPS03888283
Feature: SP META Tool
(cherry picked from commit a793e5c40cc75eee4657764c02fc6c109b02e51f)
(cherry picked from commit 9d9369dfe0edb7d1114710f8afca2282f448cf0e)
[Detail]
Add sepolicy access right for Hifi3 adsp device.
Mobilelog and AED will need these access right.
MTK-Commit-Id: 06ac39d7cebbab2bcb3468fcf14f19b7e1489819
Change-Id: Ic834ac687b4423500ef6036824a6d6f75e57ccb3
CR-Id: ALPS03738758
Feature: [Module]Audio OpenDSP
Allow widevine hidl process access keybox file which is stored
at /mnt/vendor/persist
MTK-Commit-Id: 2fd7b3e72d678b5f1916fe873965dfb044c2b14c
Change-Id: I8e5689010f23dbf8fa94acb4b8161cd8e4194196
CR-Id: ALPS03837408
Feature: Secure Video Path (SVP)
create mdlog folder in data for meta mode
MTK-Commit-Id: 0996cc7cf243909b06862c32f11b43194f20ca0c
Change-Id: I4e0f5aaab5cf5b363a0214b5ea8ce6e994dec69f
CR-Id: ALPS04027460
Feature: Modem Log Tool
[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