Commit graph

352 commits

Author SHA1 Message Date
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
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
6d630439d2 gts3l-common: sepolicy: Address some denials
This includes crash_dump, gmscore_app, and so on.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I97496ba8aa380d45c8374e52eba2050a757ec27d
2022-02-20 14:33:24 +09:00
Deokgyu Yang
85805b0000 gts3l-common: rootdir/etc: Set dynamic_stune_boost to 10
Setting 10 is enough to use smoothely

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iae69c3a7255a4ecee261039b43c1c7ab0e3e8ff4
2022-02-20 14:33:24 +09:00
Deokgyu Yang
bf64496924 gts3l-common: sepolicy: Add some missing policies and add genfs_contexts
Temporarility

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4611d613a38f64fb0156f329983d1d6248f0b37b
2022-02-20 14:33:24 +09:00
Deokgyu Yang
6f1d7bef0b gts3l-common: sepolicy: Add touch HAL policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8f6f3757d7e16080ddf2e7b4dbb977912fe38a17
2022-02-20 14:33:24 +09:00
Deokgyu Yang
5f43768923 gts3l-common: overlay: Move hw key properties to overlay/frameworks/base
This enables the hardware navigation bar feature on HavocOS
Configuration Center

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-09 01:25:08 +09:00
Deokgyu Yang
e9377b7f80 Revert "gts3l-common: fastcharge: Build fastcharge HIDL"
This reverts commit e6a3db5299.
2021-12-19 19:26:23 +09:00
Deokgyu Yang
57ba7cff63 gts3l-common: audio: Remove unsupported hw_acc effect
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib117d4862d4bd7d6cf078ee9dfe251a698fd8a80
2021-12-19 18:18:42 +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
b5b52e9383 gts3l-common: overlay: Set lockscreenAntiFalsing.. to false
Seems settings this to true breaks unlocking process sometimes on our
device

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0e1f9bd260e62f76a06c5cca2576c5d925c9b91c
2021-12-19 17:59:16 +09:00
Deokgyu Yang
0a6d07aa1d gts3l-common: media: Import LineageOS/Oneplus3 media configs
Ours somewhat contaminated for Samsung specific setups. So I removed all
the stock media configs and import them from
LineageOS/android_device_oneplus_oneplus3

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I36cbc17d0f6da25733b4d4bc9c57469ddf0fb866
2021-12-19 17:16:53 +09:00
Deokgyu Yang
7424e389a0 gts3l-common: media: Remove media directory by a step to migrate into configs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I843f7046552e3d0aa29fc8106aab6476f110be70
2021-12-19 17:13:22 +09:00
Deokgyu Yang
3bc8e6628e gts3l-common: wlan: Add TetheringOverlay
It will handle Wifi Tethering more properly.

Refers:
- 6419ffb0f8

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie916cb5ec8be4cf837efd4de8444cc327013b1af
2021-12-19 17:10:49 +09:00
Deokgyu Yang
aa77b19aef gts3l-common: wlan: Add WifiOverlay
It will handle Wifi more properly.

