62 Commits

Author SHA1 Message Date
intelgigabyte
c5f7954ee9 Drop Samsung DAP and Add Motorola Dolby 2025-07-27 06:21:29 +07:00
Aayush Gupta
407f21e505 a71-common: Drop non-required configstore@1.1.policy
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I8aa21949a17e6527b19984371bc438324e758ae3
2025-04-29 00:31:21 +02:00
Haky86
0becb0495f a71-common: Patch call state again
* Fixes 2nd sim incall.
* The sha1sum matches with the proprietary-files.txt.

Change-Id: Id0a70a8220ab095b0161a25ca43281d78c5aa3f9
2025-03-31 21:24:49 +02:00
Haky86
d33a8b3047 a71-common: Restore RIL stack from stock
* Pin only needed libs, otherwise it will cause "unknown baseband" with the previous fix.

Change-Id: I725ddc57c42986c5ad9e3f577915f44d4a5e7f76
2025-03-31 02:56:43 +02:00
Haky86
fc1be02248 a71-common: Kang RIL stack from a23xq
* Pull RIL blobs from 14 UP1A.231005.007 A236BXXS9EYA1.
* Fixes RIL again on 15 QPR2.

Change-Id: I53f3263f02cfde586377b7d35fde8c43d3a393e9
2025-03-28 18:06:51 +01:00
Michael Bestas
432e06bcde a71-common: Remove OMX audio codecs
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I940be6716b603e848c44839bb87ad690eb55e86f
2025-01-24 17:38:09 +01:00
Bruno Martins
5d8dd3fe3a a71-common: Drop unused Adreno firmware
Change-Id: I8b5b312bf62814480081350aab84f5ed313a1200
2025-01-05 00:18:16 +01:00
Haky86
74adaf1fb6 a71-common: Drop unneeded audioflacapp
Change-Id: I0d0b0900a7ba19cec9fb5231cac8cae3fea8cd37
2025-01-05 00:17:59 +01:00
Bruno Martins
4227319339 a71-common: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2025-01-04 23:48:37 +01:00
Albert Tang
6aa0728d39 a71-common: Import missing CACertService.apk
This should end the logcat spam of cacert HAL not starting.

Change-Id: I799ba9ac1214405be696ebdfbf1c12ccd8d81dac
2024-11-27 15:28:47 +01:00
LuK1337
5aecc297a5 a71-common: Reapply blob patches with PatchELF 0.18.0
Change-Id: I0b303f698095ba0bee2ff40e41e0c964bd0a3f4e
2024-11-27 13:39:37 +01:00
Haky86
78c08778c1 a71-common: Import device specific camera components blobs
* These blobs are not compatible with Galaxy M51, use proper libs to fix camera on that phone.

Change-Id: Icd177c51769d0a196949656a7b6b4e5acbb70be5
2024-11-09 20:04:44 +01:00
Haky86
064fdab4a4 a71-common: Also patch 64 bit version of libsensorlistener
* It prevents errors (missing symbols) like on the 408071.

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Haky86 <hakamelassouad@gmail.com>
Change-Id: Ia8347adf9160f12450a01742dcd10f298b228b7d
2024-11-09 19:50:34 +01:00
Haky86
56b3b4e2f6 a71-common: Set DISABLE_CHECKELF to libsensorlistener
* It happens after removing check_elf=True from extract-files.py.
* Fixes:
error: Unresolved symbol: ALooper_forCamera
error: Unresolved symbol: ALooper_pollOnce_camera
error: Unresolved symbol: ALooper_release_forCamera

Change-Id: I4bfd7db51fb804e303dbbcb547f0bebbe638b6e4
2024-11-07 17:58:16 +01:00
Michael Bestas
c1db66477a a71-common: Regenerate with python extract-utils
Change-Id: I5740f4c8d359831b4cb794912c5d650f55c33f17
2024-11-06 20:47:49 +01:00
Haky86
a4dec774a6 a71-common: Pin libskeymaster4device lib
* Happens after the following reference: I5740f4c8d359831b4cb794912c5d650f55c33f17
* Fixes:
hardware/samsung/hidl/keymaster/Android.mk: error: "android.hardware.keymaster@4.0-service.samsung (EXECUTABLES andr
oid-arm64) missing libskeymaster4device (SHARED_LIBRARIES android-arm64)"
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real prob
lems until later in the build.

Change-Id: Ica7b238060999aadb77c03fd89b67e31b16a77a6
2024-11-06 19:02:06 +01:00
LuK1337
1b72c69db9 a71-common: Switch to py extract utils
* [Haky86]: Also add missing shared libraries.

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Haky86 <hakamelassouad@gmail.com>

