Commit Graph

79 Commits

Author SHA1 Message Date
LuK1337
960da4eaf2 sm8250-common: Unlock aux cameras
This basically NOPs update_camera_metadata_entry() call that sets
ANDROID_REQUEST_AVAILABLE_CAPABILITIES_SYSTEM_CAMERA to 1 for aux cams.

Change-Id: Ie869b3eb0ea85af99904e2e23e86c4cd0acc3596
2022-08-19 21:59:31 +02:00
Michael Bestas
15a14297a8 sm8250-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-08-19 21:59:30 +02:00
Alexander Koskovich
99a38b8469 sm8250-common: Import GPS configuration from IN2025_11.C.33
Change-Id: I64c78ddc6af425117af8dd85f2fc9a49ac3bb942
2022-08-19 21:59:20 +02:00
Alexander Koskovich
b2d4d167ad sm8250-common: Drop updatable GPU drivers
* Doesn't work, can't switch between default and oplus
   GPU driver. Looking at oplus' APK, there is nothing
   really inside just a shell. There were no updates for
   the app in the Play Store either.

Change-Id: I0ec61c3b9abfa86368e6c23481d7edf5d8f6a036
2022-08-19 21:59:20 +02:00
Cosmin Tanislav
4ea2bee34e sm8250-common: Support UDFPS on AoD
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
2022-08-19 21:59:20 +02:00
Alexander Koskovich
fd931e235f sm8250-common: Update IMS from SKQ1.220303.001
* Closest QSSI tag is LA.QSSI.12.0.r1-06800-qssi.0.

Change-Id: Ief930b8b8eae1da02cc22185e3709c53ee69ca70
2022-08-19 21:59:20 +02:00
Alexander Koskovich
470df1663d sm8250-common: Update WCNSS configuration from IN2025_11.C.33
* OnePlus reads MAC address from QMI DMS now.

 * Since that was the only custom change, move back
   to proprietary files.

This commit is a partial revert of 83d053860901aaa5b6fdb54c6160aac817c6806b.

Change-Id: I9e89def5258f9085e7169a1a6753cbdabd1d548c
2022-08-19 21:59:19 +02:00
Alexander Koskovich
6ba455d610 sm8250-common: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
2022-08-19 21:59:19 +02:00
Alexander Koskovich
f7889666bb sm8250-common: Add rest of QTI scripts to proprietary-files
* We won't be touching these.

Change-Id: Iec07925125b8fc27e807dea635ef2b17f5c7898b
2022-08-19 21:59:19 +02:00
Bruno Martins
253d6a5f43 sm8250-common: Update blobs to Android 12 (IN2025_11.C.33)
* Move some configurations to proprietary files since
   we make no edits to them.

Change-Id: Ia412660d84825b47c2f272f89baf73cf5981879c
2022-08-19 21:59:19 +02:00
LuK1337
901baf95a9 sm8250-common: Autopatch vendor.qti.hardware.camera.postproc impl
Change-Id: If9b730f83853a169066291c6787dd81d5609ac5e
2022-04-03 21:05:31 +02:00
LuK1337
4386e25d5f sm8250-common: Update blobs from OOS 11.0.11.11
Change-Id: Ie778c23099989d4b91fa3a927882e5364f3c5358
2022-02-27 12:13:05 +01:00
LuK1337
b07cd6f83d sm8250-common: Update WFD system stack from lemonadep
Change-Id: I728810877f3aa40a4fe068f23fd2cfc9194f8066
2022-02-21 22:06:10 +01:00
Sebastiano Barezzi
d19d2e1389 sm8250-common: Pin modified vendor.qti.hardware.camera.postproc@1.0-service-impl.so
The modified library NOPs out the instruction to change binder
threadpool, allowing the library to load and camera to work on S.

