Commit graph

477 commits

Author SHA1 Message Date
Deokgyu Yang
4fb6fa7365 gts3l-common: camera: Don't use Snap
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic667e5e76f45e9bf64bf30c33e569b6ccc0e0640
2023-05-05 08:38:44 +00:00
Deokgyu Yang
92db14ea64 gts3l-common: camera: Build HIDL libs into vendor
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie1141ebeeb0c626aebb80fec793666b46cc1b71f
2023-05-05 08:38:31 +00:00
Deokgyu Yang
dad77cceb3 gts3l-common: device: Don't use the overlay from samsung/qcom-common
Not that meaningful this time

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0af589e0dd4f2840d1151062a45502fd47d4b1b6
2023-05-05 08:36:31 +00:00
Deokgyu Yang
f9bb4e223a gts3l-common: rootdir/etc: Start qseecomd early
Unless the device crashes few times at the first boot

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0d48eeaf4b434280657b00753b4bf287b160f2f7
2023-05-05 08:36:15 +00:00
ivanmeler
50cc31cc70 misc 12 bringup 2023-05-05 08:35:47 +00:00
Deokgyu Yang
6eb142080f gts3l-common: sepolicy: Update SEPolicy for Android S
Roughly addressed the denials

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0d761dca3e17d9f16fab9edf947e593fe8a66f34
2023-05-05 08:15:52 +00:00
Deokgyu Yang
2962f3cc14 gts3l-common: sepolicy: Remove tzdaemon_prop
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I68155875639b94ccf0d09c8dc93e495e1e8204be
2023-05-05 08:15:05 +00:00
Deokgyu Yang
fb9e49bd68 gts3l-common: sepolicy: Attach vendor_property_type to properties
Refers to:
4e01176578

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I67253226b0d4c7cc87851ee23040ca0c08a8fb62
2023-05-05 08:14:56 +00:00
Deokgyu Yang
aa0dc7197e gts3l-common: boardconfig: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

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

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I28d5082f641350ab8a00551c1721b11e5deb87fd
2023-05-05 08:14:48 +00:00
Deokgyu Yang
cdbbc337a1 gts3l-common: rootdir/etc: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot

Refers to:
https://review.lineageos.org/c/LineageOS/android_device_xiaomi_gauguin/+/324467

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0005d141f15713f277d1de3be46fd3c25de8deef
2023-05-05 08:14:36 +00:00
Deokgyu Yang
2b3b20f7b4 gts3l-common: props: Set ro.vndk.version to current
To fix the error below:
E ashmem  : memfd: ro.vndk.version not defined or invalid (), this is mandated since P

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id019485ed9432d7780e64bacf8781656fb595248
2023-05-05 08:14:23 +00:00
Deokgyu Yang
032e66b50c Revert "gts3l-common: thermal: We don't need thermal-engine configs"
This reverts commit 253aaf67aba62889fd6286d7afec7acfcb6999be.
2023-05-05 08:13:41 +00:00
Deokgyu Yang
032e9d0ef4 gts3l-common: props: Change from sys.usb.controller to vendor.usb.controller
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia8c97fa0b1329de46e5b1bee535689537ebb0028
2023-05-05 08:12:57 +00:00
Deokgyu Yang
487091a338 gts3l-common: device: Build AOSP bluetooth audio HAL v2.0
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: If5e934ef2268ccc59f0b90ff47846a9b11cc87e4
2023-05-05 08:11:09 +00:00
Deokgyu Yang
8240c7238e gts3l-common: device: Build netd 1.0 too
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I65f76fe499dbc25d079fb757e3d92b6acd51eb47
2023-05-05 08:10:53 +00:00
ivanmeler
160db1bfab Drop TARGET_SEC_FP_HAL_VARIANT that is obsolete 2023-05-05 08:10:27 +00:00
ivanmeler
09cdb43d71 Remove device health 2023-05-05 08:07:34 +00:00
Deokgyu Yang
99a1de97a4 gts3l-common: device: Fix typo for libcutils VNDK
What a silly mistake..

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id362fdefc6773dc275f1aeca17d761855a4d405d
2023-05-05 08:06:39 +00:00
Deokgyu Yang
287b7552a2 gts3l-common: boardconfig: Don't use clang for building kernel
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Id1b5f016a6d8c75100e04b8149f07423ab8a8221
2023-05-05 08:05:11 +00:00
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