Commit graph

145 commits

Author SHA1 Message Date
Pig
d803152ec2 sdm710-common: Drop no longer existed BluetoothQti
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2023-06-26 00:20:01 +03:00
Palakurthi Sreekanth
9fdd9304b1 sdm710-common: grant permissions for carrier settings
java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.WRITE_APN_SETTINGS, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.INTERACT_ACROSS_USERS, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.MODIFY_PHONE_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.READ_PRIVILEGED_PHONE_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): com.android.permission.INSTALL_EXISTING_PACKAGES}
2023-06-26 00:20:01 +03:00
GuaiYiHu
bdce4cb943 sdm710-common: libhidl: Remove android.hidl.manager
* Also move android.hidl.base@1.0 to system

Change-Id: I06695669f988f28ebfc2016030033f419bb95191
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2023-06-26 00:20:01 +03:00
Alexander Koskovich
dc74a2a5f6 sdm710-common: Drop vendor com.qualcomm.qti.bluetooth_audio@1.0
* Nothing references it.

Change-Id: I35703759dc7d3cf711a84ff2c5d2abc14bd156cf
2023-06-26 00:20:01 +03:00
pjgowtham
e2b0462e29 sdm710-common: Use qti vibrator aidl hal 2023-06-26 00:20:01 +03:00
Chenyang Zhong
51f0bbdfa6 sdm710-common: Copy cgroups and task_profiles directly from system/core
This ensures that the most up-to-date JSON files are shipped.

Change-Id: Ic9fae188784825ae6dc607c13b403e37290b7067
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>

sdm710-common: Ship cgroups.json and task_profiles.json in vendor

Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]

These devices were launched with N MR1 (API level 26), so schedtune
and task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.

Test: boot and check /dev/stune/

[1] system/core/libprocessgroup/profiles/

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I33c0540ef50054fad839886f9f014cc275659e77
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
2023-06-24 15:13:20 +03:00
Ultra119
a0708391da sdm710-common: Build libtinyxml.so
F linker  : CANNOT LINK EXECUTABLE /vendor/bin/mm-pp-dpps: library libtinyxml.so not found
2023-06-24 15:13:20 +03:00
Volodymyr Zhdanov
5de0a2a331
sdm660-common: device: Disable configstore usage
* it's finally deprecated in R
* ship disable_configstore because we have API level less than 29
2023-06-21 14:24:46 +03:00
Cyber Knight
f8e389999a
sdm710-common: Build KProfiles
- Inherit KProfiles.
- Address sepolicy.
- Define sysfs_kprofiles as a domain.
- Fix permission of nodes relevant to KProfiles at boot.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-06-21 14:24:45 +03:00
Jabiyeff
843e14c5c3
sdm710-common: Force disable iorapd
* Its eating more RAM and slow down device
* Thanks for CAFEBABE find this

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
2023-06-17 17:03:59 +03:00
Alexander Koskovich
41b4f85f1f
sdm710-common: Remove vendor RenderScript implementation.
* RenderScript is deprecated on newer platforms and
   is being officially replaced.

 * On April 19, 2021, Google announced that RenderScript
   will be deprecated in Android 12, and recommended
   porting existing code to Vulkan.

   https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html

Change-Id: I19460ef266a646b046f1e7d2f0b4eab7c48ae536
2023-06-17 17:03:57 +03:00
Sebastiano Barezzi
fb5d1c6886
sdm710-common: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
2023-06-17 17:03:55 +03:00
c2d4a73d07
Revert "sdm710-common: Build graphics.allocator @3.0 and @4.0 hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device manifest. hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest."
This reverts commit ca6da853bd72731db56aecda683ff581dc21a177.
2023-06-17 17:03:55 +03:00
8b53e91281
Revert "sdm710-common: Build thermal HIDL HAL"
ERROR: files are incompatible: android.hardware.thermal@1.0::IThermal/default is deprecated in compatibility matrix at FCM Version 4; it should not be served.
android.hardware.thermal@1.0::IThermal/default is deprecated in compatibility matrix at FCM Version 4; it should not be served.: Success

