boedhack99
388f090589
sm6357-common: sepolicy: Update wakeup nodes wakelock
...
Change-Id: Ie5c608af641824585d96723b26cb8ec9b15483cb
2023-07-19 17:21:53 +07:00
Zinadin Zidan
e5eb29b5b4
sm6375-common: sepolicy: Fix violations to pass VTS
...
******************************
5 violations found:
camera. u:object_r:vendor_camera_prop:s0
ro.camera. u:object_r:vendor_camera_prop:s0
sys.boot.hwc u:object_r:vendor_camera_prop:s0
sys.fp.vendor u:object_r:vendor_fingerprint_prop:s0
wifi.interface u:object_r:wifi_hal_prop:s0
******************************
device/xiaomi/sm6375-common/sepolicy/vendor/property_contexts contains properties
which are not properly namespaced.
This is enforced by VTS, so please fix such offending properties.
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com >
Change-Id: Ib1065171df107306da27066b0d8d8c444dd3bfe5
2023-07-19 00:51:31 +07:00
chrisl7
1e554bd2a1
sm6375-common: Fix sys.fp.miui.token spam
...
07-18 21:53:34.773 1463 4222 W libc : Access denied finding property sys.fp.miui.token
07-18 21:53:34.769 1463 1463 W /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.xiaomi: type=1400 audit(0.0:274): avc: denied { read } for comm=504F5349582074696D65722031 name=u:object_r:system_prop:s0 dev=tmpfs ino=11254 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com >
Change-Id: Ia0d1629351bf9992115bbd26984d3714bfef0925
2023-07-18 23:27:02 +07:00
boedhack99
90d3ab1fd7
sm6375-common: sepolicy: Add vendor prefix for GF_HAL debug
...
Change-Id: I832dbda12bd01fc8e8b1f6619dbf97887d8d96c6
2023-07-18 23:19:55 +07:00
boedhack99
f4ce238013
sm6375-common: sepolicy: Label vibrator rules
...
Change-Id: I2199d930b30e7e405d529c8e90453db3b9f4f15b
2023-07-18 23:17:33 +07:00
boedhack99
adc158b9fb
sm6375-common: props: Add WLAN dbs properties
...
Change-Id: If9a9140f9958d91528a0c64f4d05da2be9d29db0
2023-07-18 23:13:25 +07:00
boedhack99
c0523074ff
sm6375-common: ueventd: Give permissions for HW info
...
Change-Id: I8031a01c77dbe11f8c6e36e790ead027998e7284
2023-07-18 17:29:03 +07:00
kissoka
4173a77420
sm6375-common: decommonize rro_overlays
...
Change-Id: I5dc4f90902141bec42b3bb4dbc302510771453dd
2023-07-18 10:35:54 +07:00
boedhack99
bbac1385c6
sm6375-common: blobs: Move f2player to camera section
...
Change-Id: I9c6f081fb2b40dff811e353d1b2691be29273e54
2023-07-18 04:02:10 +07:00
Arian
13842eff75
sm6375-common: sepolicy: Add vendor prefix to camera persist file type
...
Change-Id: Ia42113acb0fcf5667c0b89ecdd7def13681ca0be
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com >
Signed-off-by: HeroBuxx <herobuxx@gmail.com >
2023-07-18 03:56:17 +07:00
boedhack99
80eca2852a
sm6375-common: sepolicy: Label f2player sepolicy rules
...
Change-Id: I4428234012b70c631f7fc1eb92c2c99c9c3dcaa8
2023-07-18 03:51:45 +07:00
nnippon99
59a863b658
sm6375-common: add missing f2player vendor blob
2023-07-17 22:15:03 +02:00
boedhack99
4c46cee681
sm6375-common: Cleanup unavailable configs included
...
Change-Id: I9704b850f7c6fa9a8c320051e80bd21b56f2699e
2023-07-11 12:49:09 +07:00
Vaisakh Murali
5eb20c50b6
sm6375-common: Switch to AIDL clearkey service
...
Change-Id: I39609424434d87b92e2215680c6f62f83ae9f4d3
2023-07-11 00:21:53 +07:00
Hridya Valsaraju
d51883bb09
sm6375-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
...
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.
Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-07-11 00:14:09 +07:00
ZVNexus
f21a4f829e
sm6375-common: rootdir: Don't mount TraceFS twice
...
* AOSP already mounts TraceFS in system init, so mounting it twice
causes SEPolicy denials. See the comments in this change.
https://android-review.googlesource.com/c/platform/system/sepolicy/+/1294195
Signed-off-by: Ahmad Rulim <personal@rulim34.dev >
Change-Id: I384f57dde4c32cabd5f4db29d7e042160d7405db
2023-07-11 00:14:00 +07:00
SreekanthPalakurthi
98e238cb2e
sm6375-common: rootdir: Remove useless sensingdaemon
...
Signed-off-by: Christopher <mizdrake7@gmail.com >
Signed-off-by: kssrao13882 <kssrao13882@gmail.com >
Signed-off-by: snnbyyds <snnbyyds@gmail.com >
Change-Id: I4d9a9dbbc9d7289e61db5912d27540b123a6aef2
2023-07-10 23:53:18 +07:00
SreekanthPalakurthi
b07b551744
sm6375-common: rootdir: Remove useless ptt_socket_app
...
Signed-off-by: Christopher <mizdrake7@gmail.com >
Signed-off-by: kssrao13882 <kssrao13882@gmail.com >
Signed-off-by: snnbyyds <snnbyyds@gmail.com >
2023-07-10 23:50:57 +07:00
SreekanthPalakurthi
3b9d625aae
sm6375-common: rootdir: Remove useless qseeproxydaemon
...
Signed-off-by: Christopher <mizdrake7@gmail.com >
Signed-off-by: kssrao13882 <kssrao13882@gmail.com >
Signed-off-by: snnbyyds <snnbyyds@gmail.com >
2023-07-10 23:50:31 +07:00
SreekanthPalakurthi
93dd0bf7e7
sm6375-common: rootdir: Remove useless esepmdaemon
...
Signed-off-by: Christopher <mizdrake7@gmail.com >
Signed-off-by: kssrao13882 <kssrao13882@gmail.com >
Signed-off-by: snnbyyds <snnbyyds@gmail.com >
2023-07-10 23:50:04 +07:00
Bruno Martins
af4fb7886e
sm6375-common: Remove vendor-ril lib path property trigger
...
No longer used with QC RIL services.
Change-Id: Ib660b20f2a3cca222a10a1919f0f81ee174bf6dc
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com >
Signed-off-by: snnbyyds <snnbyyds@gmail.com >
2023-07-10 23:49:40 +07:00
Luofan Chen
35c902711d
sm6375-common: Build lineage health HAL
...
Change-Id: I1ca5f25f3a2d8734647b9cc0ff4885b0b817c6ad
Signed-off-by: althafvly <althafvly@gmail.com >
2023-07-10 16:23:18 +07:00
boedhack99
f7f83e7731
sm6375-common: Switch to source build sensors HAL
...
Change-Id: Ib0f45b7fc134a1eb71e71c6c54937b40a73625c0
2023-07-10 14:26:15 +07:00
boedhack99
ab9661c391
sm6375-common: props: Decommonized soc id
...
Change-Id: I5f0bb3c31412d0be3c163eb9efdb674b3570c4a4
2023-07-09 23:41:48 +07:00
boedhack99
0b165f85f6
sm6375-common: Add support soc id detect
...
* Add support for SM4350
Change-Id: Ic548b4ad7e866bc3fbfc29a3386d5329c899c913
2023-07-09 17:01:55 +07:00
Arian
98553d9f00
sm6375-common: blobs: Patch ims.apk from stock
...
* From moonstone MIUI V14.0.3.0.TMPMIXM release-keys
Patched to remove com.qti.permission.BIND_QTI_IMS_SERVICE and
Landroid/telephony/TelephonyBaseUtilsStub;->isMiuiRom()
Full patch: https://paste.myself5.de/zitiketuto.diff
Change-Id: Ib0a981deac30016d428d5a06bd623d56c5a84b63
2023-07-09 14:18:16 +07:00
boedhack99
1d45717c58
sm6375-common: sepolicy: Fix sepolicy to read more battery data
...
* taken from moonstone MIUI V14.0.3.0.TMPMIXM release-keys
Change-Id: I2b7ac396a1fa042ba60060fc3689f1828c575784
2023-07-09 14:04:51 +07:00
boedhack99
e8bc381d90
sm6375-common: sepolicy: Allow health HAL to access battery data
...
07-09 12:35:52.867 935 935 W health@2.1-serv: type=1400 audit(0.0:262): avc: denied { read } for name=type dev=sysfs ino=66924 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
Change-Id: Ifed1767cfe9f37899b1a1fe9d0e84025cf7b9bc7
2023-07-09 13:51:54 +07:00
boedhack99
e014f66444
sm6375-common: sepolicy: Resolve hwservice for nxpese
...
Change-Id: Id2f32169fb5b89eebe8730e1a61a47c8cd3ed889
2023-07-08 15:54:05 +07:00
boedhack99
466ff758f2
Revert "sm6375-common: sepolicy: Define nfc hwservice sepolicy"
...
This reverts commit 5d3611543e .
2023-07-08 15:44:49 +07:00
boedhack99
5d3611543e
sm6375-common: sepolicy: Define nfc hwservice sepolicy
...
Change-Id: Ib0f5a3d792312c4eda5877947622edb7fa1ead6d
2023-07-08 15:43:46 +07:00
boedhack99
fe41ae8a32
sm6375-common: idc: Reduce touch sensitive time pressure
...
* continues commit 2cc9f2b800
* Move touch hax to idc configs
Change-Id: I874b5646e317c89e0af054d3256e392b48ed32c2
2023-07-08 02:39:19 +07:00
boedhack99
28c8ba1244
sm6375-common: sepolicy: Remove duplicate sepolicies
...
Change-Id: I97b78ba77e4f944fb34a561ac34e83b6f60f9a64
2023-07-08 02:31:00 +07:00
boedhack99
70f3993c46
sm6375-common: sepolicy: Label st.nfc sepolicy rules
...
* moonstone use st.nfc hals
Change-Id: Id6cabcd114f1cde10b848df425686fc33b19f3fb
2023-07-08 02:19:48 +07:00
Jabiyeff
6b4b911969
sm6375-common: keylayout: Disable all fingerprint keys
...
Change-Id: Ie5d83c5c319100fd2fa2d177cdfae3f6a047e699
2023-07-08 02:09:18 +07:00
boedhack99
52b84c9950
sm6375-common: Import IDC and keylayout
...
* From moonstone MIUI V14.0.3.0.TMPMIXM release-keys
Change-Id: If6ce12d8618e4c33223888e954f1f50f2be97014
2023-07-08 02:05:02 +07:00
SagarMakhar
cdaf0e7df6
sm6375-common: set BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE to true
...
Change-Id: Iee9bf4b11ebdfb895ba69eefdd19fdd3795d1bff
2023-07-07 11:17:20 +07:00
DarkJoker360
572c397dae
sm6375-common: properties: Drop GL comp backpressure prop
...
* Causes janks and lags.
Change-Id: I8dac067b4bdbddd5981c4ab0b61bc1ad819bca25
2023-07-05 02:59:37 +07:00
minaripenguin
2cc9f2b800
sm6375-common: properties: Add touch improvements props
...
[1]: https://github.com/RisingTechOSS/android_frameworks_native/blob/thirteen/services/inputflinger/reader/InputReader.cpp
[2]: https://github.com/RisingTechOSS/android_frameworks_native/blob/thirteen/services/inputflinger/reader/mapper/TouchInputMapper.cpp
[3]: https://forum.xda-developers.com/t/possible-fix-for-touchscreen-issues-misses-updated-08-29.3172100/
2023-07-05 02:59:37 +07:00
boedhack99
b6bc054e8b
sm6375-common: Move some configs to specifics dir
...
* Redo VINTF flags as tags manifest files
Change-Id: I7d34acb1a6b0021c4165a658ff5bd16bcf637de4
2023-07-05 02:59:34 +07:00
boedhack99
46efe079a1
sm6375-common: Build source QTI vibrator service
...
Change-Id: I72e89874d93af481ba0c84804c54903b8cd3133c
2023-07-05 02:59:09 +07:00
UtsavBalar1231
8618b9b7e9
sm6375-common: sepolicy: Allow hvdcp to write to /dev/kmsg
...
[ 11.115803] type=1400 audit(1654349199.951:104): avc: denied { write } for comm=hvdcp_opti name=kmsg dev=tmpfs ino=11054 scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0
Change-Id: I28ad2076bda1f336539fc850756c725394f403bf
2023-07-05 02:59:09 +07:00
boedhack99
3c8fb773cb
sm6375-common: blobs: Import missing charger monitor
...
Change-Id: I17f9193ed78effb299b3a6ddb51b3fcf01e060f8
2023-07-05 02:59:09 +07:00
boedhack99
97563bb96e
sm6375-common: rootdir: Import missing shell scripts
...
* init.qcom.early_boot.sh
* init.qti.kernel.sh
Change-Id: I5cbdd3ac7603415c6e21f7bb934c86ee8301dc4e
2023-07-05 02:59:09 +07:00
Michael Bestas
0a1c673a2e
sm6375-common: Implement xtra-daemon control via property
...
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
2023-07-05 02:59:09 +07:00
Michael Bestas
2caa5e8006
sm6375-common: gps: Remove all Wno-error flags
...
Almost all warnings/errors have been fixed.
Ignore undefined bool conversion error on purpose.
Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
2023-07-05 02:59:09 +07:00
Albert I
408e92d8ef
sm6375-common: gps: Implement list empty error code for msg_q
...
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.
Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
2023-07-05 02:59:09 +07:00
Albert I
852d78c507
sm6375-common: gps: Address logical-op-parentheses warning
...
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2023-07-05 02:59:09 +07:00
Albert I
faa349bb0f
sm6375-common: gps: Reorder initializations list to satisfy warnings
...
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.
This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.
Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
2023-07-05 02:59:09 +07:00
Michael Bestas
316cc65a8b
sm6375-common: gps: Resolve unused parameter warnings
...
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2023-07-05 02:59:09 +07:00