Commit graph

81 commits

Author SHA1 Message Date
ivanmeler
4d9cea346c Add missing uniplugin 2023-05-01 10:14:46 +00:00
ivanmeler
269f46d93f Add custom keymaster implementation 2023-05-01 08:19:48 +00:00
ivanmeler
6f5538e6c9 correct camera fw location 2023-04-30 11:48:23 +00:00
ivanmeler
b0bd7afd28 wip: replace proprietary blobs with ones from s7 2023-04-01 18:35:30 +02:00
ivanmeler
dd6afcce51 source build hal components 2023-03-30 23:50:55 +02:00
ivanmeler
f6f4d51256 wip: switch to bcm wlan
add libbase shim
2023-03-30 22:04:28 +02:00
ivanmeler
5df0712f55 Fix fingerprint 2023-03-30 10:48:07 +02:00
ivanmeler
a3fcfb25e3 we have bcm bt 2023-03-29 12:16:24 +02:00
Deokgyu Yang
21dc75c733 gts3l-common: keymaster: Use mdfpp keymaster, gatekeeper
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Icaf66a24800704038523b0e988089e6a89276f7d
2022-05-08 00:15:17 +09:00
Deokgyu Yang
dbf15ff6d3 gts3l-common: camera: Import UniPlugin libraries
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie66e361afa68178ca9995c5a2f74dfe52d5f9f3b
2022-05-07 23:36:19 +09:00
Deokgyu Yang
91a2b8bfb2 gts3l-common: blobs: Move vulkan hal out of hw/ folder
[aleasto]
After 4264917141
the vulkan HAL library is only searched with linker namespaces.
Since our device is not treblized, the only valid namespace is the
default namespace which does not include /vendor/lib(64)?/hw

Refers to:
https://review.lineageos.org/c/LineageOS/android_device_lge_msm8996-common/+/325923

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If48ea1d1a725cb01141d2bd2050e5763d32d3eec
2022-05-07 23:29:50 +09:00
Deokgyu Yang
9278ad5b0c gts3l-common: perf: No, we can't use libqti-perfd
It needs /proc/sys/kernel/sched_boost anyway

The log spam:
ANDR-PERF-OPTSHANDLER: Failed to read /proc/sys/kernel/sched_boost

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 02:15:39 +09:00
Deokgyu Yang
e2da6b2900 Revert "gts3l-common: perf: Import perfd from lge_msm8996-common"
perfd is not working as the following error on our device
[0:          perfd:  955] devbw soc:qcom,cpubw: dev_pm_opp_get_opp_count: device OPP not found (-19)

So I reverted all the perfd stuffs

This reverts commit 21dcb08866.
2022-02-23 00:44:12 +09:00
Deokgyu Yang
6c9dca6051 gts3l-common: perf: Involve perf configs to the device tree
The configs are set for interactive, not EAS. So we have to edit those
configs to be based on EAS system.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 11:23:53 +09:00
Deokgyu Yang
21dcb08866 gts3l-common: perf: Import perfd from lge_msm8996-common
As our power HAL only can work when if perfd exists, we have to import this
binary from another device.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 11:00:44 +09:00
Deokgyu Yang
53ef5f6211 gts3l-common: perf: Remove perf-profiles excepts profile 0
For our power HAL, there is only one power profile needed.

Refers:
486641d489

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 01:38:44 +09:00
Deokgyu Yang
523ff7a21c gts3l-common: irq: Import msm_irqbalance from lge_msm8996-common
The msm_irqbalance configuration of lge_msm8996-common has more IRQ
numbers for excepting mdss and kgsl-3d0. This is good to improve UX stability.

Refers:
d5f348aedd

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 01:36:52 +09:00
Deokgyu Yang
60c339b97c gts3l-common: blobs: Import media, OMX blobs from daisy
From daisy - QKQ1.191002.002

And remove Samsung OMX files as info described in:
https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/299021

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 16:54:33 +09:00
Deokgyu Yang
4d472d4aff gts3l-common: blobs: Import perf, thermal blobs from oneplus3
From oneplus3 - PKQ1.181203.001

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 16:54:33 +09:00
Deokgyu Yang
e025d6f38a gts3l-common: blobs: Update graphics blobs from daisy
From daisy - QKQ1.191002.002, which is based on Android 10

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 15:02:43 +09:00
Deokgyu Yang
100185f44f gts3l-common: blobs: Remove old camera firmwares
These files are not loaded anyway

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 14:43:44 +09:00
Deokgyu Yang
1b5e30e592 gts3l-common: blobs: Enable msm_irqbalance
Refers this commit:
e975bda056

