Commit graph

975 commits

Author SHA1 Message Date
6b6923acf7
sdm710-common: Return android.hardware.memtrack to manifest
Service android.hardware.memtrack@1.0::IMemtrack/default must be in VINTF manifest in order to register
2023-06-17 17:03:55 +03:00
Anay Wadhera
9c08df935b
sdm710-common: enable Multi-gen LRU
Change-Id: I91ee4ce3bb585d8cba4d2cd857f4884b05699899
Reviewed-on: https://review.statixos.com/c/android_device_google_raviole/+/7600
Reviewed-by: Anay Wadhera <anay1018@gmail.com>
Tested-by: Anay Wadhera <anay1018@gmail.com>
2023-06-17 17:03:54 +03:00
Dybios
8699bc3c6b
sdm710-common: overlay: Reduce screenshot delay to 0
Signed-off-by: pri0818 <priyanshusinghal0818@gmail.com>
2023-06-17 17:03:54 +03:00
Murat Kozan
69320b1620
sdm710-common: Switch HWUI rendering backend to opengl
On skiagl in some rare situations graphic bugs occur so we enforce OpenGL.
Also, users reported that setting to OpenGL massively improves rendering speed in apps like Instagram

 * adb shell setprop debug.hwui.renderer skiagl
 * adb shell setprop debug.hwui.renderer skiavk
   (buggy here as FCs on some apps)
 * adb shell setprop debug.hwui.renderer opengl
   (can be named anything as if the both other doesnt match if fallback to opengl)
2023-06-17 17:03:54 +03:00
Danny Lin
4a84494f1a
sdm710-common: props: Disable sf EGL image tracking This is a surfaceflinger debugging feature that we don't care about, so disable it to reduce overhead. 2023-06-17 17:03:54 +03:00
Michael Bestas
7044c22500
sdm710-common: Enable aptX(HD) offload
As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD out of
the box with no way to disable it, so we might as well support offload.

[npjohnson]: We were missing one of the props that enables this.

Change-Id: I04d3f0c10c767c42a94fdf80b3bd6ff96923f276
2023-06-17 17:03:53 +03:00
ExactExampl
a64b68625c
sdm710-common: enable ro.hwui.render_ahead and set it to 20 frames
- Rendering ahead makes some animations handling better (especially qs pulldown on a13 qpr2)

Change-Id: I3e732cfbd22d30df9843d3b7d2762ec59cf0f6a7
Signed-off-by: Coptan99 <omarcoptan9@gmail.com>
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
2023-06-17 17:03:53 +03:00
itsHardStyl3r
c2f0359b25
sdm710-common: overlay: Disable mobile data always active
Stop stop no need billing
* Settings->Developer settings->Mobile data always active is off

Change-Id: I26f8a0f5556e3180efb022f176f467ed208626ef
2023-06-17 17:03:53 +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
b00afd68d6
sdm710-commom: Del Duplicated manifest.hal entry android.hardware.soundtrigger
Input file has unknown format.
Error when attempting to convert to manifest: Duplicated manifest.hal entry android.hardware.soundtrigger
Error when attempting to convert to compatibility matrix:
2023-06-17 17:03:52 +03:00
a8ed6dfc5e
sdm710-common: Drop statically linked parted
We don't need Windows, lol
2023-06-17 17:03:52 +03:00
sreelekshman
8a85a5ef68
sdm710-common: Dropped depricated hals android.hardware.memtrack and android.hardware.tetheroffload.control 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
Arne Coucheron
46a4c6f95d
sdm710-common: Set TARGET_DISABLE_POSTRENDER_CLEANUP := true
To fix the bad UI lag we are experiencing.

Change-Id: I3edb25f93c58b87431a1802726f31123200f75d3
2023-06-17 17:03:51 +03:00
Palakurthi Sreekanth
40f2c01495
sdm710-common: vintf: Add 3.0 and 4.0 IMapper instance to manifest
* Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
* Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.

