Commit graph

458 commits

Author SHA1 Message Date
Deokgyu Yang
773cbc33d1 gts3l-common: sepolicy: Add hal_graphics_composer_default policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I9489d618c7ffaa9200b91ab06496a236afb18488
2023-05-05 08:00:05 +00:00
ivanmeler
85611c65ce Use nokias pm 2023-05-05 07:58:14 +00:00
Deokgyu Yang
48d2931e97 gts3l-common: fingerprint: Migrate to fingerprint HIDL v2.3
This service got uprev'd in hardware/samsung project.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I59705292f45bd76cd76355fd345d6a3495ece62f
2023-05-05 07:55:55 +00:00
Deokgyu Yang
dc14a15217 gts3l-common: device: Use v29 VNDK libs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2521a182c5277aa3c09f72c0265d789203a20b13
2023-05-05 07:55:08 +00:00
Deokgyu Yang
ddc2b22d6d gts3l-common: device: Shim Samsung health HAL with libutils-v30.so
This resolves the absence of the following symbol:
_ZN7android23sp_report_stack_pointerEv

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I04538953f867bcf057511240429b09cbcffbbfde
2023-05-05 07:52:04 +00:00
Deokgyu Yang
beb2f94316 gts3l-common: device: Ship cgroups.json and task_profiles.json
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]

gts3l were launched with Nougat (API level 24), so schedtune and
task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.

Test: boot and check /dev/stune/

[1] system/core/libprocessgroup/profiles/

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d57d7d0c35357d1f4fd30fb2d6f99a83ee01e84
2023-05-05 07:51:09 +00:00
Deokgyu Yang
d251e699d4 gts3l-common: rootdir: Move ueventd.qcom.rc to /vendor/etc
This is the preferred location as of Android 12.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69bdc20ba4da0bc102d81f274cb8524673459b8a
2023-05-05 07:50:57 +00:00
Deokgyu Yang
59a92898b1 gts3l-common: rootdir/etc: Prefix 'vendor' to rild.libpath
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idd08d8be6e08c977674884fe423d699e951b67a4
2023-05-05 07:50:45 +00:00
Deokgyu Yang
89f37e9f2b gts3l-common: device: Switch to IMapper 2.1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I251a1840b77815d89b22fe68261fcc19e3f1e018
2023-05-05 07:50:01 +00:00
ivanmeler
07d684f38e Build more libs 2023-05-05 07:49:46 +00:00
Deokgyu Yang
4ef34a0bf4 gts3l-common: device: Add OpenGL ES feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/322426/1
https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/322427/1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2147d46bd9fa5a3d66e2aa226687a35fd00ee488
2023-05-05 07:48:16 +00:00
Deokgyu Yang
5e9b48b387 gts3l-common: prop: Set SOC manufacturer and chipset properties
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I9fa4c80c8bd9e80c6d81dc5356892e0b6bada421
2023-05-05 07:47:45 +00:00
Deokgyu Yang
b49145b65c gts3l-common: overlay: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService

This commit refers:
https://review.lineageos.org/c/LineageOS/android_device_samsung_gts4lv-common/+/320761/1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I58a9abaa556a41aed4710daa16989e781191e324
2023-05-05 07:47:30 +00:00
ivanmeler
118024c165 Update pinner list 2023-05-05 07:47:09 +00:00
Deokgyu Yang
22a547463d gts3l-common: prop: Set BPF support level to false
This allows a legacy device launched with Android (pre-)O and running
a pre-4.9-P+ kernel to declare itself as not eBPF capable.

This commit refers:
https://review.lineageos.org/c/LineageOS/android_device_samsung_universal8890-common/+/320655

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I47da5061fee21a70efe149a3ab160dad5f595cd8
2023-05-05 07:45:15 +00:00
Deokgyu Yang
8406038711 gts3l-common: manifest: Change shipping FCM version in the manifest
Reffered:
https://review.lineageos.org/c/LineageOS/android_device_samsung_s3ve3g-common/+/317701

"""
Shipping API level less than 24 corresponds to legacy FCM version.

This addresses the following build warning:

   Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.

Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
"""

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7bb701d895c6e7772abeb50b2f9254c1a74d8142
2023-05-05 07:43:46 +00:00
Deokgyu Yang
8157b44989 gts3l-common: sepolicy: Removed undefined props
Removed using of adbd_prop, ffs_prop

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I47b5a2f23b266f703c74e447e5220db252103b42
2023-05-05 07:43:22 +00:00
Deokgyu Yang
3da6d6a664 gts3l-common: device: Remove duplicate props which were for debugging
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I79acf095778b11be816538df1fbdc0603d2f99f9
2023-05-05 07:43:09 +00:00
Deokgyu Yang
306b4c2ba0 gts3l-common: boardconfig: Allow BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d6c5bc8eae411288400026c25f86efffcd2d48b
2023-05-05 07:42:54 +00:00
Deokgyu Yang
bc32d5cc27 gts3l-common: device: Remove com.dsi.ant.antradio_library
No longer shipped by default with Lineage-19.0

