Commit graph

507 commits

Author SHA1 Message Date
ivanmeler
b84611142a Correct some params for disaplay 2023-10-25 17:45:38 +00:00
ivanmeler
440ea7f9e0 show first shipping level 2023-10-25 11:52:17 +00:00
ivanmeler
b4d466afc7 Add dex preopt 2023-09-06 12:11:03 +00:00
Ivan Meler
f60d657fb8
Update msm8996.mk 2023-06-01 13:26:35 +02:00
ivanmeler
f7d30c0435 temp: disable nfc
Revert "compile specific nfc hal ver"

This reverts commit 589eb78b17.

Revert "Compile nfc 1.1"

This reverts commit 5e343e3891.
2023-05-20 17:52:09 +02:00
ivanmeler
589eb78b17 compile specific nfc hal ver
todo: update configs according to default from vendor/nxp/opensource/pn5xx/halimpl/halimpl/libnfc-nxp-PN551_example.conf
and nci one
2023-05-11 20:01:49 +00:00
ivanmeler
e758d2d515 Load correct vulkan lib 2023-05-09 20:02:09 +00:00
ivanmeler
5e343e3891 Compile nfc 1.1 2023-05-09 19:36:14 +00:00
ivanmeler
4e214ba975 Updat tethering overlay and add nfc configs 2023-05-09 19:25:27 +00:00
ivanmeler
6102fac570 Move nfc fw to right location 2023-05-09 11:55:38 +00:00
ivanmeler
cda9f61a37 Properly load qti power hal
This is in system_ext and we are not treble, so it doesnt want to build _vendor one for us
2023-05-09 08:18:20 +00:00
ivanmeler
1ddf76c35b temp: remove keydisabler 2023-05-09 07:01:20 +00:00
ivanmeler
f84963001c Update overlays 2023-05-09 06:54:28 +00:00
ivanmeler
bf3e572456 remove todo list, moved to heroqlte 2023-05-09 06:23:38 +00:00
ivanmeler
134d9399a4 Update power extension 2023-05-09 06:21:45 +00:00
ivanmeler
65301c7c08 switch to generic livedisplay hal from hw/samsung 2023-05-09 06:12:12 +00:00
ivanmeler
e43f5f4c5d Update hals defininitions 2023-05-09 06:07:13 +00:00
ivanmeler
e876ad8e50 switch to hw/samsung touch hal 2023-05-09 06:02:24 +00:00
ivanmeler
7dbb22e31a Move configs to configs folder 2023-05-09 05:56:32 +00:00
LuK1337
f13fcbe224 remove unused keylayouts 2023-05-09 05:47:24 +00:00
LuK1337
f043538251 gts3l-common: vintf: Enforce vintf manifest override
* Apparently this is now required on all non full treble devices since
  google added a sleep(1) in libhidl...

Change-Id: I9d473c88157d87c440b6f5f07776695a384f0336
2023-05-08 23:45:56 +00:00
ivanmeler
ce0dfc7fa4 Switch to new lights hal 2023-05-08 22:55:27 +00:00
ivanmeler
bcb75562a8 fix torch after camera usage 2023-05-08 22:29:40 +00:00
Paul Keith
b5e75f480d msm8996-common: Hex-edit libmmcamera2_isp_modules for P's mutex restrictions
* Google has been tightening up mutexes by disallowing calling
  pthread_mutex_destroy on an already destroyed mutex in P
* This normally isn't an issue, but Qualcomm, in their infinite
  wisdom, decided to destroy a mutex in a loop in isp_module_stop_session
  when they were freeing some related memory allocations
* This results in a SIGABRT in mm-qcamera-daemon from a
  __fortify_fatal call in HandleUsingDestroyedMutex in libc
* To work around this, phtread_mutex_destroy and phtread_cond_destroy
  moved outside of the loop so they only calls 1 time
* ASM instructions
before:
.text:00007662                 LDR             R6, [SP,#0x40+ptr]
.text:00007664                 ADD             R5, R9
.text:00007666                 SUBS            R7, #1
.text:00007668                 BNE             loc_7606
.text:0000766A                 ADD.W           R0, R6, #0x146000
.text:0000766E                 ADD.W           R0, R0, #0x5A0 ; mutex
.text:00007672                 BLX             pthread_mutex_destroy

after:
.text:00007662                 MOVS            R0, R0
.text:00007664                 MOVS            R0, R0
.text:00007666                 MOVS            R0, R0
.text:00007668                 MOVS            R0, R0
.text:0000766A                 ADD.W           R0, R6, #0x146000
.text:0000766E                 ADD.W           R0, R0, #0x5A0 ; mutex
.text:00007672                 BLX             pthread_mutex_destroy

Change-Id: I36dfab9f3afb8c9e010da8c6b02c2d9eff856c07
2023-05-08 22:04:42 +00:00
ivanmeler
fd353af1a2 Fix audio configs 2023-05-08 21:03:31 +00:00
ivanmeler
b84f00f105 wip: fix camera again 2023-05-05 12:36:10 +00:00
ivanmeler
f639d98d88 remove snap overlay 2023-05-05 08:40:10 +00:00
Deokgyu Yang
f092427739 gts3l-common: camera: Build vendor.qti.hardware.camera.device@1.0 64bit too
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I21a81abfed7fa0de6a200661af7aa0fba7ed12ca
2023-05-05 08:39:12 +00:00
Deokgyu Yang
72669029fa gts3l-common: camera: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.
* We already build vendor.qti.hardware.camera.device@1.0
  so we have what we need.

It refers to:
  https://review.lineageos.org/c/LineageOS/android_device_razer_aura/+/331539

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1e8c2d4cd7bb725bfc7ba5020f071b8e716a5263
2023-05-05 08:39:03 +00:00
Deokgyu Yang
a32da50c29 gts3l-common: camera: Drop TARGET_SUPPORT_HAL1 flag
As it deprecated since Android 12

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iaf334ac6196fd642574031e16c6e4ab9872159c6
2023-05-05 08:38:53 +00:00
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