Commit graph

425 commits

Author SHA1 Message Date
ivanmeler
7a66840e2b Revert "Revert "Add loggy service""
This reverts commit 7fefb2edbc.
2023-04-01 02:07:39 +02: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
ad6d8fa49a move power overlay to device 2023-03-30 10:50:01 +02:00
ivanmeler
b3916b1004 add todo list 2023-03-30 10:49:53 +02:00
ivanmeler
047586a146 switch to basic usb hal
we are using micro usb anyway
2023-03-30 10:48:16 +02:00
ivanmeler
0f47eadc9e remove debugging 2023-03-30 10:48:16 +02:00
ivanmeler
483d79e93c cleanup lineage overlays 2023-03-30 10:48:16 +02:00
ivanmeler
5df0712f55 Fix fingerprint 2023-03-30 10:48:07 +02:00
ivanmeler
49400637a8 Update mixer paths 2023-03-29 18:00:57 +02:00
ivanmeler
7fefb2edbc Revert "Add loggy service"
This reverts commit 0b3102edf1.
2023-03-29 14:27:16 +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
392edc8f09 temp: no quota, and we dont have hidden 2023-03-29 08:30:48 +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
0b3102edf1 Add loggy service 2022-12-01 19:37:31 +00:00
ivanmeler
c5afdb6c1d gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
Deokgyu Yang
5b80ec6669 gts3l-common: keymaster: Build only 64bit impl
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibcd2beee2429344fddcb3cdaf55067fc39ae1188
2022-05-08 00:15:41 +09:00
Deokgyu Yang
21dc75c733 gts3l-common: keymaster: Use mdfpp keymaster, gatekeeper
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Icaf66a24800704038523b0e988089e6a89276f7d
2022-05-08 00:15:17 +09:00
Deokgyu Yang
dbf15ff6d3 gts3l-common: camera: Import UniPlugin libraries
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie66e361afa68178ca9995c5a2f74dfe52d5f9f3b
2022-05-07 23:36:19 +09:00
Deokgyu Yang
8c0156df25 gts3l-common: config_fs: Change vendor/firmware_mnt/image ownership to system
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I915249beaf7e7b40a2076c2fdb00d676c82b5bd9
2022-05-07 23:32:34 +09:00
Deokgyu Yang
50ce3a2a72 gts3l-common: config_fs: Update config.fs from stock firmware
Generated by config_fs_gen from lineage

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3e5c2151b48bb9f49c0b1694086e42a201e125e1
2022-05-07 23:32:15 +09:00
Deokgyu Yang
a1248ff138 gts3l-common: props: Set ro.hardware.egl, ro.hardware.vulkan
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1dd5852364cd63af85c3a1b5c493df0364a2d731
2022-05-07 23:30:17 +09:00
Deokgyu Yang
91a2b8bfb2 gts3l-common: blobs: Move vulkan hal out of hw/ folder
[aleasto]
After 4264917141
the vulkan HAL library is only searched with linker namespaces.
Since our device is not treblized, the only valid namespace is the
default namespace which does not include /vendor/lib(64)?/hw

Refers to:
https://review.lineageos.org/c/LineageOS/android_device_lge_msm8996-common/+/325923

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If48ea1d1a725cb01141d2bd2050e5763d32d3eec
2022-05-07 23:29:50 +09:00
Deokgyu Yang
126383744c gts3l-common: overlay: We have a fingerprint sensor
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie99dd74d95b0e14fddc41198e9cb09dd938c5192
2022-05-07 23:16:46 +09:00
Deokgyu Yang
b1b5c2d23a gts3l-common: overlay: Add hardware button props for LineageOS
I removed this file by the commit,
  5f43768 gts3l-common: overlay: Move hw key properties to overlay/frameworks/base

But LineageOS still needs this file. So I restore this back.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idb81e2dbb6864303bda321198b1a5675a4b161a5
2022-03-01 23:12:48 +09:00
Deokgyu Yang
335b61efe1 Update README.md
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-24 00:34:01 +09:00
Deokgyu Yang
8faa84e8c6 Revert "Revert "gts3l-common: fastcharge: Build fastcharge HIDL""
Mis-merged from "eleven-havoc" branch

This reverts commit e9377b7f80.
2022-02-23 23:47:25 +09:00
Deokgyu Yang
b7c4d2e20a Merge branch 'havoc-eleven' into lineage-18.1 2022-02-23 23:45:37 +09:00
Deokgyu Yang
ff9fc48134 Revert "gts3l-common: sepolicy: Add power HAL policy"
This reverts commit 09b7f4e7a7.
2022-02-23 02:23:23 +09:00
Deokgyu Yang
9278ad5b0c gts3l-common: perf: No, we can't use libqti-perfd
It needs /proc/sys/kernel/sched_boost anyway

The log spam:
ANDR-PERF-OPTSHANDLER: Failed to read /proc/sys/kernel/sched_boost

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 02:15:39 +09:00
Deokgyu Yang
351a1a9196 gts3l-common: perf: We don't have sched_boost
As the related kernel commits are reverted

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 01:48:36 +09: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
0ed9212f18 Revert "gts3l-common: power: Import marlin power HAL"
The marlin power HAL needs perfd but it doesn't work on our device

This reverts commit 06d1732a08.
2022-02-23 01:23:03 +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
494b52d87a Revert "gts3l-common: power: Set SCHED_GOVERNOR to blu_schedutil that currently used"
This reverts commit 7693fb2746.
2022-02-23 01:15:35 +09:00
Deokgyu Yang
09b7f4e7a7 gts3l-common: sepolicy: Add power HAL policy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 00:44:50 +09:00
Deokgyu Yang
e2da6b2900 Revert "gts3l-common: perf: Import perfd from lge_msm8996-common"
perfd is not working as the following error on our device
[0:          perfd:  955] devbw soc:qcom,cpubw: dev_pm_opp_get_opp_count: device OPP not found (-19)

So I reverted all the perfd stuffs

This reverts commit 21dcb08866.
2022-02-23 00:44:12 +09:00
Deokgyu Yang
5d88133076 gts3l-common: rootdir/etc: Online CPU 0 explicitly
Maybe sometimes the governor properties are not set properly so add this
line to enable CPU 0 explicitly

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-22 18:37:56 +09:00
Deokgyu Yang
9da0c2be83 gts3l-common: rootdir/etc: Set default GPU power level to 6
For better battery on idle state. It will run at 133 MHz rather than
214 MHz before.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-22 18:37:13 +09:00
Deokgyu Yang
b4c4ebe9e3 gts3l-common: rootdir/etc: Change ipacm service specs and disable ipacm-diag
This change makes TetherConfig HAL runs without error

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-22 17:22:50 +09:00