Commit Graph

451 Commits

Author SHA1 Message Date
pjgowtham
af977627d4 sepolicy: qti: Let hal_oplus_charger_aidl rw vendor_sysfs_battery_supply
Change-Id: I058aad89acba10eaae84734341d30d1efa8e4a2f
2025-08-22 09:49:45 +02:00
pjgowtham
00c112c97a sepolicy: qti: Update qseecom rules for fingerprint
Change-Id: I34cbd4642f1c03446d1e57da079e5e495c2326cc
2025-08-22 07:43:54 +00:00
pjgowtham
9914060348 sepolicy: qti: Label goodix fingerprint property
W /system/bin/init: type=1107 audit(0.0:13): uid=0 auid=4294967295
ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for
property=gf.debug.dump_data pid=1873 uid=1000 gid=1000
scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:default_prop:s0
tclass=property_service permissive=0'

Change-Id: I07acc42f6a5cba7e7b94f8473feb0540eee9096c
2025-08-22 07:43:54 +00:00
pjgowtham
abe43816a2 sepolicy: qti: Let camera hal rw /proc/qcom_flash
On Ziti (OnePlus Nord CE 3), this seems necessary for the torchlight
function to work.

Change-Id: I37ac5d7a1578d939d61728e8292c47b2fa9d870d
2025-08-22 09:35:36 +02:00
pjgowtham
655f8c1814 sepolicy: qti: Label wly wakeup nodes
wly / # cat /sys/devices/platform/soc/984000.i2c/i2c-5/5-003b/name
p9415-rx
wly / # cat /sys/devices/platform/soc/990000.i2c/i2c-6/6-004b/name
synaptics-s3908
wly / # cat /sys/devices/platform/soc/a84000.i2c/i2c-8/8-0028/name
sn-nci

Change-Id: I8aef0c21df2af86b06515ef609729c352770a260
2025-08-22 09:28:01 +02:00
pjgowtham
8da66b3786 sepolicy: qti: Label ferrari wakeup nodes
ferrari / # cat /sys/devices/platform/soc/990000.i2c/i2c-5/5-004b/name
synaptics-s3908
ferrari / # cat /sys/devices/platform/soc/a84000.i2c/i2c-7/7-0028/name
sn-nci

Change-Id: Ia2af6499a912697694ee24f209726a974887545f
2025-08-22 09:26:25 +02:00
pjgowtham
19cd98ab96 sepolicy: qti: Label lunaa/ziti wakeup nodes
lunaa / # cat /sys/devices/platform/soc/a84000.i2c/i2c-1/1-0008/name
st21nfc
lunaa / # cat /sys/devices/platform/soc/a94000.i2c/i2c-2/2-0038/name
fts
ziti / # ls /sys/devices/platform/soc/a94000.spi/spi_master/spi1/spi1.0/
driver           fts_rw_reg  supplier:18200000.rsc:rpmh-regulator-ldoc12
driver_override  input       supplier:18200000.rsc:rpmh-regulator-ldoc3
fts_dump_reg     modalias    supplier:f000000.pinctrl
fts_esd_check    of_node     supplier:regulator.36
fts_fw_version   power       supplier:regulator.47
fts_hw_reset     statistics  uevent
fts_irq          subsystem   wakeup

Change-Id: I2933a1fb695f72cd859d6654947ac37bd7f3f77f
2025-08-21 17:22:41 +05:30
LuK1337
4ee6ecda7e livedisplay: Add IAdaptiveBacklight support
Change-Id: Id11b96f58efb494b05e089d9954139d0c01366be
2025-08-18 00:16:52 +02:00
LuK1337
ef177ba4aa kernel-headers: Add PANEL_IOCTL_{GET,SET}_CABC_STATUS
Change-Id: I011b689bbba2888d3d7bf94cfc8e012d2ea3bfaf
2025-08-17 23:55:40 +02:00
LuK1337
622f8070f3 livedisplay: Migrate to AIDL
Change-Id: I8dbe9ed99549aff3e7fcff553482a4c45aae67ef
2025-08-17 23:40:08 +02:00
basamaryan
55dd4cee89 sepolicy: qti: Label missing SM8350 wakeup nodes
MT2111_IND / # cat /sys/devices/platform/soc/884000.i2c/i2c-10/10-0028/name
sn-nci
MT2111_IND / # cat /sys/devices/platform/soc/990000.i2c/i2c-7/7-004b/name
synaptics-s3908

Change-Id: I76b2da5f17b2b64254a8f21e328352bb0743bcf0
2025-08-17 21:19:08 +02:00
Michael Bestas
fc992cd6c8 overlay: qssi: Remove deprecated telephony overlays
These are no longer wired up and should be set in CarrierConfig
where needed

