Commit graph

477 commits

Author SHA1 Message Date
Deokgyu Yang
c787689263 gts3l-common: camera: Clean up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7142abe011128b531b0ba1ce0162bb3e9afd5a4b
2021-08-21 01:54:03 +09:00
Deokgyu Yang
9f0f9e4510 gts3l-common: camera: Patch to use a firmware under the vendor directory
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4b991e118654c11f00a41d8b3c20efb7da675b3c
2021-08-21 01:53:41 +09:00
Deokgyu Yang
e5a5e9fa5d gts3l-common: camera: Add cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia4b3b391247b6f370537df1180f2be02be0e7c39
2021-08-21 01:52:43 +09:00
Deokgyu Yang
0c86c13057 Revert "gts3l-common: camera: Add camera HAL into device manifest"
This reverts commit 9bff80d33c.
2021-08-17 01:32:18 +09:00
Deokgyu Yang
fd87fa382a gts3l-common: camera: Add sec_camera_prop policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib0e609b71964a57d18222b5be94422f6f3ddeddb
2021-08-14 01:08:33 +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
19d84a995c gts3l-common: livedisplay: Remove unsupported features
Remove these features
- AdaptiveBacklight
- DisplayColorCalibration
- SunlightEnhancement

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I892ce422e98b3f8b7c355e178ef42aadf26bb4c8
2021-08-13 23:00:49 +09:00
Deokgyu Yang
e564a02a7b gts3l-common: light: Build light HIDL for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4434e44f55cadef9533620a026ec9cf7a5bd27ef
2021-08-13 22:36:24 +09:00
Deokgyu Yang
90cfd24739 gts3l-common: light: Edit for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0ce13d375d924e887cb6ab62c616842ec5eb8de2
2021-08-13 22:36:24 +09:00
Deokgyu Yang
386d61ff4d gts3l-common: light: Add light HIDL implements
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6731c872fb40ed342e5088ed729389d4e291885a
2021-08-13 22:36:24 +09:00
Deokgyu Yang
445b656d9a gts3l-common: light: Add hal_light_default sepolicy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I332b57c1948c5c73f0dfb397f8aa753533047efc
2021-08-13 22:36:21 +09:00
Deokgyu Yang
9bff80d33c gts3l-common: camera: Add camera HAL into device manifest
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5dcd10f2bb6553e495a8c2d69fe525e801af11c0
2021-08-13 11:20:59 +09:00
Deokgyu Yang
7445488177 gts3l-common: light: Grant permission for light HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib02b226a14fd22d9d463a84099499d2c2dd3b9fb
2021-08-13 11:18:10 +09:00
Deokgyu Yang
d49dc1e2a7 gts3l-common: livedisplay: Build LiveDisplay HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife0d496f35342c249d066b98376ee42b14f618eb
2021-08-12 11:15:40 +09:00
Deokgyu Yang
560e44c027 gts3l-common: livedisplay: Edit for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idd6c5bfa511e3826c95433e4537a39d33b8c4b28
2021-08-12 11:15:40 +09:00
Deokgyu Yang
ee917d5385 gts3l-common: livedisplay: Add LiveDisplay HIDL implements
From LineageOS/android_hardware_samsung, excepts Exynos things

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I68a86b8ccc8ae031a8c7b7aaccdeba68a9df256a
2021-08-12 11:15:22 +09:00
Jesse Chan
e8c1d4b65c gts3l-common: overlay: Set fast charging indicator threshold to 10.8W
We no longer call 7.5W charging "fast charging" nowadays

Change-Id: I3a11f50f89933bd44b70d9f30a6e74a3d77abb25
2021-08-12 01:39:01 +09:00
Deokgyu Yang
e6a3db5299 gts3l-common: fastcharge: Build fastcharge HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If04667671accb9b415e2ca21e3d8373e5ee5b026
2021-08-12 01:34:50 +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
4cb1115028 gts3l-common: overlay: Add advanced reboot menu
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7b9c8ed35c53357bbcba1516ddc3da9cb71ffc4c
2021-08-11 22:48:43 +09:00
Deokgyu Yang
2c3eab1498 gts3l-common: overlay: Add button backlight control
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I026afbab5bde1f6ceb299c529dc4d3a9b21490e9
2021-08-11 22:21:27 +09:00
Deokgyu Yang
653cb2b99e gts3l-common: overlay: Change pointer image to a smaller one
The image is from LineageOS/gta4xl-common.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I65f5f406ba29c439112d4c6b0572904bb4f4ac0b
2021-08-11 22:21:24 +09:00
Deokgyu Yang
4a333d8a0e gts3l-common: wfd: Disable WiFi display for now
It seems there's no working way for QCOM WiFi display for now. Even
LineageOS/xiaomi_msm8996-common disables this.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8b0cd279be67108276da103b81ed4b844b4c0cbb
2021-08-07 18:29:27 +09:00
LuK1337
cbd81cde70 gts3l-common: audio: Implement audio rotation handler app×service
Originally this patch is made for Galaxy Tab S5e But I cherry-picked
this to our Galaxy Tab S3 device comes with editing the parameter key,
values.

Thanks LuK1337 for this amazing patch.

