* Enables charging in recovery mode
(will be useful when the main OS is not downstream Android...)
Change-Id: Ife2b7b82439ccedf2456080d8106966cdad7669f
Signed-off-by: therealmharc <therealmharc@gmail.com>
persist.mm.enable.prefetch, if set to true, will enable
prefetching of video input from upstream source to help
improve playback performance for high frame-rate and
high bitrate content
Signed-off-by: Praveen Chavan <Praveen Chavan@users.noreply.github.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
Fix for:
W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.boost with value: 10, fd: -1
W libperfmgr: Failed to write to node: /dev/stune/top-app/schedtune.prefer_high_cap with value: 0, fd: -1
Change-Id: Ieb385110f236ab12549aea198639708068fb6156
Signed-off-by: Dobsgw <george.w.dobson@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* Banking apps read the file /proc/net/unix to
check system modifications, (in our case, custom rom)
Let's avoid this by chmod it 440.
Test: Install a banking app as of Brazilian Nubank or PicPay, login.
Observed no side effects on any other proccess or apps
Change-Id: Iec7897faf487785bdc202b146a50d9ac5fd1ea85
Signed-off-by: Jeferson Oliveira <jroliveira.oliveira301@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.
Disable VSync for CPU rendered app, by setting this property to false.
Change-Id: If8c6f9e182eac6d015dbb69fe2a74fc9b3a85c1f
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* these processes were not allowed to run in background and yet they still persist everytime causing logspam and unnecessary broadcast, we may want to disable "GmsIntentOperationService" but some users on xda reported broken notifications on stuffs like google keep and maybe other google apps that relies on GmsIntentOperationService broadcasts.
07-24 09:29:26.041 2997 5548 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
07-24 09:29:26.042 2879 2879 I Zygote : Process 8201 exited due to signal 9 (Killed)
07-24 09:29:26.043 2997 3023 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
Change-Id: I17c1ab2bfb98375d9b5a6c6de91776244b12cf52
Signed-off-by: dlwlrma123 <alexfinhart@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
Bug: 73301881
Test: Verify that the connected MAC randomization ~3 seconds delay problem is gone
Change-Id: I73dbeb9e9d0e740883c81384f3fee9b074292cd2
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
Currently Min, Max and default values of gEnableNUDTracking in
code are:
Min: 0 (Driver will not track the NUD failures, and ignore the same)
Max: 2 (Driver will track the NUD failures and if honoured will roam
away from the connected BSSID to a new BSSID to retain the
data connectivity).
Default: 2
In order to enable NUD tracking after NUD failure by default,
remove entry for gEnableNUDTracking from ini file.
Change-Id: Ie8ed6d12f373891d11727b1f903825a7fc145750
CRs-Fixed: 2559325
Signed-off-by: Abhinav Kumar <abhikuma@codeaurora.org>
Signed-off-by: therealmharc <therealmharc@gmail.com>
TDLS off-channel feature is needed only for
certification. Disable the feature in production
builds.
Bug: 161320896
Test: Basic wifi sanity test.
Change-Id: I9b043b6dd6db2a251e425123e3d2c0ac238760ce
Signed-off-by: Sunil Ravi <sunilravi@google.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
QCOM's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.
Bug: 74724482
Test: Device boots up and connects to wifi networks.
Change-Id: I8935b220c9f2b94716ffb762068a5859e2263b08
Signed-off-by: Roshan Pius <rpius@google.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.
Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: Ashish Kumar Dhanotiya <adhanoti@codeaurora.org>
Signed-off-by: therealmharc <therealmharc@gmail.com>
- Fixes issues when GPS and Wifi are switched on simultaneously.
- Also kills logspam regarding NAN.
Change-Id: Id56b2bbc720bf2de96aad825956bc63db3d4e694
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* As per qualcomm - SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not required.
* It can also help increase performance by a lot in some scenarios.
Change-Id: Idde48b8e8676f596217edd5100fec3aa07729dbe
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* DRC is audio policy to 'compress' volume table, which causes low max volume. Disable it for now
Change-Id: I2e2d8729a8cc5886861e09bf71f5a170f1deb121
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* Fixes lags in native screen recorder
* Also set debug.sdm.support_writeback=0
* THIS MIGHT BREAK WIFI DISPLAY
* CHECK WHEN WFD BOOT JARS CAN BE BUILT
Change-Id: I82c5b8b4-b0b0-4ff9-8869-8cb4f11e9012
Signed-off-by: Pranav Kapoor <pranavkapoor001@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
DeviceAsWebcam is using USAGE_VIDEO_ENCODE [1] for buffers and
this results in combined usage: (VIDEO_ENCODER | CAMERA_OUTPUT).
On Qcom devices DeviceAsWebcam has red & blue colors swapped.
Originally we tried swapping HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS
with HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in libgrallocutils,
however that inverted regular camera recording colors in some cases.
[1] d079a82ba4
Change-Id: I6c5f03fe7016f687855351c7ba15270050ea02e2
Signed-off-by: therealmharc <therealmharc@gmail.com>
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.prefer_high_cap with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /proc/sys/kernel/sched_energy_aware with value: 1, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.prefer_high_cap with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /sys/class/devfreq/soc:qcom,cpu6-cpu-l3-lat/min_freq with value: 1516200000, fd: 10
W/libperfmgr(798): Failed to write to node: /proc/sys/kernel/sched_energy_aware with value: 0, fd: -1
Change-Id: I55c65018f1635353ebd6082e1a45c363424f881c
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.
Change-Id: Ib716d6e375c9d1063a958523ad2de028115bcb3c
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
* Our maximum brightness is 500.
* However, for safety related reason, I have capped this to 255.
* 255 is more than sufficient, and I do not want to be responsible for LED damage.
* Finding the default percentage took some trial and error, in this case, 59% correlated to 75.
Co-authored-by: rahul <rahul@aospa.co>
Change-Id: Ie20969362c531391e4c51b22365b74d62ccb8e5e
Signed-off-by: John Galt <johngaltfirstrun@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
80 was default for torch, so set 80 as default.
Change-Id: I6711c8a77ed04f01a9afeff14325e62404f66ff7
Signed-off-by: John Galt <johngaltfirstrun@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>