Change-Id: Ie16d41b2ee73c77c3475dd0b24e4d46804195a5c
2025-08-15 21:39:22 +00:00
Cosmin Tanislav
037413d7ac overlay: qssi: Remove unused config_speed_up_audio_on_mt_calls
Change-Id: I2860ab34e0252418236a4d90623b4fbfc6ad994a
2025-08-15 21:39:11 +00:00
dianlujitao
d3b35847b1 IFAAService: Wire up oplus fingerprint pay AIDL
Change-Id: Ibbac7e3c4d6591b712cbdcfb3eda955fbb78f8f3
2025-08-10 15:38:47 +01:00
dianlujitao
6be8136317 Import IFAAService from hardware/xiaomi
Change-Id: I55b8c0d1a8832b85f90fb0874d93a146be772176
2025-08-10 15:38:47 +01:00
dianlujitao
179e2abe46 sepolicy: qti: Add support for fingerprint pay
Change-Id: I298b9b1c8b733c05fd16687ec06fa9dd916e972c
2025-08-10 15:38:45 +01:00
dianlujitao
5d5ed9cad8 Add vendor.oplus.hardware.biometrics.fingerprintpay-V1 AIDL interface
Based on CPH2653_15.0.0.840

Change-Id: I65d6755874e96b905c4a528dcdf000d30a159314
2025-08-09 11:04:37 +01:00
dianlujitao
0d8b5aa9d4 sepolicy: Move attributes to public
Change-Id: I527559b1a970cbbeefff0825a494be0d577ecda3
2025-08-09 11:04:37 +01:00
Vivekachooz
08ff2f8522 sepolicy: qti: Label missing sm6375 wakeup nodes
Change-Id: Ia2123ff041617a39d34bc691d9cc662a2f60daec
2025-08-08 20:17:33 +05:30
Sebastiano Barezzi
91ac590976 overlay: qssi: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2025-08-06 17:18:07 +02:00
LuK1337
f9faa7d9ed sepolicy: qti: Remove unwanted newline at the end of genfs_contexts
Accidentally introduced with e8f2b8aacd.

Change-Id: I6b902f867f6282781073a635a69ac8cc77575c4e
2025-08-02 22:35:44 +02:00
dianlujitao
5be9c6e55b Introduce nrmodeswitcher
This configures the NR mode to "SA Preferred" upon each boot (a setting
that persists even after a factory reset), which is desirable in most
cases. The mode can be customized using ro.vendor.radio.auto_nr_mode:
  0: NSA Preferred
  1: NSA Only
  2: SA Only
  3: SA Preferred

Change-Id: I86ad739167a51af04c041887a93462bf5bb5e32f
2025-07-30 22:45:08 +01:00
pjgowtham
29a150eca3 wvmkiller: Restart widevine hal 1.4 on disabling L1
Change-Id: I7690e13524418204c005e3e562dc951a90bdbdd1
2025-07-30 22:42:26 +01:00
dianlujitao
39ad2e265c Add vendor.oplus.hardware.radio-V2 AIDL interface
Based on oplus-telephony-common.jar from qssi_64-user 15 AP3A.240617.008 1748422485332 release-keys

Change-Id: I90058c22ca1317967605690165efd0c5c4504fed
2025-07-27 10:31:02 +01:00
dianlujitao
8fa8bee879 Add vendor.oplus.hardware.radio-V1 AIDL interface
Based on oplus-telephony-common.jar from qssi-user 14 UKQ1.230924.001 1699668118465 release-keys

Change-Id: I3b29f44a9e3a3c2b2c5fd843d3d19b37eb0037c0
2025-07-27 10:31:02 +01:00
Bruno Martins
9315077c67 interfaces: Add vendor.oplus.hardware.esim V1
Change-Id: I7cbbdc8910073261b3f07603b3dc012de3fdbfc0
2025-07-27 10:31:02 +01:00
Bruno Martins
a2bf842855 sepolicy: qti: Label oplus sensor props
Change-Id: I72fca9f8507cace163f1e344d60f619d1d87e3e9
2025-07-27 10:31:02 +01:00
chandu078
5da3fbb258 sepolicy: qti: Allow rild to search oplus_reserve_file
Change-Id: I4d700def0c84da2cda2af8e88b6cac224b6dffc3
2025-07-26 21:20:50 +05:30
Bruno Martins
21cab7e9a9 usb_compositions: 0x05C6 -> 0x22D9
Wrong VID causes ADB/USB issues on Windows.

Change-Id: Iadf9c00b679af90614553957142ae839c9d74492
Signed-off-by: inferno0230 <mail@inferno0230.in>
2025-07-22 22:05:34 +00:00
Bruno Martins
3b02db249a sepolicy: qti: Add support for pogo pin keyboard
Change-Id: I941e779c380f85edb61c69fcf891dacd40921d9f
2025-07-19 23:46:02 +01:00
Bruno Martins
8ae42047ec vintf: Add pogo pin keyboard interface
Change-Id: I13e53a96f10ad82d450b4acb7106e4aa39e7686c
2025-07-19 23:46:02 +01:00
LuK1337
e8f2b8aacd sepolicy: qti: Label OnePlus Pad 3 wakeup nodes
Change-Id: Ife85a0aee81ee79c115aeaf475b130fae7177fa1
2025-07-19 18:36:42 +00:00
LuK1337
f6bd8f76c4 sepolicy: qti: Add rules for nvram{_qmi,_server}
Spotted on erhai.

