Commit graph

42 commits

Author SHA1 Message Date
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
Deokgyu Yang
6e887abf7e Add missing contents
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I28a390320dbbbf47aa31a250034d6cc61706fa41
2021-05-12 23:41:43 +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
0f8b5622bf Bring sensors back to life
The old blobs no longer seem to work, causing the sensor service
to indefinitely try to register. Just kang some cool blobs and align
permission sets and IPC sec configs with CAF.
2019-12-06 13:17:14 +03:00
Valera1978
4ef518cb3d init q 2019-10-11 15:28:34 +03:00
Valera1978
5bb919d197 init 16.0 2019-02-11 23:56:38 +03:00
Valera1978
6158bb1942 small update 2018-07-19 13:52:58 +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