Commit graph

415 commits

Author SHA1 Message Date
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
Deokgyu Yang
9abe7f9077 gts3llte: init: Remove start vendor.ipacm service
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic58eb068e8988452badfa0e3b3a5d7b236b1fb2f
2021-06-28 22:02:34 +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
308a83ee67 gts3l-common: extract-files: Remove RIL specific fix up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0a93cb8f4c29f9b1ff3d1307b7daea260d4d6818
2021-06-27 22:42:49 +09:00
Deokgyu Yang
10db142c5f gts3l-common: init: Do not import init.carrier.rc explicitly
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0f7699230e1c763fad5fd026a4d58d2a8f981ffb
2021-06-25 12:28:20 +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
f617afeb55 gts3llte: radio: Remove unused samsung.vibrator
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If141a844e85d109a64ce2c429f74ae5b2ec4cea5
2021-06-21 02:50:42 +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
bca3bc34c0 gts3l: display: Set proper LCD density
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iea1d34f27e475fb3392f0f10196c5d5b998db4a2
2021-06-21 02:26:11 +09:00
Deokgyu Yang
3a46726564 gts3l: adsprpcd: There should be only one adsprpcd related service
It fixes repeating error messages on logcat

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I34ad7781822f9772eddac9ab6917781fee63bc46
2021-06-20 02:31:23 +09:00
Deokgyu Yang
efc71a43d0 gts3l: fingerprint: Fix fingerprint sensor working
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ideed192dcf185ca1ae92a8983ae6d503921feff9
2021-06-20 01:45:31 +09:00
Deokgyu Yang
ef73945465 gts3l: keylayout: Clean up import settings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8fe27c55ab0291b5636b29eb7ca65efa20d1a14a
2021-06-16 02:16:56 +09:00
Deokgyu Yang
2cce519a26 Update README.md
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6b65bbf15e33a810c763229fe4b09623935b741f
2021-06-16 02:15:42 +09:00