Commit graph

52 commits

Author SHA1 Message Date
Deokgyu Yang
aa0dc7197e gts3l-common: boardconfig: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Refers to:
https://review.lineageos.org/c/LineageOS/android_device_samsung_gts4lv-common/+/326237

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I28d5082f641350ab8a00551c1721b11e5deb87fd
2023-05-05 08:14:48 +00:00
ivanmeler
160db1bfab Drop TARGET_SEC_FP_HAL_VARIANT that is obsolete 2023-05-05 08:10:27 +00:00
Deokgyu Yang
287b7552a2 gts3l-common: boardconfig: Don't use clang for building kernel
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id1b5f016a6d8c75100e04b8149f07423ab8a8221
2023-05-05 08:05:11 +00:00
Deokgyu Yang
306b4c2ba0 gts3l-common: boardconfig: Allow BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d6c5bc8eae411288400026c25f86efffcd2d48b
2023-05-05 07:42:54 +00:00
Nolen Johnson
aa4b12191d msm8996-common: boardconfig: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2023-05-01 08:09:43 +00:00
ivanmeler
5a8741f7ae wip: fix wifi 2023-04-30 06:07:51 +00:00
ivanmeler
0e7667ecc2 Add commented out line for debugging
https://forum.xda-developers.com/t/r-d-unlock-bootloaders.1769411/page-4#post-28953690

to toggle debugging bl side execute
sed -i 's/DLOW/DHIG/g' /dev/block/platform/soc/624000.ufshc/by-name/param
sed -i 's/DHIG/DLOW/g' /dev/block/platform/soc/624000.ufshc/by-name/param
2023-03-31 15:22:07 +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
0f47eadc9e remove debugging 2023-03-30 10:48:16 +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
ivanmeler
828c03949a Remove tablet orientation override 2023-03-29 10:59:19 +02:00
ivanmeler
2709dd6187 msm8996-common: kernel: Use username and hostname for kernel build
This helps us make sure user is on same kernel as rom while debugging and hasnt swapped kernel on installed custom rom
2023-03-29 10:53:01 +02:00
ivanmeler
55fc59f8dc Correct bootdevice 2023-03-29 09:43:14 +02:00
ivanmeler
712c9be2db all of the logs 2023-03-28 21:46:19 +00:00
ivanmeler
df156c559d Enable some debugging 2023-03-28 18:30:56 +00:00
ivanmeler
d8c496009a dont append dtb
Change-Id: I7c26e90360212a5409b848cc19c546c8db91504b
2022-12-06 23:29:25 +00:00
ivanmeler
29f6e1836b Revert back to original kernel cmdline 2022-12-02 10:28:44 +00:00
ivanmeler
67b9897b28 correct few more parameters for heroq 2022-12-01 19:49:52 +00:00
ivanmeler
c5afdb6c1d gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
Deokgyu Yang
07b156680d gts3l-common: boardconfig: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
It was never needed here anyway:

  gts3llte:/ $ cat /sys/class/typec/port0/supported_accessory_modes
  none

Refers:
https://review.lineageos.org/c/LineageOS/android_device_samsung_gts4lv-common/+/312411

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 01:42:52 +09:00
Deokgyu Yang
1e5bf589f4 gts3l-common: power: Add power_mode_ext for enabling hints
In common power hal this (and other) hints are disabled.
To not interfere with common implementation, add additional
logic to handle this hint by calling the existing implementation on
power-8996.c.

Refers this commit:
4c186bc66e

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 01:27:12 +09:00
Deokgyu Yang
de47c677ce gts3l-common: power: Rename power_ext.c to power_interactive_ext.c
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 01:24:45 +09:00
Deokgyu Yang
42a28d69cf Revert "gts3l-common: power: Merge power-ext function in the power HAL and apply ours"
This reverts commit a00f867501.
2022-02-23 01:15:58 +09:00
Deokgyu Yang
a00f867501 gts3l-common: power: Merge power-ext function in the power HAL and apply ours
As we're building our power HAL ourselves, the
TARGET_POWERHAL_SET_INTERACTIVE_EXT flag doesn't working at all. So I
merged this feature to our power HAL to use the extension works, which
is disabling S-Pen panel, LCD, hardware touch key power.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-20 21:45:44 +09:00
Deokgyu Yang
1362e5c29b gts3l-common: power_ext: Rename it for managing power_ext separately
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib8a0ecf4a35f16c9ba874b1580735c696852dd7e
2022-02-20 20:09:54 +09:00
Deokgyu Yang
1b8aa77576 gts3l-common: boardconfig: Let builder know our kernel version
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic2e6c85b01bdc1c0b00886553ed97f0c1b017546
2022-02-20 14:33:24 +09:00
Deokgyu Yang
7d5e7de6bd gts3l-common: boardconfig: Use lld instead of ld
This also resolves my workaround for building kernel,
780bb8553c

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia6baaa3f2055206f7e21fbf97d2616b03b95ff79
2022-02-20 14:33:24 +09:00
Deokgyu Yang
a28c2c4e82 gts3l-common: boardconfig: Our tablet has HDR, wide color display
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2543d69b4f66283a2dc82966b954b1bc214c8c2a
2022-02-20 14:33:24 +09:00
Deokgyu Yang
d78f085f81 gts3l-common: boardconfig: Enable triple buffering
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I751fac1ddca482aaf08a9b845bc12f1c181dc24e
2022-02-20 14:33:24 +09:00
Deokgyu Yang
66aab5c3bc gts3l-common: boardconfig: Enable partitions on loop devices
This is used by the new "virtual disk" feature used by vold to help
debug and test storage code on devices without physical media.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I89c9263f4d1843a751f39fb5c7d7d2150267a295
2022-02-20 14:33:24 +09:00
Deokgyu Yang
98b74e74a3 gts3l-common: boardconfig: Override SDK API level 26 for mm-qcamera-daemon
Update of the commit 24df69b