Change-Id: I10a2bc3472ff3294823a4565f80b558c6c14d9ec
2024-11-04 17:57:49 +01:00
Haky86
343bd01b8b a71-common: Drop vendor.qti.hardware.camera.device libs
* It does not affect on camera since we use hw/samsung aidl.
* Reduce the "warning: overriding commands for target".

Change-Id: I17aade10b06cd2be6d44ca6170dcb097e0064c29
2024-11-02 19:05:25 +01:00
Haky86
d5f44426ef a71-common: Switch to OSS librmnetctl
* Stock one caused Dialer crash when a user start a regular call, switching to OSS one has fixed the issue.
* We already build from vendor/qcom/opensource/dataservices/.

Change-Id: I97c799fc581ecb383874f47f4c7b74d0e83dd27e
2024-11-02 18:08:00 +01:00
Haky86
9a84d96023 a71-common: Switch blobs to generic Italy (ITV)
* Also move some configs into vendor repo.
* The previous list was based on Italy (TIM) fw.

Change-Id: I2827b06e8ed80289b16fd8559a3d4032a2ae75bc
2024-11-01 23:50:46 +01:00
Bruno Martins
76a839c685 a71-common: Add "system/" prefix to system blobs path
Change-Id: Id94956fbfd9695f398fd0580548aa17e9d0d126b
2024-11-01 20:07:28 +01:00
Haky86
1a0c9ca19e a71-common: Refactor the proprietary-files.txt list
* Re-add camera blobs, no reasons to keep 'em in device-specific trees.
* Update libsensorlistener pins.
2024-11-01 19:53:40 +01:00
Michael Bestas
73d84113ee a71-common: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2024-11-01 12:34:01 +01:00
Bruno Martins
b224134104 a71-common: Switch to health AIDL HAL
Change-Id: I0600fbe80dbd538dfe2aef0538b68e4e399c915e
2024-10-01 03:19:36 +02:00
Bruno Martins
3a32823483 a71-common: Let primary audio HAL be loaded automatically
No need to set ro.hardware.audio.primary if lib suffix matches
ro.hardware. Also make use of the recently introduced FIX_SONAME arg
and avoid patching it explicitly.

Change-Id: Idf1fde97d7714b4ce7d62e10d3ab87a7cd794f90
2024-10-01 03:13:45 +02:00
Aaron Kling
f0036ba9f8 a71-common: Rename primary a-HAL to avoid conflict with source built
Change-Id: Id1123568e0e29d455d53fc923a71cad9adbb9f78
2024-10-01 03:12:15 +02:00
Andreas Schneider
141893dc0b a71-common: Replace prebuilt libsensorndkbridge with a shim
Change-Id: Id94ed43336e84934f42f56c58e506b50af3c59fd
2024-10-01 03:08:15 +02:00
Michael Bestas
109d28d130 a71-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-10-01 02:42:27 +02:00
Haky86
455d04df51 a71-common: Import additional blobs to pass ELF checks
Change-Id: I90f13604d6fe694c38e049b9a157b7c08502eed2
2024-10-01 02:39:06 +02:00
Haky86
ba0c86aec9 a71-common: Regen blobs from A715FXXSBDXB1
* Also update sha1sum of some pinned libs.

Change-Id: I86c7577eed49a798d60afcf431796d39595b1f07
2024-10-01 02:05:58 +02:00
Bruno Martins
68a24ebcdc a71-common: Setup ELF checks
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I09130799d80e7abb8b694f5b8fe7266a5ea74fb4
2024-10-01 01:59:19 +02:00
Bruno Martins
8b9a6fa8c4 a71-common: Resolve missing crypto symbols
Change-Id: I8c3efa2123155898d63644d82baabbd0f767b350
2024-10-01 01:56:26 +02:00
Simon1511
22116a08f6 a71-common: Switch to U RIL
- Pull RIL and QMI blobs from A715FXXSBDXB1 (T)
- Build sehradiomanager for working signal strength
- Update SMSC and slotID patches accordingly
- Build vendor.samsung.hardware.radio@2.[0,1,2] from source

Change-Id: I70aa5123c459aa6241559bd80d55f83a08a2d15b
2024-07-31 14:52:34 +02:00
Bruno Martins
bf2a70574c a71-common: Declare EGL libs as symlinks during extraction
Change-Id: I7c8d1c62b3f65ec6af71d45868de2a4d72f94fff
2024-07-31 14:18:25 +02:00
ata-kaner
34d27b8327 a71-common: Drop samsung media.c2 service
QPR3 managed to break its dependencies.