Import msm_irqbalance binary from oneplus3 blobs.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 14:43:42 +09:00
Deokgyu Yang
43f874285d gts3l-common: audio: Add Dolby audio effect
References:
- https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/314961
- https://forum.xda-developers.com/t/rom-official-lineageos-18-1-for-galaxy-s10e-s10-s10-s10-5g-exynos.4315407/page-7#post-85586605

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If58ceb23d4b30759ce3b93102a04623b6f291a5f
2021-12-19 16:50:53 +09:00
Deokgyu Yang
240b9c900e gts3l-common: proprietary-files: Change/add aptX libraries
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ice4194e064820d4fafb1e99bdea4110d4bd1f1dd
2021-12-18 01:52:18 +09:00
Deokgyu Yang
751fb38d31 gts3l-common: proprietary-files: Correct the cnss-daemon file location
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4d96f7293e57ccfcbe818b9f5793c9036795ea26
2021-11-22 12:08:11 +09:00
Deokgyu Yang
c484f16bcb gts3l-common: lpm: Enable the power-off mode charging using Samsung LPM
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I834d67453b2057e88d3e1cd1b1a4c6fac0c85f72
2021-09-22 21:59:35 +09:00
Deokgyu Yang
f7b8e79f3c gts3l-common: thermal: Add thermal-engine configs to the device tree
The default thermal-engine.conf file from the firmware is empty.
These file is from https://android.googlesource.com/device/google/marlin/+/refs/tags/android-10.0.0_r47

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcba085caadcc8a11f23861228b0ad446c077cad
2021-08-30 02:23:15 +09:00
Deokgyu Yang
9ca9eb9546 gts3l-common: power: Add powerhint.xml to the device tree
Adapted for the new format. The file contents is from
LineageOS/android_device_oneplus_oneplus3

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4c71e07c62753c4578138b26a3174a3670b509f3
2021-08-30 02:11:14 +09:00
Deokgyu Yang
0c080df8be gts3l-common: camera: Add camera configs to the device tree
For the modifying to debug, but it is still not bad to remain

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I87bad9d6c5cf84418aeb6111180b57125d4b9cef
2021-08-29 17:15:13 +09:00
Deokgyu Yang
132100011d gts3l-common: camera: Remove unused libraries
Even some of them cause bugs

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I18c6c25089a4bca686ca4f07a4bf8ec50e579984
2021-08-29 17:03:48 +09:00
Deokgyu Yang
b92d84966f gts3l-common: camera: Clean up the camera files
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic83869b7b8d9c14d2173daa01c50530eef17a6fe
2021-08-22 01:00:43 +09:00
Deokgyu Yang
1b3e5c58fb gts3l-common: camera: Move camera configurations to under the vendor dir
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I822d85814437a749d4fd13d95ad5357cef38c2ba
2021-08-21 01:54:26 +09:00
Deokgyu Yang
22828f6059 gts3l-common: camera: Use vendor camera HAL
But the camera doesn't work yet

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib34345c502a37e87476cf3cf057455bfe4158bda
2021-08-04 01:43:14 +09:00
Deokgyu Yang
acd6165371 gts3l-common: audio: Use proper vendor audio libraries
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Icfadf216d515b4e70d2a8e05d62bfd3ba0a9b3ba
2021-07-28 01:47:34 +09:00
Deokgyu Yang
5ce1e1a5b0 Merge branch 'lineage-18.1-audio' into lineage-18.1
Change-Id: I0994658c681642aacda07f66ffdbc3e3f9d6dac2
2021-07-28 00:15:17 +09:00
Deokgyu Yang
35c2c7ce53 gts3l-common: audio: Use vendor HAL for quad-speakers
But the speakers not working yet

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib621378155fc68a975bb40c993f2aa65e0ee993b
2021-07-22 10:58:50 +09:00
Deokgyu Yang
512931efe5 gts3l-common: qmi: Add missing library for tftp_server
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1606d8e189979d7dfb659027daab27086e1018f5
2021-07-22 10:53:23 +09:00
Deokgyu Yang
c0f51fc191 gts3l-common: extract-files: Add vendor/bin/qmuxd
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I04c7ff58882948f7efa3095047651e40051f5a6d
2021-06-28 00:52:54 +09:00
Deokgyu Yang
0da3859ba1 gts3l-common: Separate into the two types of boards
gts3llte, gts3lwifi

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7d169ed9435d28cd7096bfff07be2077fbeeb71a
2021-06-25 02:06:55 +09:00
Deokgyu Yang
d37b8d6b95 gts3l: Add missing QTI related things
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If47424b28c44a2d7644c41a75002b5efe79ec0e4
2021-06-21 02:32:16 +09:00
Deokgyu Yang
0ddb9a3306 gts3l: proprietary-files: Remove debugging stuffs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2402ff0729d6f13d49abcb1bfa91e9d871bead25
2021-06-16 02:15:42 +09:00
Deokgyu Yang
8ca4939952 gts3l: keystore: keystore.mdfpp.so seems not necessary
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifb59ab3efb4f122e3f628287a475a374f50f54ed
2021-06-08 17:25:14 +09:00
Deokgyu Yang
1253d3835e Revert "gts3l: camera: Move camera configurations to under the vendor"
Should be under /system/etc/firmware that callers are looking for

This reverts commit af3b53e1f3.
2021-06-03 18:29:32 +09:00
Deokgyu Yang
af3b53e1f3 gts3l: camera: Move camera configurations to under the vendor
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia1caebc03f9a4e36707abe4c7733f9caf094f598
2021-05-26 23:41:43 +09:00
Deokgyu Yang
5298bd5eac gts3l: Fix typo that had not actual effect
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib50a4f6561811daf0328f81762250d577eb2a28f
2021-05-26 22:46:29 +09:00
Deokgyu Yang
cd4e627243 Revert "gts3l: firmware: Do not move firmwares to under vendor dir"
This reverts commit 7ac194f522.
2021-05-26 22:46:29 +09:00
Deokgyu Yang
f6521cdd94 Revert "gts3l: debug: Remove unnecessary binaries put just for debugging"
This reverts commit 8df9e3ea8a.
2021-05-26 22:46:29 +09:00
Deokgyu Yang
da2dc83895 gts3l: camera, audio: Add few more libraries that seems might be needed
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I76f4a9cd8c33f8e614c414e1d18df3991e77c5a1
2021-05-26 22:46:27 +09:00
Deokgyu Yang
7ac194f522 gts3l: firmware: Do not move firmwares to under vendor dir
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibbf5569f507b813c21c096493b4931e93eba7ec3
2021-05-25 01:06:24 +09:00
Deokgyu Yang
1e8ecc4ad6 gts3l: bluetooth: Don't know why I did this
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id863fae16b50d1757ce95ed667943e290fe4f3d8
2021-05-24 22:26:15 +09:00