Commit graph

126 commits

Author SHA1 Message Date
Deokgyu Yang
14dd1a8dea Revert "Revert "gts3l: power: Switch to QTI power HAL""
This reverts commit 9b240d8fee.
2021-05-21 15:56:00 +09:00
Deokgyu Yang
74ad966581 gts3l: audio: Use almost same as of LineageOS/gtsl4v-common, lineage-17.1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3429646b9c70fcef2a88b6bdd60f1ff31087dcff
2021-05-21 15:55:22 +09:00
Deokgyu Yang
f3989240d9 gts3l: prop: Add aptX HD into the A2DP cap list
There is no library for aptX HD but it should work after installing aptX
libraries via Magisk

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I729bdb969e03536abf2145f11c2ea23e72128598
2021-05-21 02:47:20 +09:00
Deokgyu Yang
f1caa7e4d1 gts3l: sepolicy: Add firmware-modem file, type and remove genfs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iabcae1835c39e630d672f48c3cce3ca128fdc233
2021-05-21 02:46:22 +09:00
Deokgyu Yang
406c60f42e gts3l: sepolicy: Remove a line to fix build error
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie64df5e12a88cb758b8df466a8ec39452b069fcb
2021-05-21 01:41:01 +09:00
Deokgyu Yang
708cfa4a07 gts3l: audio: Disable Soundtrigger
Since there is no sound_trigger.primary file in the vendor firmware.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I96978ac467ff8102b2588705e232d581a2493506
2021-05-21 01:41:01 +09:00
Deokgyu Yang
0b31f69cae gts3l: audio: Add LDAC codec
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I84820e3a0268b4644fd1bc5816153c12a0a223e2
2021-05-21 01:41:01 +09:00
Deokgyu Yang
e3eec8eb55 Revert "gts3l: power: Fix double tap to wake up by adding power feature implement"
This reverts commit 652765d1545b134910e5d72c65e9eda981b0872f.
2021-05-21 01:41:01 +09:00
Deokgyu Yang
9b240d8fee Revert "gts3l: power: Switch to QTI power HAL"
This reverts commit d0c4b10649ab6fcc8682add1619517a770be39ee.
2021-05-21 01:41:01 +09:00
Deokgyu Yang
c40be7a651 gts3l: audio: Remove Cirrus thing
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1d0821ee0fa5efcedebc53d447bd0d3edd8c2eb5
2021-05-21 01:41:01 +09:00
Deokgyu Yang
f13f4f6966 gts3l: selinux: Overwrite files from gts4lv-common with tiny edits
Because it is much similar to use the same family

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic988274c7848c6ea0c9949b8caa63495515c1804
2021-05-21 01:41:01 +09:00
Deokgyu Yang
98396292f8 gts3l: power: Fix double tap to wake up by adding power feature implement
This is from LineageOS/samsung_gts4lv-common, lineage-17.1.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I944846eec1f8e869a09c227204f74c0d8967fdcb
2021-05-21 01:41:01 +09:00
Deokgyu Yang
446b949a68 gts3l: power: Switch to QTI power HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1f80154761010a22a42daefa0f7b52af35a3abd0
2021-05-21 01:41:01 +09:00
Deokgyu Yang
4398cdd417 gts3l: configs: Update misc configs from T825N0KOU3CTD1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibb074c904cd7594a3743ae0434d048b638bb9570
2021-05-21 01:41:01 +09:00
Deokgyu Yang
02403a83e9 gts3l: usb: Add USB HAL implement
This is from LineageOS/samsung_gts4lv-common, lineage-17.1.
Now it should support USB accessories including audio stuffs.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I284b239c4973b4a01dabc841d5b9202d07943fbf
2021-05-21 01:41:01 +09:00
Deokgyu Yang
2d24cb0bbb gts3l: shims: Rename camera things to be commonized as of libcameraclient_shim
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id86c0c4129ad93a18bf865ca842edf5c6cdf3d98
2021-05-21 01:41:01 +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
c830221df2 gts3l: sensor: Fix fingerprint working by adding shims
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7af74a834a430767b4f9c8f07f97813506b0c8aa
2021-05-20 12:14:37 +09:00
Deokgyu Yang
4242548be1 gts3l: shims: Add shims directory
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I148d7eb0d1f81674f5458678c2ec5c16de66d9c9
2021-05-20 12:14:37 +09:00
Deokgyu Yang
9c94708993 gts3l: audio: Move config files to the config directory
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I61dbaa2627512d5f390131d3c632323f8397a480
2021-05-20 12:14:37 +09:00
Deokgyu Yang
19fe9b8c32 gts3l: media: Add libextmedia_jni
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iabf336a2c314f9e049a2ab68d0971b37218cbff4
2021-05-20 12:14:36 +09:00
Deokgyu Yang
c4c9c2f895 gts3l: seccomp: Add mediaextractor.policy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I56cf60a9f8acf86e9884a94c4ef26c751973ebca
2021-05-20 12:14:35 +09:00
Deokgyu Yang
c423cae0d0 gts3l: audio: Add missing configuration files
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie068b41a4f92dac6657cc7059278dd804ce4f2f3
2021-05-20 11:05:51 +09:00
Deokgyu Yang
cc2a935f28 gts3l: gps: Add missing izat.conf file
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0fcb74618079552080880654cd94d3a18415aaa3
2021-05-20 10:30:17 +09:00
Deokgyu Yang
4bf9afd0d8 gts3llte: net: Add Android Network implement
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iad3d9b7dcfd876efaf0b45dfa65974cf018abaa9
2021-05-20 10:24:14 +09:00
Deokgyu Yang
6bcafe9175 gts3llte: camera: (WIP) Try to fix camera
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I644057b1845cea8298d3db8df28606be779ef7ea
2021-05-20 00:37:18 +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
7ab4feeac1 proprietary-files: Fix typo in performance category
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I44a9ed7bd93cf37ae445f1c5266da604271d1ce0
2021-05-13 20:26:59 +09:00
Deokgyu Yang
5b285b55fe SELinux: hwservice: Add omr file system
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia74904a6393c6076d181ae5a3d9041be68898c7a
2021-05-13 20:26:32 +09:00
Deokgyu Yang
aeb9033a7b Revert "SELinux: Remove bt_firmware, firmware things that are not used"
This reverts commit 6f77aed40c.