Change-Id: I8eb1b1c9b749605a1cf78220454f546e4a1c9230
2024-07-31 14:12:21 +02:00
Simon1511
288a64ea56 a71-common: libsec-ril: Always return an empty value for GET_SMSC_ADDRESS
* Make parameter of type RilData (second last one) passed to SecRil::RequestComplete()
  in OnGetSmscAddressDone() be NULL, so that the framework passes an empty value when sending SMS
* Before U this value was not being used, on U the value returned is "SMSC",format_specifier
  which is considered invalid when passed back to RIL for sending SMS, however when an empty value
  is passed RIL will select the default SMSC, like it did on T and sending SMS works again.

Co-authored-by: Tim Zimmermann <tim@linux4.de>
Change-Id: Ib78b069fcc805a8a58252328c0d2c0417b764688
2024-07-31 13:58:36 +02:00
Haky86
98ed10ad49 a71-common: Get rid of Samsung manifest
* Generated by AOSP build system.

Change-Id: Ib15dfebae3ede815060eeb57ee1020a107367e4e
2024-07-31 13:55:48 +02:00
Bruno Martins
5d7c3f807e a71-common: Also patch gatekeeper HAL to load libcrypto-v33.so
* Then again, due to asn1t.h structs changes.

Change-Id: I45617e4c86498a48206863c50c8f0b0473e3da10
2024-07-31 13:54:53 +02:00
LuK1337
1fc8cf76e8 a71-common: Shim Samsung keymaster HAL impl with libcrypto-v33.so
* Current asn1t.h structs aren't binary compatible with our keymaster.

Change-Id: I7868acb5820a70f0813534f02a78728f4e3c2449
2024-07-31 13:53:47 +02:00
Haky86
b0a22faa9e a71-common: Decommonize device specific libs
Change-Id: I62167a7418560332154fa4eec680a836a2ae8fac
2024-07-30 01:26:21 +02:00
Haky86
accc767662 a71-common: Decommonize NFC libs
* Galaxy M51 use different impl.

Change-Id: Icdf4ea81f82bcf5440e8fe1b9d4b4c5c3d4a4f4a
2024-07-30 00:46:52 +02:00
Simon1511
b323905596 a71-common: Decommonize fingerprint libs
Change-Id: I970db34a7d18611f2a2cb41d383da5fde663e44a
2024-07-30 00:44:55 +02:00
Tim Zimmermann
5a8503eb2f a71-common: Pin QMI and RIL blobs from Android R
Change-Id: I8e1750378984322bdd7996098ba4aa6300eb5e13
2024-07-29 21:55:38 +02:00
Haky86
50bea06b2b a71-common: Pin vendor.qti.media.c2@1.0-service from Android R
* It breaks audio if these libs are not present.

Change-Id: Iefcfd2b50ea8dccfcce575aa09d3c0f038e6ff98
2024-07-29 13:45:15 +02:00
Haky86
7ba0b0454d a71-common: Update to A715FXXSBDXB1
* Taken from a71naxx-user 13 TP1A.220624.014 A715FXXSBDXB1 release-keys.

Change-Id: Ic70ba37b99bc3972027aead679416d067ccded2e
2024-07-29 13:40:10 +02:00
Haky86
50245b35b4 a71-common: Update to A715FXXU8CVI3
* RIL is working but we need to pin some libs for signal strength.
* Taken from a71naxx-user 12 SP1A.210812.016 A715FXXU8CVI3 release-keys.

Change-Id: I90879c01e2499b264ca659785e1a420b16570e8d
2024-07-29 13:35:40 +02:00
LuK1337
12789e1862 a71-common: Kill miscpower HAL
* On stock ROM it was used to disable touchscreen input when needed,
but on Lineage we are doing this in kernel.

Change-Id: I1d66f9620bb31c697988c244ec7c6b7f16fe3afc
2024-07-29 13:29:28 +02:00
Bruno Martins
47123630b7 a71-common: Drop TARGET_ENABLE_MEDIADRM_64 flag
* This is not needed, since Widevine DRM and Clearkey DRM services are available.

Change-Id: Iea9eb845895ee4aee072df2112e9c681d3f31337
2024-07-29 13:28:08 +02:00
Wei Wang
6ef1cc2442 a71-common: Remove QTI perfd
Bug: 69270928
Test: Build and boot device and test camera
Change-Id: Ie7002b034113385de2bf4c349dfb3e39b4b74375
2024-07-29 13:14:32 +02:00
LuK1337
721f620cb1 a71-common: Shim Samsung health HAL impl with libutils-v30.so
Change-Id: Ia06d5e527e5ae29b1919d33d1a8d0fdcd14a86a4
2024-07-29 13:10:42 +02:00