Commit Graph

391 Commits

Author SHA1 Message Date
chrisl7
c711db278c sm6375-common: Decommonize neuralnetworks
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I1d774fd15d92c1963576d259e9d57a3d7b638527
2023-08-25 23:05:30 +07:00
chrisl7
923340df42 sm6375-common: Add missing blobs
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I37781c92ce94c5ec37d7c24b1862bb5de7bed6cf
2023-08-25 23:01:42 +07:00
chrisl7
30690b8531 sm6375-common: rootdir: Update fstab to MOONSTONE
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I23a25efb487b6e294164fd1678899444feccb079
2023-08-25 22:57:42 +07:00
chrisl7
9a955b7bd5 sm6375-common: overlay: Fix OEM fast charge sysfs node
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: If261f358d1bcabd544fbd665de1c7c4793d92c9c
2023-08-25 22:56:27 +07:00
chrisl7
67b337afc2 sm6375-common: Add libsoc_helper correctly
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 22:53:24 +07:00
chrisl7
ce285416ad sm6375-common: Add diag-router
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I91d18ce5471e637ac846d1ffea8b44f5af84226b
2023-08-25 22:52:58 +07:00
chrisl7
9518ee5985 sm6375-common: sepolicy: Import missing sepolicy rules from MOOONSTONE
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I4d86e532648c8dc5c6d3d85aeffd3203c5fbaf74
2023-08-25 22:48:22 +07:00
Alexander Koskovich
74f4a3d94e sm6375-common: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 22:45:07 +07:00
chrisl7
50080a9032 sm6375-common: sepolicy: Add missing sepolicy rules
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 22:41:37 +07:00
Adithya R
0d8ec8faf3 sm6375-common: Switch to armv8-2a dotprod
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 22:38:59 +07:00
chrisl7
21a052c217 sm6375-common: Rework Architecture definitions
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 22:38:45 +07:00
chrisl7
fa42f486e2 sm6375-common: Fix wifi symlinks 2023-08-25 22:38:06 +07:00
coduxer
49da079a94 sm6375-common: rootdir: Fix fingerprint goodix events
[1] - this fixing the goodix issue when long press the powerbutton due
annoying kernel events

Change-Id: I8d3e867de2f0c30a46c371a36b691cb9011bd519
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:49:49 +07:00
chrisl7
863611c9ba sm6375-common: sepolicy: Label missing ro.boot definitions
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:45:26 +07:00
chrisl7
bf452d4fb8 sm6375-common: Update doze overlay definition from qcom/common
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:44:55 +07:00
chrisl7
1934074295 sm6375-common: Build missing vendor variant packages
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:44:36 +07:00
chrisl7
c7a431eb87 sm6375-common: Switch to common hardware/xiaomi HAL sensors
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:44:21 +07:00
Adithya R
faf61ff748 sm6375-common: props: Enable ADB by default in non-user builds
User builds shouldn't have adb enabled by default.

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:44:04 +07:00
chrisl7
4b9701598d sm6375-common: Update inherit A/B virtual makefile to LA.VENDOR.13.2.1.r1-06400-DIVAR.0
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:43:48 +07:00
chrisl7
e937e5fe72 sm6375-common: sepolicy: Label AIDL STNFC
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:43:34 +07:00
chrisl7
8a2d4c45cc sm6375-common: sepolicy: Add vibrator sepolicy rules
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:43:19 +07:00
chrisl7
1c78b2e178 sm6375-common: Decommonize nfc stuff
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:43:04 +07:00
chrisl7
99e991a4ab sm6375-common: Commonize Build broken rules
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:42:12 +07:00
chrisl7
2780ab62f1 sm6375-common: Build fastboot impl-mock
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:41:58 +07:00
chrisl7
b20e9137e1 sm6375-common: Add Treble flags definition
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:41:46 +07:00
chrisl7
fe59485124 sm6375-common: Add missing ODM PARTITION_RESERVED_SIZE
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:41:28 +07:00
chrisl7
fcf9cbb620 sm6375-common: Define ufsbsg recovery soong namespaces
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:41:11 +07:00
chrisl7
52aa672307 sm6375-common: Remove RenderScript
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:40:52 +07:00
boedhack99
eb704ebe85 sm6375-common: Decommonize libinit interfaces
Change-Id: I85b02fcc0bfb5bfd46ba7233c8ef9cd945862b07
2023-08-14 14:38:35 +07:00
boedhack99
55009fc73d Revert "sm6375-common: decommonize rro_overlays"
This reverts commit 4173a77420.
2023-08-14 14:12:04 +07:00
boedhack99
df13293006 sm6375-common: Add support unified stone
Change-Id: I03cc1d54d387738c6e6bc709c89cc4556319e730
2023-08-14 14:05:17 +07:00
Arian
2c629fd249 sm6375-common: Add power HAL extension and use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2023-08-14 06:59:02 +07:00
boedhack99
b366b83c0f sm6375-common: Build libdrm to vendor
Change-Id: I92f1d1c172dcf13713419c2955da85c399987af4
2023-08-13 23:21:45 +07:00
Arian
6a3993f4b5 sm6375-common: Switch to common qti vibrator aidl
Change-Id: I743c3ae426af9b94c35fe36c95c6bc5b31822605
2023-08-13 23:18:37 +07:00
boedhack99
a06e28e40b sm6375-common: rootdir: Add support SM4375 Soc ID
* Taken from sunstone MIUI V14.0.4.0.TMQMIXM release-keys

Change-Id: Iae8fb1deccb5799e553abec07ac7885315a5384e
2023-08-13 23:03:44 +07:00
boedhack99
d7a37267aa sm6375-common: sepolicy: Label different IR HAL for moonstone
* moonstone use lirc0

Change-Id: Id0ca60b64b2894238dc84909900e1d63b37cd44f
2023-07-25 00:03:37 +07:00
boedhack99
f4b9772864 sm6375-common: blobs: Pin media_codecs
* sm6375-common: Include Dolby media codec
* 51af28a87a

Change-Id: I9d12225fc7be9c9f897382aba2e7f35ae4cb3e03
2023-07-24 23:58:08 +07:00
boedhack99
bd6f67ef93 sm6375-common: Update blobs to moonstone MIUI V14.0.4.0.TMPMIXM release-keys
Change-Id: Ie92837de844c37012d561d869b98245d32b20d75
2023-07-24 23:36:34 +07:00
boedhack99
9e1cb65ef4 Revert "sm6375-common: Build source QTI vibrator service"
This reverts commit 46efe079a1.
2023-07-21 16:14:25 +07:00
boedhack99
96d8ef3811 sm6375-common: Define qca_cld as default wifi driver
Change-Id: I46450e24a0ef78751e73e289194d204aa622dfe6
2023-07-21 01:00:14 +07:00
boedhack99
b973985d87 sm6375-common: sepolicy: Remove multiple contexts for haptics
* Duplicate
* Partially reverts commit f4ce238.

Change-Id: I3843b489481edb99cf430fce810da39bc88a2bc0
2023-07-19 17:27:43 +07:00
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