Commit Graph

1255 Commits

Author SHA1 Message Date
danielml
b1e890a14c sm8350-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-09-29 05:43:16 +08:00
Michael Bestas
bd2715b97b sm8350-common: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-09-29 05:43:16 +08:00
Michael Bestas
ea76fc4476 sm8350-common: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2024-09-29 05:43:16 +08:00
Aaron Kling
fffbda7ca3 sm8350-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-29 05:43:16 +08:00
AdarshGrewal
94686364bb sm8350-common: Update blobs from haydn V816.0.6.0.UKKMIXM
Change-Id: I0a3666c7354a45e570654cb2253a070c9e7596a6
2024-09-29 05:42:27 +08:00
Manish Kushwaha
0b7eed4b7d sm8350-common: Migrate sensor HAL to AIDL interface
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2024-09-28 15:53:14 +00:00
Sebastiano Barezzi
6ec43311ae sm8350-common: Partially revert "Move to QTI health AIDL service"
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This partially reverts commit 4aca996701.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2024-09-13 20:41:07 +05:30
Sebastiano Barezzi
4e4a00634b sm8350-common: Drop SDM LiveDisplay service
* We switched to AOSP colors so messing with color calibration will
  confuse QDCM

Change-Id: Ia22c4c06e922d1b7f9c60b257299634333cc3fe4
2024-09-06 13:37:18 +00:00
Michael Bestas
33ad994764 sm8350-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-01 16:49:04 +02:00
Sebastiano Barezzi
3969a26b43 sm8350-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-09-01 16:49:04 +02:00
FlowerSea0208
0ced5f6337 sm8350-common: Switch to common lineage Powershare hal
Change-Id: Iadddff9dbe9cf86e8510ddae165ddb04bcabe01d
2024-09-01 13:51:08 +00:00
Bruno Martins
6cffdc06c9 sm8350-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-09-01 12:23:19 +02:00
Bruno Martins
e26c0df9a9 sm8350-common: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-09-01 12:23:14 +02:00
Bruno Martins
93dc474cbe sm8350-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-09-01 12:22:55 +02:00
Giovanni Ricca
8bbef8abc5
sm8350-common: sepolicy: Remove commonized labels
* Required after If62b9db9535355111689cb0c64b093f93d36bc35

Change-Id: Ied07e42479327b2d594370a6537329c20f48e58f
2024-07-16 20:27:25 +02:00
Giovanni Ricca
fb29102341
sm8350-common: Import missing IMS lib
Change-Id: I9c6cd5e9d493fcee5a2b8d6fa3c097f253d46382
2024-06-20 22:20:28 +02:00
Michael Bestas
111a9bbf28
sm8350-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-20 22:20:26 +02:00
Chirayu Desai
9ee014a60e
sm8350-common: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true"
or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports
userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-20 18:16:01 +02:00
Arian
41d4ea3a7c sm8350-common: Update blobs from V816.0.2.0.UKKMIXM
Change-Id: I1bf5bed6b285e61d7cc3f9f16349fdd974061b48
2024-05-20 18:02:56 +02:00
Arian
ccfa3da2c0 sm8350-common: Update radio properties from haydn V816.0.1.0.UKKCNXM
This fixes IMS on yupik and shima :party:

Change-Id: I7334b6cc5eb2a1a6b2c3b2bf8357428082f4721d
2024-05-20 18:02:56 +02:00
Giovanni Ricca
69bfa64a72 sm8350-common: Update blobs to haydn V816.0.1.0.UKKCNXM
Change-Id: I0679f0d96977957c38e55b9998fc059dfd41f07b
2024-05-20 18:02:56 +02:00
basamaryan
ea53efe1f0 sm8350-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-05-20 18:02:56 +02:00
Tomasz Wasilczyk
0c8e060735 sm8350-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-05-20 18:02:56 +02:00
Cole Faust
917686a74b sm8350-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Floral has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-05-20 18:02:56 +02:00
Edwin Moquete
3d7216ac91 sm8350-common: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.

Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
2024-05-20 18:02:56 +02:00
Alexander Winkowski
cac6fa53cf sm8350-common: sepolicy: Remove unused rules
Change-Id: I0e96b7af787b01c4c6e6f7cfc8744a1c34acbc6b
2024-05-20 18:02:56 +02:00
Alexander Winkowski
4726aafd72 sm8350-common: sepolicy: Rework batterysecret rules
Change-Id: I98b231406fa1a2910cbedd133b33554e7d1c9268
2024-05-20 18:02:56 +02:00
Alexander Winkowski
af39848862 sm8350-common: sepolicy: Simplify fingerprint rules
Reuse existing AOSP fingerprint_vendor_data_file label