Change-Id: Ibc053edf1fa7e797f6457dfead416b177da57ab6
2021-08-07 16:34:11 +09:00
Deokgyu Yang
55414cbde4 gts3l-common: audio: Set proper I2S channel for the top speakers
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6112b07f4494e6404370a5c65a97e3d7d8be7ff4
2021-08-07 16:25:42 +09:00
Deokgyu Yang
4d82d6200b gts3l-common: selinux: Solve the audio related warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0ad46ebeb8c233025e698604b1940b5d61fb6e77
2021-08-06 00:12:09 +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
0042997901 gts3l-common: vibrator: Add vibrator supports to the common device tree
Since the WiFi variants also supports vibrator as well as LTE version.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I97e3333309986a2bda42bc09278ad9f46ad624da
2021-07-28 22:34:38 +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
00cdadd432 gts3l-common: audio: Remove android.hardware.blutooth.audio
This fixes audio playback on a Bluetooth device, which is the QTI thing
that this device originally used.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I59e3c6b0367c751ff5f8a99b210ffc557ea8b9ad
2021-07-28 01:39:39 +09:00
Deokgyu Yang
8de2b0b3c3 gts3l-common: audio: Update audio_policy_configuration from vendor OTA
Originally, audio_policy_configuration.xml is named as
audio_policy_configuration_sec.xml.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id5866fefc69b9f5a11ac8f92eb4a32d1c5479f24
2021-07-28 01:31:47 +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
b988c9c984 gts3l-common: audio: Vendor audio HAL working but no quad speakers
This can be done bacause of removing all "Telephony ?X" things from
audio_policy_configuration.xml. This should not be like this.

Instead, now voice recording and headphone jack get working.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7c5a027d059ff5c69cd73bb2f129a1e5d07ad4aa
2021-07-28 00:15:00 +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
75c6079920 gts3l-common: audio: Add shim for audio.primary.msm8996
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5667f237be82ef264721a9f64e59fbe963f636ef
2021-07-22 11:30:31 +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
4583f21488 gts3l-common: wifi: Disable WPA2 to WPA3 upgrade
This fixes WiFi connection error related to the WPA3 routers

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If2df02dfc88efc4442adf756292e4d946d96de2c
2021-07-20 00:20:22 +09:00
Deokgyu Yang
c2b0b1c788 gts3l-common: drm: Change the HAL fqname to use the proper version
This also fixes the issue about missing wfdhdcp stuffs. Now we can see
the DRM version using the DRM Info app and could use web browsers
without freezing.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I428565257c623ee2ca28c71b2785fba20ba52d00
2021-07-19 23:55:22 +09:00
Deokgyu Yang
4808ca78c9 gts3l-common: settings: Add support for freeformWindow
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I17df020c006494f6b4a792922a3540e4288efd0b
2021-07-14 11:01:54 +09:00
Deokgyu Yang
548dc9883a gts3l-common: permissions: Add vulkan supports for Android 11
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie50ff69fa5a8c5d38a9c2785a7602e8f52d22c34
2021-07-14 02:52:11 +09:00
Deokgyu Yang
4c1a2d5f38 gts3l-common: permissions: Replace tablet_core with handheld_core
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7694b413dff40191b73029fa8a0456edb7a098ec
2021-07-14 02:49:34 +09:00
Deokgyu Yang
c5d39083fb gts3l-common: overlay: Move stylus pointer hotspot to center
This is also from fat-tire's trlte-common.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I12c078ea4cce5a0a7b57273496fc141993e01bcb
2021-07-03 06:27:53 +09:00
Deokgyu Yang
a119236ae1 gts3l-common: display: Set the default density to 320
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I9b28a65a9889b736870d1461243008d77b0bf11c
2021-07-02 18:33:34 +09:00
Deokgyu Yang
6acd89ab67 gts3l-common: overlay: Enable adjusting haptic strength and change default values
It feels like so strong than the official firmware one. I don't want to,
so I reduced its strength with enabling its adjustment menu.

But it seems not affect that much as I think. Or, it maybe actually not
working. So it still need to be tested.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2336d298d27efc0b1e4471f04ddcea1678fb39c5
2021-07-02 12:20:22 +09:00
Deokgyu Yang
b29299ca4f gts3l-common: overlay: Move fingerprint sensor location on the preview
From the bottom of the screen to the inside of the bottom bezel.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iec2e3d2d22d65534b8f0cc69458d23d52a6ddd54
2021-07-02 02:41:14 +09:00
Deokgyu Yang
6a91c8baa0 gts3l-common: prop: Remove setting qemu.hw.mainkeys
This property will be set by the init scripts. But before that, it
should be not set to 1.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I09b6394ebb5a719d6983fd14256fac95cda8714f
2021-07-02 02:41:14 +09:00
Deokgyu Yang
1fb061fec4 gts3l-common: overlay: Change pointer image for stylus
The image is from fat-tire's trlte-common. This file should be under
drawable-xxhdpi but it is fine to put that into drawable-xhdpi for us.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If6eaf71d87dff24ab83cd29114ffe740d1e9ca2e
2021-07-02 02:39:31 +09:00
Deokgyu Yang
fe848dd361 gts3l-common: overlay: Enable automatic brightness by default
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia1675acdc2341d8d8ccf129cadf860bd015465d7
2021-07-02 01:25:30 +09:00
Deokgyu Yang
6298cca4a4 gts3llte: compatibility_matrix: Add radio entries to fix HAL issues
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ieacb71b8494536fe18207ffff6cb5c28373b6bc4
2021-07-02 01:13:40 +09:00