Confirmed this working with clean installation

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I21ddd66000d18fa93a77e1eb6714f1ae6fd7f0b2
2021-12-19 18:17:31 +09:00
Deokgyu Yang
24df69b790 gts3l-common: boardconfig: Override SDK API level 27 for mm-qcamera-daemon
As our tablet was updated until Android 9, I tried to use SDK API level
28 but it couldn't init the camera feature. But setting to level 27
seems working well.

Here is the details of overriding SDK API level from a LineageOS commit,
which has Change-Id: I1d95a4019c298497dce504894d0db705e541a92d
```
Replace file pinning applied in commit fee6d01 by setting the lower SDK version
that exempts mm-qcamera-daemon from the tight restrictions on mutex calls.

This allows us to update to the latest blobs without needing to manually
re-patch the offending camera lib.
```

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib75d5806c1facbd8e4e5dd4ea140a2716c6c2f54
2021-12-19 16:54:45 +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
f5462e7c39 gts3l-common: boardconfig: Correct FLASH_BLOCK_SIZE value
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1d86143f17750967b138b88a725eff05af01c1e3
2021-12-19 13:55:36 +09:00
Deokgyu Yang
6f7bed0a2e gts3l-common: wlan: Workaround broken softAP with dynamic interface creation
Got hint from
6fd923f2ec

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib3d8b8ff53a5723184bc0dd8df1a24bb94b85834
2021-11-20 03:32:39 +09:00
Deokgyu Yang
f364604f31 gts3l-common: wlan: Move supplicant service init to wpa_supplicant
Got hints from
c4159c26a2

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I03de16ccedbd80a015a7c7d80719c4bb10559232
2021-11-20 03:32:37 +09:00
Deokgyu Yang
0585eb2e34 gts3l-common: boardconfig: Remove obsolute TARGET_BOARD_PLATFORM_GPU
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1edf0f484c9478a7a0af9ebfbbfba20ea60c6ba4
2021-11-14 14:43:09 +09:00
Deokgyu Yang
fc4ba13673 gts3l-common: usb: Switch to QTI USB HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idf59cb97cd8cbf1881f5b7f284f107bd77a28f9f
2021-09-22 21:59:37 +09:00
Deokgyu Yang
ca0a024b97 gts3l-common: camera: Set to not use HAL1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69a9720d98612a2e625270e5b0759b40aea13411
2021-08-30 21:33:55 +09:00
Deokgyu Yang
fe55c2f42a gts3l-common: camera: Born in Nougat
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2ef7e907b04a3e4edc3cb2d5c649c85531e2a4c2
2021-08-30 03:01:58 +09:00
Deokgyu Yang
1b5e36472f gts3l-common: camera: Optimize the camera flags
Maybe TARGET_PROCESS_SDK_VERSION_OVERRIDE is not required but decided to
keep it as for now because it is not harmful

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie3733945ff11c50e08d2d133e63da76309ace0c6
2021-08-29 17:30:14 +09:00
Deokgyu Yang
4726e8cee6 gts3l-common: camera: Edit camera properties
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iab550aa6ade1a06c9f5952547bde5124caf96ea2
2021-08-22 01:48:24 +09:00
Deokgyu Yang
36a7113fa8 gts3l-common: camera: Build camera provider service
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie05e3580b180af6b4e629497198473027727d10a
2021-08-14 01:08:04 +09:00
Deokgyu Yang
ad51ddd98b gts3l-common: light: Remove unnecessary board specific light header file
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I08f020167a9984d19a1333a26679a34f5895fa16
2021-08-12 00:54:54 +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
5ce1e1a5b0 Merge branch 'lineage-18.1-audio' into lineage-18.1
Change-Id: I0994658c681642aacda07f66ffdbc3e3f9d6dac2
2021-07-28 00:15:17 +09:00
Deokgyu Yang
10b53b54e7 gts3l-common: power: Turn off some inputs when screen turns off
The file is from apq8084/android_device_samsung_trlte-common, and I edit
its node paths for our tablet.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5be7bb7aa1e00c96280da18b9208c44c0ba3abd2
2021-07-27 00:00:26 +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