26 Commits

Author SHA1 Message Date
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