Commit graph

3570 commits

Author SHA1 Message Date
Jimmy Chen
a38fe7fd69
sdm660-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-13 18:15:48 +06:00
Davide Garberi
86cc5f4fc7
sdm660-common: Remove energy awareness daemon
All this does is to disable msm_core and set the
polling_interval to 0, which makes the driver useless.
We can achieve the same result by disabling the driver.

Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:15:48 +06:00
OdSazib
89d62afca0
Revert "sdm660-common: Change USB autosuspend delay to 7s by commandline."
This reverts commit cf25291f1c.
2020-12-13 18:15:47 +06:00
OdSazib
1491895fd9
sdm660-common: overlay: Update lineage-sdk overlay 2020-12-09 09:52:25 +06:00
OdSazib
e05dac84b8
sdm660-common: Add service-sysfs for LiveDisplay 2020-12-09 09:52:25 +06:00
PradyX
0a02b30038
sdm660-common: Camera package list for aux lens
* Fixes google camera aux lense too

Signed-off-by: odsazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
lightvortex
6fdb4938ed
sdm660-common: Remove whatsapp from hal1 packagelist
* Fixes  QR code scanning for WhatsApp web login
* Whatsapp video calls now support hal3, so hal1 is no longer required

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
Subhajeet Muhuri
b7aac65519
sdm660-common: Uprev android.hardware.soundtrigger to 2.2 2020-12-09 09:52:25 +06:00
OdSazib
0be032e211
sdm660-common: DeviceSettings: Set correct symbol in DreamManager
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
3bc41ddf25
sdm660-common: strings: Add formatted="false" for multiple substitutions
* Either fix the position of the multiple substitution
* or add formatted="false" in non-positional localized string

Bug: error: multiple substitutions specified in non-positional format;

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
31ae2abcb0
sdm660-common: DeviceDoze: Reduce wakelock timeout and wakeup interval
* Faster response in raise to wake getsure

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
13c782153e
sdm660-common: DeviceSettings/Doze: Update Translations
Translated by:
* Rizky (Xtprion) - Indonesian
* Vitaliy Kovel (Vitaliykovel777) - Russian
* Marek Prachnár - Slovak
* Lucas Almeida (Luxced) - Brazilian Portuguese

Co-authored-by: Vitaliykovel777 <vitaliykovel@gmail.com>
Co-authored-by: Xtprion <ksc.kybam@gmail.com>
Co-authored-by: Luxced <dekaps@outlook.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
6892aefb4a
sdm660-common: DeviceSettings: Fix tint according to theme 2020-12-09 09:52:25 +06:00
OdSazib
870343eb33
sdm660-common: DeviceSettings: Switch to SecureSettingSwitchPreference
* SharedPreference cannot be used untill device is unlocked
* This causes crashing the app at boot

Thanks to java gawd StYlOg for help me fixing this

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
OdSazib
f2b7354ef6
sdm660-common: Tricking out device specific settings
* Rebrand to DeviceDoze
* Keep class for DeviceSettings

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-09 09:52:25 +06:00
Markakash
f1e68ddfaa
sdm660-common: XiaomiDoze: Add drawable icons to doze menus!
* EvoX edits: Match fill color with that of DeviceSettings
* Added missing hand-wave drawable from: https://materialdesignicons.com/

Co-authored-by: OdSazib <odsazib@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
AnierinB
297de8da99
sdm660-common: XiaomiDoze: Fix pickup status for raise to wake
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
OdSazib
f441fa06a2
sdm660-common: XiaomiDoze: Raise To Wake Gesture
- Adapted to Xiaomi SDM660
- Implemented with tilt sensor

SQUASHED COMMITS:
-----------------
* sdm845-common: Introduce raise to wake gesture
- Highly inspired by iOS raise to wake

* EvoX notes:
- Adapted to OnePlus sdm845
- Strings will be added to packages/resources/devicesettings which is where all current strings are located

* sdm845-common: doze: Add min interval for raise2wake
- avoid having early wakeup

* sd845-common: doze: raise2wake: Check proximity before wakeup
- To avoid having unnecessary wakeups when phone inside the pocket

* sdm845-common: doze: Enable pickup when raise to wake is toggled
- This is needed in order for raise to wake to function properly.

References:
* f45b58b511
* dc69b3678c

Co-authored-by: Nauval Rizky <enuma.alrizky@gmail.com>
Co-authored-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
AnierinB
88279b484c
sdm660-common: XiaomiDoze: Add Doze Tile
- Launches DozeSettingsActivity