Change-Id: Ic72a8697ca39a98d8c6f4777812b5c60e2884847
Signed-off-by: SakthivelNadar <s2234nadar@gmail.com>
2023-06-17 17:03:50 +03:00
David
8b0b057ff9
sdm710-common: Build extra soundtrigger entries
hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.3::ISoundTriggerHw/default in either framework or device VINTF manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.2::ISoundTriggerHw/default in either framework or device VINTF manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.1::ISoundTriggerHw/default in either framework or device VINTF manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.soundtrigger@2.0::ISoundTriggerHw/default in either framework or device VINTF manifest.
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
2023-06-17 17:03:50 +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
erikdrozina
19bb8c274d
sdm710-common: sepolicy: Label some RIL property
W libc    : Unable to set property "ro.vendor.ril.svlte1x" to "false": error code: 0xb
W libc    : Unable to set property "ro.vendor.ril.svdo" to "false": error code: 0xb
W libc    : Unable to set property "ro.ril.supportLTE" to "1": error code: 0xb

Co-authored-by: Master <mhmdeveloperofficial@gmail.com>
2023-06-17 17:03:49 +03:00
me-cafebabe
4f52dea677
sdm710-common Unblock madvise syscall for dspservice
Without this, dspservice crashes infinitely on vela:

I init    : starting service 'vendor.dspservice'...
W dspservice: libminijail[3387]: failed to get path of fd 3: No such file or directory
W dspservice: libminijail[3387]: allowing syscall: connect
W dspservice: libminijail[3387]: allowing syscall: fcntl
W dspservice: libminijail[3387]: allowing syscall: sendto
W dspservice: libminijail[3387]: allowing syscall: socket
W dspservice: libminijail[3387]: allowing syscall: writev
W dspservice: libminijail[3387]: logging seccomp filter failures
E dspservice: libminijail[3387]: blocked syscall: madvise
I init    : Service 'vendor.dspservice' (pid 3387) received signal 31
I init    : Sending signal 9 to service 'vendor.dspservice' (pid 3387) process group...

Co-authored-by: Ivan Vecera <ivan@cera.cz>
Change-Id: Icc6a75f1ceb83f7363fbac325a24e34e7505d74d
2023-06-17 17:03:48 +03:00
ShevT
3ed51b56b7
sdm710-common: Update battery info every second when device is charging
This fixes an issue with displaying fast charging on the lock screen
 when connecting/disconnecting the charger.

Change-Id: I6c72ef056ee247ca6f1ddb12b3542becd7636a90
2023-06-17 17:03:48 +03:00
Fagyi
a76efdd916
sdm710-common: rootdir: add data/vendor/time
QC-time-servicesDaemon:Open File: /data/vendor/time/ats_3
QC-time-servicesDaemon:Unable to open filefor read
QC-time-servicesDaemon:genoff_post_init:Error in accessing storage
2023-06-17 17:03:48 +03:00
Les Lee
aab4041ab2
sdm710-common: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2023-06-17 17:03:48 +03:00
johnmart19
ee846c9589
sdm710-common: Switch to AutoSingleLayer Android 13 Setting
* According to https://source.android.com/docs/core/graphics/unsignaled-buffer-latch

Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: SageOfD6Path <mail2anirban95@gmail.com>
2023-06-17 17:03:47 +03:00
Pranav Vashi
79b2fec6ce
sdm710-common: Switch to jemalloc for libc
* Benchmark shows improvement.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:47 +03:00
kdrag0n
7cd5221f9b
sdm710-common: overlay: Offload WM shell to another thread
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.

Change-Id: I9eef4cdbc26d0880f3a9aaf875d5e36ebd693238
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:47 +03:00
Sebastiano Barezzi
0971c002b4
sdm710-common: Correct SoC manufacturer name
Change-Id: Id17eb30edab6c0343d6676d2e3d299cdc6f3977b
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:46 +03:00
minaripenguin
b33577ec7a
sdm710-common: prop: Enable apk fs-verity
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.

Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:46 +03:00
Daniel Jacob Chittoor
6c04c44704
sdm710-common: rootdir: Enable suspend to RAM
Improves idle drain considerably.

Change-Id: Iacef170a0f58ec74e6d82b89b3ae5ef60026ed07
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:46 +03:00
theangelofdead01
12a4b9a046
sdm710-common: init: Remove some data cache
fix some string issues on dirty flash update ROM zips

Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: SageOfD6Path <mail2anirban95@gmail.com>
2023-06-17 17:03:46 +03:00
Pavel Dubrova
a910236198
sdm710-common: overlay: Disable bluetooth by default and enable auto brightness
Change-Id: I635b22364089a1b2d345a95c57dd8a6eb75aa48d
Signed-off-by: davidtrpcevski <trpcevski.david@gmail.com>
2023-06-17 17:03:45 +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
Arne Coucheron
6c176bb614
sdm710-common: ueventd: Change radio0 permissions to 0644
Since we no longer run FM2 app as system app, we need to change
permissions on /dev/radio0 to avoid failure reading the node when
the FM2 app is run as a platform app.