Change-Id: Id8598f456fb8510b873b16fa392dae2cd70af98f
2021-05-13 20:00:51 +09:00
Deokgyu Yang
4f03205e89 device.mk: Add Thermal things
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I170e64d993c0e50e11e60125a7d7ae0ca9a8ab53
2021-05-13 18:09:59 +09:00
Deokgyu Yang
b88d46aa10 proprietary-files: Add power, performance, thermal things
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I027b67e23c3b7733f710350143c9d549c5d163dc
2021-05-13 18:08:38 +09:00
Deokgyu Yang
dd8af22d97 SELinux: hwservice: Add type for hal_miscpower
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I02f15eba26d9491ff694e6076c0fa4d90a5532a0
2021-05-13 17:50:24 +09:00
Deokgyu Yang
7ae364f33e manifest: Fix typo from ISeh to ISec
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ica75ea19c6a13a8551513ec3c878acf15d300a62
2021-05-13 17:49:46 +09:00
Deokgyu Yang
aaebc901b4 SELinux: hwservice: Fix the prefix to ISec
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If745bbed2aaa65e968d3b1a4da71e102eafcb1dd
2021-05-13 17:49:22 +09:00
Deokgyu Yang
f1701d802f SELinux: init.te: Why this semiconlon needs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1c7b0a1721d5fde71b7219a6a2217db8ea736afe
2021-05-13 17:25:17 +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
6d5ad29b1e SELinux: Remove readfem, readmac
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idecc1a6e33dc91c8a6e6242067ecf2bd8d92ec2f
2021-05-13 17:13:39 +09:00
Deokgyu Yang
8cc38fc81e SELinux: Remove ir things and tiny clean up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iffe986d9b385e973919b690da95221395f031819
2021-05-13 16:47:15 +09:00
Deokgyu Yang
393b892d00 SELinux: file_contexts: Edit vendor names
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I250809ac51f84905191a8160e0ff2f90a7c36aa1
2021-05-13 16:42:55 +09:00
Deokgyu Yang
db05555ad9 SELinux: Add missing hwservice type definition
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib2a41f10fcd91a0d59c013778080333ee9db69a4
2021-05-13 16:40:29 +09:00
Deokgyu Yang
b830c75e82 BoardConfig: SELinux: Fix typo
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I87316101ba7bb337374baeb1d4da541604ee45b2
2021-05-13 16:00:27 +09:00
Deokgyu Yang
6f77aed40c SELinux: Remove bt_firmware, firmware things that are not used
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic0101c45b7d53c44faa3cead2287e6a0bc1e1185
2021-05-13 15:59:59 +09:00
Deokgyu Yang
39aa8463fa BoardConfig: SEPolicy: Remove creating symlink for bt_firmware
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0313084d6a17d77556c6874de8d6e8bd291c9198
2021-05-13 12:20:58 +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
0ac7270c67 BoardConfig: SEPolicy: Change include path to the other msm8996 boards use
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iac1913fc55990ed1c227ff48e8c2aac898d8a57c
2021-05-13 10:37:32 +09:00
Deokgyu Yang
0698da28c0 Add back creating symlink for bt_firmware that is not sure
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iedb47fd4d6afd902645d2e1f15277dabcf1177c6
2021-05-13 02:00:22 +09:00
Deokgyu Yang
6bf6c68bed Add SEPolicy for Samsung stuffs from LineageOS/samsung_gts4lv-common
This surely not working perfectly

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1d3ecc0f379e772909ff7f51640eedb2156af257
2021-05-13 01:58:15 +09:00