This reverts commit de21c8d196d052cf7339689c786d6d4aad2ed8a4.
2023-06-17 17:03:53 +03:00
a8ed6dfc5e
sdm710-common: Drop statically linked parted
We don't need Windows, lol
2023-06-17 17:03:52 +03:00
sreelekshman
5f059b7aba
sdm710-common: Remove bluetooth a2dp support Fixed files are incompatible: android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default is deprecated in compatibility matrix at FCM Version 5; it should not be served. 2023-06-17 17:03:51 +03:00
johnmart19
75736713e2
sdm710-common: Drop audio.a2dp.default
build/make/core/tasks/platform_availability_check.mk:37: warning:  Following modules are requested to be installed. But are not available for platform because they do not have "//apex_available:platform" or they depend on other modules that are not available for platform
Offending entries:
audio.a2dp.default:packages/modules/Bluetooth/system/audio_a2dp_hw
audio.a2dp.default_32:packages/modules/Bluetooth/system/audio_a2dp_hw
2023-06-17 17:03:51 +03:00
pkm774
4dc5dfd4cc
sdm710-common: Build graphics.allocator @3.0 and @4.0 hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device manifest. hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest. 2023-06-17 17:03:51 +03:00
Cristian Vázquez
435d5f4f57
sdm710-common: build missing Bluetooth A2DP
I hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default in either framework or device VINTF manifest.

E LegacySupport: Could not get passthrough implementation for android.hardware.bluetooth.a2dp@1.0::IBluetoothAudioOffload/default.

W audiohalservice: Could not register Bluetooth Audio Offload API
2023-06-17 17:03:50 +03:00
Joker-V2
b302d37735
sdm710-common: Build android.hardware.bluetooth.audio-impl
W audiohalservice: Could not register Bluetooth Audio Offload API
  E audiohalservice: Failed to dlopen android.hardware.bluetooth.audio-impl.so: dlopen failed: library android.hardware.bluetooth.audio-impl.so not found
  W audiohalservice: createIBluetoothAudioProviderFactory() from android.hardware.bluetooth.audio-impl failed

Signed-off-by: Joker-V2 <nipinna0@gmail.com>
2023-06-17 17:03:49 +03:00
kubersharma001
187a4b5424
sdm710-common: Compile libldacBT_bco.so
* E a2dp_vendor_ldac_decoder: A2DP_VendorLoadDecoderLdac: cannot open LDAC decoder library libldacBT_bco.so: dlopen failed: library "libldacBT_bco.so" not found
2023-06-17 17:03:49 +03:00
YumeMichi
0c8696f36d
sdm710-common: Build thermal HIDL HAL
* Log spam is gone:
   E HardwarePropertiesManagerService-JNI: Unable to get Thermal service.
   E HardwarePropertiesManagerService-JNI: Couldn't get device temperatures because of HAL error.
   W hwservicemanager: getTransport: Cannot find entry android.hardware.thermal@1.0::IThermal/default in either framework or device manifest.

Change-Id: Ie8a04b58f7357086f42ddfd5cfe4a9fc555dfee0
Signed-off-by: YumeMichi <do4suki@gmail.com>
Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
2023-06-17 17:03:49 +03:00
Alastair Donaldson
8a0357df29
sdm710-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2023-06-17 17:03:45 +03:00
b15a1223f9
sdm710-common: Drop 1.0-1.2 version of drm impl and service
Since this is no longer required starting Android 11.
Reference: https://review.lineageos.org/c/LineageOS/android_device_xiaomi_onclite/+/341252
2023-06-17 17:03:43 +03:00
XsaviXander
91d69d4533
sdm710-common: Enable freeform windows
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-17 17:03:42 +03:00
Mikhail Naganov
8190980cce
sdm710-common: Switch to Audio HAL V6
Switch coral and flame to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
                  manual audio "smoke" test on coral

Change-Id: If40ae28c224160728634736ee95590a779f905c4
2023-06-17 17:03:41 +03:00
ghostrider-reborn
c7968c9bbd
sdm710-common: Speed preopt Google dialer, Settings & SystemUI
- Add Google dialer, Settings & SystemUI

The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.

Signed-off-by: anandhan07 <anandhasayanan007jb@gmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
2023-06-17 17:03:41 +03:00
Jakub Pawlowski
8541241b65
sdm710-common: Use bluetooth.audio@2.1
bluetooth.audio@2.1 adds new functionalities required for Bluetooth LE
Audio development

Bug: 150670922
Change-Id: Iac2ece0c029a38fef82e81f5ba3ba491163818ef
2023-06-17 17:03:39 +03:00
DmFrPro
fef9d8991e
sdm710-common: Build health 2.0 impl and service
* Build healthd 2.0 HIDL

