Commit graph

412 commits

Author SHA1 Message Date
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
Deokgyu Yang
74087b8bb9 Update SEPolicy files from LineageOS/xiaomi_msm8996-common
Surely this is not perfect for gts3l boards

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
2021-05-13 00:29:11 +09:00
Deokgyu Yang
7b509e4a57 Update overlays from LineageOS/samsung_gts4lv-common and xiaomi_msm8996-common
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ieddb62897c9bf95b8d6483f24d1c031c1b018313
2021-05-12 23:58:38 +09:00
Deokgyu Yang
9a79c1c656 Add init script for recovery
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1f081f824de8cd907b387bb3903586241619f28f
2021-05-12 23:56:44 +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
a367815c27 Clean up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I645ff478e0b718cab00e01f3d632477b76bc8359
2021-05-12 23:36:09 +09:00
Deokgyu Yang
a316c66fac Update config.fs from LineageOS/gts4lv-common
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5e8ed3dd72413d292e220cc19955c3e7b73b7689
2021-05-12 23:36:09 +09:00
Deokgyu Yang
af7067e3d3 Do not copy bt* firmwares
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I86c5d90a0fcf1d2bf06853aa82ae46f228654731
2021-05-12 23:36:09 +09:00
Deokgyu Yang
2687709799 Add seccomp policy from T825N0KOU3CTD1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I278383fb136edbbc6bfe2743b1ba832c86b41ca3
2021-05-12 23:36:05 +09:00
Deokgyu Yang
f9f3a358c4 Move several folders from configs to the root dir
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I08c0797b3b2158d342ceb1d138d0f46da70b4145
2021-05-12 22:59:53 +09:00
Deokgyu Yang
98d049a586 Replace GPS settings from Xiaomi/msm8996-common
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib3ab311d789ac286e7c7bd6725e478202b608bec
2021-05-12 22:56:59 +09:00
Deokgyu Yang
779f97c5a0 Remove sensors configurations
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8867890971a26882a23ed069024c216a22ec34d6
2021-05-12 22:53:13 +09:00
Deokgyu Yang
15ce05f0df Remove existing audio_amplifier.h
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7db44f36d5db0ec2618b2d431df0c00a1e54168a
2021-05-12 22:50:47 +09:00
Deokgyu Yang
5c90683360 Update Wifi configs from T825N0KOU3CTD1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iab5792bc3c26d29d3b992aeb806c1a8f9eee04db
2021-05-12 22:49:22 +09:00
Deokgyu Yang
cdec0b9de3 Use android.hardware.usb version 1.1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I10db78e74c2516f0497b7f9bef2000fdb02e4364
2021-05-12 22:49:01 +09:00