No description
Find a file
TH779 62ca6cd8b0 sm6225-common: Don't call configureRpcThreadpool for camera postproc impl
* In Android 12, no longer allowed to shrink the process pool after a
   larger process pool is started, we should patch camera postproc impl
   to nuke it from shrinking process pool and prevent triggering a fatal
   to cause the camera to crash.
   Ref: 8e047f7a62.

 * The following are the difference between before and after the
   patch.
   Before:
   MOV    W1, #1
   BL     ._ZN7android8hardware22configureRpcThreadpoolEmb
   Now:
   MOV    W1, #1
   NOP

 * Obtained by comparing the camera postproc impl modified by
   GitHub@erfanoabdi.

 * A tutorial on use hexdump, sed and xxd to patch hex in
   binary file: https://everydaywithlinux.blogspot.com/2012/11/patch-strings-in-binary-files-with-sed.html.

Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: TH779 <i@779.moe>
Change-Id: I66c257e80bf56a48c640efc3c1c8949852edf756
2023-03-30 22:51:57 +05:30
audio sm6225-common: Import common audio configs 2023-03-30 22:51:57 +05:30
bluetooth/include sm6225-common: Import bdroid_buildcfg.h from CodeLinaro 2023-03-30 22:51:57 +05:30
bootctrl sm6225-common: Import bootctrl from moto sm8250-common 2023-02-17 00:18:22 +05:30
configs sm6225-common: Import public.libraries.txt 2023-03-30 22:51:57 +05:30
media sm6225-common: Import media configs 2023-03-30 22:51:57 +05:30
overlay/frameworks/base/core/res/res/values sm6225-common: overlay: Import default pinner list 2023-03-30 22:51:57 +05:30
rootdir sm6225-common: Build QTI USB 1.3 2023-03-30 22:51:57 +05:30
wifi sm6225-common: Import wifi configs 2023-03-30 22:51:57 +05:30
Android.bp sm6225-common: Add initial common device tree files 2022-12-31 10:38:30 +05:30
Android.mk sm6225-common: Create missing symlinks 2023-03-30 22:51:57 +05:30
bengal.mk sm6225-common: Setup checkpoint_gc for /vendor 2023-03-30 22:51:57 +05:30
BoardConfigCommon.mk sm6225-common: Reserve additional space on odm/product/system/system_ext/vendor 2023-03-30 22:51:57 +05:30
compatibility_matrix.xml sm6225-common: Import device compatibility matrix 2023-03-30 22:51:57 +05:30
config.fs sm6225-common: Import config.fs from CodeLinaro 2023-02-17 00:18:46 +05:30
extract-files.sh sm6225-common: Don't call configureRpcThreadpool for camera postproc impl 2023-03-30 22:51:57 +05:30
framework_compatibility_matrix.xml sm6225-common: Add a minimal framework compatibility matrix 2023-03-30 22:51:57 +05:30
lineage.dependencies sm6225-common: Configure kernel 2023-02-12 01:25:35 +05:30
manifest.xml sm6225-common: Import common device manifest 2023-03-30 22:51:57 +05:30
mot_aids.fs sm6225-common: Match moto GIDs with stock 2023-02-17 00:18:46 +05:30
odm.prop sm6225-common: Import initial properties 2023-03-30 22:51:57 +05:30
product.prop sm6225-common: Import initial properties 2023-03-30 22:51:57 +05:30
proprietary-files.txt sm6225-common: Move moto-telephony.jar to system_ext 2023-03-30 22:51:57 +05:30
README.md sm6225-common: Add initial common device tree files 2022-12-31 10:38:30 +05:30
setup-makefiles.sh sm6225-common: Add initial common device tree files 2022-12-31 10:38:30 +05:30
system.prop sm6225-common: Import initial properties 2023-03-30 22:51:57 +05:30
system_ext.prop sm6225-common: Import initial properties 2023-03-30 22:51:57 +05:30
vendor.prop sm6225-common: Import initial properties 2023-03-30 22:51:57 +05:30

Common device tree for Motorola SM6225 devices


Copyright (C) 2022 The LineageOS Project

SPDX-License-Identifier: Apache-2.0