Commit graph

4729 commits

Author SHA1 Message Date
pix106
0c1fa5e0a1 sdm660-common: overlay: drop old CarrierConfig config
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 20:28:11 +01:00
pix106
630b415554 sdm660-common: sepolicy: label gf.debug.whitebox.enabled 2023-01-08 20:28:01 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
pix106
2b5dfda876 sdm660-common: sepolicy: allow hal_capabilityconfigstore_qti_default access to vendor_cap_configstore_dbg_prop 2023-01-08 08:59:27 +01:00
pix106
11d6f85dc1 sdm660-common: add CapabilityConfigStore to manifest 2023-01-08 08:59:27 +01:00
pix106
77c3dd3e8e sdm660-common: build vendor.qti.hardware.capabilityconfigstore@1.0 2023-01-08 08:59:27 +01:00
Shreedhan003
7ff3d8afb5 sdm660-common: add capability configstore blobs from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:27 +01:00
Shreedhan003
46afa2f65c sdm660-common: add UBWC blobs from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Shreedhan003
53edd94a47 sdm660-common: add SCVE blobs from from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
Shreedhan003
b81c4bb5a0 sdm660-common: add qseecom hal gfrom LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Shreedhan003
b3caccc2c5 sdm660-common: add missing keymaster blobs from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Shreedhan003
baebb674c3 sdm660-common: add missing graphics postprocessing blobs from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Shreedhan003
5030ac1886 sdm660-common: add prebuilt tinyxml from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Shreedhan003
ede0766fec sdm660-common: add EIS blob from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:26 +01:00
Shreedhan003
ab11bcf940 sdm660-common: add missing drm blobs from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:26 +01:00
Shreedhan003
dd080ab0fd sdm660-common: add missing cdsp blobs from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:26 +01:00
Shreedhan003
27fd7416e9 sdm660-common: update audio fx blobs from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:26 +01:00
Shreedhan003
81490640ee sdm660-common: update audio blobs from LA.UM.10.2.1.r1-03400-sdm660.0 2023-01-08 08:59:26 +01:00
Kunmun
6a3ebc0e0d sdm660-common: configs: Import keylayout from LA.UM.10.2.1.r1-03400-sdm660.0
Change-Id: Ibb9cb3d1b5670d795d5e8ab050b7a967e1794c66
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Kunmun
df2c4bda6c sdm660-common: media: Import configs and props from LA.UM.10.2.1.r1-03400-sdm660.0
• Build required media packages

Change-Id: Id1828f9fad2c939b8d87f0cc2562a32b2aa0026e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
pix106
b8266fd9c6 sdm660-common: build Face Unlock 2023-01-04 06:53:43 +01:00
justinweng
0ec33a90f9 sdm660-common: Extend buffer size to 256kb for offload playback
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.

Bug: 137973303
Test: MP3 playback

Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
mvaisakh
5743c43e60 sdm660-common: props: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
wHo-EM-i
c08cdd0098 sdm660-common: props: nuke gboard padding
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
Lucas Dupin
ebaa152620 Revert "sdm660-common: overlay: Fix fingerprint wake-up animation"
Test: visual
Fixes: 147705230
Change-Id: I81071e87a4d945cf243a288acf97586a4f63c3fa
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
pix106
d4585837cd Revert "sdm660-common: overlay: Set fast charging indicator threshold to 10.8W"
This reverts commit f39019a41c.
2023-01-04 06:53:43 +01:00
pix106
2946b9e9d1 sdm660-common: overlay: commonize values
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
xenxynon
cbb7fb8cde sdm660-common: props: drop debug.hwui.use_buffer_age
Fixes lags and freeze after QPR1 (December 2022 ASB) merge

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:53:43 +01:00
pix106
657e264742 sdm660-common: sepolicy: allow platform_app to read config.gz
type=1400 audit(0.0:2767): avc: denied { read } for name="config.gz" dev="proc" ino=4026532183 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:config_gz:s0 tclass=file permissive=0 app=com.android.launcher3
2023-01-04 06:53:43 +01:00
Kevin F. Haggerty
7e036b7ae1 sdm660-common: sepolicy: Allow platform_app to access zram sysfs nodes
avc: denied { search } for name=zram0 dev=sysfs ino=20744
scontext=u:r:platform_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir
permissive=0

Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:23:15 +01:00
pix106
7a9897c257 sdm660-common: power-libperfmgr: update powerhint from commit "Migrate to Xiaomi power AIDL HAL" 2023-01-04 06:23:15 +01:00
pix106
c99d1cf11b Revert "sdm660-common: power-libperfmgr: Use sysctl to control energy aware feature"
This reverts commit a123a5dda9.
2023-01-04 06:23:15 +01:00
Clarence K
62c090eef3 sdm660-common: power-libperfmgr: Boost interaction on Little Cluster
* 633600 seems a little bit sluggish