* Reference: 827d11cc8b

Signed-off-by: AnierinB <anierinb@evolution-x.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-11-05 13:18:22 +06:00
Wileen Chiu
fe22a9fdc9
sdm660-common: Add new config overlay for call composer
- add a new config and set as true for mcc/mnc
which support call composer calls
- allow implicit broadcast of new intent, which
contains call composer information

Change-Id: I5d042f88d57d54f3b7a944d9a2f49061cd0313d3
CRs-Fixed: 2672216
2020-10-26 04:25:14 +06:00
Shrikara B
5350c9d183
sdm660-common: rootdir: Set Netflix and media property based on target
Add support to set "ro.netflix.bsp_rev" property at run time
depending on the target. This is needed when 2 or targets are
binary compatible, but have different Netflix proprty for
device whitelisting.

Change-Id: I9484f2886a8b7d986c762fa9031c0e541f15c7e1
2020-10-26 04:25:14 +06:00
Ashish Jain
94677f5db6
sdm660-common: init: Update ueventd rules and init rc for new audio drivers
Update uventd rules to move new audio drivers to audio group.
Update init rc to move audio sysfs node to audio group.

Change-Id: I8e5230e04090b3555e32c0404401dddacea1cd15
2020-10-26 04:25:14 +06:00
Pavan Kumar M
5a0956d86f
sdm660-common: config: Add permissions for RCS service
Add permissions to Rcs service to
access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2020-10-26 04:25:14 +06:00
Thomas (Wonyoung) Yun
a1008929de
sdm660-common: rootdir: Grant rw permission to hgsl node
qcom: User app needs to open /dev/hgsl node for doorbell enablement.

Change-Id: I9a83e76a441f4001f40ec805bd8081355aa1c79d
2020-10-26 04:25:14 +06:00
Pavan Kumar M
776967d080
sdm660-common: Add IImsFactory and uceservice HAL entry
Add entry for new factory HAL for ims
and minor version upgrade in
uceservice HAL.

Change-Id: I3df552f4e9fbb3319b33bd5ee213c17548c7a422
2020-10-26 04:25:14 +06:00
Taiyab Haque
823edb6d10
sdm660-common: Update LPA interface version
Update LPA version to enable new upgraded interface solution

Change-Id: If3ca25aab813b02d2cd994265624d27ec9051bbf
CRs-Fixed: 2663893
2020-10-26 04:25:14 +06:00
OdSazib
71e85a8f68
sdm660-common: Drop snap package 2020-10-19 11:36:07 +06:00
OdSazib
967c2a5c9a
sdm660-common: Adding XiaomiParts into the whitelist
* Adding XiaomiParts into whitelist to avoid it being killed by
doze. Also granting necessary permission to function properly.
* Required for Headphone & Mic Gain as it currently get killed
2020-10-19 11:36:07 +06:00
OdSazib
9bd430ff9b
sdm660-common: XiaomiParts: Add Headphone & Mic Gain
* This is manually ported by me from Lavender tree on Corvus-Devices
* Thanks @StyloGey for reviewing the java code and giving me a better solution
* Original repo: https://github.com/Corvus-Devices/device_xiaomi_lavender.git

To get it working, you need these two commits in your kernel:
> c04d6d6e61
> 8e25ac3318

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I1bb48ced1f23728daa2e5170647ce08a04347110
2020-10-19 11:36:06 +06:00
OdSazib
7580f5f636
sdm660-common: XiamiParts: Add FPS Info Overlay
* Ported from: https://github.com/Corvus-Devices/device_xiaomi_lavender.git

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
OdSazib
471da74c21
sdm660-common: XiaomiParts: Remove dirac completely
* Fix XiaomiPart crash while using audio mod like v4a/dolby

Signed-off-by: odsazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
OdSazib
dd14ca3e30
sdm660-common: Address denials for Livedisplay
Signed-off-by: odsazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
OdSazib
492d436217
sdm660-common: Downgrade qti-telephony-common to LA.UM.8.2.r1-05100-sdm660.0
Updating blobs to LA.UM.8.2.r1-06700-sdm660.0 was leading to RIL breaks and show following error-

* E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method getEssentialRecordsLoaded()Z in class Lcom/android/internal/telephony/uicc/IccRecords; or its super classes (declaration of 'com.android.internal.telephony.uicc.IccRecords' appears in /system/framework/telephony-common.jar)
2020-10-19 11:36:06 +06:00
Max Weffers
2a27848f87
sdm660-common: overlay: Remove doze Autobrightness values
This reverts commit 4cd252e878983e8da8337525858a97f1b3aaac88.

