Common Device Tree for Samsung S7 QCOM
b5e75f480d
* 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 |
||
---|---|---|
audio | ||
bluetooth | ||
camera | ||
configs | ||
display | ||
idc | ||
keylayout | ||
keymaster | ||
libhidl | ||
light | ||
livedisplay | ||
overlay | ||
overlay-lineage | ||
power_ext | ||
recovery/root | ||
rootdir | ||
rro_overlays | ||
seccomp | ||
sepolicy | ||
shims | ||
thermal | ||
touch | ||
vndk | ||
wifi | ||
Android.bp | ||
Android.mk | ||
BoardConfigCommon.mk | ||
compatibility_matrix.xml | ||
config.fs | ||
extract-files.sh | ||
lineage.dependencies | ||
manifest.xml | ||
msm8996.mk | ||
proprietary-files.txt | ||
README.md | ||
setup-makefiles.sh | ||
system.prop | ||
todo.md |
Common Device Tree for Samsung S7 QCOM
Copyright
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]