Commit Graph

98 Commits

Author SHA1 Message Date
Vishalcj17
744525f2b6 avicii: Generate thermal config from OOS.
* Generated using the command
   "adb shell thermal-engine -o > thermal-engine.conf"

 * We don't use thermal daemon from OOS which has these
   changes inline, instead, make CAF thermal-engine happy
   with the config.

Change-Id: I02e45dfbf9880c8e8418c4d8d9b4d827b4d7066d
 thirteen
2023-03-02 00:45:07 +05:30
KakatkarAkshay
8def651d0e avicii: Update blobs from AC2003_11_F.18
* Use prebuilt audio stack for now

Change-Id: I1c82dc15a46cc39e9641c7dc41fe49098c4bc4c7
2023-03-02 00:45:07 +05:30
KakatkarAkshay
dc38411a1e avicii: Switch to PN553 NFC
Change-Id: Ia90aa2163fc69e75b4378936386629ec47456a93
2023-03-02 00:45:07 +05:30
LuK1337
b3996b9e9b sm8250-common: Register wise light as android.sensor.light
Sadly a lot of apps aren't aware of config_displayLightSensorType.

Change-Id: Ib1c2f0ba8305dbfe262722f2a1862dafaac973df
2023-01-21 01:50:46 +01:00
LuK1337
b572742ed2 sm8250-common: Unpin WFD system stack
Change-Id: I2d844412768c0468fe03ae11ea9a181267777acb
2023-01-15 13:22:19 +01:00
Edwin Moquete
d62a96ef8d sm8250-common: Add missing vendor.qti.hardware.btconfigstore@2.0 impl
Change-Id: I93d20f9ab01f330da3060a25a9869d45e0269615
2023-01-13 13:23:26 +02:00
LuK1337
7ef0e52de4 sm8250-common: Update from OOS 11.F.15
Change-Id: If46b0ab89648c902be840b32e7420da68c35ada3
2023-01-09 01:16:03 +01:00
LuK1337
bf4440b788 sm8250-common: Update from OOS 11.F.13
Change-Id: I4abe5d56416fdf5e1a41b62f2217c70ae15d21a7
2022-12-21 22:22:58 +01:00
LuK1337
faeaa51dee sm8250-common: Add stmvl53l1 TOF sensor support
Change-Id: Ic310be7daf4ff3f8700383fd1f8731c6bce62d56
2022-12-21 20:56:07 +01:00
LuK1337
8fa430ac92 sm8250-common: Update from OOS 11.C.36
Change-Id: Ia70263b10d0455e9c74a1481e50f795ddcafcb15
2022-11-26 16:16:43 +01:00
LuK1337
6fa8797615 sm8250-common: Use libcamera_metadata_shim for unlocking cameras
Change-Id: I985c6e317b36d8cdc6b41a9f9f625b293a8987eb
2022-11-25 15:48:13 +01:00
LuK1337
dd44d9bf8a sm8250-common: Update patched PowerOffAlarm.apk sha1sum
Somehow, the old patched PowerOffAlarm.apk got lost, so we have to
re-patch this apk again to not require oplus-specific permissions.
Update the sha1sum hash to match the new patched apk.

Change-Id: Id419245e7943de99d2316060205404b5c706f292
2022-11-10 12:05:48 +00:00
jabashque
af8b4dcede sm8250-common: Don't process display brightness on pxlw disp mode change
In libpwirissoft.so's `pxlw` class, `qcomSetDisplayMode()` ends up
calling `irisSetConfigEx()` with `brightness_level_` as one of the
parameters. `irisSetConfigEx()` ends up passing that `brightness_level_`
param to `processDisplayBrightness()`, which seems to do some sort of
additional dimming of the display output depending on what the current
brightness level is.

On AOSP, it looks like `brightness_level_` doesn't get set properly.
After hwcomposer is initialized for the first time (or terminated and
restarted), if we turn the panel off and back on at least once, and then
try changing display modes, hwcomposer seems to apply a constant dimming
of the display output regardless of the backlight level.

Let's work around that by nop-ing out the `irisSetConfigEx()` call in
`qcomSetDisplayMode()`. That way, `processDisplayBrightness()` won't get
called, and we will not get that dimming.

Change-Id: Ied87b229d596bcc597b9ccb0a47368cbcb97f54b
2022-10-17 18:27:36 +02:00
LuK1337
dc06d08c16 sm8250-common: Unlock more camera capabilities
Even though we now have gc5035 unlocked by default, this patch seems
to still be required to achieve the following:

* enables 48MP RAW10 Capture on third party camera apps
* enables long exposure capture support on all package names
* removes the 1/30s shutter speed cap from the viewfinder on third party
  camera apps
* enables support for the MFNR viewfinder on auxiliary lenses

Change-Id: If321a31aeffe22b471a08a58432096c9653c2f64
2022-10-16 23:39:54 +02:00
LuK1337
82fe945b20 sm8250-common: Update WFD system stack from IN2020 11.F.06
Change-Id: I68b9187bb67275ff759fcfa42c41db9d9d208a17
2022-10-12 09:42:14 +02:00
Alexander Koskovich
310cdffbc9 sm8250-common: Switch to AOSP NXP NFC HAL
Test: Verified NFC turns on, can read tags, and went
      to a Dunkin Donuts and used Google Pay.

Change-Id: I8cd8815ab883d83a5c07c8f01a9bdeff594c470b
2022-09-19 16:27:33 +02:00
Alexander Koskovich
d71fe353e7 sm8250-common: Update device that aptX is pulled from
* Same SHAs, but nice to note that it's the same on
   the newest release available.

Change-Id: I5c862470ac6f54251c8fa61984c734a51d89a750
2022-09-19 16:27:33 +02:00
Bruno Martins
4045d01d6a sm8250-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2022-09-19 16:27:30 +02:00
Alexander Koskovich
49134dd07a sm8250-common: Switch to OSS NQ NFC
* Let's just use the OnePlus 8 Pro EU NFC configurations
   for everyone, they match the OnePlus 8/8T EU configurations
   so it should be fine.

Test: Verified NFC turns on, can read tags, and went
      to a Dunkin Donuts and used Google Pay.

Change-Id: I1478c92dba58209098f4d4ea37fcc2bceb3f4473
2022-08-19 21:59:31 +02:00
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