Refers:
- https://review.lineageos.org/c/LineageOS/android_device_samsung_gts4lv-common/+/320417

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0ffd386329c7226668fca9fb4885c66e47e1b94d
2023-05-05 07:42:41 +00:00
Deokgyu Yang
32e97283c6 gts3l-common: vndk: Remove libdexfile_support
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I991fae5c08407ed2a7d9fd087d21f0d092bcdc44
2023-05-05 07:42:18 +00:00
ivanmeler
9356a65243 camera shim: dont call function
this fixes camera for some reason
2023-05-03 17:40:36 +00:00
Bruno Martins
a65872c48e msm8996-common: Patch camera HAL for Q bringup
Camera HAL includes a check for "service.bootanim.exit" property to
discern boot status and avoid notifying display HAL that a camera
session is active during the bootup phase. Turns out that now, with
a mix of old camera HAL and new display service, the display API
doesn't seem to be called properly leaving camera HAL in a bad state.

Just skip notifying display HAL by fooling the camera HAL into believing
that bootup phase never finished.

Change-Id: I2a12b5373e2ea851fa9d678c3cee9dab9daf25f8
2023-05-01 21:37:46 +00:00
ivanmeler
a001a39250 Add more missing uni plugins 2023-05-01 21:28:54 +00:00
ivanmeler
39478c7bc1 Update overlays for s7 2023-05-01 10:39:58 +00:00
ivanmeler
4d9cea346c Add missing uniplugin 2023-05-01 10:14:46 +00:00
ivanmeler
269f46d93f Add custom keymaster implementation 2023-05-01 08:19:48 +00:00
Nolen Johnson
aa4b12191d msm8996-common: boardconfig: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2023-05-01 08:09:43 +00:00
ivanmeler
bad1bc6cc2 Fix camera shim 2023-04-30 20:37:52 +00:00
ivanmeler
6f5538e6c9 correct camera fw location 2023-04-30 11:48:23 +00:00
ivanmeler
5a8741f7ae wip: fix wifi 2023-04-30 06:07:51 +00:00
ivanmeler
d5c9ee8e25 disable loggy 2023-04-24 10:10:48 +00:00
ivanmeler
b0bd7afd28 wip: replace proprietary blobs with ones from s7 2023-04-01 18:35:30 +02:00
ivanmeler
7a66840e2b Revert "Revert "Add loggy service""
This reverts commit 7fefb2edbc.
2023-04-01 02:07:39 +02:00
ivanmeler
0e7667ecc2 Add commented out line for debugging
https://forum.xda-developers.com/t/r-d-unlock-bootloaders.1769411/page-4#post-28953690

to toggle debugging bl side execute
sed -i 's/DLOW/DHIG/g' /dev/block/platform/soc/624000.ufshc/by-name/param
sed -i 's/DHIG/DLOW/g' /dev/block/platform/soc/624000.ufshc/by-name/param
2023-03-31 15:22:07 +02:00
ivanmeler
dd6afcce51 source build hal components 2023-03-30 23:50:55 +02:00
ivanmeler
f6f4d51256 wip: switch to bcm wlan
add libbase shim
2023-03-30 22:04:28 +02:00
ivanmeler
ad6d8fa49a move power overlay to device 2023-03-30 10:50:01 +02:00
ivanmeler
b3916b1004 add todo list 2023-03-30 10:49:53 +02:00
ivanmeler
047586a146 switch to basic usb hal
we are using micro usb anyway
2023-03-30 10:48:16 +02:00
ivanmeler
0f47eadc9e remove debugging 2023-03-30 10:48:16 +02:00
ivanmeler
483d79e93c cleanup lineage overlays 2023-03-30 10:48:16 +02:00
ivanmeler
5df0712f55 Fix fingerprint 2023-03-30 10:48:07 +02:00
ivanmeler
49400637a8 Update mixer paths 2023-03-29 18:00:57 +02:00
ivanmeler
7fefb2edbc Revert "Add loggy service"
This reverts commit 0b3102edf1.
2023-03-29 14:27:16 +02:00
ivanmeler
a3fcfb25e3 we have bcm bt 2023-03-29 12:16:24 +02:00
ivanmeler
828c03949a Remove tablet orientation override 2023-03-29 10:59:19 +02:00
ivanmeler
2709dd6187 msm8996-common: kernel: Use username and hostname for kernel build
This helps us make sure user is on same kernel as rom while debugging and hasnt swapped kernel on installed custom rom
2023-03-29 10:53:01 +02:00
ivanmeler
55fc59f8dc Correct bootdevice 2023-03-29 09:43:14 +02:00
ivanmeler
392edc8f09 temp: no quota, and we dont have hidden 2023-03-29 08:30:48 +02:00