Anand S
5797d151b5
sm6375-common: sepolicy: Allow fp hal to access graphics device
...
* I HwBinder:1502_1: type=1400 audit(0.0:862): avc: denied { read write } for name="card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:863): avc: denied { open } for path="/dev/dri/card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:864): avc: denied { ioctl } for path="/dev/dri/card0" dev="tmpfs" ino=26702 ioctlcmd=0x649f scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
Change-Id: Iccfda81d6ab92f43c988ab2ff85577dffbcd5699
2024-08-10 20:16:00 +05:30
Anand S
5c7c376986
sm6375-common: sepolicy: Add capsense_reset sepolicies
...
Change-Id: Ie329c52951965b3de54fd701e5011981fabc216b
2024-07-25 20:16:00 +05:30
Vaisakh Murali
038d9e8853
sm6375-common: Introduce a stub blair-post-boot script
...
This will be used to tune some parameters in the device. Only run
this script after proprietary kernel post-boot has run, so that
these changes are not overriden by the same.
Change-Id: Ibcef27a2813870c62d54c9d762eae9e03da677ad
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Anand S
8d0f27975b
sm6375-common: Remove in-tree Livedisplay HAL
...
Change-Id: I6f6ccfdc816c2bfb7267f13b6e6787014282f446
2024-07-21 20:16:00 +05:30
Bruno Martins
4ec7aee975
sm6375-common: Use common libqti-perfd-client and power-libperfmgr
...
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-07-20 20:16:00 +05:30
Anand S
1f580a9b66
sm6375-common: sepolicy: Label fogos touch hal
...
Change-Id: I02521006113b41d985ce5d84a1acf54596401b97
2024-07-19 20:16:00 +05:30
EcrosoftXiao
e03aec7112
sm6375-common: Switch to Thermal 2.0 mock
...
* QTI Thermal couldn't read the temperature for some reason
* sepolicy: Adjust sepolicy for thermal
Change-Id: Idea1bcdea070913ef35b699fafd1242d740453a9
2024-07-19 20:16:00 +05:30
Arian
4bbb9ac9bc
sm6375-common: sepolicy: Address pixel power HAL denials
...
Change-Id: I7327bd54c0d12fde03472695a5598d2a3d22f716
2024-07-18 20:16:00 +05:30
Anand S
bfce9c1935
sm6375-common: sepolicy: Label goodix fingerprint init service
...
Change-Id: I4d8ac2418fcd44473a6ff0077208b3792d774520
2024-07-16 12:56:42 +05:30
UtsavBalar1231
397da7dd83
sm6375-common: sepolicy: Allow setting read_ahead_kb on /data partition
...
Change-Id: I2ac458dfcad8bb51b3c25da9dc03bdea91540ca3
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2024-07-16 12:56:42 +05:30
Anand S
4feee76329
sm6375-common: sepolicy: Label bangkk lineage touch hal
...
Change-Id: I3d39dfd159c2002edd39c1e198a2ee2064b36927
2024-07-05 12:56:42 +05:30
TALU
fa18dfa143
sm6375-common: sepolicy: Label the new Samsung NFC HAL
...
Change-Id: I7a8ba9bc0bc78f8426c8cb94311498f3735eca3d
2024-07-04 12:56:42 +05:30
Anand S
a16fe13425
sm6375-common: Adapt sepolicies for moto sm6375
...
Change-Id: I1b49afc2d8148ee25a36e99385c28a257117814f
2024-07-04 12:56:42 +05:30
Nolen Johnson
d40cb2d754
sm7325-common: Rename chargeonly_data_file to chargeonly_vendor_data_file
...
* For some magical reason, the naming (and not just associations)
matter as of a few days ago - no clue why.
Change-Id: I6cf12b455dbf460a9be607d796af3536093e8427
2024-03-05 22:20:15 -05:00
Andrew Hexen
56d93f30a0
sm7325-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-10-26 06:09:48 -07:00
Marc Bourgoin
c233285c22
sm7325-common: Commonize sepolicy
...
Change-Id: Idbc4e5f655fd19cc4754aab99d8bb236a73f9a12
2023-04-28 08:46:40 -06:00
Marc Bourgoin
bb40495639
sm7325-common: Initial xpeng support
...
Motorola Moto g200 5G (aka Motorola Edge S30)
Change-Id: Iea52112fefb54cc60c2c99f66ae848e54dc2be1c
2023-04-23 00:45:11 -06:00
Andrew Hexen
c42e6238fa
sm7325-common: sepolicy: address berlna inclusion
...
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I7fe90b00a54e56abb977f6edfef2da7fbcf1509c
(cherry picked from commit e9023f971a09242e69ef14788c0c9af83291ac42)
2023-02-08 19:15:05 +01:00
Andrew Hexen
133239452c
sm7325-common: Add berlna to guards
...
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Iac7b5aa9778ecb9d01c1dc54f18eccdbdfde48d7
2023-01-25 22:58:01 +01:00
Michael Bestas
113654f8ed
sm7325-common: sepolicy: Remove duplicate wakeup nodes
...
Needed after I026cd6930459262c31c401e57444cfe2b60357b7
Change-Id: I0522bafab2605b3d0ab5a147154b32fa9ee3ce37
2023-01-18 00:30:59 +01:00
Cosmin Tanislav
f65f648212
sm7325-common: remove light hal
...
Change-Id: I5307764a5a04b5a28f940b31759a4552cc75a0a2
2022-10-08 00:09:40 +02:00
Marc Bourgoin
e132be9416
sm7325-common: Drop dubai touch sepolicy
...
I don't currently see a way to modify high touch polling rate...
If in the future a way is found? We can always revert this anyways
but for now it's better to remove it instead of having a placebo
toggle that doesn't do anything.
Change-Id: I192857434edcea470601ab067eb1971c6a97874a
2022-09-29 20:05:44 -06:00
Marc Bourgoin
75dc802330
sm7325-common: Address dubai's DT2W denials
...
Change-Id: I0a0f892185eb98017aafa948d103155780954367
2022-09-25 14:58:33 -06:00
Marc Bourgoin
357641de5b
sm7325-common: Address dubai's Egistec UDFPS selinux denials
...
Change-Id: Ibfd955256d95384bda17ad5404bc269d769ae347
2022-09-25 14:58:33 -06:00
Marc Bourgoin
032a78d43f
sm7325-common: Import stock charge_only_mode
...
Change-Id: I3542bac25ac2a161a165c55cbabe93ec75c04ce8
2022-09-20 10:08:57 +02:00
Marc Bourgoin
27a8c002ce
sm7325-common: Address dubai's vibrator denials
...
Example:
I auditd : type=1400 audit(0.0:18): avc: denied { open } for comm="vendor.qti.hard" path="/sys/devices/platform/soc/990000.i2c/i2c-1/1-005a/leds/vibrator/activate" dev="sysfs" ino=93558 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file
Change-Id: Iea46e718f4e2c1ed3b3037dcfecb4536fd47ef2d
2022-08-27 12:01:35 -06:00
SGCMarkus
ef3519be97
sm7325-common: sepolicy: label more wakeups
...
Change-Id: I932c550ed9771a82d6813d7018df2320b012b640
2022-08-11 21:26:16 +02:00
SGCMarkus
163b60efb0
sm7325-common: sepolicy: label cam-sync/cam-req-mgr v4l name
...
and allow desktopcamera hal access to it
Change-Id: I518002f0ef620e708d72f7f53b94486913d8b974
2022-08-11 21:26:16 +02:00
Marc Bourgoin
782cc6aa56
sm7325-common: Add support for dubai (Edge 30)
...
Also decommonize a kernel cmdline
Change-Id: Id5aa4a5b2b893bd43531fa7bd0c1b9391705b430
2022-08-04 10:14:51 +02:00
SGCMarkus
a42400032e
sm7325-common: sepolicy: remove duplicate definition
...
this is defined in device/qcom/sepolicy_vndr/generic/vendor/lahaina
Change-Id: I236b7aee6e7996e5cd8fc3e93e863eb65b949203
2022-04-01 18:16:04 +02:00
SGCMarkus
7d32b1387c
sm7325-common: sepolicy: first adaptions to berlin
2022-03-27 00:04:19 +01:00
SGCMarkus
95b667c5b9
sm8250-common -> sm7325-common
2022-03-26 23:16:05 +01:00
SGCMarkus
3c0cba0748
sm8250-common: livedisplay: uprev to 2.1
2022-03-06 23:02:20 +01:00
SGCMarkus
906e2153d7
sm8250-common: sepolicy: add pstar touch hal service
2022-02-22 21:57:46 +01:00
SGCMarkus
7375f455fa
sm8250-common: sepolicy: fix power hal and wakeup
...
also fix few more nfc denials
2022-02-21 00:11:32 +01:00
SGCMarkus
b43e3fd93e
sm8250-common: sepolicy: label stflashtool and st secure_element
2022-02-20 16:59:59 +01:00
SGCMarkus
e565a9ed2d
sm8250-common: sepolicy: label pstar nfc service and device
2022-02-20 15:21:51 +01:00
SGCMarkus
488bd72bc5
sm8250-common: sepolicy: add rules for goodix/fpc1020
2022-02-20 14:21:47 +01:00
SGCMarkus
a6fb204f84
sm8250-common: add sepolicies from nio
...
state: fffc7ba5a6
2022-02-19 15:28:33 +01:00