Commit graph

99 commits

Author SHA1 Message Date
Albert Tang
337b36a0e5 dre: Import c2_manifest_vendor.xml
Hardware accelerated video decoding is not available without this

Change-Id: Ia434f45d03af16669110e8c142df67bcc0f4a051
2023-06-02 10:33:43 -05:00
Albert Tang
8f9be60336 dre: proprietary-files.txt: Drop .lic file
Change-Id: I545ce92a6cad832dff1f5615c0d23b22094384e0
2023-05-30 14:56:11 -05:00
Albert Tang
c1ddc5cef0 dre: Extract missing imsdaemon blob
IMS fails without this

Change-Id: I92ac76b50ffe4c93931208dcb3843f781cb5d3a5
2023-05-22 12:31:49 -05:00
Albert Tang
b71b6fbcfc dre: Update from OOS 11.C.23
Change-Id: Ic9fb9586bd5d8bcc3dd04c11a415066b141bd723
2023-05-05 08:06:16 -05:00
Albert Tang
dec9804d47 dre: Update from OOS 11.C.22
Change-Id: I0fbd8e91fe924d04ed7dcdc0606be54f0d0b7987
2023-04-17 09:34:56 -05:00
Albert Tang
0426db17b2 dre: Update from OOS 11.C.20
Change-Id: I70dd661bc57bdca00c7d8c8fa7eb76ca161cc596
2023-04-13 10:19:50 -05:00
Georg Veichtlbauer
127623e395 dre: Remove aptX(HD) encoder shared libs
Encoder shared libraries are no longer required as of Android 13 QPR2.

Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2023-04-10 20:56:16 -05:00
LuK1337
af5d195b69 dre: Repatch PowerOffAlarm.apk
apktool d PowerOffAlarm.apk
sed -i 's/oplus.permission.OPLUS_COMPONENT_SAFE/org.codeaurora.permission.POWER_OFF_ALARM/g' **/*.*
apktool b PowerOffAlarm
mv PowerOffAlarm/dist/PowerOffAlarm.apk .
rm -rf PowerOffAlarm

Change-Id: Iad10dc6b14cacdf22ab9fb39525c8f1a00548ab0
2023-04-10 20:56:16 -05:00
Albert Tang
e79aee3bbf dre: Import task_profiles.json
Change-Id: I922e83abeb47706303f2b83698ea07c09a65b069
2023-04-10 20:56:16 -05:00
Bruno Martins
29eeb7cafd dre: Switch to AOSP BT stack
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2023-02-10 10:06:43 -06:00
Alexander Koskovich
92081d81fd dre: 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-12-15 18:50:53 -06:00
Albert Tang
4292f08385 dre: nfc: Use modified libnfc-hal-st.conf
Change-Id: I1c30f5d9e5a7212dfcda8cab168fb9d7eaccd1eb
2022-11-06 17:12:05 -06:00
Albert Tang
adaa58d2ca dre: Update from OOS 11.C.16
Change-Id: Iadfe003a3ee0a7303de279debbd1708238877bf1
2022-11-06 17:12:03 -06:00
LuK1337
51d6e79867 dre: Extract hotword apps to correct directory
Fixes device blobs extract.

Change-Id: Ibdff2fcb3e49497733487c58b34404cb62e95280
2022-11-06 17:11:02 -06:00
Michael Bestas
835ab39661 dre: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-10-11 08:31:24 -05:00
Albert Tang
fa0473e516 dre: Move GNSS files back to proprietary-files.txt
They won't be edited, so don't store them locally.

Change-Id: I4fb340553442e1ddaf09c9ea81743c0745999e1a
2022-10-11 08:31:24 -05:00
Alexander Koskovich
edf1762796 dre: Update IMS from SKQ1.220303.001
* Closest QSSI tag is LA.QSSI.12.0.r1-06800-qssi.0.

Change-Id: Ief930b8b8eae1da02cc22185e3709c53ee69ca70
2022-10-11 08:31:23 -05:00
Alexander Koskovich
a8fffbcca3 dre: Update WCNSS configuration from DE2117_11.C.15
* 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 83d0538609.

Change-Id: I9e89def5258f9085e7169a1a6753cbdabd1d548c
2022-10-11 08:31:23 -05:00
Alexander Koskovich
5dc7536c35 dre: Add rest of QTI scripts to proprietary-files
* We won't be touching these.

Change-Id: Iec07925125b8fc27e807dea635ef2b17f5c7898b
2022-10-11 08:31:23 -05:00
Albert Tang
b0d5291408 dre: Update blobs to Android 12 (DE2117_11.C.15)
Change-Id: Ie768fe44ebb2c09218a805de674e45f96ab7d12b
2022-10-11 08:31:07 -05:00
Albert Tang
5bb147a914 dre: Move WCNSS config back to proprietary files
read_mac_addr_from_mac_file has no effect, thus making such modification
unnecessary.

Change-Id: I30120867953fb2c24933837c81d21b1a3d59ebe9
2022-07-18 14:38:43 -05:00
Albert Tang
63af35b020 dre: Build st21nfc from source
Change-Id: I9dfcba67ec51702050a0834375054d0a495c740c
2022-07-18 14:38:43 -05:00
Albert Tang
e9076c14d6 dre: Remove hash for vendor.qti.hardware.camera.postproc impl
Change-Id: Ia004d81a7e99a9c23d763ef89d580e5edae168a0
2022-07-15 17:30:24 -05:00
Albert Tang
8d72ba5ea1 dre: Revert "sm8350-common: Autopatch vendor.qti.hardware.camera.postproc impl"
Not needed, as the method call to be patched out is not present.

This reverts commit c5ef1cac3b.

Change-Id: I28a054b13a2f192e020af14b7885977f786a2fb6
2022-07-04 16:07:54 -05:00
Alexander Koskovich
845d1950c9 dre: Disable QCOM system daemon
* For factory use only and has real performance costs.

Change-Id: I2d25c28c2ba146fa4464cb49f02ead6a6d787b48
2022-06-10 22:30:12 -05:00
Albert Tang
7ef0ff78eb dre: Switch to generic fingerprint HAL
The fingerprint HAL in hardware/oneplus is mainly for devices
with FOD, which the Nord N200 does not support.

ID mismatches will make the generic HAL fail, so hack the goodix
blob to fix it.

Change-Id: I0724569ed1105d8c63075286987ad56ea0ecd078
2022-06-05 18:22:39 -05:00
Albert Tang
8529aecc4f dre: Regenerate proprietary blobs list
Change-Id: Ice6b889a0034f68b69780346a7bb9a3de9602c13
2022-06-01 22:15:56 -05:00
LuK1337
c5ef1cac3b sm8350-common: Autopatch vendor.qti.hardware.camera.postproc impl
Change-Id: If9b730f83853a169066291c6787dd81d5609ac5e
2022-03-29 17:11:26 -05:00
Sebastiano Barezzi
7140bbf985 sm8350-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 "8C 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 20:59:03 +00:00
LuK1337
14438cff60 sm8350-common: Switch to AOSP NfcNci
Change-Id: I3403084373445475ee1d997c47cfaa887bcfeb4a
2022-02-21 20:59:03 +00:00
Bruno Martins
93df8b59fa sm8350-common: Update blobs from OOS 11.2.10.10.LE15BA
Change-Id: I4c445941b991e5f8ebea7d1ea2ff95a3292ce6c3
2021-11-25 15:44:36 +00:00
LuK1337
86105c0544 sm8350-common: Build libssrec from source
Change-Id: Ib5b1d99a0b6980a76d4c83063c7a84a0c090b361
2021-10-28 23:54:36 +02:00
Bruno Martins
df5fdce826 sm8350-common: Update blobs from OOS 11.2.9.9.LE15BA
Change-Id: I57292b93add213a85f3c02dc80708b3a52edf8ee
2021-09-20 18:32:39 +01:00
LuK1337
5737b9b037 sm8350-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:51:48 +02:00
Bruno Martins
43c1a8c24f sm8350-common: Update blobs from OOS 11.2.8.8.LE15BA
Change-Id: I7a773dbab1bfe8cd993380fb88a0b5160066de6d
2021-07-21 13:40:44 +01:00
Omkar Chandorkar
037a835c40 sm8350-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-29 17:11:09 +02:00
Bruno Martins
5de6aea994 sm8350-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2021-06-29 16:52:04 +02:00
Bruno Martins
288cc09811 sm8350-common: Update blobs from OOS 11.2.7.7
Change-Id: Ib219b535964596f699e6fafbffed7f908005afb1
2021-06-23 22:26:43 +01:00
Bruno Martins
e6a911503a sm8350-common: Update blobs from OOS 11.2.6.6
Change-Id: Ie0c233dd4a79a8a32e6e23106eca233f0469cdfa
2021-06-03 21:31:22 +02:00
LuK1337
059459f160 sm8350-common: Remove wlchgd
wlchgd is unused on this platform.

Change-Id: Ifdc76ca918c2e67affa54c3ce61558b65f98558c
2021-06-03 10:47:55 +02:00
Bruno Martins
79d93b6625 sm8350-common: Revise feature permission sets
Change-Id: I79396b6836f4ee45a7019c170ae6f647d06a8569
2021-06-02 00:59:17 +01:00
Bruno Martins
7c0842401b sm8350-common: Populate initial common blobs list
Change-Id: I7c92ac6198463913907d8ee4a0faf998f5573a68
2021-06-01 11:29:04 +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