Commit graph

54 commits

Author SHA1 Message Date
ivanmeler
269f46d93f Add custom keymaster implementation 2023-05-01 08:19:48 +00:00
ivanmeler
c5afdb6c1d gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
Deokgyu Yang
8faa84e8c6 Revert "Revert "gts3l-common: fastcharge: Build fastcharge HIDL""
Mis-merged from "eleven-havoc" branch

This reverts commit e9377b7f80.
2022-02-23 23:47:25 +09:00
Deokgyu Yang
ff9fc48134 Revert "gts3l-common: sepolicy: Add power HAL policy"
This reverts commit 09b7f4e7a7.
2022-02-23 02:23:23 +09:00
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
09b7f4e7a7 gts3l-common: sepolicy: Add power HAL policy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-23 00:44:50 +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
6d6ef4a828 gts3l-common: sepolicy: Now we have sched_boost
I imported sched_boost implement to my custom kernel, which is for HMP system
basically but to use the CAF power optimizations we should have that node.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
2022-02-21 11:00:46 +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
6d630439d2 gts3l-common: sepolicy: Address some denials
This includes crash_dump, gmscore_app, and so on.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I97496ba8aa380d45c8374e52eba2050a757ec27d
2022-02-20 14:33:24 +09:00
Deokgyu Yang
bf64496924 gts3l-common: sepolicy: Add some missing policies and add genfs_contexts
Temporarility

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4611d613a38f64fb0156f329983d1d6248f0b37b
2022-02-20 14:33:24 +09:00
Deokgyu Yang
6f1d7bef0b gts3l-common: sepolicy: Add touch HAL policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I8f6f3757d7e16080ddf2e7b4dbb977912fe38a17
2022-02-20 14:33:24 +09:00
Deokgyu Yang
e9377b7f80 Revert "gts3l-common: fastcharge: Build fastcharge HIDL"
This reverts commit e6a3db5299.
2021-12-19 19:26:23 +09:00
Deokgyu Yang
0430aa856a gts3l-common: eas: selinux: Add policy for schedutil nodes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2094c16d89dfe4a2e36986111b6c323faf2cf85c
2021-12-04 15:04:47 +09:00
Deokgyu Yang
589a7c2459 gts3l-common: sepolicy: Allow gmscore app access to memtrack
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic3b3fcd5fc2286ee081e28aa6fb81dc30f0f9323
2021-09-22 21:59:37 +09:00
Deokgyu Yang
fc4ba13673 gts3l-common: usb: Switch to QTI USB HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idf59cb97cd8cbf1881f5b7f284f107bd77a28f9f
2021-09-22 21:59:37 +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
b9043c7f89 gts3l-common: sepolicy: Resolve almost warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife457f032ac33b6c330b79d08bb841b3c1c0c19e
2021-08-24 00:41:09 +09:00
Deokgyu Yang
83d2900ad1 gts3l-common: camera: Add more hal_camera_default and cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5c2bc9b33a1424d1de81251cd3df06b521a8c530
2021-08-22 01:11:21 +09:00
Deokgyu Yang
e5a5e9fa5d gts3l-common: camera: Add cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia4b3b391247b6f370537df1180f2be02be0e7c39
2021-08-21 01:52:43 +09:00
Deokgyu Yang
fd87fa382a gts3l-common: camera: Add sec_camera_prop policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib0e609b71964a57d18222b5be94422f6f3ddeddb
2021-08-14 01:08:33 +09:00
Deokgyu Yang
445b656d9a gts3l-common: light: Add hal_light_default sepolicy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I332b57c1948c5c73f0dfb397f8aa753533047efc
2021-08-13 22:36:21 +09:00
Deokgyu Yang
d49dc1e2a7 gts3l-common: livedisplay: Build LiveDisplay HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife0d496f35342c249d066b98376ee42b14f618eb
2021-08-12 11:15:40 +09:00
Deokgyu Yang
e6a3db5299 gts3l-common: fastcharge: Build fastcharge HIDL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If04667671accb9b415e2ca21e3d8373e5ee5b026
2021-08-12 01:34:50 +09:00
LuK1337
cbd81cde70 gts3l-common: audio: Implement audio rotation handler app×service
Originally this patch is made for Galaxy Tab S5e But I cherry-picked
this to our Galaxy Tab S3 device comes with editing the parameter key,
values.

Thanks LuK1337 for this amazing patch.

Change-Id: Ibc053edf1fa7e797f6457dfead416b177da57ab6
2021-08-07 16:34:11 +09:00
Deokgyu Yang
4d82d6200b gts3l-common: selinux: Solve the audio related warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0ad46ebeb8c233025e698604b1940b5d61fb6e77
2021-08-06 00:12:09 +09:00
Deokgyu Yang
22828f6059 gts3l-common: camera: Use vendor camera HAL
But the camera doesn't work yet

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib34345c502a37e87476cf3cf057455bfe4158bda
2021-08-04 01:43:14 +09:00
Deokgyu Yang
568d802199 gts3l: fs: Mount and link properly to fit into MSM8996 family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id8822e02bcc0755a506126e4a1d7d5a1232d6082
2021-06-05 01:59:10 +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
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
30d19ccaa9 gts3l: camera: Remove vendor.samsung providers and add android impls from firmware
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia2898f9420c324361f23474cda9e874622a7edd0
2021-05-24 22:06:31 +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
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
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
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
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
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
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
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
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
Valera1978
b4a746c5ee update sepolicy 2019-12-06 13:18:49 +03:00
Valera1978
4ef518cb3d init q 2019-10-11 15:28:34 +03:00
Valera1978
18abed4b6f fix build 2019-03-29 14:16:51 +03:00