Signed-off-by: Clarence K <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-04 06:23:15 +01:00
Wilson Chan
e1a20c6dee Revert "sdm660-common: power-libperfmgr: Add Flipendo powerhint"
- Add sepolicy for dex2oat powerhal props to vendor_power_prop

Test: boot and check powerhint parse logs
Test: enabled extreme battery saver and check scaling_max_freq

[clarencelol]: Adapt to sdm660 freq
2023-01-04 06:23:15 +01:00
pix106
2920fa90bd Revert "sdm660-common: power-libperfmgr: add FIXED_PERFORMANCE"
This reverts commit ee3e63fe44.
2023-01-04 06:23:15 +01:00
pix106
b02991e348 sdm660-common: Include hardware/google/interfaces and hardware/google/pixel
This reverts commit 29615b8ddc.
2023-01-04 06:23:14 +01:00
pix106
0fcf8ea137 Revert "sdm660-common: Migrate to Xiaomi power AIDL HAL"
Revert "sdm660-common: rootdir: Clean part of Unexported properties"
Revert "sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms"
2023-01-04 06:23:14 +01:00
pix106
2cc84ac68d sdm660-common: sepolicy: allow vendor_init to read hal_camera_prop 2022-12-28 18:15:49 +01:00
brunorolak
91d1bdc13e sdm660-common: sepolicy: remove camera duplicates
Duplicate prefix match detected for 'vendor.camera.skip_unconfigure.packagelist'

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:38:22 +01:00
johnmart19
6ed081153b sdm660-common: properties: Adapt unsignaled buffer latch property to Android 13
- According to https://source.android.com/docs/core/graphics/unsignaled-buffer-latch
- [Joker-V2: Move it to vendor]

Signed-off-by: Joker-V2 <nipinna0@gmail.com>
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
johnmart19
b40ca5227c sdm660-common: rootdir: Clean part of Unexported properties
This properties are unused for our purposes, so let's remove it to do not trigger Selinux spam

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
clarencelol
80a4284c7a sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms
* Set it according to kernel value shown here 3f4fbeaa44

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
pix106
29615b8ddc Revert "sdm660-common: Include hardware/google/interfaces and hardware/google/pixel"
This reverts commit d41d782c92.
2022-12-27 07:34:56 +01:00
Bruno Martins
71c49fcc8c sdm660-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c

jasmine_sprout: Remove QTI perfd

Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4

jasmine_sprout: Declare BOARD_VENDOR

* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672

jasmine_sprout: Create dummy libqti-perfd-client

* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

[SebaUbuntu]: Cleanup Android.bp and add copyright header

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb

jasmine_sprout: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d

jasmine_sprout: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286

jasmine_sprout: libqti-perfd-client: Move to C

* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d

jasmine_sprout: Add powerhint.json jasmine

Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d

jasmine_sprout: rootdir: Initial libperfmgr init config

* From coral, heavily stripped down

Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218

jasmine_sprout: sepolicy: Initial libperfmgr sepolicy

Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0

jasmine_sprout: Don't explicitly build older minor version HIDL libs

Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06

jasmine_sprout: Remove QTI perf reminants

jasmine_sprout: Add back ro.vendor.extension_library definition

 * We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00
Sebastiano Barezzi
c8d924ba0a sdm660-common: Move to common Xiaomi lights AIDL
Change-Id: Icb3bb31ebad01519b91a6d41b47e1b57e1ac84e1
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-22 04:56:20 +01:00
Sebastiano Barezzi
4ecaa0a848 sdm660-common: Add hardware/xiaomi to soong namespace
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-22 04:56:20 +01:00
pix106
435a572ea4 sdm660-common: gps: update config from LA.UM.11.2.1.r1-02500-sdm660.0 2022-12-22 04:56:20 +01:00
Immanuel Raj
cb79a6f914 sdm660-common: GPS: Update from LA.UM.11.2.1.r1-02500-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-22 04:56:20 +01:00
pix106
aa76e60586 sdm660-common: sepolicy: allow zygote to search vendor_framework_file
type=1400 audit(0.0:55): avc: denied { search } for name="framework" dev="mmcblk0p14" ino=1094 scontext=u:r:zygote:s0 tcontext=u:object_r:vendor_framework_file:s0 tclass=dir permissive=0
2022-12-22 04:56:20 +01:00
7Soldier
9aeebe4081 sdm660-common: sepolicy: Dontaudit crash_dump init ptrace denial
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-22 04:56:20 +01:00