Commit graph

60 commits

Author SHA1 Message Date
Ethan Chen
7e811fecf4
sm6225-common: Remove unused init.mdm script
Change-Id: I12cc8cc64518a7ce9f0d32e8811ed6d3fbc09d4e
2024-07-05 18:17:08 +03:00
Tommaso Fonda
49f98753c4 sm6225-common: Switch to the OSS sec NFC HAL
Change-Id: I0c2a3b4db42d0e8af92c510bdd014eacc610b7f7
2024-03-22 16:50:57 +00:00
Michael Bestas
b59023c589 sm6225-common: sepolicy: Label persist.vendor.nfc properties
and let vendor_init set them

Change-Id: I93f1c7269caabce255be7770d78d8133fcbc8c46
2024-03-22 16:50:57 +00:00
Michael Bestas
7920c49cc6
sm6225-common: sepolicy: Label FPC hwservice
Change-Id: I92d3e014b3ccef24ea890ae42ca76563657790eb
2024-02-26 19:25:19 +02:00
Michael Bestas
819666780a
sm6225-common: sepolicy: Label fingerprint ident services
Change-Id: If4228df4dedff9d5fe20c8379c41ba9ce650c000
2024-02-26 05:13:52 +02:00
Michael Bestas
337a98c231
sm6225-common: sepolicy: Label ro.vendor.product.display
Change-Id: Ic02a712a6bba23daad26700a01239c7c19410169
2024-02-26 05:13:52 +02:00
Tommaso Fonda
292173dc55
sm6225-common: sepolicy: Update for T blobs
Change-Id: I97c9682f35ade823fa073bc993390ad38376a9da
2024-01-05 11:41:07 +02:00
MD Raza
312d167398 sm6225-common: sepolicy: Add rules for goodix_fp
Signed-off-by: MD Raza <raza231198@gmail.com>
Change-Id: I3e713e83e967cc8d3edfe01895fdb929da22bab9
2024-01-01 20:45:43 +00:00
Andrew Hexen
82914a70e6
sm6225-common: symlink vendor/fsg to system_root
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only
  looks for fsg to rebuild efs in the root_directory.
* Even though this isn't correct it should allow radio to be easily
  flashed during future firmware upgrades as the stock radio.img is
  a container which flashes fsg/modem then passes the command to
  wipe modemst*

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
2023-11-29 17:03:47 +02:00
Michael Bestas
8378a099fa
sm6225-common: sepolicy: Allow rild access sensorservice
Change-Id: I0a86494b0a8422dbf1357cd0ddc53d3bd59043c2
2023-11-29 17:03:40 +02:00
Wolfram Liebchen
747fa28ad9
sm6225-common: Add notification light HAL
The otherwise unused charging-LED is used as notification light with
configurable pulse-widths.

Change-Id: Ic6c7cf993b8e83793b191d24cff65320c68d40d0
2023-11-11 16:28:23 +02:00
electimon
c51f172bec sm6225-common: Rename camera.mot.is.coming.cts
* This prop is illegal due to violating the
* vendor property namespace rules

[Dhina17: Adapted for sm6225]

Signed-off-by: electimon <electimon@gmail.com>
Change-Id: I2da4951e19e97e5291cbb0f0b18cdae14f63fbaa
2023-08-27 19:57:09 +05:30
Dhina17
b6b3a73f89 sm6225-common: sepolicy: Label camera.mot.is.coming.cts
Change-Id: I21f8bc7ea4520f3396efda9c3d0651e7ba81906f
2023-08-27 19:44:35 +05:30
Tommaso Fonda
2a9b641dce sm6225-common: sepolicy: Label more IIO nodes
Addresses e.g. (observed on rhode):
avc: denied { read } for name="name" dev="sysfs" ino=59156
scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:sysfs:s0 tclass=file
permissive=0

Change-Id: If49f5e6973425683a1bdf9c4fafa8f863883e18f
2023-08-01 22:42:53 +05:30
Tommaso Fonda
bdc1988602 sm6225-common: sepolicy: Label rhode touchscreen nodes
avc: denied { read } for name="vendor" dev="sysfs" ino=51521
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0

avc: denied { read } for name="vendor" dev="sysfs" ino=51520
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0

