Adithya R
eae05d470c
sm6375-common: powerhint: Set screen-off schedutil ratelimits
...
Use a more power-friendly rate limit configuration (2ms up/down)
to reduce power consumption a bit when the screen is off.
Power results during screen off GPS usage, measured by
Alex Naidis <alex.naidis@paranoidandroid.co> on SDM845:
Before:
392mW
93.5mA
After:
378.5mW
90.2mA
Co-authored-by: Alex Naidis <alex.naidis@paranoidandroid.co>
Change-Id: I1ec50702847a196e2f9366f71b3a5b9465c9a596
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-08-21 20:16:00 +05:30
Edwin Moquete
8c51a6a2e0
sm6375-common: Disable display refresh rate override
...
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2024-08-21 20:16:00 +05:30
karthick111
756da063a0
sm6375-common: powerhint: Adjust min frequencies to lowest possible
...
Change-Id: I38ec27f5c25627b60577b54fd4e1e9a45a517825
2024-08-21 20:16:00 +05:30
karthick111
110f897ac9
sm6375-common: powerhint: Set DISPLAY_INACTIVE hint for little cluster
...
Change-Id: I45df1015e39ba6bdacad9ce53f7157a5f7ba7dc8
2024-08-21 20:16:00 +05:30
snnbyyds
f182f2c1bd
sm6375-common: sepolicy: Suppress a hal_camera_default denial
...
* W provider@2.4-se: type=1400 audit(0.0:236): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=21259 scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0
Change-Id: I22cb788198489d6d729e975460674f07cff38072
2024-08-21 20:16:00 +05:30
Vivekachooz
ae9f3df1e6
sm6375-common: powerhint: Enable GPUMinFreq for EXPENSIVE_RENDERING
...
Change-Id: Id3fefc6a492557d775a04377432d39034047dd56
2024-08-21 20:16:00 +05:30
Adithya R
a4e85ce01a
sm6375-common: Disable COMPRESS_VOIP in BoardConfig
...
To make VOIP work properly the following has to be set:
AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := false in BoardConfig.mk
vendor.audio.feature.compr_voip.enable=true in vendor.prop
I have no idea why this is but setting either one of them differently results in the mic not working as it should.
Signed-off-by: Ad!thya's avatarAdithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Ia0d9c2f7bf8527c15f6a69f60dbfc777e6fa5775
2024-08-18 20:16:00 +05:30
Anand S
a42bde7bc4
sm6375-common: Explicitly set multisim property
...
* Our family of devices all use dual sim slots. So let's set the prop once and for all.
Change-Id: I68be2c6c65dcc7e114823fe9f93f5444a65f4420
2024-08-16 20:16:00 +05:30
Anand S
ba9668d835
[TMP] Revert "sm7325-common: Enable LZ4 compression for ramdisks"
...
This reverts commit c9984ff4ff
.
Change-Id: I46f2fbc1bad8673462a4ba898254605c7bfb45e3
2024-08-15 20:16:00 +05:30
Anand S
cafc1fcde1
sm6375-common: Adjust a2dp offload cap prop with stock
...
Change-Id: I6a3cb667439a60c64df67ee8bc87361190a6a5c0
2024-08-14 20:16:00 +05:30
Anand S
79d7c8779b
sm6375-common: Fix bluetooth soc props
...
Change-Id: Ic0e1a64323005b3f1511c6b9ae5c735edb25bbcc
2024-08-14 20:16:00 +05:30
Luofan Chen
265aa519a4
sm6375-common: Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE
...
Otherwise the error happens:
* E qdmetadata: Invalid gralloc handle (at 0xb400007aaf240a10): ver(12/12) ints(22/23) fds(2/2)
* E qdmetadata: validateAndMap: Private handle is invalid - handle:0xb400007aaf240a10
Change-Id: Ia62146e8e4bef1342dc964724bd0d088656ad4bc
2024-08-11 20:16:00 +05:30
Anand S
c077e33736
sm6375-common: sepolicy: Add rule for fingerprint
...
* E SELinux : avc: denied { find } for interface=android.hardware.health::IHealth sid=u:r:hal_fingerprint_default:s0 pid=1445 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:hal_health_hwservice:s0 tclass=hwservice_manager permissive=0
Change-Id: I7a7ff4798f1c605948627b73ae3f7a76596ec354
2024-08-10 20:16:00 +05:30
Anand S
5797d151b5
sm6375-common: sepolicy: Allow fp hal to access graphics device
...
* I HwBinder:1502_1: type=1400 audit(0.0:862): avc: denied { read write } for name="card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:863): avc: denied { open } for path="/dev/dri/card0" dev="tmpfs" ino=26702 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
* I HwBinder:1502_1: type=1400 audit(0.0:864): avc: denied { ioctl } for path="/dev/dri/card0" dev="tmpfs" ino=26702 ioctlcmd=0x649f scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:graphics_device:s0 tclass=chr_file permissive=1
Change-Id: Iccfda81d6ab92f43c988ab2ff85577dffbcd5699
2024-08-10 20:16:00 +05:30
Anand S
a7f57c0aa4
sm6375-common: sepolicy: Allow binder calls from fp hal to health hal
...
* I health@2.1-serv: type=1400 audit(0.0:860): avc: denied { call } for scontext=u:r:hal_health_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=binder permissive=0
Change-Id: Ifc834b3ef0f07ebf94ecb1f3c7163f8b9959b0f1
2024-08-10 20:16:00 +05:30
Anand S
a4472b6393
sm6375-common: sepolicy: Allow capsense_reset to create netlink_kobject_uevent_socket
...
* W capsense_reset: type=1400 audit(0.0:42): avc: denied { create } for scontext=u:r:capsense_reset:s0 tcontext=u:r:capsense_reset:s0 tclass=netlink_kobject_uevent_socket permissive=0
Change-Id: I0219ec9cd04b913de53f3ae02f8047ae00932252
2024-08-08 20:16:00 +05:30
Anand S
a077049b4b
sm6375-common: sepolicy: Fix connectto denials related to Power HAL
...
* avc: denied { connectto } for path="/dev/socket/property_service" scontext=u:r:hal_power_default:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=0
Change-Id: Ida438cb2136e75ffbde76fd7dee3bb283e9f6fe2
2024-08-08 20:16:00 +05:30
Andrew Hexen
ed34e0aec5
sm6375-common: sepolicy: Fix denials related to vendor_qtelephony
...
avc: denied { find } for pid=2562 uid=10156 name=vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 scontext=u:r:vendor_qtelephony:s0:c156,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
(Picked from commit Iacd17a9621ca9bfc0e80fb17eadd4461475ef1aa)
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ia24447db581364570be3259e61e0e37d57f86365
2024-08-08 20:16:00 +05:30
Anand S
2805c8e380
sm6375-common: Decommonise libgui_shim_vendor
...
Change-Id: I835cbf1ace68a5b1151714332ac5e538911bd35d
2024-08-07 20:16:00 +05:30
johnmart19
49713d9f94
sm6375-common: Build android.hardware.media.omx from source
...
* Fixes: android.hardware.media.omx@1.0-service: Service not available yet.
Change-Id: I9581b6d244f4336d2cff4785ba99bd64079faa1f
2024-08-01 20:16:00 +05:30
Anand S
c9a76ef3f4
sm6375-common: sepolicy: Fix vendor_hal_gnss_qti denial
...
* E SELinux : avc: denied { find } for pid=1003 uid=1021 name=android.frameworks.sensorservice.ISensorManager/default scontext=u:r:vendor_hal_gnss_qti:s0 tcontext=u:object_r:fwk_sensor_service:s0 tclass=service_manager permissive=0.
Change-Id: Ie2ef4484794c7087b61e674756a61d4bdd20fd72
2024-08-01 20:16:00 +05:30
Keertesh
2b6dc98336
sm6375-common: sepolicy: Label vendor.qti.hardware.radio.ims.IImsRadio/imsradio
...
* E SELinux : avc: denied { find } for pid=2735 uid=10166 name=vendor.qti.hardware.radio.ims.IImsRadio/imsradio0 scontext=u:r:vendor_qtelephony:s0:c166,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0.
Change-Id: I10a41013aed59dafdd59bf26378f71f1a05f80fd
2024-08-01 20:16:00 +05:30
=?UTF-8?q?=D0=94=D0=B0=D0=BD=D1=8F?=
8c4c453725
sm6375-common: sepolicy: Address denials for hal_power_default
...
* W NodeLooperThrea: type=1400 audit(0.0:699): avc: denied { write } for name="property_service" dev="tmpfs" ino=18780 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0.
Change-Id: I8908ef81fd59832e12dc5eca78ae8a4d48056531
2024-08-01 20:16:00 +05:30
Anand S
b9323d90e2
sm6375-common: Update Radio stack from S2RUBS32.51-15-9-5
...
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.
Change-Id: I75da23defce23b4fc1cf4c391cb2bcd694f2972b
2024-07-30 20:16:00 +05:30
Anand S
86b91fabc8
sm6375-common: Update QMI blobs from S2RUBS32.51-15-9-5
...
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.
Change-Id: Ieeb8ae4f00588cd0d2d95765b33c8af94d872208
2024-07-30 20:16:00 +05:30
Anand S
a132e28cf3
sm6375-common: Update Media and OMX stack from S2RUBS32.51-15-9-5
...
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.
* Remove unused blair_lite configs and media_codecs_vendor_audio.xml.
Change-Id: I622aee21b1a50d3580fdd5aff5bf93e7a8ff8129
2024-07-30 20:16:00 +05:30
Anand S
c4c646c95f
sm6375-common: Update CNE stack from S2RUBS32.51-15-9-5
...
* From corfur_g-user 12 S2RUBS32.51-15-9-5 76c7d7 release-keys.
Change-Id: Ie597785c94973b6fc9b392cfc63c74e59791764e
2024-07-30 20:16:00 +05:30
Anand S
64f7547dc9
sm6375-common: Set media.settings.xml
...
Change-Id: If19a18b2a91e833bab83bf8992bb8f4c5ac5253b
2024-07-28 20:16:00 +05:30
Anand S
4d44aef0e9
sm6375-common: Decommonise audio_io_policy.conf
...
Change-Id: I9e11a69f29a7e82c4b0feb4f3210d25897ccaf86
2024-07-27 20:16:00 +05:30
Anand S
0e62d3387e
sm6375-common: media: Import more media configs from stock
...
* From fogos_g-user 14 U1UGS34M.23-82-2-2 0c9cb9 release-keys.
Change-Id: I9e911846ef7d0a86db1a655ee60ea950026768f8
2024-07-27 20:16:00 +05:30
Anand S
a3c08a6b7f
sm6375-common: audio: Copy all configs to /vendor/etc
...
Change-Id: Icfd400db69ffc4e38bcaa2f7fa14bf210a1a8c2c
2024-07-27 20:16:00 +05:30
itsnouralawad
297127bb5e
sm6375-common: sepolicy: Allow vendor_hvdcp to access sysfs
...
* W hvdcp_opti: type=1400 audit(0.0:4035): avc: denied { read } for name="name" dev="sysfs" ino=84102 scontext=u:r:vendor_hvdcp:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
Change-Id: I022383cf00f4c3ede5755de73a5711b3c6145e5f
2024-07-26 20:16:00 +05:30
=?UTF-8?q?=C2=A8raystef66=C2=A8?=
ba34567e76
sm6375-common: sepolicy: Adress isolated_app denial
...
* E SELinux : avc: denied { find } for pid=6182 uid=99000 name=content_capture scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0
* E SELinux : avc: denied { find } for pid=6771 uid=99001 name=content_capture scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0
* E SELinux : avc: denied { find } for pid=8222 uid=99002 name=content_capture scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0
Change-Id: Ifd164ef55a73c16b68eba4a3fdff5b3632219f5d
2024-07-26 20:16:00 +05:30
Anand S
e20781cc82
sm6375-common: sepolicy: Address radio service denials
...
* E SELinux : avc: denied { find } for pid=2577 uid=10160 name=vendor.qti.hardware.radio.qcrilhook.IQtiOemHook/oemhook0 scontext=u:r:vendor_qtelephony:s0:c160,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
* E SELinux : avc: denied { find } for pid=2577 uid=10160 name=vendor.qti.hardware.radio.am.IQcRilAudio/slot1 scontext=u:r:vendor_qtelephony:s0:c160,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
Change-Id: I7f31e90c42e0f5a8f5b85147f34f4c30448e6208
2024-07-25 20:16:00 +05:30
Anand S
b3f68d0b14
sm6375-common: sepolicy: Address input sysfs nodes as sysfs_sensors
...
Change-Id: I74bcef0780be332a6b0ca8b11e562d0f82a27cae
2024-07-25 20:16:00 +05:30
Anand S
7e713efdbb
sm6375-common: sepolicy: Label dt-gesture nodes for Power HAL
...
Change-Id: Ie84e6eaf7748e2d5371f3239aff631eeafc1e982
2024-07-25 20:16:00 +05:30
Anand S
41c90591ea
sm6375-common: sepolicy: Allow libperfmgr to write to sysfs_sensors nodes
...
Change-Id: I22ce808b706adfc8dedc976283129ba4d8ded815
2024-07-25 20:16:00 +05:30
Anand S
5c7c376986
sm6375-common: sepolicy: Add capsense_reset sepolicies
...
Change-Id: Ie329c52951965b3de54fd701e5011981fabc216b
2024-07-25 20:16:00 +05:30
Anand S
558658882d
sm6375-common: Fix copying path of ueventd.rc
...
* ueventd: Legacy ueventd configuration file detected and will not be parsed: /vendor/ueventd.rc. Please move your configuration to /vendor/etc/ueventd.rc instead.
Change-Id: I85eaea032bc8e9c494ee604fdc8c199dc1f610ef
2024-07-25 20:16:00 +05:30
Anand S
a315f406b1
sm6375-common: Update from MMI-U1UGS34M.23-82-2-2
...
* From fogos_g-user 14 U1UGS34M.23-82-2-2 0c9cb9 release-keys.
Change-Id: I4d85b2ea3aa6edf8e55df8155b21dbbce9ed6579
2024-07-23 19:38:04 +05:30
Sugakesshaa
436dc832b4
sm6375-common: Configure sched {up/down}migrate
...
Change-Id: I7e804b386cb1a632b18720a83fcea17fc45776a8
2024-07-21 20:16:00 +05:30
Adithya R
c440e2d2b3
sm6375-common: Move audio-app cpuset to 1-2
...
audio driver affines pm-qos requests to these cpus so it makes sense
to use them for audio-app as well
Change-Id: I61223db706042e215b1ab5ca9eb4562989e362f6
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Jake Weinstein
6e4c4fa62b
sm6375-common: Do not allow restricted tasks to run on big cores
...
The restricted cpuset is for system tasks that are
throttled because the screen is off. Google only
runs these tasks on the little cluster
to save power and we will follow suit.
Change-Id: I0174beb11dae2109df4ddf65304bd50c5cc05264
2024-07-21 20:16:00 +05:30
Jake Weinstein
3351ac9c03
sm6375-common: Move background cpuset to CPU0-1
...
Change-Id: I927eac32be54dea076d5c5f15f7e57ab4b57fc3b
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Vaisakh Murali
d24e229705
sm6375-common: Import stock cpuset parameters
...
Change-Id: I6f5ec83f53cc89de51c60e011f6a35c80cf590c9
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Kyle Lin
ef9b2da616
sm6375-common: Fine tune the read_ahead size
...
fine tune the read_ahead size for runtime
Change-Id: If7929c51222e325a019532ce0d16045a52778165
Signed-off-by: Kyle Lin <kylelin@google.com>
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
Vaisakh Murali
038d9e8853
sm6375-common: Introduce a stub blair-post-boot script
...
This will be used to tune some parameters in the device. Only run
this script after proprietary kernel post-boot has run, so that
these changes are not overriden by the same.
Change-Id: Ibcef27a2813870c62d54c9d762eae9e03da677ad
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
2024-07-21 20:16:00 +05:30
me-cafebabe
8931f83873
sm6375-common: sepolicy: Allow vendor_init write to proc_sched
...
Change-Id: I7665a5f03f3ce383e00956b67023626604422093
2024-07-21 20:16:00 +05:30
LuK1337
3491348ec3
sm6375-common: sepolicy: Allow libperfmgr to read and write to sde-crtc-*
...
Change-Id: I5abde96b2a6bdde7f7b5cd577f878ce93b8dc8b3
2024-07-21 20:16:00 +05:30
Anand S
3092927bb5
sm6375-common: sepolicy: Address some denials for fogos
...
Change-Id: I3ab1949c10eb3313a3fb701bbddeffb4bf15237c
2024-07-21 20:16:00 +05:30