Commit graph

68 commits

Author SHA1 Message Date
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
Deokgyu Yang
9baf6e066b gts3l: timeservice: Cert doesn't exist anymore
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib249cf553c3591c9e66323b340321898d78f248a
2021-05-24 22:24:25 +09:00
Deokgyu Yang
8df9e3ea8a gts3l: debug: Remove unnecessary binaries put just for debugging
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib365095f9d333b6094115c074bbef67ae3c87edf
2021-05-24 22:24:25 +09:00
Deokgyu Yang
afcee8f4c9 gts3l: power: Use hardware.perf 2.0 for some reason for R
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2021-05-24 22:24:25 +09:00
Deokgyu Yang
18798ae484 gts3l: camera: Import camera HAL
The camera HAL is from LineageOS/xiaomi_msm8996-common, lineage-18.1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5241f82e9ebbb4076eaf73a4180b65e9124c66c4
2021-05-24 22:24:23 +09:00
Deokgyu Yang
30d19ccaa9 gts3l: camera: Remove vendor.samsung providers and add android impls from firmware
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia2898f9420c324361f23474cda9e874622a7edd0
2021-05-24 22:06:31 +09:00
Deokgyu Yang
c9e11e6ed8 gts3l: camera: Remove 64bit libraries
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2021-05-24 17:20:05 +09:00
Deokgyu Yang
cee7a19ab8 gts3l: camera: (WIP) Add missing libmm-qcamera
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69dd7ebba80f7552ebed73d1e9baa8d38d04d1fd
2021-05-22 23:46:09 +09:00
Deokgyu Yang
660f7ebe2b Revert "gts3l: camera: (WIP) Add camera HAL from LineageOS/xiaomi_msm8996-common"
This reverts commit 209a9aec1c.
2021-05-22 23:43:04 +09:00
Deokgyu Yang
a4ab9ded44 gts3l: audio: (WIP) Try to fix audio
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id906cd3f97d9b7a63c7886a1f94c18c8a25a1d86
2021-05-22 23:34:49 +09:00
Deokgyu Yang
209a9aec1c gts3l: camera: (WIP) Add camera HAL from LineageOS/xiaomi_msm8996-common
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1eb5082082c7af4b7d8f98dbe5a1f8d9a20bebef
2021-05-22 23:30:58 +09:00
Deokgyu Yang
7d4800cc3e gts3l: camera: (WIP) Try to fix camera
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I14a6ba62f65c47839bd784cb889edc26e706dbbd
2021-05-21 15:56:00 +09:00
Deokgyu Yang
708cfa4a07 gts3l: audio: Disable Soundtrigger
Since there is no sound_trigger.primary file in the vendor firmware.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I96978ac467ff8102b2588705e232d581a2493506
2021-05-21 01:41:01 +09:00
Deokgyu Yang
dd3657fd7e gts3l: camera: Do some jobs for camera working
- Build camera.provier@2.4
- Build Snap
- Build android.frameworks.displayservice@1.0_32
- Add a camera shim
- Add missing dependency libraries
- Use vendor camera.msm8996

The camera shim is from Valera1978/gts3llte lineage-16.0

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5bdc0ea954ba9ed4ea461238219ccd4fdf2ba6a0
2021-05-21 01:40:26 +09:00