Commit graph

22 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
8a8554d540 Update/Add init scripts from T825N0KOU3CTD1, update fstab, add more OMX related files
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I538a2196a27a78100c915ccb3ccac7831feb4695
2021-05-12 22:47:10 +09:00
Valera1978
5bb919d197 init 16.0 2019-02-11 23:56:38 +03:00
Valera1978
bfbaafc49e update wifi, back to lineage charger, remove init.sec.boot.sh, add wifiloader (trick to run "cat /proc/deferred_initcalls") 2018-07-19 13:51:34 +03:00
Valera1978
190d8b9442 init for lineage-15.1 2018-07-19 13:48:02 +03:00