Commit graph

299 commits

Author SHA1 Message Date
SebaUbuntu
efab1ce586 sm8450-common: overlay: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2024-03-19 23:22:37 +01:00
Santiago Seifert
ef8b610fc8 sm8450-common: overlay: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2024-03-19 23:22:37 +01:00
Nicolas Geoffray
f255e55127 sm8450-common: overlay: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2024-03-19 23:22:37 +01:00
Kevin Jeon
2fc31b90ec sm8450-common: overlay: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2024-03-19 23:22:37 +01:00
Arian
e2d0eff5b4 sm8450-common: overlay: Set shutdown battery temperature
Change-Id: Ifd89970e9b7c939c2ef59266c212b3d495df9a97
2024-03-19 23:22:37 +01:00
Arian
6053321792 sm8450-common: overlay: Update from unicorn V816.0.3.0.ULECNXM
Change-Id: I5d2462414ffa67b5169154e76b5e8a4ce0d7288c
2024-03-19 23:22:37 +01:00
Arian
3e6614bdad sm8450-common: overlay: Add WifiResTarget_cape
Change-Id: Ia83c6747afb58dd1606d5c441fda20b8994b501f
2024-03-19 23:22:37 +01:00
Arian
6b2c1b3656 sm8450-common: overlay: Import xiaomi wifi changes for taro
Change-Id: I063dc07d6375082919fbe5d334f1b4855da3ceb4
2024-03-19 23:22:37 +01:00
Arian
85d6f16ea9 sm8450-common: overlay: Restrict WifiResTarget to taro
Change-Id: I64b58cb1f726111b09184582fab0e281f83dd6f3
2024-03-19 23:22:37 +01:00
Michael Bestas
341bfeae81 sm8450-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-03-19 23:22:37 +01:00
Jens Reidel
8c6add2160 sm8450-common: Build Lineage PowerShare HAL
Change-Id: I3ea02cd0c6b1a26851f1961768e00e5f3339c4bb
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
dc9bdf5c33 sm8450-common: Decommonize goodix_fod.ko
Change-Id: I443f5e3444c82ec55ab3d0781f7e2534d253f6a6
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
a49e28c03c sm8450-common: Address marble denials
Change-Id: Icb73c862a1da3fa43da1885f7da93f2c71fe9da7
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
e6fb9bb57c sm8450-common: Address marble fingerprint denials
Change-Id: I5b409c7bd3158efb042429432c771e5574b5b8b6
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
6d717119b7 sm8450-common: Allow choosing NFC supported SKUs
Change-Id: Ia14a6c93e6320c8dfa1df2957e19b51a267c2234
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
28fe79f30b sm8450-common: keylayout: Disable single tap on fingerprint sensor
Change-Id: Ib2aecbaf34e69af1c670b64ec22e4966fa69fde3
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
50623401a9 sm8450-common: Import fingerprint sensor keylayouts from marble V14.0.9.0.TMREUXM
Change-Id: I70aaedf6225ac556fee608aa76402c5076cf408e
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
a0e5dbbc8a sm8450-common: hidl: Add fingerprint extension HAL
Change-Id: I478b2995d5960c37176b476451e6476ba684a196
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
f9ec3dca24 sm8450-common: rootdir: Set more fingerprint permissions
Change-Id: I864af77ad6da08d5a8b05d13e638b3039619fc4b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Arian
8185530f07 sm8450-common: Decommonize cit sensors
Change-Id: Ie05151e932c6b99dcb73aa0969119dd84ab27c0a
2024-03-19 23:22:37 +01:00
Arian
9a110f0e9f sm8450-common: Drop goodix_core.ko kernel module
Change-Id: Ia173961285f401417126bd5e8a5f5cc4825aa390
2024-03-19 23:22:37 +01:00
Arian
d16e2b4731 sm8450-common: Patch citsensorservice to work with OSS libdisplayconfig.qti
For some reason xiaomi has duplicated the Init method as ClientImplGet.
(or it gets automatically generated for them due to some other differences?)
However, our OSS libdisplayconfig.qti doesn't provide this symbol, but the
Init method takes the same parameters and seems to be sufficient for
citsensorservice to work.

Change-Id: I26a88eb379b517f147932310de1da51d65a31c6b
2024-03-19 23:22:37 +01:00
Arian
37cc6f3bf4 sm8450-common: Update QtiTelephony and ims from unicorn V816.0.3.0.ULECNXM
Patch to QtiTelephony.apk:
```

Change-Id: I4605252094d9404e1eadbd5f6cdc76a5cae0d1c1
--- a/QtiTelephony/AndroidManifest.xml
+++ b/QtiTelephony/AndroidManifest.xml
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="34" android:compileSdkVersionCodename="14" android:sharedUserId="android.uid.qtiphone" android:singleUser="true" coreApp="true" package="com.qti.phone" platformBuildVersionCode="34" platformBuildVersionName="14">
-    <permission android:name="com.qualcomm.qti.permission.USE_EXT_TELEPHONY_SERVICE" android:protectionLevel="signatureOrSystem"/>
     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
     <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
     <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
@@ -18,7 +17,7 @@
                 <action android:name="android.intent.action.LOCKED_BOOT_COMPLETED"/>
             </intent-filter>
         </receiver>
-        <service android:exported="true" android:name="com.qti.phone.ExtTelephonyService" android:permission="com.qualcomm.qti.permission.USE_EXT_TELEPHONY_SERVICE"/>
+        <service android:exported="true" android:name="com.qti.phone.ExtTelephonyService"/>
         <service android:exported="false" android:name="com.qti.phone.powerupoptimization.PowerUpOptimizationService"/>
         <service android:exported="false" android:name="com.qti.phone.primarycard.PrimaryCardService"/>
         <activity android:excludeFromRecents="true" android:label="@string/primary_card_selection_dialog_title" android:launchMode="singleTop" android:name="com.qti.phone.primarycard.PrimaryCardSelectionActivity"/>
```

