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.
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
* 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>
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>
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>
* 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
- 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
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>
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)
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
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.
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:
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
* 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>
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>
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
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>
* E a2dp_vendor_ldac_decoder: A2DP_VendorLoadDecoderLdac: cannot open LDAC decoder library libldacBT_bco.so: dlopen failed: library "libldacBT_bco.so" not found
* 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>
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>
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
This fixes an issue with displaying fast charging on the lock screen
when connecting/disconnecting the charger.
Change-Id: I6c72ef056ee247ca6f1ddb12b3542becd7636a90