501 Commits

Author SHA1 Message Date
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
Volodymyr Zhdanov
f253f20e39 sm6250-common: reserve less system/product space for gapps builds
* we just want to have a bit to flash some basic stuffs and do some replacements
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
0080dbd0ea sm6250-common: reserve some sapce for system_ext 2020-12-06 22:48:36 +02:00
Pig
dca3045056 sm6250-common: light: Remove backlight support in case of hwcomposer
Change-Id: I3005c11f57797372b45e1c0f81caa4ddcac9cc36
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
a24f819646 sm6250-common: rootdir: update configs from curtana RKQ1.200826.00 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
d5665da9e6 sm6250-common: update props from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
e8efc4849d sm6250-common: wifi: update wcnss config from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
5ba1d540bd sm6250-common: configs: update ueventd.rc from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
ff373ea771 sm6250-common: wifi: don't enable use_p2p_group_interface=1 driver param
* matches stock 11
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
a7d8ba3094 sm6250-common: rootdir: update fstab from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
9282fe7019 sm6250-common: media: update configs from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
18b8ed51a0 sm6250-common: audio: update configs from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Alistair Delva
88a421df00 sm6250-common: rootdir: Enable inline encryption
Bug: 137270441
Change-Id: I8fb8822a5f19f3908b662181495550e60d80a3f3
2020-12-06 22:48:36 +02:00
Sandeep Neerudu
02f6317e04 sm6250-common: rootdir: remove sensors specific boot up commands from init.qcom.rc
move sensors specific boot up commands from global init.qcom.rc to component

specific rc files , which are part of individual component projects.

Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5
2020-12-06 22:48:36 +02:00
Rick Chen
a7a4a3f4d8 sm6250-common: sensors: enable multihal 2.0
Bug: 152005392
Bug: 152727489
Test: Compile pass.
Change-Id: I9c059718a2529cd652360619797c22360ac213e2
Signed-off-by: Rick Chen <rickctchen@google.com>
2020-12-06 22:48:36 +02:00