Commit Graph

312 Commits

Author SHA1 Message Date
Rodney Etienne
fca082d6cb sdm710-common: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.
2024-07-01 16:03:03 -04:00
Rodney Etienne
b866caa030 sdm710-common: Enforce vintf kernel requirements
The build system enables this for shipping API level >=29
but we also want it to pass the vintf runtime checks.
2024-07-01 16:01:48 -04:00
Rodney Etienne
4a7fc9dba5 sdm710-common: Use the common device compatibility matrix from QCOM 2024-07-01 16:00:27 -04:00
Rodney Etienne
64a82448c3 sdm710-common: Remove optional="true" hidl(s) from compatibility matrix
- vendor.qti.hardware.wifi.keystore is no longer used:
* We build full Wi-Fi HAL from (AOSP) source.

- vendor.qti.hardware.sigma_miracast is no longer used:
* (It seems) Wi-Fi Display doesn't need this to be working.
2024-07-01 15:58:01 -04:00
Rodney Etienne
7463746653 sdm710-common: parts: Convert to SwitchPreferenceCompat 2024-07-01 15:56:01 -04:00
Rodney Etienne
7d5d880d29 sdm710-common: Update WFD system stack from OOS 14.0.0.81(EX01) 2024-07-01 15:52:41 -04:00
Rodney Etienne
52b6aa88ed sdm710-common: Add missing permissions for WFD
Fix missing WFD permissions file after the WFD update introduced by
commit 1b61c7b ("sdm710-common: Update WFD system stack from T
blobs").

Fixes: 1b61c7b ("sdm710-common: Update WFD system stack from T blobs")
2024-07-01 15:47:02 -04:00
Rodney Etienne
e74d5980f3 sdm710-common: Remove doze ovelay that's not needed anymore. 2024-06-20 19:05:59 -04:00
Rodney Etienne
a67df7fa2c sdm710-common: correct overlay path && update Aux Cameras ID 2024-06-08 15:44:32 -04:00
Sebastiano Barezzi
45c664d099 sdm710-common: sepolicy: Rework and cleanup
Change-Id: I12c97fe8f543b6c466cd6fc38479582ddca37156
2024-06-05 21:20:33 -04:00
Rodney Etienne
14c7370215 sdm710-common: overlay: Update CarrierConfig from phone1
* From Nothing OS 2.0.4
2024-06-05 20:26:03 -04:00
Rodney Etienne
65cae7c383 sdm710-common:overlay: Enable call recording 2024-06-05 20:23:49 -04:00
Rodney Etienne
eb0f84f837 sdm710-common: overlay: Enable volume steps settings 2024-06-05 18:48:16 -04:00
Rodney Etienne
160d3be13f sdm710-common: overlay: Enable double tap to ambient 2024-06-05 18:46:59 -04:00
Rodney Etienne
6b33663708 sdm710-common: overlay: Hide vendor security patch level 2024-06-05 06:29:31 -04:00
Sebastiano Barezzi
509c0d5dde sdm710-common: Revert "Fix charger init trigger event after health AIDL move"
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099

This reverts commit 555d5baf6b.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-06-04 20:00:37 -04:00
Rodney Etienne
41dd79a101 sdm710-common: props: 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.
2024-06-04 14:23:59 -04:00
Georg Veichtlbauer
ac7cf04563 sdm710-common: powerhint: Add DT2W
Change-Id: I7d0dfe249798864a39afd4f339b692584faaf3ec
2024-05-30 14:31:09 -04:00
Bruno Martins
96c588eb97 sdm710-common: Use common libqti-perfd-client and power-libperfmgr
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-05-30 14:26:27 -04:00
Rodney Etienne
d77c5c1f85 sdm710-common: Address some denials 2024-05-30 13:04:26 -04:00
Rodney Etienne
ee740f2ae2 sdm710-common: Initialize for Evolution X 9.x 2024-05-16 20:57:15 -04:00
RODNEY ETIENNE
47a3ddff77 sdm710-common: Initialize for Evolution X 9.x 2024-05-09 16:28:56 -04:00
RODNEY ETIENNE
f133b074d4 sdm710-common: Bring up for Evo X A14 2024-04-21 18:39:54 -04:00
Michael Bestas
89c02a5a8e sdm710-common: Switch to android.hardware.usb@1.3-service.dual_role_usb
Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
2024-03-26 01:42:03 +08:00
basamaryan
4ea6f9e130 sdm710-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-03-21 15:05:43 +01:00
Cole Faust
c17b40e44d sdm710-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-21 15:04:05 +01:00
Chaohui Wang
df0d9492d0 sdm710-common: parts: Migrate to CompoundButton.OnCheckedChangeListener
Switch and SwitchCompat are both CompoundButton.

Using CompoundButton in Java will helps migration in the future.

Bug: 306658427 | AOSP
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
2024-03-21 14:58:20 +01:00
Peter Kalauskas
566afeb027 sdm710-common: parts: Enable use_resource_processor for all sysui deps
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
2024-03-21 14:51:15 +01:00
Ivan Vecera
b5ef26cdd1 sdm710-common: Restore reserved sizes for treble partitions
Commit 73fdae1 ("sdm710-common: Inherit common partition reserved sizes")
commonized partition reserved sizes but this is valid only for SSI partitions because
vendor/lineage/config/BoardConfigReservedSize.mk does not define partition
reservations for treble partitions. Partially revert the mentioned commit to restore
reservations for vendor and odm partitions.

Change-Id: I28855102cf9f0f35be8438a7a0b9c05870b3b554
2024-03-04 17:44:12 +00:00
Ivan Vecera
1c403cd1fc sdm710-common: Build audio extensions from source
Pyxis and vela is switching to OSS audio HAL and stops shipping prebuilt
audio extensions. Build them from source.

Change-Id: I060f9355d2ef4f85e30bc04886f7565c7577bc6c
2024-03-04 15:28:45 +01:00
Ivan Vecera
490f44d566 sdm710-common: Add audio amplifier HAL for TAS2562
Add audio amplifier HAL for TAS2562 codec used by pyxis and vela.
Implementation is based on reversely-engineered stock audio HAL.

Change-Id: I6d7daa636b632c8a12af09b09cece78042449353
2024-03-03 20:41:20 +01:00
Yumi Yukimura
154d9e0cf1 sdm710-common: Build QTI Thermal 2.0 HAL
Change-Id: Iae471a16a0284cd24a598bac1a3ea0736faceb9f
2024-02-14 02:27:36 +08:00
Yumi Yukimura
9aea8a21dc sdm710-common: proprietary-files: Drop QCV scripts
* The shell script is not labeled, so it won't execute at all
* Even if the shell script executes, in our case it'll only just
  try to set the property `ro.vendor.qti.soc_id`, the property is
  neither labeled and doesn't seem to be referenced by any blobs
* The init script only does executing the shell script and set
  `ro.boot.product.vendor.sku` property using value from
  `ro.vendor.qti.soc_name` property
  (which should be set by the shell script, but it doesn't)

[    3.481972] audit: type=1400 audit(49169905.329:9): avc:  denied  { execute } for  pid=667 comm="init" name="init.qti.qcv.sh" dev="dm-1" ino=153 scontext=u:r:init:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0

Change-Id: Ib7139011e083668eddac6ede46534320cfaa430a
2024-02-13 19:58:44 +08:00
me-cafebabe
d4a13a2539 sdm710-common: proprietary-files: Organize QDMA blobs
Change-Id: I0fe8e369f873f5dcfb4cd6fba1db13b263d8851a
2024-02-13 19:58:44 +08:00
me-cafebabe
01639ef896 sdm710-common: Import full CACert stack
* Used by xtra-daemon
* Nothing uses 32-bit libjnihelper.so which belongs to CACert stack, remove it
* Fix the denials while we're at it

Test:
1. Download and open "GPS Test" app
2. Perform Menu > AGPS > Clear and update
3. Confirm there's no error about getting cacert service on logcat

Change-Id: Iace09f6d7a05e0a2ae8ef8048a19a391f537237e
2024-02-13 19:58:42 +08:00
Georg Veichtlbauer
8214e36071 sdm710-common: Remove aptX(HD) encoder shared libs
Encoder shared libraries are no longer required as of Android 13 QPR2.

Change-Id: I893a9000070cb2582ada0af91547f5176e6fea84
2024-02-12 14:44:19 +01:00
Ivan Vecera
07f70809a9 sdm710-common: Build libprotobuf-cpp 3.9.1
Build libprotobuf-cpp-{full,lite}-3.9.1 vendor libraries that are
required for various blobs.

Change-Id: I3f8fec49db5f78f9325190c54766e3b455d2fe05
2024-02-12 04:54:20 +01:00
Adithya R
45fc3d480a sdm710-common: Switch to full IWLAN mode
[basamaryan: This is needed for Android U to fix RIL]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2024-02-12 04:54:20 +01:00
LuK1337
67461d978b sdm710-common: Use libutils-v33 for pm-service
Change-Id: Ia998fa72d8747de18010abe6491d2c374cb7aa0a
2024-02-12 04:54:20 +01:00
Michael Bestas
73fdae1184 sdm710-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-02-12 03:24:50 +01:00
Charles Chen
24c8930292 sdm710-common: Replace isolated_app with isolated_app_all
Replace certain policies for isolated_app with the newly introduced
isolated_app_all for better scalability.

Bug: 265540209
Test: m
Change-Id: I1b6866d56f15089babe368bb60335c7ed99bdd6b
2024-02-12 03:24:50 +01:00
LuK1337
490da093b7 sdm710-common: Build android.frameworks.sensorservice@1.0.vendor
Required by mm-pp-deps.

Change-Id: Iaf821dcbb07d7820f2fc3ff5ca9cca5e973360f2
2024-02-12 03:24:50 +01:00
Suren Baghdasaryan
9e28adca53 sdm710-common: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
2024-02-12 03:24:50 +01:00
Bruno Martins
ce24d5e888 sdm710-common: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2024-02-12 03:24:50 +01:00
LuK1337
92b9d8772d sdm710-common: Update libstdc++.vendor target name
Change-Id: I9fb48d50df7b8b74d19bfb05b3d9c2ca169bf3e2
2024-02-12 03:24:50 +01:00
Gabriel Biren
955f999d3c sdm710-common: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2024-02-12 03:24:50 +01:00
Bruno Martins
85d4d57770 sdm710-common: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2024-02-12 03:24:50 +01:00
Sebastiano Barezzi
823dc30423 sdm710-common: init: Fix "/sys/ lines must have 5 or 6 entries"
Change-Id: I088154491c303febb0101af9029180c128336e57
2024-02-12 03:16:50 +01:00
Alexander Koskovich
669df08329 sdm710-common: init: Fix "Invalid section keyword found" on ueventd
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
2024-02-12 03:12:21 +01:00
Elliott Hughes
b359bb7811 sdm710-common: ueventd: Fix EntropyMixer.
/dev/hw_random should be readable by system_server for EntropyMixer to
be able to use it.

Bug: http://b/179086242
Test: adb shell logcat | grep Entropy
Test:
android.permission.cts.FileSystemPermissionTest#testDevHwRandomLockedDown
Change-Id: I7dd7faf300f5ce3cab8d02c69be7915238cf61da

Change-Id: Ic07c71794689ee19acd6371cabd62fb7c36b0f05
2024-02-12 02:55:59 +01:00