Refers:
- ee18061dca

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I22cbfaddd9c13a6ae653856a751012faf38f202f
2021-12-19 17:07:07 +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
9cf5c4215b gts3l-common: overlay: Remove showNavigationBar key
This will be detected by a system, we should not set that value
explicitly

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I78fc095de92455cb511ba7d729e842f816805b23
2021-12-19 03:43:33 +09:00
Deokgyu Yang
9053fbc505 gts3l-common: touch: Add touch HAL implement
To use KeyDisabler for hardware touch keys.
This will disable touch keys properly.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6c2cfb8577bab19c708300aa16e0eb18730c293d
2021-12-19 03:43:17 +09:00
Deokgyu Yang
079374591f gts3l-common: permissions: Remove unused proximity permission
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I08d6e34330c349a2180e1a940638cd046f1c5543
2021-12-19 01:04:09 +09:00
Deokgyu Yang
66b3e2ae72 gts3l-common: permissions: Use correct permissions for Vulkan
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6e2847ae87ca01b62dbe3177e9eacf5f4e2b6ccb
2021-12-19 01:04:06 +09:00
Deokgyu Yang
ec3dda2242 gts3l-common: wfd: Use legacy WFD
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I931aeef24c30a459b3050191f960e02165aa7301
2021-12-19 01:02:29 +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
ede499448c gts3l-common: device: Add FilpFlap package
AOSP based flip cover support

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I64d68526a661035c44c6c36f490377ed01a2d7f0
2021-12-12 19:22:43 +09:00
Deokgyu Yang
7be09db821 gts3l-common: rootdir/bin: Remove unsupported tuning HMP properties
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idde6d73a84df9caa03f7cae0b4f50cb0f57ee19e
2021-12-12 19:22:06 +09:00
Deokgyu Yang
3dea0f9971 gts3l-common: rootdir/bin: Add dynamic_stune_boost config
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcee8b3b72a88db4aab2848fc277bb549242026d
2021-12-07 03:53:52 +09:00
Deokgyu Yang
8a969b404f gts3l-common: rootdir/bin: Edit schedtune values
Got values from the following repository;
https://github.com/LineageOS/android_device_lge_msm8996-common

That also uses the property values from Google

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib104190b235a07c9c92933ebe6984c2f6426a11e
2021-12-07 03:26:49 +09:00
Deokgyu Yang
1147585fa6 gts3l-common: configfs: Optimize for msm8996 family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I11c3e9da11b74d93def9823c0942e9d8e66f33a2
2021-12-06 15:27:39 +09:00
Deokgyu Yang
a64c5125a2 gts3l-common: rootdir/bin: Remove interactive setup codes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If2eaa373c1eb756b54dedac97e61d18aa3827340
2021-12-06 03:55:37 +09:00
Deokgyu Yang
b6586d49a7 gts3l-common: rootdir/bin: Enable ZRAM that is set to 50% of the total memory
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4018655b8df1a338efb91c0f8178ec58c987c367
2021-12-06 03:48:35 +09:00
Deokgyu Yang
a98f17c5b8 gts3l-common: eas: rootdir/etc: Add schedutil prefs and set it as a default CPU governor
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie530b2f0e2e5d23a788b38b31e74fd6e50c5125f
2021-12-06 03:27:43 +09:00
Deokgyu Yang
0430aa856a gts3l-common: eas: selinux: Add policy for schedutil nodes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2094c16d89dfe4a2e36986111b6c323faf2cf85c
2021-12-04 15:04:47 +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
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
1807b6c6df gts3l-common: keylayout: Correct DPAD key mapping
Fixed the current wrong key maps for DPad. It had turned the orientation
of the arrow keys -90 degrees.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I625f30180a2be16c6c0df4da3a551f570959bdd9
2021-11-14 14:41:54 +09:00
Deokgyu Yang
a1f94d75eb gts3l-common: init: Set /dev/cpuset/restricted/cpus when boot completed
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2fee697192e101f6c0b89e0f6eadeacf29d5d8a1
2021-09-22 22:00:04 +09:00
Deokgyu Yang
589a7c2459 gts3l-common: sepolicy: Allow gmscore app access to memtrack
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic3b3fcd5fc2286ee081e28aa6fb81dc30f0f9323
2021-09-22 21:59:37 +09:00
Deokgyu Yang
d9a96bac62 gts3l-common: idc/keylayout: Clean up and add keylayouts for the Samsung products
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I36465cb11ac2a8acecbf7a226a19394c4ec049be
2021-09-22 21:59:37 +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
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
3459ee7928 gts3l-common: overlay: Rearrange the hotspot location for pointer arrow
Really hard to find the center... Hope it is right.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibdb07eae65bd21ce58dbada695de0617948b98c0
2021-08-31 17:14:10 +09:00
Deokgyu Yang
507c78f3cd gts3l-common: overlay: Disable config_cleanupUnusedFingerprints
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7c54cdba9829b6be029c397d9515aae246c0edf4
2021-08-31 15:24:43 +09:00