Patch to ims.apk: fb3cbfb458

Change-Id: I8d789ea9f001527409ff03343ee618c1eb805e6c
2024-03-19 23:22:37 +01:00
Arian
3959dbf2b5 sm8450-common: Unpin display blobs
Change-Id: I555279d601afa0c1987056e1016bd84df9d64852
2024-03-19 23:22:37 +01:00
Arian
2080c6119f sm8450-common: Decommonize libQnnHtpAltPrepV69Stub.so
Change-Id: Ia004d75b9dd87e43fa275675f6cf3c021dcc8445
2024-03-19 23:22:37 +01:00
Arian
5334ed1536 sm8450-common: gps: Reorder initialization lists again
As a followup of Id24cbb7277dc8d6c02767f8f365818ab6c017683
after the latest CLO updates

Change-Id: I9a95233f7cd9f7da7d88019bf9ba77f58f188900
2024-03-19 23:22:37 +01:00
Arian
f518e7ef8f sm8450-common: gps: Update to LA.VENDOR.1.0.r1-21900-WAIPIO.0
Change-Id: Ib431364a902ecd9b068e672978f5e24ecbf42160
2024-03-19 23:22:37 +01:00
Pavan Kumar M
36c55874bb sm8450-common: vintf: update IImsFactory HAL
add entry for vendor.qti.ims.factory@2.2

Change-Id: Icf09c3606c782445809c3602d1379eb021f51ce3
2024-03-19 23:22:37 +01:00
Arian
3ce1e37a01 sm8450-common: Update blobs from unicorn V816.0.3.0.ULECNXM
Change-Id: I450a8b6079fd8ec454de573e0c00145884e9d0d4
2024-03-19 23:22:37 +01:00
Luofan Chen
3e2b958b27 sm8450-common: gpt-utils: Check ufs device first before checking partition names
Change-Id: I51663ff8e074681191ac708fcd7b4d28e890deaf
2024-03-19 23:22:37 +01:00
Tao Bao
fefc40993e sm8450-common: gpt-utils: Address the warnings
[ 11% 2/18] target  C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
 ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
    struct stat ufs_dir_stat;
                ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
        int r, fd;
            ^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
        int r, fd;
               ^
4 warnings generated.

Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2024-03-19 23:22:37 +01:00
Jens Reidel
c6f0e6bd0b sm8450-common: Stop building cameralog.ko
Change-Id: I46b7b131c40e31235e0879bea5d41e6a514924fc
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Jens Reidel
e2499f7089 sm8450-common: Fix qcacld-3.0 module path
This was a symlink to "." and removed in newer qcacld-3.0 versions.

Change-Id: I30bcdc56af59248b1fdc9f0f680c4c9f56e3d99b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:37 +01:00
Gabriel Biren
660f174f7f sm8450-common: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2024-03-19 23:22:37 +01:00
LuK1337
9b960824ef sm8450-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2024-03-19 23:22:37 +01:00
Arian
9cc7db057e sm8450-common: Build 1.4 drm interface to vendor
Change-Id: I7f66c8543f2c44aab3022f1cab13842e2aa5ad95
2024-03-19 23:22:37 +01:00
Arian
0b604f6c86 sm8450-common: Disable telephony injection for now
Change-Id: I1ddb81f4edbdb9ee1f769d4c10c321997696611c
2024-03-19 23:22:37 +01:00
Arian
3366f4a16a sm8450-common: Add security.rkp-V3 dependency to keymint service
The symbol _ZN4aidl7android8hardware8security7keymint29IRemotelyProvisionedComponent10descriptorE
was moved from android.hardware.security.keymint-V2-ndk to android.hardware.security.rkp-V3-ndk.

Change-Id: I7f3c40e3e8a2a848cdcb73e5232952f63681aa58
2024-03-19 23:22:37 +01:00
Bruno Martins
cc77d18b06 sm8450-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-19 23:22:37 +01:00
Bruno Martins
bbce01c4e5 sm8450-common: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-03-19 23:22:37 +01:00
Michael Bestas
287048e0e8 sm8450-common: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2024-03-19 23:22:37 +01:00
Michael Bestas
9dc0c1f103 sm8450-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-03-19 23:22:37 +01:00
EcrosoftXiao
bc979cb043 sm8450-common: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com>
2024-03-19 23:22:37 +01:00
Alessio Balsini
7a9ef94f78 sm8450-common: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-03-19 23:22:37 +01:00
Rick Yiu
817ee62047 sm8450-common: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2024-03-19 23:22:37 +01:00
Bruno Martins
2d6f07b00c sm8450-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-03-19 23:22:37 +01:00
Bruno Martins
b07068f0f8 sm8450-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-03-19 23:22:37 +01:00
Krzysztof Kosiński
c429f740e2 sm8450-common: Add prebuilt protobuf 3.9.1 to vendor partition.
Needed to work around a Qualcomm HAL prebuilt.

Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
2024-03-19 23:22:37 +01:00
me-cafebabe
6bfd2920cd sm8450-common: gps: Fix compilation on U
Change-Id: I7ca7e78addd6385289b8449edae8b682839ecc91
2024-03-19 23:22:37 +01:00
Arian
f7693955d8 sm8450-common: Reserve some space on system partitions
Change-Id: Ifa2c030cdeb1d731b114a93fefac20f8bf158048
2024-03-19 23:22:37 +01:00