Change-Id: Idec44370c5e51fd65394fd7c9523b905d9a400d1
2025-07-19 18:36:42 +00:00
LuK1337
d4cfb60cf7 Introduce OplusPen
Change-Id: Icfc9d2d8172aa01bf1c71a5a23a8e6387660a746
2025-07-19 18:36:42 +00:00
LineageOS Infra
d58d8728aa Automatic translation import
Change-Id: I06723c2cb0ac2c6d2d6c693eb2927ffd7f9f54a7
2025-07-15 17:08:20 +00:00
Bruno Martins
363fa24baa vintf: Update fwk matrix for OOS 15.0.2
Change-Id: I3b851053dc540ee94b49128119ddb06146b5c6ed
2025-07-12 17:53:54 +00:00
Bruno Martins
a18c5e4bd5 sepolicy: qti: Label reserve files
Not everything is used, but it doesn't hurt to be labeled.

Change-Id: I540ab1c8617702d36a1da62feb3c5db2dd00ad99
2025-07-12 17:04:16 +01:00
LuK1337
c890a7708a sepolicy: qti: Use custom label for oplus subsys_imsrtp
Matches stock ROM (and fixes build for older platforms).

Also, it seems like the previous rule was wrong anyway given that it
allowed wrong domain to register this service.

Change-Id: Iad2e3e9a4b1b73c989571d37ae58cac91b018ecb
2025-07-08 09:46:45 +02:00
Michael Bestas
8c9358776c sepolicy: qti: Remove duplicate labels
Change-Id: I3575e6bad93b2f9d69f94033944c44b7f9fbc243
2025-07-07 13:52:00 +03:00
Bruno Martins
1a462ed83c touch: Implement GloveMode support
Change-Id: I1bb2f502e5b6947dfb2d68572b098d0e5b058c28
2025-07-06 23:56:31 +01:00
Bruno Martins
74dbc92458 Euicc: Add OnePlus 13 support
Change-Id: I970d9fbc0ee975962887ea0d61beeee5001183cf
2025-07-06 23:56:31 +01:00
chandu078
6c901c1bef sepolicy: qti: Bring up support for dodge (OnePlus 13)
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I63828b2c1cb27524845cc63271c0978de78b3374
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-07-06 23:56:31 +01:00
dianlujitao
12190ecbc4 aidl: vibrator: qti: load effects from blobs
Change-Id: I55350bea3b7c4f31a62b60a6792ba2a343c72970
2025-07-06 23:01:45 +01:00
dianlujitao
b0fb5146b2 vintf: add more AIDL services to device FCM
Change-Id: I1f61cb7a96d23ce90fa6be7a2431015b2a727be1
2025-07-06 14:51:27 +01:00
DtHnAme
00f0edf25e power: Implement DT2W through OplusTouch
Co-authored-by: Maitreya25 <maitreyapatni25@gmail.com>
Co-authored-by: Mashopy <eliasgheeraert@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I5ad57428aeefe68c8a188aa1e445f4091cbc0d8a
2025-07-06 14:51:26 +01:00
Maitreya25
165c5e47a9 touch: Support interfacing with stock OplusTouch service
Co-authored-by: inferno0230 <mail@inferno0230.in>
Co-authored-by: Mashopy <eliasgheeraert@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I305ac931dac35a7fa422745f4250ffb1145c3bf6
2025-07-06 15:39:16 +02:00
LuK1337
8b6ff63e03 touch: Introduce vendor.oplus.hardware.touch-headers
Change-Id: If93b1305f7ee82f2c954969f83c052d0b3a2772b
2025-07-06 15:39:15 +02:00
chandu078
a6255edcb4 sepolicy: qti: Bring up support for waffle (OnePlus 12)
Co-authored-by: John Galt <johngaltfirstrun@gmail.com>
Change-Id: I5b3a87dda201c5779ab4826352ffddc3d1ce4fd2
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
2025-07-04 03:12:32 +01:00
bengris32
07c948a77c oplus-fwk: Add OplusNecManager stub implementation
* Required by RMX3572 (RMX3572_11.F.08_2080_202407301657) IMS stack.

Change-Id: I471f990a5f3717f0db4d289b8cf6764e10cd47e3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2025-07-04 02:08:46 +00:00
Bruno Martins
bb5f08081e sepolicy: qti: Rewrite touchdaemon rules
Change-Id: I313ef308979b3428fbb3a01ae44b4a914b479b34
2025-06-29 14:52:38 +00:00