Change-Id: I172444c2cd08e0113ce07bc4dd629b7bd7c715bb
2023-06-17 17:03:45 +03:00
Bharath
0924472d7b
sdm710-common: overlay: Move Hotspot name config to RROs
This is part of Wifi mainline module and hence should be defined
in RROs instead of frameworks.

Issue: FP3-A13#2
Change-Id: I21918d63777d00581e53b425f085ae3b1f9ea2c5
(cherry picked from commit c8d24bb3f0d7812c5af340f91ac389d858c4291c)
2023-06-17 17:03:44 +03:00
SVB
ee5418266b
sdm710-common: rootdir: Allow all filesystems for USB-OTG
Change-Id: Ie9cef57485c337c39bae559a71582b4c66127d85
2023-06-17 17:03:44 +03:00
DarkJoker360
8519ba629a
sdm710-common: rootdir: Stop bootanimation service after boot
* Some users reported bootanimation lags and freezes
  after a while. Looking from logs it fails to exit
  once boot is completed. Stopping bootanimation
  service, as workaround, is preventing this issue.

Signed-off-by: improbir <ghosh_probir@yahoo.com>
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
2023-06-17 17:03:44 +03:00
dlwlrma123
40b0738403
sdm710-common: sepolicy: Give adbd sys_admin access
07-18 06:52:22.989  1406  3348 W AdbDebuggingManager: Read failed with count -1
07-18 06:52:22.990  1406  3348 E AdbDebuggingManager: Caught an exception opening the socket: java.io.IOException: Connection refused
07-18 06:52:23.042  2380  2380 D StatusBar: Received new disable state. Old: enaihbcrso.qingr | New: enaihbcrso.qingr
07-18 06:52:23.040 12342 12342 W adbd    : type=1400 audit(0.0:728): avc: denied { sys_admin } for capability=21 scontext=u:r:adbd:s0 tcontext=u:r:adbd:s0 tclass=capability permissive=0
07-18 06:52:23.049 12342 12342 I adbd    : persist.adb.watchdog set to ''
07-18 06:52:23.049 12342 12342 I adbd    : persist.sys.test_harness set to ''
07-18 06:52:23.049 12342 12342 I adbd    : adb watchdog timeout set to 600 seconds
07-18 06:52:23.050 12342 12342 I adbd    : adbd started
07-18 06:52:23.050 12342 12344 I adbd    : Waiting for persist.adb.tls_server.enable=1
07-18 06:52:23.050 12342 12346 I adbd    : opening control endpoint /dev/usb-ffs/adb/ep0
07-18 06:52:23.051 12342 12346 I adbd    : UsbFfsConnection constructed
07-18 06:52:23.051 12342 12348 I adbd    : UsbFfs-monitor thread spawned
07-18 06:52:23.053 12342 12348 I adbd    : USB event: FUNCTIONFS_BIND
07-18 06:52:23.086  1406  1697 W Looper  : Slow dispatch took 207ms android.fg h=com.android.server.usb.UsbDeviceManager$UsbHandlerLegacy c=null m=13
2023-06-17 17:03:44 +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
Nolen Johnson
2c8e7fc2b0
sdm710-common: Remove usage of ro.data.large_tcp_window_size
* Not needed for us.

Change-Id: Ieee6bbbb858c0ee86769cded081fd82f3b9744ef
2023-06-17 17:03:43 +03:00
Murthy Nidadavolu
2c01dc7390
sdm710-common: init.qcom.rc: Removed deprecated drmdiag entry
Eliminate drmdiagapp entries in init scripts. This app was deprecated
hence these entries were causing boot time degradation.

Change-Id: Ia8b14ef200a17b37c393f3e62c7be8849d575c71
2023-06-17 17:03:43 +03:00
Ayishwarya Narasimhan
39aee1a675
sdm710-common: init.qcom.rc: Remove unused property
Remove persist.ims.regmanager.mode
property along with the service
which is unused

Change-Id: I6875dadffa2770d2f4ce19f44ec9b24b08523cc6
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
Mohammad Asaad Akram
a3b4e88dd3
sdm710-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-17 17:03:42 +03:00
Lisa Liu
c264973aa9
sdm710-common: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
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