Sonal Singh
1776cd623a
[BLOBS] miatoll: Import missing blobs needed for WFD functionality
...
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com>
2021-04-23 07:15:21 +00:00
Alex Naidis
f9b10f5c5d
miatoll: wlan: 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
2021-04-23 07:15:21 +00:00
Yaroslav Furman
fa2583a503
miatoll: wlan: Disable logging.
...
Change-Id: Ib9d2e325dc64d068a08412f12c792ec0e5a0c1be
2021-04-23 07:15:21 +00:00
Sultanxda
49cf3aedc2
miatoll: wlan: Relax WiFi re-association RSSI thresholds.
...
Change-Id: I72bc937d1b9863d61dc96d2ad2ee81f365a3c903
2021-04-23 07:15:21 +00:00
LuK1337
f943d9306e
miatoll: wlan: Enable DFS channel scanning in P2P search.
...
- Fixes P2P when connected to 5GHz access point.
Change-Id: Ie94aa06e9b6be9345688a1e10caa9a62b180eb30
2021-04-23 07:15:21 +00:00
Nick C
6ac453199e
miatoll: rootdir: zram tuning
2021-04-23 07:15:21 +00:00
justinweng
b7e6a888cd
miatoll: audio: enforce 24-bit audio for offload playback
...
Test: Audio Playback
Change-Id: Ia581e65a0e5e8dcbfae188fe36ca9d07bd9eb4e2
Signed-off-by: justinweng <justinweng@google.com>
2021-04-23 07:15:21 +00:00
Alex Naidis
2b12b4200e
miatoll: wifi: enable QPower and Deep Sleep at the same time
...
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
-> Leads to amazing power savings
Change-Id: I32dbaee6406fbe01594176ba14c9f3f0c6d16714
2021-04-23 07:15:21 +00:00
Akash
1df715ec01
miatoll: Fix mic issues in apps like WhatsApp
...
Change-Id: I64d34f95386c14a2003228f6a5ed9a61602b81ae
2021-04-23 07:15:21 +00:00
Adithya R
5b94c8f707
miatoll: Remove dexpreopt flags that are default
2021-04-23 07:15:21 +00:00
Sonal Singh
1a91f9cee3
miatoll: overlay: Pin surfaceflinger
...
PA Notes:
- Not merged to master, but merged to internal master.
- Original commit removes libsurfaceflinger but I do not
because we have enough memory.
Test: Builds as expected after this change, and flashes successfully.
Bug: 176197656
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com>
2021-04-23 07:15:21 +00:00
kdrag0n
a6c07829d9
miatoll: Don't pin camera app in memory
...
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:
- We could easily end up with 160 MiB of camera app files pinned,
which is a tall order with the usable RAM that we have
- The data that gets pinned may not even be the most critical data for
launching the camera
Let's disable pinning of the camera app to save precious RAM on this
device.
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com>
2021-04-23 07:15:21 +00:00
Jesse Chan
d068e65338
miatoll: overlay: Set fast charging indicator threshold to 10.8W
...
We no longer call 7.5W charging "fast charging" nowadays
Change-Id: I3a11f50f89933bd44b70d9f30a6e74a3d77abb25
2021-04-23 07:15:21 +00:00
Kuba Wojciechowski
98a5e51cb7
miatoll: Force disable wide color display
...
Xiaomi has built this device with TARGET_HAS_WIDE_COLOR_DISPLAY=true (possibly because it is the default in caf), but
the hardware doesn't properly support DISPLAY_P3 profilem causing weird yellowish tint in some scenarios. Force
disable the feature to fix it.
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
2021-04-23 07:15:21 +00:00
Tushar Mahajan
b3eea6a3b1
miatoll: Update TetheringOverlay & WifiOverlay
...
* taken from sm6150-common
Signed-off-by: Tushar Mahajan <mahajant99@gmail.com>
2021-04-23 07:15:21 +00:00
Jesse Chan
1316e16ad0
miatoll: overlay: Configure SQLite to operate in MEMORY mode
...
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.
Some OEMs have been doing this for years.
Signed-off-by: Jesse Chan <jc@lineageos.org>
Change-Id: Ic775c3fa735a32653d8e7f4c15cac26c6ebc262c
2021-04-23 07:15:21 +00:00
Rahul Shahare
51c2de8f3d
miatoll: Add kpti=off to boot command line
...
This will OFF kernel page table isolation.
Notes from Kuba Wojciechowski <nullbytepl@gmail.com> in 86bb20a832
:
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: Idd36c359d4955701e9ee3ee27a58177a8d622c86
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
2021-04-23 07:15:21 +00:00
Sonal Singh
0f26ea0137
miatoll: Guard tree with soong namespace
...
* prevent module conflicts with other device trees
2021-04-23 07:15:21 +00:00
Adithya R
35cd7fa0ea
miatoll: Disable COMPRESS_VOIP in boardconfig
...
To make VOIP work properly the following has to be set:
AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := false in BoardConfig.mk
vendor.audio.feature.compr_voip.enable=true in vendor.prop
I have no idea why this is but setting either one of them differently results in the mic not working as it should.
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-04-23 07:15:21 +00:00
SonalSingh18
dd4e444355
Revert "sm6250-common: remove unused audio configs"
...
This reverts commit d332175021c8fe3db4b434ea22414bfa90d385f8.
2021-04-23 07:15:21 +00:00
SonalSingh18
e3bd3aec6f
Revert "sm6250-common: audio: update configs from curtana RKQ1.200826.002"
...
This reverts commit 18b8ed51a0305b695ff29725d3afcb2206995852.
2021-04-23 07:15:21 +00:00
Michael Bestas
78d2d0c2e2
miatoll: Switch to standalone extract utils
2021-04-23 07:15:21 +00:00
Indranil Chakraborty
4f83b493f6
miatoll: Pack libwfdaac_vendor for WFD
...
Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com>
2021-04-23 07:15:21 +00:00
SonalSingh18
0cc06d0db3
miatoll: build soundtrigger from source
...
Signed-off-by: SonalSingh18 <sonal.singh.19993@gmail.com>
2021-04-23 07:15:21 +00:00
Luca Stefani
42ab8a3cd0
miatoll: import Hotword Enrollment blobs [2/2]
...
Change-Id: I4ca4475ac82d6755c4a6b708c1317ab02e42887a
2021-04-23 07:15:21 +00:00
Ramii Ahmed
ce56afb7a0
miatoll: Stop enforcing AAC on SBC headphones
...
These props seemed to enforce a higher codec on lower end headphones leading to them not working and not being able to reproduce sound
2021-04-23 07:15:21 +00:00
Ramii Ahmed
9396d9f067
miatoll: Add Missing BT & Audio Props
...
These are needed for the AAC Bluetooth Audio Codec
2021-04-23 07:15:21 +00:00
Danny Lin
b86a80e7e1
miatoll: Switch Skia rendering backend to Vulkan
...
This results in slightly lower frame times in most UiBench tests:
Skia + Adreno OpenGL:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 3.16
Edit Text Input 5 0.13% 4.99% 7.79
High-hitrate text render 1 0.01% 0.51% 6.81
Image List View Fling 1 0.01% 0.32% 6.73
Bitmap Upload Test 0 0.01% 0.99% 9.38
Low-hitrate text render 1 0.01% 0.49% 7.08
List View Fling 23 0.12% 0.78% 6.61
Shadow Grid Fling 16 0.10% 0.94% 7.32
Skia + Adreno Vulkan:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 2.94
Edit Text Input 6 0.13% 4.60% 8.00
High-hitrate text render 1 0.01% 0.28% 6.29
Image List View Fling 1 0.01% 0.36% 5.96
Bitmap Upload Test 1 0.01% 0.15% 9.25
Low-hitrate text render 1 0.01% 0.33% 6.71
List View Fling 16 0.09% 2.70% 6.62
Shadow Grid Fling 11 0.07% 0.49% 6.98
Change-Id: Idb23fca4d801746588a7ba63231705a7f9621b35
2021-04-23 07:15:21 +00:00
Jenhao Chen
9dd95a5c00
miatoll: increase ZRAM to 2GB
...
Test: TH
bug: 119988524
Change-Id: I086be89346e8dae32b06188861a6f0c9fe1d768f
2021-04-23 07:15:21 +00:00
Ramii ahmed
b0daca0e93
miatoll: Import Keyhandler from Davinci
...
https://github.com/ArianK16a/android_device_xiaomi_davinci
This tells Inputdispatcher to ignore inputs from our Fingerprint scanner, as that seems to be causing ANRs
2021-04-23 07:15:21 +00:00
Ramii Ahmed
39e358f4e3
miatoll: Add Channel Bonding for 2.4GHz
2021-04-23 07:15:21 +00:00
Ramii Ahmed
95e6d60ff6
miatoll: Enable SAE
...
It is supported by our device and There is no Reason to not to
2021-04-23 07:15:21 +00:00
SonalSingh18
5d262734a5
miatoll: add sensorservice in manifest
2021-04-23 07:15:21 +00:00
SonalSingh18
eae57b91d0
miatoll: manifest: uprev vendor.qti.hardware.perf to 2.2
2021-04-23 07:15:21 +00:00
Volodymyr Zhdanov
9075fefc2e
miatoll: don't configure zram parameters with init.qcom.post_boot.sh
...
* let it use whatever is set in fstab
2021-04-23 07:15:21 +00:00
SonalSingh18
45ad99d9bd
miatoll: Import MIUI power-off charging daemon
2021-04-23 07:15:21 +00:00
Pig
1caf63ccd9
miatoll: Drop no longer existed BluetoothQti
...
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2021-04-23 07:15:21 +00:00
Jasmine Cha
b52764ee1d
miatoll: audio: Add hotword input for hotword mic concurrency
...
Bug: 126595113
Bug: 129733664
Bug: 133123985
Bug: 130316160
Test:
(ST: sound trigger, VO: VoIP, PH: phone call,
NR: media recording, PL: playback music)
ST->VO (MO/MT), ST->PH (MO/MT)
ST->NR->PH (MO/MT), ST->NR->VO (MO/MT)
ST->PL->PH (MO/MT), ST->PL->VO (MO/MT)
ST->NR->PL->PH (MO/MT), ST->NR->PL->VO (MO/MT)
Change-Id: I11513994c7a34364de38e00fc8ff999efe3dbb6c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2021-04-23 07:15:21 +00:00
Sonal Singh
d11b5d4caf
miatoll: Enable real time lockscreen charging current values
2021-04-23 07:15:21 +00:00
Henrique Silva
d4a9965018
miatoll: releasetools: Fix incrementals generation
2021-04-23 07:15:21 +00:00
Cosme Domínguez Díaz
1a2455e6b6
miatoll: Add more defaults
...
overlay: Disable UI touch sounds by default
Set brightness & screen timeout default
Disable bluetooth by default
2021-04-23 07:15:21 +00:00
darkbeast69
f35aa93de1
miatoll: Don't conditionally reserve space for GMS build
...
This reverts commit f253f20e3917291727337c085ecdaf0c9eeb6a0a.
2021-04-23 07:15:21 +00:00
Volodymyr Zhdanov
d0980488b6
miatoll: increase statusbar height a bit
...
* I want punch hole to be centered on statubar
2021-04-23 07:15:21 +00:00
darkbeast69
83ec70c420
miatoll: overlays: Import Vibration Patterns from gram
2021-04-23 07:15:21 +00:00
darkbeast69
6823cb90ce
miatoll: Set TARGET_KERNEL_CLANG_VERSION
2021-04-23 07:15:21 +00:00
darkbeast69
dd386feca7
miatoll: Decommonized Tree check-in
...
there is no no need for common tree if all device is this much identical
clean overlays
2021-04-23 07:15:10 +00:00
Demon000
554eb8b0ac
sm6250-common: remove manifest entries specified in fragments
2020-12-06 22:48:36 +02:00
Demon000
f15f33ab00
[BLOBS] sm6250-common: add missing misys manifests
2020-12-06 22:48:36 +02:00
Demon000
af65648bf9
sm6250-common: remove qcom.fmradio boot jar
...
This package is not allowed to be a boot jar and it breaks m dist.
2020-12-06 22:48:36 +02:00
Arian
c11fbf1ae8
sm6250-common: Drop sepolicy version from manifest
...
Change-Id: I815cab44071c1f74d1c6174b591c3fb0bd152a1e
2020-12-06 22:48:36 +02:00