Commit graph

1052 commits

Author SHA1 Message Date
Ultra119
3b1af7dad7
sdm710-common: Remove prebuilt kernel support completely 2023-06-17 17:04:02 +03:00
Victor
2cd0c221fb
sdm710-common: overlay: disable touch-sensibility 2023-06-17 17:04:02 +03:00
Michael W
149920e6f6
sdm710-common: overlay: Disable DiscoveryService & NearbyMessagingService
* Affects wifi speed

Change-Id: I12fcd4972d6b8ddb0cf9d5e0a54fb72af24947e2
2023-06-17 17:04:01 +03:00
ghostrider-reborn
c9521c1f15
sdm710-common: overlay: Enable display color control 2023-06-17 17:04:01 +03:00
Jesse Chan
afc6743f5d
sdm710-common: overlay: Set fast charging indicator threshold to 10.8W
We no longer call 7.5W charging "fast charging" nowadays

Change-Id: I3a11f50f89933bd44b70d9f30a6e74a3d77abb25
2023-06-17 17:04:01 +03:00
anirudhgupta109
7add6d3662
sdm710-common: overlay: Enable status bar burn in protection 2023-06-17 17:04:01 +03:00
Stealth1226
c8b284e030
sdm710-common: adapt status bar height overlay for 12L 2023-06-17 17:04:00 +03:00
jhonboy121
db33aba52e
sdm710-common: overlay: Add system app whitelist for applock
Signed-off-by: anandhan07 <anandhasayanan007jb@gmail.com>
2023-06-17 17:04:00 +03:00
Ultra119
3413c2072e
sdm710-common: overlay: Decrease time in milliseconds for accepting a new brightness level.
This is used for debouncing the light sensor.  Different constants are used to debounce the light sensor when adapting to brighter or darker environments.  This parameter controls how quickly brightness changes occur in response to an observed change in light level that exceeds thehysteresis threshold.
2023-06-17 17:04:00 +03:00
emufan4568
1f9b588765
sdm710-common: Allow wcnss_service to run shell
* avc: denied { execute_no_trans } for path="/vendor/bin/sh" dev="sda16" ino=247 scontext=u:r:wcnss_service:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=1
2023-06-17 17:04:00 +03:00
LuK1337
ccc55945a0
sdm710-common: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2023-06-17 17:03:59 +03:00
srfarias
a82e5132bb
sdm710-common: add nodes to hide Magisk in banking apps
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
Change-Id: I8f4c3ce55fe206786018ffba5e3301c52158a844
2023-06-17 17:03:59 +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
Sebastiano Barezzi
b9460e9c8a
sdm710-common: Add a script to reorder blobs list 2023-06-17 17:03:58 +03:00
aswin7469
be2ff83246
sdm710-common: suppress ims logspam 2023-06-17 17:03:58 +03:00
Jyoti Kumari
4d77bfd791
sdm710-common: wifi: Remove TDLS INI from ini file
Remove gEnableTDLSSupport and gEnableTDLSImplicitTrigger
from ini file

Enable this ini from driver header file

Change-Id: I6e4337615e75b5f5288bdf4e50a94f2c7ec3e0d6
CRs-Fixed: 2775227
Signed-off-by: kaderbava <ksbava7325@gmail.com>
2023-06-17 17:03:58 +03:00
Srinivas Dasari
980dba4c5a
sdm710-common: wifi: Disable ini param nan_separate_iface_support
* sdm710 doesn't support separate vdev for NAN. So disable this ini and NAN shall be enabled in legacy way(on wlan0).
2023-06-17 17:03:58 +03:00
Danny Lin
84c0256245
sdm710-common: overlay: Enable support for Bluetooth hearing aid
This device is fully capable of streaming audio to Bluetooth hearing
aids using the ASHA GATT protocol built on top of L2CAP, similar to
A2DP.

Enable the config option for the system to handle pairs of hearing aids
properly and expose the option in Settings.

More info at https://source.android.com/devices/bluetooth/asha

Test: user reported successful audio streaming

Change-Id: I747531639bd3498a4ae35ec90084716e62dd38f7
Signed-off-by: kaderbava <ksbava7325@gmail.com>
2023-06-17 17:03:57 +03:00
Vishalcj17
0565d0dda2
sdm710-common: Change permissions for /dev/diag. * Logs spam with error '-13' which basically translates to access denied/invalid permission.
* Fix this by giving system read and write access.

Before in log:
  Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13
2023-06-17 17:03:57 +03:00
Ultra119
a4a9630750
sdm710-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.

Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
2023-06-17 17:03:57 +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
Ultra119
92794ac34a
sdm710-common: Add missing USB properties
The missing diag property actually broke the ability to use diag mode.
2023-06-17 17:03:56 +03:00
Kyle Harrison
ee2cf80cdf
sdm710-common: Don't write binary XML files
- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml

- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.

Change-Id: Ibc6ee9a611cdda5947145603218465e17ed11ff8
2023-06-17 17:03:56 +03:00
Alex Naidis
82d705e583
sdm710-common: wifi: Smarter decisions on whether to use a 2 or 5Ghz AP
Implement a smarter system on whether to connect
to the provided 2Ghz or 5Ghz network.

Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2023-06-17 17:03:56 +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
David
5e7bbd7a98
sdm710-common: Add 3.0 and 4.0 IAllocator entries toandroid.hardware.graphics.allocator I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device VINTF manifest. I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device VINTF manifest. 2023-06-17 17:03:55 +03:00
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