Commit graph

69 commits

Author SHA1 Message Date
Deokgyu Yang
d251e699d4 gts3l-common: rootdir: Move ueventd.qcom.rc to /vendor/etc
This is the preferred location as of Android 12.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69bdc20ba4da0bc102d81f274cb8524673459b8a
2023-05-05 07:50:57 +00:00
Deokgyu Yang
59a92898b1 gts3l-common: rootdir/etc: Prefix 'vendor' to rild.libpath
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idd08d8be6e08c977674884fe423d699e951b67a4
2023-05-05 07:50:45 +00:00
ivanmeler
269f46d93f Add custom keymaster implementation 2023-05-01 08:19:48 +00:00
ivanmeler
5a8741f7ae wip: fix wifi 2023-04-30 06:07:51 +00:00
ivanmeler
d5c9ee8e25 disable loggy 2023-04-24 10:10:48 +00:00
ivanmeler
7a66840e2b Revert "Revert "Add loggy service""
This reverts commit 7fefb2edbc.
2023-04-01 02:07:39 +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
7fefb2edbc Revert "Add loggy service"
This reverts commit 0b3102edf1.
2023-03-29 14:27:16 +02:00
ivanmeler
392edc8f09 temp: no quota, and we dont have hidden 2023-03-29 08:30:48 +02:00
ivanmeler
0b3102edf1 Add loggy service 2022-12-01 19:37:31 +00: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
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
Deokgyu Yang
460d2268b0 gts3l-common: rootdir/etc: Set properties for blu_schedutil
Set up_rate_limit_us to 250 and down_rate_limit_us 10000 unlike
schedutil that uses 500 and 20000 repectively. The new values are from
lge_msm8996-common.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 20:30:38 +09:00
Deokgyu Yang
21dcb08866 gts3l-common: perf: Import perfd from lge_msm8996-common
As our power HAL only can work when if perfd exists, we have to import this
binary from another device.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 11:00:44 +09:00
Deokgyu Yang
615fa58f40 gts3l-common: rootdir: Remove duplicate energy-awareness service
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 09:02:12 +09:00
Deokgyu Yang
c6512651ca gts3l-common: rootdir: Change the default CPU governor to blu_schedutil
blu_schedutil is basically from the Pixel 3 kernel, and I did import
this to my custom kernel. This has been developed for the better battery
performance based on schedutil.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 01:38: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
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
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
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
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
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
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
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
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
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
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
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
00996dd5b5 gts3l: fingerprint: Fix fingerprint permissions
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I23740e830bd28d28863389675b115aae063d307e
2021-06-16 02:02:34 +09:00
Deokgyu Yang
bd4ce79f24 gts3l: fs: Do restorecon_recursive for persist partition
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iba1248f443bfbdd01bd257e646931900ce8f9b75
2021-06-08 17:25:14 +09:00
Deokgyu Yang
d69dbec5ab Revert "gts3l: filesystem: Mount persist using the init script"
This reverts commit 516babc15d.
2021-06-08 17:25:14 +09:00
Deokgyu Yang
b1ee9594b9 gts3l: sensors: Fix sensors working back
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id88b9e55b253fb9c75be41d33b41bc6fce6e21ef
2021-06-08 17:24:42 +09:00
Deokgyu Yang
516babc15d gts3l: filesystem: Mount persist using the init script
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5a962f485cda3451c43f55739cc19beaa82ad7f7
2021-06-06 21:39:06 +09:00
Deokgyu Yang
04d95eb26f gts3l: fs: Mount efs partition with the init and edit firmware mount option
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Icaf54500424e205e2ccdb0de1d5323b42a674abc
2021-06-05 01:59:11 +09:00
Deokgyu Yang
a3cf27cd47 gts3l: fstab: Mount f2fs partitions if exists
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I82b5508fd4d118b925f90d3e0670de2cf27ff06d
2021-06-05 01:59:11 +09:00
Deokgyu Yang
ae814817b9 gts3l: fstab: Mount misc, hidden partitions
For debugging, these may not be necessary

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7a1f70dbc6c06d01390dbf29a9ce2cc5f3cc7ad5
2021-06-05 01:59:11 +09:00
Deokgyu Yang
4379e159d4 gts3l: init: Grant system permission to adsprpcd
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I31751eb23f1c0d8b2756c18f667ec5983efbff82
2021-05-29 04:00:42 +09:00
Deokgyu Yang
84df011002 gts3l: fs: Edit fstab to fit into the modern Android
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7717dfda73f5a2d860807d4619e6db145e735ab7
2021-05-29 04:00:30 +09:00
Deokgyu Yang
296ac19157 gts3l: adsprpcd: Try to import previous settings but it doesn't work
Keep it exists because it is not harmful

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I919ea9ff8480d017e2958f53d82f3715420a7964
2021-05-26 03:16:36 +09:00
Deokgyu Yang
9a3aaf5fa1 gts3l: init: Remove unused hwcomposer-2-2
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I9efab22dbb2db69d1ea307891e3a6834e8ca9dc2
2021-05-26 01:12:05 +09:00