Commit graph

157 commits

Author SHA1 Message Date
Adithya R
fee8733f29
sdm710-common: Disable ART debug and optimize dexpreopt
* don't include debug configs in art
 * use everything filter for dexpreopt (AOSPA/android_vendor_pa@ab5061c)
 * use non-debug dex2oat

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
2023-10-07 21:32:07 +03:00
Noah
5814309579
sdm710-common: Build Aperture camera
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:28:55 +03:00
Adithya R
4dd1fed383
sdm710-common: Compile HWUI for better performance
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:20:37 +03:00
CrisBal
d4b624fda4
sdm710-common: Build aidl power stats and label it
* Fix for aidl power stats errors.
* New updated legacy-um sepolicy solved the android.hardware.power@1.0::IPower/default error
- Now with this we fixing both errors:
BatteryStatsService: Unable to load Power Hal or power.stats HAL
hwservicemanager: getTransport: Cannot find entry android.hardware.power.stats@1.0::IPowerStats/default in either framework or device manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
2023-09-23 17:30:27 +03:00
ghostrider-reborn
ad52c6db78
sdm710-common: device: Optimize ART
* Disable ART debug and optimize dexpreopt
* Disable dexpreopt minidebuginfo
ghostrider-reborn <adithya.r02@outlook.com>
2023-08-15 13:31:52 +03:00
Alin Jerpelea
d3480d75f8
sdm710-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
2023-06-28 20:21:11 +03:00
Albert I
e5f687028e
sdm710-common: device: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.
2023-06-28 19:56:49 +03:00
Mathieu Chartier
5c2172df63
sdm710-common: device: Speed profile services and wifi-service to reduce RAM and storage 2023-06-28 19:56:14 +03:00
Alex Hong
f51c745845
sdm710-common: device: Replace the HIDL with AIDL for android.hardware.memtrack
The HIDL interface of "android.hardware.memtrack" is no longer supported
for Android S.

Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
2023-06-28 19:51:42 +03:00
Pasha
91e826f8ca sdm710-common: Uprev health impl and service to 2.1 2023-06-26 00:20:01 +03:00
bf630c3a23 sdm710-common: Drop android.hardware.power.stats@1.0-service.lenovo 2023-06-26 00:20:01 +03:00
kubersharma001
4d64ab1798 sdm710-common: Remove non-existent libldacBT_{bco,dec} build rules
- These seem to be long gone/not available to be source compiled?
- Anyways, these seem to have no actual function and are not needed other than to avoid logspams

unknown target 'libldacBT_dec'
unknown target 'libldacBT_bco'

Change-Id: Ia65d4e72128352132a7ad1a00c61d9596ece714a
Signed-off-by: SparXFusion <s2234nadar@gmail.com>
2023-06-26 00:20:01 +03:00
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