Commit graph

4 commits

Author SHA1 Message Date
dianlujitao
8f7e979991
sm6225-common: Replace TMPDIR with EXTRACT_TMP_DIR
Change-Id: I66146a0805a830ccf24db6e4cd57b229481ba6b0
2023-04-24 20:27:04 +03:00
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
dianlujitao
e98bd81d13 sm6225-common: Move moto-telephony.jar to system_ext
* moto-telephony.jar is a dependence of ims.apk and thus should locate
   in system_ext as well.

Change-Id: I0711c0178906293179998eae70663de7b09a4a77
2023-03-30 22:51:57 +05:30
Dhina17
e70addc532 sm6225-common: Add initial common device tree files
Change-Id: Iad923b30fc46a9caa1c902acb44f519289743bf6
2022-12-31 10:38:30 +05:30