Change-Id: I038d821fd603c89c37020fa491c60b806b91f35d
2023-08-01 22:42:37 +05:30
Michael Bestas
8f862572e7
sm6225-common: sepolicy: Resolve hvdcp IIO denials
Change-Id: Ic2a3dbad57398b201a6b21cf846ec9b4848743e5
2023-07-19 23:47:58 +03:00
Michael Bestas
6d6a28f63a
sm6225-common: sepolicy: Simplify SEC NFC policy
Change-Id: I441dadca7d7497f9e7f015437d90d28807bff8ce
2023-07-19 22:59:00 +03:00
Michael Bestas
c7e7075365
sm6225-common: sepolicy: Sort genfs_contexts
Change-Id: I134fa3e0528257d819e352464d6a2b5deafc33a3
2023-07-19 22:59:00 +03:00
SGCMarkus
edbe98444d
sm8250-common: sepolicy: Label STFlashTool
Change-Id: I9b6b0062de8ccd28d73b7ad12ed5cd2084bd70a9
2023-07-19 22:32:29 +03:00
Michael Bestas
6296e15c1a
sm6225-common: sepolicy: Label ST NFC
Change-Id: I940a8394b7c4fed0af86faa55d931e3963497123
2023-07-19 22:16:44 +03:00
Dhina17
e192c9ba83 sm6225-common: sepolicy: Consider all vendor.hw.touch.* properties
Change-Id: Ia43b6fb58079dc2f7b503a8ddfb75cdbb9309345
2023-06-24 22:21:06 +05:30
Dhina17
9b3f813e6d sm6225-common: sepolicy: Label devon fts_ts nodes
Change-Id: Ia862dfb312c9777782dcc41573c7eb6a6700933e
2023-06-24 22:20:57 +05:30
Michael Bestas
b28d79f9c5
sm6225-common: Label init.mmi.acdb.sh
Change-Id: Iae7e31b4e43f6359d47670dbfdc05c5deccb76ac
2023-06-01 18:17:01 +03:00
Dhina17
efd11b00ab sm6225-common: Fix devon egis fp denials
Change-Id: Iad529eec329ecf37f9df34c88ff3eecb6cde08d5
2023-05-24 00:50:27 +05:30
Dhina17
3ffdc321ba sm6225-common: sepolicy: Label rhode power supply node
Change-Id: I425af737fc49e4b33f819a9aeeb3972631d38c1e
2023-05-20 02:57:00 +05:30
Dhina17
d94b7581e5 sm6225-common: sepolicy: Use same label for all fps device
Change-Id: Ib6551e19adcb188991846bac75ad637f0225e5a7
2023-05-20 02:57:00 +05:30
Dhina17
156ea9a868 sm6225-common: sepolicy: Add rules for focaltech fp
Change-Id: I9bf360696c6362b42e532228bf3ec9c1e684f163
2023-05-20 02:55:08 +05:30
Dhina17
03b114addb sm6225-common: sepolicy: Label rhode wakeup nodes
Change-Id: Ie0b86a720b462fda4f6e6dc875a233f9733dbe5c
2023-05-08 22:35:59 +05:30
Michael Bestas
f8ba4072cf
sm6225-common: sepolicy: Label init.oem.fingerprint.sh
Change-Id: Ib7de1e98e440dfc9f0048e7299e379767c86bf3d
2023-05-07 01:03:33 +03:00
Michael Bestas
5c1d33f485
sm6225-common: sepolicy: Label caprip wakeup nodes
Change-Id: Iaa05e661740033323475f07f79337b5b7f3d0661
2023-05-07 01:03:33 +03:00
Michael Bestas
7574807fb4
sm6225-common: sepolicy: Label emmc partitions
Change-Id: I06cfb37e1ccd65b0d2da778c94330f1507fa1c67
2023-05-07 01:03:33 +03:00
Michael Bestas
d094348e25
sm6225-common: sepolicy: Sort sched sysfs
Change-Id: Id500c3da842b4b31d8d4333359a8990df2d715e8
2023-05-05 22:32:10 +03:00
Michael Bestas
720dd61ad4
sm6225-common: sepolicy: Label NVT touch sysfs
Change-Id: Id28a897cd6b35082782fb2d9cbe67311a03d38e5
2023-05-05 22:32:10 +03:00
Michael Bestas
b6fe7a847b
sm6225-common: sepolicy: Label LDO vibrator path
Change-Id: I0b8ac23f33fddb8904a4561c7b7ca03467e07c6a
2023-05-05 22:32:10 +03:00
Michael Bestas
b1cf538d07
sm6225-common: sepolicy: Label devon charger nodes & sort
Change-Id: I96d22a37c82ebfc18e90a2d89168a6db07d691fc
2023-05-05 22:32:10 +03:00
Michael Bestas
30687eb7db
sm6225-common: sepolicy: Label devon wakeup nodes & sort
Change-Id: Icb576b749f37fc4f5419ce082a96fbb1603e2a2c
2023-05-05 22:32:10 +03:00
Michael Bestas
afe0497d1c
sm6225-common: sepolicy: Label focal/fpc fingerprint services
Change-Id: I63dffeb97a78fdc2218f4146c1c9c106329b6494
2023-04-25 03:54:52 +03:00
Michael Bestas
00cf17f1db
sm6225-common: sepolicy: Label init.mmi.boot.sh and resolve denials
Change-Id: I78dcfb47e28a20304e64880aeae1876d566d7924
2023-04-19 20:35:11 +03:00
Michael Bestas
e57a75c253
sm6225-common: sepolicy: Label extcon nodes
Change-Id: Idc944f15a83f4f1385efce16d7617b57e1dbf3b1
2023-04-16 13:37:57 +03:00
Michael Bestas
b0083807a3
sm6225-common: sepolicy: Remove duplicate sysfs_wakeup nodes
Change-Id: I54afb6b48bc97d2c8376b5bdc3e4c924a73a2e68
2023-04-16 13:37:57 +03:00
Michael Bestas
266042304a
sm6225-common: sepolicy: Allow services log to /dev/kmsg
Change-Id: I4d77053acf022e0ca511e8090c3000e64871f27c
2023-04-10 19:18:18 +03:00
Michael Bestas
c870554729
sm6225-common: sepolicy: Resolve vendor_init_touch denials
Change-Id: Ia71c46662f12f3939e1a4d51b4ab06101f8cc9b7
2023-04-10 19:18:11 +03:00
Michael Bestas
30d50e935a
sm6225-common: sepolicy: Label ft3519 touchscreen sysfs
Change-Id: I9dc2738553f4f7540566f25c7131462d9a45dbf8
2023-04-10 19:18:11 +03:00
Michael Bestas
b4382fcf2e
sm6225-common: sepolicy: Allow GNSS HAL to access ISensorManager
Change-Id: Ib3f16ca6e0e848163dd680eeeb8a72a300753ca0
2023-04-10 19:18:11 +03:00
Michael Bestas
7481b43ee2
sm6225-common: sepolicy: Allow rild read mnt_vendor_file dir
Change-Id: I099d1ea9e0c690af7e96764852b2122ac8bf6ae9
2023-04-10 19:18:11 +03:00
Michael Bestas
670a0c4143
sm6225-common: sepolicy: Allow NFC HAL set NFC props
Change-Id: I8213df668c8ab8184d544f24359c2bcf04cfe85c
2023-04-10 19:18:11 +03:00
Michael Bestas
93fdcc5964
sm6225-common: sepolicy: Label additional power_supply sysfs
Change-Id: I275ccf6aa2369baae2e167e6ec33ceb3ef3d53e0
2023-04-10 19:18:02 +03:00
Michael Bestas
14b933ff64
sm6225-common: sepolicy: Graphics composer HAL is a client of configstore
Change-Id: I0cd5e5a8246b1f2a770a206a2cb7fb151fdd630d
2023-04-10 19:18:01 +03:00
Michael Bestas
f84656c8d5
sm6225-common: sepolicy: Cleanup & label additional sysfs wakeup nodes
Change-Id: I6156ff3a749e7bb19b874349da857127061afab6
2023-04-10 19:18:01 +03:00
Michael Bestas
ebcefb0db2
sm6225-common: sepolicy: Allow fingerprint HAL write to sysfs_devices_system_cpu
Change-Id: Ifcbe5d07c3ea4a7e7bc62299456230f09f39b76f
2023-04-10 17:56:49 +03:00