5 Commits

Author SHA1 Message Date
TH779
7dffcc1c58 sm8250-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
2022-02-20 13:04:31 +01:00
dianlujitao
e51b238a4f sm8250-common: Move moto-telephony.jar to system_ext and remove unused moto jar
* moto-telephony.jar is a dependence of ims.apk and thus should locate
   in system_ext as well.
 * The rest jars are not needed as far as I observe.

Change-Id: I0711c0178906293179998eae70663de7b09a4a77
2022-02-20 13:04:31 +01:00
SGCMarkus
4b786f2379 Revert "sm8250-common: fixup for pstars libgui_vendor.so"
This reverts commit 1b2090b03b263060a67e7675068e42c8c79a212d.

building from source
2022-02-20 13:04:31 +01:00
SGCMarkus
1b2090b03b sm8250-common: fixup for pstars libgui_vendor.so 2022-02-18 22:09:16 +01:00
SGCMarkus
613c8402b3 sm8250-common: add extract utils 2022-02-16 21:08:01 +01:00