Commit graph

172 commits

Author SHA1 Message Date
giasen
72a3c37dc1
sdm710-common: Require files to be included 2023-11-21 23:47:17 +02:00
mvaisakh
7f627da9f6
sdm710-common: Copy libprotobuf-cpp-full.so and libprotobuf-cpp-lite.so VNDK prebuilt blobs
* Also Build libprotobuf-cpp-lite-3.9.1-vendorcompat
2023-11-21 23:46:17 +02:00
Shreedhan003
bc8800d6dc
sdm710-common: props: Move to system init: Do not have permissions to set 'persist.device_config.runtime_native_boot.iorap_readahead_enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed 2023-11-21 20:31:18 +02:00
Randall Huang
20869d2170
sdm710-common: fstab: data=journal,commit=1 for /metadata
Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Change-Id: Icd38754bad1b1529d01165ea8c703c214d20bb4b
2023-11-21 20:10:25 +02:00
johnmart19
e4fb9c52d3
sdm710-common: Build android.hardware.media.omx
android.hardware.media.omx@1.0-service: Service not available yet

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: popoA3M <pratyayaborborah@gmail.com>
2023-11-21 20:08:01 +02:00
LuK1337
52286472cf
sdm710-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2023-11-21 19:33:05 +02:00
Alessandro Astone
907d7e8b6c
sdm710-common: Build and enable fastbootd mode
Change-Id: I7f4246f3f583dcae7b3bfc0d3ae1cf4d577632cb
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-11-12 10:42:15 +02:00
5d41efd453
sdm710-common: Drop KProfiles
This reverts commit f8e389999a.
2023-11-02 11:21:05 +02:00
Sakura桜
27ef678a6b
sdm710-common: Use AIDL WiFi service
Fix WiFi issue on Android U
2023-11-02 11:21:03 +02:00
bartcubbins
df268abe1a
sdm710-common: Provide android.frameworks.sensorservice@1.0 on vendor
F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/mm-pp-dpps": library "android.frameworks.sensorservice@1.0.so" not found: needed by main executable
2023-10-28 11:17:15 +03:00
mvaisakh
ddbd3a0222
sdm710-common: Copy libprotobuf-cpp-full.so and libprotobuf-cpp-lite.so VNDK prebuilt blobs
* Also Build libprotobuf-cpp-lite-3.9.1-vendorcompat
2023-10-28 11:17:07 +03:00
giasen
945488d2a5
sdm710-common: Enable uncompressed apex 2023-10-28 11:16:54 +03:00
Tim Zimmermann
59eb184cd4
sdm710-common: Flash dummy super image if needed
* Needed because stock does not use dynamic partitions so
  there's no existing metadata that could be used

Change-Id: Icbc828389465f3d4681ca8e4c3adec782540752e
2023-10-27 22:30:20 +03:00
me-cafebabe
ade32dd8dd
sdm710-common: Setup Retrofit Dynamic Partitions 2023-10-27 22:30:18 +03:00
Mathieu Chartier
97763d6310
sdm710-common: Always preopt extracted APKs 2023-10-12 19:01:31 +03:00
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