Commit graph

427 commits

Author SHA1 Message Date
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
Deokgyu Yang
156d7463e8 gts3l-common: overlay: Change the pointer arrow hotspot location
This is from the CTD1 firmware

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1ef4b924ddf98e9c5e3c2a00ea6e4774fef6ec98
2021-08-31 15:10:52 +09:00
Deokgyu Yang
670688090f gts3l-common: overlay: Import power_profile.xml from the CTD1 firmware
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I593ab843725f076ab52459cd17b6234cd2833a8d
2021-08-30 23:36:27 +09:00
Deokgyu Yang
6adf5e3320 gts3l-common: snap: Remove unnecessary RAM option
The default value is already that value

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3290599e40849698ddad8972d320c90e275a4ed3
2021-08-30 23:00:01 +09:00
Deokgyu Yang
4de60f49cc gts3l-common: wfd: Enable WiFi display
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iabff12fbe46d93a883ad5200c4c3956291960bc0
2021-08-30 23:00:01 +09:00
Deokgyu Yang
edfea17f66 gts3l-common: snap: Do not use legacy HAL in Snap app
The overrided options are;
- RAM optimization
- Make it not use HAL1
- Some optimizations of default perferences

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I46d98beb1fa0c51fd79b088572e45207c46a92e9
2021-08-30 22:59:53 +09:00
Deokgyu Yang
ec51243b9d gts3l-common: camera: Use Snap camera app
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7257185d3f730d92ef783e93b36a566d7808bc53
2021-08-30 21:34:32 +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
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
52ec08cfea gts3l-common: camera: Disable ZSL mode
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I570db8c3750335e6afdf8485c8397473e16bea70
2021-08-29 23:14:55 +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
76ac2e7cd8 gts3l-common: prop: Optimize for video and camera
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic0eb581b45b9563f847345ab01cdb3d69ac14f18
2021-08-29 17:29:28 +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
bc0a040215 gts3l-common: camera: Build only the necessary blobs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idfbda3c5a8d851a80304ada67174524d7cdc277f
2021-08-29 17:02:31 +09:00
Deokgyu Yang
b9043c7f89 gts3l-common: sepolicy: Resolve almost warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife457f032ac33b6c330b79d08bb841b3c1c0c19e
2021-08-24 00:41:09 +09:00
Deokgyu Yang
225025d013 gts3l-common: camera: Add camera.gyro.disable, camera.imglib.fddsp
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I27e5cdcd8ada761f0452b4fe1f47db9c5b980b12
2021-08-22 01:50:06 +09:00
Deokgyu Yang
820a0a3c0b gts3l-common: camera: Remove Snap camera since it doesn't work well
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ide6f4eaf049c81a649a75cf0b8e2c1a238ea3591
2021-08-22 01:48:50 +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
83d2900ad1 gts3l-common: camera: Add more hal_camera_default and cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5c2bc9b33a1424d1de81251cd3df06b521a8c530
2021-08-22 01:11:21 +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
9a2bd1c8db gts3l-common: camera: Add camera HAL definition
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idd15980f5933d47a778ee32b5949b29cfcd65bd9
2021-08-22 01:00:14 +09:00
Deokgyu Yang
0c8728fcab gts3l-common: camera: Add wifiloader to use it as a trigger for eeprom
I saw these message from LOS 16 by Valera1978.

```
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :565 set num_data as total-size (num_map : 8, total : 4608, valid : 4060)
E [0:     wifiloader:  857] msm_eeprom_match_id: read 0x00 0x01 0x00 0x00
E [0:     wifiloader:  857] msm_eeprom_i2c_probe: Skip front read eeprom in probe func
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe qcom,sensor-position 0
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe success result=0 is_supported=0x1X
I [0:     wifiloader:  857] msm_eeprom_init_module: 2177 probe succeed
I         : [0:     wifiloader:  857] msm_eeprom_get_dt_data gpio count 3
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1355
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1363
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1370
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1374
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: otp qcom,num-blocks 3
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :973 set num_data as total-size (num_map : 3, total : 64, valid : 64)
I [1:     wifiloader:  857] read_eeprom_memory: read OTP_Bank: 1
E [1:     wifiloader:  857] read_eeprom_memory: 820 addr = 0x0, size = 64
E [0:     wifiloader:  857] msm_eeprom_platform_probe: All CRC values are matched.
I         : [0:     wifiloader:  857] msm_eeprom_platform_probe qcom,sensor-position 1
E         : [0:     wifiloader:  857] msm_eeprom_platform_probe Front is_supported=0x03
I [0:     wifiloader:  857] msm_eeprom_init_module: 2090 otp probe succeed
```

And this actually do the thing I want.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6f0f095fde61b8d00ff189bb2b5a51dacbac2bfd
2021-08-21 02:36:34 +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