breaks display turn on when notification comes in

Change-Id: I300853bfd806afffd55c6c3bc0c7dfde3e1cb0cb
2020-10-19 11:36:06 +06:00
Aryan Gupta
dd312cedee
sdm660-common: Back to tulip
Change-Id: I0d7cd52f299092664d0cfb39f93c246475abb99d
2020-10-19 11:36:06 +06:00
Max Weffers
f19d201ccc
sdm660-common: prop: Disable a2dp offload by default
Change-Id: Ife2be50467bb2834c318265864b94963ac4a1d22
2020-10-19 11:36:06 +06:00
Max Weffers
ab0918680e
sdm660-common: overlay: Rework doze Autobrightness values
Change-Id: I95912ded870f645fd2eb86580203bcb2c3e7e0d4
2020-10-19 11:36:06 +06:00
Max Weffers
f80d6e2c0a
sdm660-common: prop: Set Perf related Props from sdm660
*Improves battery life alot

This reverts commit 00fb44d6ef51591407bfd46960ea424245c5646f.

Change-Id: I6837d8c3441955fa7dcb9537d595ad27b6f628d7
2020-10-19 11:36:06 +06:00
LuK1337
5f8b253a9a
sdm660-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I10cd34c6e52e9c72f3089d3c5f479d5ea5532d86
2020-10-19 11:36:06 +06:00
Zhao Fan
fd91207ba1
IMS: Filter out the conference host in the CEP for some carriers
Remove config which disable filtering out conference host for
some carriers.

Change-Id: I02e9e2b5bda3a3c497c0c9617fa8be5c5529e170
CRs-Fixed: 2721996
2020-10-19 11:36:06 +06:00
fakeyatogod
712e313a89
sdm660-common: data-ipa-cfg-mgr: Merge tag 'LA.UM.8.2.r1-06900-sdm660.0'
From https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/data-ipa-cfg-mgr

"LA.UM.8.2.r1-06900-sdm660.0"

Change-Id: I7385f0516558bbc313843efe0c7ea5d7286be042
2020-10-19 11:36:06 +06:00
pengfeix
a07824280f
IMS: Enable IMS feature flags for supported carriers
Enable IMS feature flags for supported carriers.

Change-Id: I2a119788ca996e0d4152458c68206f7729aa6c28
CRs-Fixed: 2707881
2020-10-19 11:36:06 +06:00
Nikhil Kumar Kansal
3d320acd6c
sdm660_64: perf hal support
perf hal uprev 2.0-2.1 in manifest

Change-Id: I5e3fd9671131c9c50371f3d28499aa186836f391
2020-10-19 11:36:06 +06:00
wangling
dd6af2e3b3
Add RRO Target flag for falcon_64
Change-Id: I3f69596852c16332aa1a14fc29cb399d4be999da
2020-10-19 11:36:06 +06:00
Quallenauge
83ee96a9d0
sdm660-common: Exclude Snap overlays from RRO
* Snap overlays don't work with RRO

Change-Id: I781ce4c723cd69adb2cf568c3a31b385468444e8
2020-10-19 11:36:06 +06:00
Dan Pasanen
963a119850
sdm660-common: Exclude lineage-sdk overlays from RRO
* lineage-sdk overlays don't work with RRO

Change-Id: Iff826faf1864388066a488acc9682636b98d1098
2020-10-19 11:36:06 +06:00
Anton Hansson
a9e3c5a467
sdm660-common: Enforce RRO for all resource overlays
Change-Id: I2064bd74c9b9ea5c4a28bdbecf74be4ed660ea89
2020-10-19 11:36:06 +06:00
Lup Gabriel
1631a1e242
sdm660-common: allow auto-brightness while in doze
* Values from Coral

Signed-off-by: Rizky Benggolo <travarilo@gmail.com>
Change-Id: I7968e05fb37f4f2b0c10bd62c6dfb7695aeb5109
2020-10-19 11:36:06 +06:00
dianlujitao
a85c69a8b5
sdm660-common: Switch to QTI bt stack and enable a2dp offload
Change-Id: I8b3e7701a81ac92696d59c145e91351839048e39
2020-10-19 11:36:06 +06:00
Andrew Chant
cf25291f1c
sdm660-common: Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.

Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.

The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.

Test: booted on Walleye, saw no more messages:
[  472.412555] c0   5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.

Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
2020-10-19 11:36:06 +06:00