Command used:
$ SigScan -p "1F 0A 00 94" -P "1F 20 03 D5" -f vendor.qti.hardware.camera.postproc@1.0-service-impl.so

Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
2022-02-21 22:06:10 +01:00
LuK1337
410a9a8456 sm8250-common: Switch to AOSP NfcNci
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-02-21 22:06:10 +01:00
LuK1337
7cc3f931ba sm8250-common: Update blobs from OOS 11.0.10.10
Change-Id: Ice2e6c36aa900eac7a0097e96d04a77ebdf4a1c7
2021-12-27 17:08:44 +01:00
LuK1337
c604096e59 sm8250-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:02 +02:00
LuK1337
7616f79a6c sm8250-common: Update blobs from OOS 11.0.9.9
Change-Id: Ic581279a3fa3916ac8cf725705da8eb5a3a1755a
2021-10-28 16:21:26 +02:00
LuK1337
7ad5bbf53f sm8250-common: RIP remove_packages
No longer necessary since now we can just pass `OVERRIDES` to extract
utils and it'll handle it automatically for us :^)

Change-Id: I19c97f5daa72d809dae2442fcb2b8b81a702aaf2
2021-08-23 18:52:01 +02:00
LuK1337
a980329556 sm8250-common: Update blobs from OOS 11.0.8.8
Change-Id: I60f5d95c8aa1a478466c359ec15b4116bce0a569
2021-08-18 14:19:45 +02:00
Omkar Chandorkar
51943f7a17 sm8250-common: Use prebuilt vendor libdisplayconfig.qti.so
There are several VMTs inside that library that are prone to change
on CAF merges.

So far, last LA.QSSI.11.0.r1-12300-qssi.0 merge already modified
ConfigInterface VMT in a way that's not backwards compatible thus
it'd be better if we provided a prebuilt library instead.

Change-Id: I25fe58e6721b8d0e67882f576cfaf288c9992fc9
2021-06-28 13:35:47 +02:00
LuK1337
bc32893867 sm8250-common: Update blobs from OOS 11.0.7.7
Change-Id: Iaf5c72c7c5b840afedbae498fd4d25c6aee74514
2021-06-12 19:04:02 +02:00
Bruno Martins
2bee5a8ca6 sm8250-common: Move "proprietary" seccomp policies to vendor
Also discard unused qspm.policy as we don't ship qspm.

Change-Id: Icc1b978d373de8b0b7bc3e483c088c2cdeb5d325
2021-06-01 10:56:16 +02:00
Bruno Martins
191c30fbd9 sm8250-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2021-06-01 10:40:49 +02:00
LuK1337
f972f8c9fb sm8250-common: Update blobs from OOS 11.0.6.6
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00
LuK1337
fea51bce3c sm8250-common: Update blobs from OOS 11.0.5.5
Change-Id: Iaa7ca6c73513a4bccda4c6738d78b47bf52630dd
2021-03-30 12:13:40 +02:00
LuK1337
d1d109c825 sm8250-common: Bring in TOF sensor HAL
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00
dianlujitao
0a0b0f26f8 sm8250-common: Switch to source built vendor.qti.hardware.perf@2.0.so
Change-Id: Ia5de8c300d71b6def223e97ef9d58898c9c11a57
2021-02-16 13:28:27 +01:00
LuK1337
d3a5d47f75 sm8250-common: Add com.android.hotwordenrollment.common.util library
Fixes:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.android.hotwordenrollment.xgoogle, PID: 4331
E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/android/hotwordenrollment/common/EnrollmentUtil;
E AndroidRuntime: 	at com.android.hotwordenrollment.common.EnrollmentService.onCreate(EnrollmentService.java:59)
E AndroidRuntime: 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:4186)
E AndroidRuntime: 	at android.app.ActivityThread.access$1500(ActivityThread.java:237)
E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:223)
E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7660)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.hotwordenrollment.common.EnrollmentUtil
E AndroidRuntime: 	... 10 more

Change-Id: I5e9605a3ecb9ec080aed554c1541ded9f25c188b
2021-02-01 14:34:15 +01:00
LuK1337
8276504d67 sm8250-common: Decommonize audio amplifier firmware
Change-Id: Id262c31832d203fb04c1a36335f125547e1f850b
2021-01-24 15:55:07 +01:00
LuK1337
a5e8df179d sm8250-common: Add liboemcrypto and its dependency
* For some users L1 isn't disabled on BL unlock.
  While this occurence is a true mystery that
  I wasn't able to reproduce on my hardware,
  it's totally fine to include these blobs in
  the vendor image so that these users can enjoy L1.

