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
Deokgyu Yang
ae5165d075
gts3l: init: Update audio HAL service to fir into the current setup
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5367a7bcd715a6c0a1a1394da65bfb83b2b35835
2021-05-25 01:06:24 +09:00
Deokgyu Yang
ce2634d1f0
gts3l: Fix build error
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3d42609f3d7d7d63bb7b6394bddcb3afea671d91
2021-05-25 00:25:57 +09:00
Deokgyu Yang
4f4f2e20b3
gts3l: init: Should not indented here
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2021-05-24 22:24:25 +09:00
Deokgyu Yang
660f7ebe2b
Revert "gts3l: camera: (WIP) Add camera HAL from LineageOS/xiaomi_msm8996-common"
...
This reverts commit 209a9aec1c
.
2021-05-22 23:43:04 +09:00
Deokgyu Yang
209a9aec1c
gts3l: camera: (WIP) Add camera HAL from LineageOS/xiaomi_msm8996-common
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1eb5082082c7af4b7d8f98dbe5a1f8d9a20bebef
2021-05-22 23:30:58 +09:00
Deokgyu Yang
dd3657fd7e
gts3l: camera: Do some jobs for camera working
...
- Build camera.provier@2.4
- Build Snap
- Build android.frameworks.displayservice@1.0_32
- Add a camera shim
- Add missing dependency libraries
- Use vendor camera.msm8996
The camera shim is from Valera1978/gts3llte lineage-16.0
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5bdc0ea954ba9ed4ea461238219ccd4fdf2ba6a0
2021-05-21 01:40:26 +09:00
Deokgyu Yang
b8590d445f
gts3llte: init: Add missing contents from OTA Ramdisk
...
Removed some unnecessary things, and this job could fix WiFi working
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7f4f719e8c88692909a21baa5f5c0392d90feced
2021-05-19 00:41:33 +09:00
Deokgyu Yang
3cc30466c5
gts3llte: First boot
...
Done so many jobs to boot...
- SELinux permissive
- Fix/Update init scripts
- Edit the file system list for working anyway in the faced situation
but it has to be optimized later
- Optimize vendor files and add unsure binary files for debugging
- Remove unused packages
- Build Camera packages itself but not working curretly
- Update manifest from the CTD1 OTA firwmare
- Optimize manifest
- Optimize SELinux properties a little
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4c134c6fb89e646fdba39590b6b80c4027eb2c71
2021-05-18 22:20:56 +09:00
Deokgyu Yang
38a32d8c3b
gts3llte: Clean up proprietary-files and its relates and fstab
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I048c95b69deb6735d790870772ef2fd96f133328
2021-05-14 16:37:45 +09:00
Deokgyu Yang
48b69f4b60
rootdir: fstab: Update dsp fs mount option
...
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id816eab9d9aed8675fc4c3d674ae4a6a06324eb5
2021-05-13 17:15:17 +09:00
Deokgyu Yang
2cc417d7dc
rootdir: fstab: Update tables to similar with the other boards
...
Referred to the table from TWRP device tree generator and
LineageOS/samsung_gts4lv-common
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia62ee0bca5e313d3546a71ac01d9d927eaa2784d
2021-05-13 12:17:31 +09:00