Unable to set property "ctl.interface_start" to "android.hardware.health@2.0::IHealth/default": error code: 0x20
05-26 19:22:15.101   511  2639 I hwservicemanager: Tried to start android.hardware.health@2.0::IHealth/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
2023-06-17 17:03:39 +03:00
Ultra119
c4791070de
sdm710-common: Build neuralnetworks@1.3 2023-06-17 17:03:37 +03:00
snnbyyds
f9940cea9f
sdm710-common: Add statically linked parted
* Statically linked parted (https://forum.renegade-project.org/t/linux-android-aarch64-parted3-5-statically-linked-parted/2937/2)
* It may help you install Windows!
2023-06-17 17:03:34 +03:00
Michael Bestas
c5d290db1d sdm710-common: Move qti_whitelist.xml to /system_ext
- Also kang file from sdm845 tree

Change-Id: Id8617513cfd686b3f6888a89c1b1db196acfb476
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 20:17:49 +01:00
Aaron Kling
2c91884f8c sdm710-common: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 20:09:25 +01:00
Bruno Martins
548b1cdce4 sdm710-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:22:00 +01:00
Bruno Martins
c262a28e3f sdm710-common: Remove dead targets
Change-Id: I496e37e3d813a96ca3a0138dbc61cd1a90655244
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:15:53 +01:00
Chenyang Zhong
2018306009 sdm710-common: power: rename pixel to lenovo-sdm710
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:09:34 +01:00
giasen
1c28990a9a sdm710-common: drop GcamGo 2022-11-12 15:09:27 +01:00
Jiakai Zhang
243a516aab sdm710-common: Preopt SystemUI for AOSP builds.
Bug: 232860596
Test: See no dex2oat invocation on the first boot.
Change-Id: I21b99fac3934060d27fad7323979cbb5f0ed28e8
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-14 19:01:16 +02:00
Etienne Ruffieux
50253e3152 sdm710-common: Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: I300369d36399ffb558b98bafc2478b872d09faba
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-14 00:04:16 +02:00
Hajime Morrita
3ff54f7818 sdm710-common: Stop including iorap_large_memory_config.mk
Test: Presubmit.
Bug: 195415601
Change-Id: Ic49fcadb8bb33db262295a8b11eaca9c59362ae7
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-13 23:48:03 +02:00
GiaSen
f5aa12e10c sdm710-common: Revert media configs to stock 2022-09-06 17:18:11 +02:00
Alexander Koskovich
b2809fddd0 sdm710-common: Pick up USB configurations from QCOM
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-05-22 18:53:21 +02:00
MadhavSaladi
7089a5938f sdm710-common: Switch to GcamGo 2022-01-23 09:39:00 +01:00
dianlujitao
d1262f6f6d Revert "sdm710-common: Switch to Audio HAL V6"
All target devices use pre-R audio.bluetooth_qti.default.so and
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.

jjpprrrr:
The audio flinger also warns about event callback when playing
audio through a USB audio adapter with DAC. Let's go back to v5
to avoid calling these unimplemented features at all.

...
D AudioFlinger: Failed to add event callback
...

Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-23 09:37:02 +01:00
jjpprrrr
397dc77a48
sdm710-common: build the missing libs
Not sure why these aren't there by default anymore.
2021-10-20 22:38:25 +02:00
Edwin Wong
d9972b2bd9
sdm710-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Giammarco Senatore
5b5fd7d902
sdm710-common: Drop updatable APEX 2021-10-20 22:38:24 +02:00
Giammarco Senatore
9c817e7254
sdm710-common: Drop WfdCommon boot jars for now 2021-10-19 17:43:01 +02:00
Bruno Martins
f28ae5e99e
sdm710-common: Build offline charging daemon dependency
This must be explicitly built as of R. Fixes off mode charging. (not yet here)

Change-Id: Ie013d25d55105b4eb2191b9fd625ed8e02c863c5
2021-08-22 15:50:36 +02:00
uixdess
9f4635840e
sdm710-common: Merge QCOM media codecs configs with ones being parsed
(nuke whole vendor configs here)

 * Without CodeAurora's modifications in frameworks/av, the vendor suffixed
   media codecs configs are not parsed at all. Move select vendor additions
   into the main files in order to enumerate support for hardware-backed
   HEVC encoder.
2021-08-22 15:23:19 +02:00