Commit Graph

40 Commits

Author SHA1 Message Date
Jens Reidel
2347f17fd2 sm6225-common: rootdir: Enable mgame mi_thermald mode
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.

Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
2024-08-31 16:41:10 +06:00
Sebastiano Barezzi
f682793d07 sm6225-common: rootdir: Drop debugfs stuff
Change-Id: Ibb5f24200f8d772cecf4166a90d27419329a337d
2024-08-31 16:41:10 +06:00
Daniel Jacob Chittoor
34d424f11e sm6225-common: rootdir: Enable suspend to RAM
* Improves idle drain considerably

Change-Id: Ibfbcbf9ade8123931b100432132b019f8fb44b45
2024-08-31 16:41:10 +06:00
Michael Bestas
8d4c3d65ac sm6225-common: Properly init qti perf hal
* Allows perf to work properly on boot to restore selected power profile

This fixes log spam -
QTI PowerHAL: Failed to acquire lock.

Change-Id: Idff7d1f51d8480b811a1a35c00670ca0bbd70be5
2024-08-31 16:41:10 +06:00
itsnouralawad
1a6c2e40a1 sm6225-common : rootdir: Override sensors HAL service
It is required to get the fod working
2024-08-21 13:37:08 +03:00
itsnouralawad
b45e970aec sm6225-common : init:Update fingerprint init script to handle xiaomi-fp 2024-08-21 13:26:33 +03:00
itsnouralawad
5e8d5a0652 sm6225-common : init:Add missing displayfeature sysfs node permissions 2024-08-21 13:26:33 +03:00
Arian
04a1eb7906 sm6225-common : rootdir: Override power HAL service and add input group
* This allows to access /dev/input/event* which is required for DT2W.

Change-Id: Idbab93138ba3221338413283552004d92e8ef333
2024-05-09 09:00:57 +00:00
Arian
9e40817f23 sm6225-common: Build Lineage Health HAL
Change-Id: I4719d1390233d2edcf94ca3c8567b6b40f5e5edd
2024-03-24 17:01:35 +07:00
chrisl7
13b87734c2 sm6225-common: rootdir: Remove duplicate ueventd definitions
Change-Id: I3d2e7485ec8f362ab3274bec80f3406a0e661243
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-03-24 16:04:27 +07:00
Vamsi Krishna Gattupalli
5912b9fb3d sm6225-common: rootdir: Remove logging to kmsg device
Change-Id: Ie9c8bf1852c3fcf16eea2c25438e70477128f871
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
Signed-off-by: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
2024-03-24 16:04:27 +07:00
boedhack99
a4b8b70995 sm6225-common: Update blobs from sapphire V816.0.2.0.UNGMIXM
Change-Id: I3b8d9e871f0c5f03eab0c4d81662c352f369db34
2024-03-24 16:04:27 +07:00
Fabian Leutenegger
62bc58b980 sm6225-common: Add xiaomi touchfeature HAL
Change-Id: I4eb881bbff108182f0f58699fdecefd760b12cda
2024-03-16 23:19:58 +07:00
boedhack99
3b6e16b183 sm6225-common: rootdir: Add device init scripts
Change-Id: I39ee5aa8bc9ec8fce1af9acc534e022f32a1535b
2024-03-16 00:51:42 +07:00
Arian
03dc0813db sm6225-common: Use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2024-03-14 01:12:16 +07:00
Arian
55448b6fdf sm6225-common: Source build fingeprint HAL and implement udfpshandler
Change-Id: Ib0a8ed7d6e794aef4ad02b960841c66dfad79390
2024-03-14 01:12:16 +07:00
boedhack99
c936c6e8e4 sm6225-common: Update init scripts from saphhire
* From sapphire MIUI V14.0.6.0.TNGMIXM
* Also add missing init.qcom.post_boot.sh into packages build

Change-Id: I4414bf2dbcbdd01e02b6cf6681b5f004936233d8
2024-03-14 01:11:54 +07:00
boedhack99
2fbbea8947 sm6225-common: rootdir: Give permissions for xiaomi-fp
Change-Id: If79e888e3973b0c11e949e5ce10522c04168f653
2024-03-12 00:28:00 +07:00
boedhack99
0a4b25801d topaz: rootdir: Override attribute volume stream to system and vendor props
* Taken from marble

Change-Id: Ie2e01387b2cb7371a841a8aeeec823656c6f7e4c
2024-02-27 20:17:32 +07:00
boedhack99
2de89b7a8f topaz: rootdir: Disable agm loopback service
Change-Id: Id619be70798e6714e7d30621e52eb1c3a0caeddd
2024-02-27 20:17:32 +07:00
Chandu Dyavanapelli
3df7cd6140 topaz: rootdir: Drop multi-SIM init script
Until further notice, it's assumed that all variants
have dual SIM support.

Change-Id: I6c60230dff2b09c94208a6ec61c070c96dd803cd
2023-12-19 09:43:51 +07:00
boedhack99
49a6deaeb2 topaz: Bring back procfs tp_gesture to handle DT2W
* Partially reverts commit a83c711c8f.

