Commit graph

186 commits

Author SHA1 Message Date
16255e2c1e
sdm710-common: Import libperfmgr from hardware/xiaomi again 2024-11-23 16:15:34 +02:00
roynatech2544
54098687d1 sdm710-common: Switch to AIDL fingerprint HAL
- Also cleanup overlays
2024-11-14 10:49:18 +02:00
Signed-off-by: lahaina
feaa34a9d5 sdm710-common: Link libwvhidl against libcrypto from vndk 33
* It depends on symbol CBS_init which is removed from the latest libcrypto.

F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.drm@1.3-service.widevine": cannot locate symbol "CBS_init" referenced by "/vendor/lib64/libwvhidl.so"...

Change-Id: I835f53be4970754bfffc37e8a5f5ddf0d16995ff
2024-11-14 10:49:03 +02:00
Michael Bestas
ef8a21ebbc sdm710-common: Switch to android.hardware.usb@1.3-service.dual_role_usb
Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
2024-04-12 09:16:01 +03:00
basamaryan
9aa2340907 sdm710-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-04-12 09:15:50 +03:00
LuK1337
18bebf746a sdm710-common: Update WFD system stack from OOS 14.0.0.81(EX01)
Change-Id: Ica1450a1568fe9c7eb8087ed0fa567493150af5d
2024-04-12 09:13:24 +03:00
giasen
402db86450 sdm710-common: pocketmode: Drop pocketmode app
- does nothing at all
2024-04-12 09:13:10 +03:00
Yumi Yukimura
5a4fd4769b sdm710-common: Build QTI Thermal 2.0 HAL
Revert 699b06a
Change-Id: Iae471a16a0284cd24a598bac1a3ea0736faceb9f
2024-04-12 09:12:40 +03:00
giasen
d1f19a49d1 sdm710-common: declare real vendor security patch 2024-04-12 09:11:22 +03:00
ivecera
a1d525bfe9 sdm710-common: Build needed libprotobuf-cpp
Build libprotobuf-cpp-{full,lite}-3.9.1 vendor libraries that are
required for various blobs.

Change-Id: I3f8fec49db5f78f9325190c54766e3b455d2fe05
2024-04-12 09:10:28 +03:00
giasen
ed5b514c7b sdm710-common: build lineage health
drop pixel thing
2024-04-12 09:09:29 +03:00
SebaUbuntu
5b0a6d5403 sdm710-common: Pretend to be launched with dynamic partitions
A dist build fails on a-only devices with retrofit dynamic partitions due to [1].
The check does not take a-only devices into account, even though they are capable of retrofit aswell.
While the PRODUCT_RETROFIT_DYNAMIC_PARTITIONS flag is used to detect and warn about misconfigurations, it does not seem to be needed for any retrofit functionality.
Hence, to avoid changes in releasetools, drop the flag.

[1]: 055b7692fb/tools/releasetools/check_partition_sizes.py (L185)

Change-Id: Ib0dfe4ee3da4c583d924d85a79d5ec37a2f9ba87
2024-04-12 09:09:13 +03:00
ralph950412
7e941406e3
sdm710-common: Remove libtinyxml
It's deprecated and not being built.

Change-Id: I4142cb9bed49f87e7250ccaa5f4262254b3f11ff
2024-02-10 21:00:10 +02:00
Hridya Valsaraju
8803ff0740
sdm710-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-11-25 20:35:07 +02:00
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