Change-Id: I8632de158050edf87e1b04ec83f0c8c3a61ff0c0
2024-05-20 18:02:56 +02:00
Michael Bestas
662a3fa088
sm8350-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-04-17 15:46:36 +02:00
Bruno Martins
5abee74873
sm8350-common: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
2024-04-17 15:46:36 +02:00
EcrosoftXiao
d10c89e7a2 sm8350-common: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com>
2024-02-10 11:53:53 +08:00
ralph950412
8465b3f238 sm8350-common: Remove libtinyxml
It's deprecated and not being built.

Change-Id: I4142cb9bed49f87e7250ccaa5f4262254b3f11ff
2024-02-10 11:53:53 +08:00
Alessio Balsini
3f74c415ac sm8350-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-02-10 11:53:53 +08:00
Suren Baghdasaryan
af19263b9c sm8350-common: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2024-02-10 11:53:53 +08:00
Rick Yiu
160297726b sm8350-common: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2024-02-10 11:53:53 +08:00
Michael Bestas
0b6fcd4d62 sm8350-common: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
2024-02-10 11:53:53 +08:00
Bruno Martins
4aca996701 sm8350-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-01-26 15:57:47 +01:00
LuK1337
a7f178aaa3 sm8350-common: Build android.frameworks.sensorservice@1.0.vendor
Required by mm-pp-deps.

Change-Id: Iaf821dcbb07d7820f2fc3ff5ca9cca5e973360f2
2024-01-26 15:57:47 +01:00
LuK1337
f2b025afea sm8350-common: Add vendor.nxp.nxpnfc_aidl.INxpNfc/default
Change-Id: I15696723afdac3074e96271c0be6c7f19bbed232
2024-01-26 15:57:47 +01:00
Bruno Martins
c2e936999b sm8350-common: Build Widevine DRM HAL dependencies
The vendor variants of android.hardware.drm@1.[0-4] are no longer
implicitly built since the migration to AIDL ClearKey DRM HAL.

Change-Id: I79c69e93e27f3c2f4a1c6f7acf5f013ee8f6cd03
2024-01-26 15:57:47 +01:00
Bruno Martins
700c7f34aa sm8350-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-01-26 15:57:47 +01:00
Krzysztof Kosiński
6998158401 sm8350-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-01-26 15:57:47 +01:00
Michael Bestas
d064ac4a31 sm8350-common: Switch to common QTI vibrator HAL
Change-Id: I281c6d993901ad86592d43afcac2171840998738
2024-01-11 15:44:15 +01:00
TheStrechh
dbeb8520f0 sm8350-common: sepolicy: Label more wakeup dirs
Change-Id: I603fbc74059636f86180645cdf8d38274b0af745
2024-01-11 15:44:15 +01:00
TheStrechh
1cd9cedf75 sm8350-common: rootdir: Set up missing fingerprint data dirs
* needed for redwood/taoyao/vili

Change-Id: I2a9312ec07bf227965d3655709459079926ade9d
2024-01-11 15:44:15 +01:00
Carlos Arriaga
65c8b28baa sm8350-common: rootdir: Update dir's for camera
* Needed for redwood/vili/taoyao/zijin

Change-Id: I93f1d7d016a34e70c2772c8bfabb7d4fd0210cc2
2024-01-11 15:44:15 +01:00
TheStrechh
b730d27c62 sm8350-common: vibrator: Add support to awinic_haptic node
Change-Id: Ie9c417de8a03a143b410e83e0caedb3700bcc668
2024-01-11 15:44:15 +01:00
TheStrechh
0b9d19951a sm8350-common: Add redwood support
Change-Id: I1baab3cc53c3f0cb19ae3103d53f5413ba088545
2024-01-11 15:44:11 +01:00
LuK1337
1895fbd451 sm8350-common: sepolicy: Migrate to snxxx NFC AIDL HAL
Change-Id: Ibe4c30bcb5b912109478a548019d19a85d27a4bb
2023-10-29 00:17:40 +08:00
LuK1337
d536e30ca9 sm8350-common: Build AIDL NXP NFC HAL
Change-Id: I6ace3ac149c84d2cb9e2773e7ef5ddbf24c35b92
2023-10-29 00:13:11 +08:00