Change-Id: Ib5fdb7a41fec84a9df03296ad48473e70ce8f208
2021-01-23 17:28:11 +01:00
Bruno Martins
08c4245a54 sm8250-common: Drop prebuilt libwfdaac
Change-Id: Ia2b8b073b652c3969ac8b95c2ecce355754bd1b4
2021-01-12 21:08:04 +01:00
LuK1337
d2b4a13530 sm8250-common: Add 32-bit vendor.qti.hardware.dsp@1.0 HIDL lib
* Somehow this lib is being loaded by `media.codec` process
  and thus along with stagefright vendor plugin fixes video
  recording start timestamp (?)

Change-Id: Ib39fb9385b13947b5e1ec6f0bf7e62a22d7ab0c3
2021-01-12 04:37:43 +01:00
LuK1337
9e70d87ab6 sm8250-common: Add PowerOffAlarm app
* Blob has been modified to add back MS_IN_ONE_MIN offset.

Change-Id: Ib69b4e00794c5d094a5e95e84281f7db205d423f
2021-01-08 14:31:39 +01:00
LuK1337
343e954111 sm8250-common: Start building vendor and odm
* Build whatever we can from source
* Import vintf compatibility_matrix and manifest
* Import stock vendor props

Change-Id: I905b2b6c388f6b76844e7cea2def70d10e164dab
2021-01-08 14:31:38 +01:00
LuK1337
bd522502d1 sm8250-common: Disable qti-telephony-common injection for time being …
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-01-03 12:48:22 +01:00
LuK1337
3cf4ec1db4 sm8250-common: Relocate aptX blobs to system_ext
Change-Id: Id8de7887096d9532cfdbdddfdac9487604108481
2020-12-11 14:23:08 +01:00
LuK1337
82a8a601c4 sm8250-common: Add local OpFeatures implementation and unpin affected blobs
Change-Id: Ibb1d890a96683e005520da977f2433f8094b0644
2020-11-23 15:10:40 +01:00
LuK1337
5d377ba4d6 sm8250-common: Update blobs from OOS11 2020-11-23 15:10:40 +01:00
LuK1337
a3a556caeb sm8250-common: Update blobs from 10.5.12
Extracted from OnePlus8ProOxygen_15.E.21_OTA_021_all_2008080100_c953.zip
2020-08-15 15:03:38 +02:00
LuK1337
f03b5d364a sm8250-common: livedisplay: Say hello to PictureAdjustment ^.^ 2020-06-27 00:17:27 +02:00
LuK1337
17aa9e3b15 sm8250-common: Bring back prebuilt NxpNfcNci 2020-06-27 00:17:13 +02:00
LuK1337
07ff3e7daa sm8250-common: Bring up blobs 2020-06-27 00:17:13 +02:00
LuK1337
7c48438172 sdm845-common: Replace libplatformconfig blob with a dummy module
Change-Id: Icf6442c4e3a0efcaa6b76f293826febcb5f7926f
2020-05-14 13:02:45 +02:00
Bruno Martins
e4a9612cf0 sdm845-common: Specify the source of blobs
Change-Id: I38bd7d529f8ac47f108b111f7dbec07141839cd7
2020-05-08 20:53:40 +02:00
LuK1337
019a124953 sdm845-common: Add missing aptX blob source header
Change-Id: Ifbbed2b7333cc906a64f8cd755dec9f9dc83e705
2020-04-19 22:49:23 +02:00
LuK1337
98fbd09d7d sdm845-common: Relocate dashd to /system/bin
Change-Id: Ief585959ebef9461bd62b26039997ae3c438c1d5
2020-04-03 00:38:29 +02:00
LuK1337
d37ea76298 sdm845-common: Drop prebuilt boot-WfdCommon.oat
* No longer needed.

Change-Id: I3fa2a8fde9b73efbd1a9f0dedc66f182c23d8f5f
2020-02-01 17:03:23 +01:00
LuK1337
c97bde19b3 sdm845-common: Update qti-telephony-common from DRG
* Funfact: the blob has been modified to not alter
  settings_network_and_internet_v2.

Change-Id: I2f7bbc5b1c028afca35c81b8d631c96417e3ecf9
2019-12-20 16:05:35 +01:00
LuK1337
cd87985dca sdm845-common: Update aptX blobs from crosshatch
* from crosshatch-user 10 QP1A.190711.020 5800535 release-keys

Change-Id: I8b2529297b9df383145779e9a3e2fe7b632b4782
2019-12-20 16:05:35 +01:00