Change-Id: If296f8952e124088e090244b0ec90992a490a580
2023-12-12 12:18:27 +07:00
Arian
8707e2336e topaz: Use xiaomi-touch to handle dt2w
Change-Id: I5c65e0df255853eb2b3018a27ceb807c111bc4df
2023-12-10 00:35:58 +07:00
Andy Hung
16192aae40 topaz: rootdir: audio HAL: Enable RT priority inheritance
Test: instrumented
Bug: 181148259
Bug: 260918856
Change-Id: If56e449a9c6f1a49e372591893d8714534574e3a
2023-12-04 15:47:23 +07:00
Suren Baghdasaryan
8c68126aca topaz: rootdir: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2023-12-04 15:47:23 +07:00
Bruno Martins
6ce6c8c936 topaz: rootdir: Override AOSP a-HAL service definition
Qualcomm adds oem_2901 and oem_2912 as group members.

Change-Id: I90e9d45069a8100bf922a5058fae5dbc5e5ef0c9
2023-12-04 15:47:23 +07:00
boedhack99
5d3c9ad6de topaz: Fix sepolicy denied and enforcing
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I5486e25a4e06d5e5ede95e9c54ac4f655290683c
2023-12-03 01:40:33 +07:00
chrisl7
814250fa40 topaz: Switch to prebuilt fingeprint service
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I3f0ac432b47fefefcb4de2a7c7f09f641c006b47
2023-12-03 01:19:20 +07:00
Vishalcj17
04627e1152 topaz: rootdir: Change permissions for /dev/diag
[1] - Add override

* Logs spam with error '-13' which basically translates to access
denied/invalid permission.

* Fix this by giving system read and write access.

Before in log:
Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error
= 13

Change-Id: Ic06b0de0a729052593fb3c703362c5c199f9fd0b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-12-03 00:03:46 +07:00
boedhack99
5cd1aee6aa topaz: Switch to use prebuilt audio
* This reverts commit:
  [1] cbb10a1: topaz: Build source libagmmixer.so
  [2] 60d57be: topaz: Cleanup 32bit blobs
  [3] f8d814b: topaz: Enable extended compress format
  [4] 4e528d3: topaz: Move to build default source audio
  [5] a0902ee: topaz: Move most agm and pal targets to source built

Change-Id: I52025b933c60d4d16960f7dd45ebf0d294411e1e
2023-12-03 00:03:46 +07:00
chrisl7
ea184cbe1a topaz: Define DT2W node
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I17e28b03295683f54f2cf30114617d5103a19885
2023-12-02 17:01:05 +07:00
Bruno Martins
8352e5b6ad topaz: Skip building agm test binaries
Change-Id: I6e0f4f37b4ae465700dfd4d20e54858a8241dcf4
2023-12-02 17:01:05 +07:00
Alexander Koskovich
657f338839 topaz: rootdir: Mount debugfs
* E cutils-trace: Error opening trace file: No such file or directory (2)

Change-Id: Ia69c5e65df237ed883c6317b7a8430248d57b997
2023-12-02 17:01:05 +07:00
boedhack99
1acfc73f89 topaz: rootdir: Re-label legacy touch system permissions
01-02 07:46:26.339   187   187 E ueventd : /vendor/etc/ueventd.rc: 420: /sys/ lines must have 5 or 6 entries
01-02 07:46:26.339   187   187 E ueventd : /vendor/etc/ueventd.rc: 421: /sys/ lines must have 5 or 6 entries

Change-Id: I2d5cd51e69e38047e43ebe3940f3500330158f68
2023-12-02 17:01:05 +07:00
Utsav Balar
81af6ba56d topaz: rootdir: Cleanup Xiaomi's derp
E ueventd : /vendor/ueventd.rc: 505: Invalid section keyword found

Change-Id: I1ad53cc80831c9d94ca99f889c125980b54ec971
2023-12-02 17:01:05 +07:00
Utsav Balar
69acb2272f topaz: rootdir: Properly label /sys/kernel/qvr_external_sensor/fd
E ueventd : /vendor/ueventd.rc: 233: /sys/ lines must have 5 entries

Change-Id: I087cc2f03a3fba2025d832d60114703db8abd34d
2023-12-02 17:01:05 +07:00
P.Adarsh Reddy
fcfa8da145 topaz: Enforce android-S new launch debugfs restrictions
Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2023-12-02 17:01:05 +07:00
boedhack99
e3d0679f7c topaz: Update init scripts from qcom/common
* from https://github.com/AOSPA/android_device_qcom_common/tree/topaz/vendor/init
* Taken bengal 5.xx kernel version
* Remove xiaomi init.extra_free_kbytes

Change-Id: I560b0337c9ffaad86657c63de775686ad608b697
2023-12-02 17:01:05 +07:00
boedhack99
fbba603490 topaz: Import full init kernel scripts
Change-Id: I2e9439a2e86528f985d6cbd2fdf7b5ee44400963
2023-12-02 17:01:05 +07:00
boedhack99
89b7fc4ded topaz: Move init scripts to default rootdir
Change-Id: I10dee62615c2cb6dadfc988418fac50ebe399ee7
2023-12-02 17:01:05 +07:00