Common Device Tree for Samsung S7 QCOM
Find a file
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
audio Fix audio configs 2023-05-08 21:03:31 +00:00
bluetooth we have bcm bt 2023-03-29 12:16:24 +02:00
camera wip: replace proprietary blobs with ones from s7 2023-04-01 18:35:30 +02:00
configs Revert "gts3l-common: thermal: We don't need thermal-engine configs" 2023-05-05 08:13:41 +00:00
display Move several folders from configs to the root dir 2021-05-12 22:59:53 +09:00
idc gts3l-common: idc/keylayout: Clean up and add keylayouts for the Samsung products 2021-09-22 21:59:37 +09:00
keylayout gts3l-common: keylayout: Correct DPAD key mapping 2021-11-14 14:41:54 +09:00
keymaster Add custom keymaster implementation 2023-05-01 08:19:48 +00:00
libhidl gts3l: hidl: Build android.hidl.manager 2021-05-26 01:19:23 +09:00
light Update overlays for s7 2023-05-01 10:39:58 +00:00
livedisplay gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
overlay gts3l-common: overlay: Update SurfaceFlinger pin on all targets 2023-05-05 07:47:30 +00:00
overlay-lineage remove snap overlay 2023-05-05 08:40:10 +00:00
power_ext gts3l-common: power: Add power_mode_ext for enabling hints 2022-02-23 01:27:12 +09:00
recovery/root Add init script for recovery 2021-05-12 23:56:44 +09:00
rootdir gts3l-common: rootdir/etc: Start qseecomd early 2023-05-05 08:36:15 +00:00
rro_overlays gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
seccomp gts3l: seccomp: Add mediaextractor.policy 2021-05-20 12:14:35 +09:00
sepolicy gts3l-common: sepolicy: Update SEPolicy for Android S 2023-05-05 08:15:52 +00:00
shims camera shim: dont call function 2023-05-03 17:40:36 +00:00
thermal gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
touch gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
vndk gts3l-common: vndk: Remove libdexfile_support 2023-05-05 07:42:18 +00:00
wifi wip: switch to bcm wlan 2023-03-30 22:04:28 +02:00
Android.bp Add explicit Android blueprint to the root location 2021-05-10 23:39:18 +09:00
Android.mk gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
BoardConfigCommon.mk gts3l-common: camera: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE 2023-05-05 08:39:03 +00:00
compatibility_matrix.xml gts3llte: compatibility_matrix: Add radio entries to fix HAL issues 2021-07-02 01:13:40 +09:00
config.fs gts3l-common: config_fs: Change vendor/firmware_mnt/image ownership to system 2022-05-07 23:32:34 +09:00
extract-files.sh misc 12 bringup 2023-05-05 08:35:47 +00:00
lineage.dependencies gts3l: Update lineage.dependencies 2021-06-10 18:47:13 +09:00
manifest.xml wip: fix camera again 2023-05-05 12:36:10 +00:00
msm8996.mk Fix audio configs 2023-05-08 21:03:31 +00:00
proprietary-files.txt msm8996-common: Hex-edit libmmcamera2_isp_modules for P's mutex restrictions 2023-05-08 22:04:42 +00:00
README.md gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
setup-makefiles.sh gts3l-common to msm8996-common 2022-12-01 17:22:49 +00:00
system.prop Fix audio configs 2023-05-08 21:03:31 +00:00
todo.md add todo list 2023-03-30 10:49:53 +02:00

Common Device Tree for Samsung S7 QCOM

Copyright (C) 2017 The LineageOS Project
Copyright (C) 2018-2020 Valera Chigir <valera1978@tut.by>
Copyright (C) 2021-2022 Deokgyu Yang <secugyu@gmail.com>
Copyright (C) 2022 Ivan Meler <i_ivan@windowslive.com>

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at [https://www.apache.org/licenses/LICENSE-2.0.html]