Commit graph

3498 commits

Author SHA1 Message Date
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
Max Weffers
6b0f504b27
sdm660-common: wifi: remove duplicated configs
Change-Id: I7ec9e99100bbcb1f68fe47c56daff6778c5bd1d3
2020-10-19 11:36:06 +06:00
Keertesh
3c89fae5d3
sdm660-common: whyred: init: Add custom init to set proper variants (#55)
* Revert "sdm660: whyred: libinit: Set product model dynamically"

This reverts commit 92bf64ca5b27324f40d02a64ff770d29426e6eb4.

* sdm660-common: whyred: init: Add custom init to set proper variants

Change-Id: I30c57fb24cea89af879d102e4749f95ec1aa9985
2020-10-19 11:36:06 +06:00
melia
3648c48235
qcom : device : Update static iuicc names in device
Update static iuicc names in device to handle dynamic iuicc names

Change-Id: I60f1de9ce14b79714762939dd9ee48c17a9ed123
2020-10-19 11:36:06 +06:00
joaquins
9682158732
Adding com.skyhook.blp into the whitelist
Adding com.skyhook.blp into whitelist to avoid it being killed by
doze. Also adding INTERACT_ACROSS_USERS permission to be able to
run as single user. Update for Q.

Change-Id: I245965c87e7a5029eb8a308af24484d64a3fcb87
CRs-Fixed: 2674734
2020-10-19 11:36:06 +06:00
Himanshu Agrawal
315e115009
init.qcom.usb.sh: Set USB default composition to 9091
Set USB default composition to 0x9091 having diag,serial_cdev,
rmnet,adb for 8909 with kernel 4.9.

Change-Id: I3066799d801bc9d8451b0d5a0bcd6d4055d1f735
2020-10-19 11:36:06 +06:00
kevin8768
426130ce28
sdm660-common: overlay: Limit alpha compositing functionality
Change-Id: Ic0b986bfdf2febcec6ca7ec2d5b075a01ad8dbba
2020-10-19 11:36:06 +06:00
Max Weffers
05390da390
sdm660-common: Parts: Calculate expotenial LED Brightness slider values
* Fix Max Brightness

Change-Id: I682704271204046e3a175673b4e283896fe7e7aa
2020-10-19 11:36:06 +06:00
LuK1337
56e1c00575
sdm660-common: Don't set ro.alarm_boot
* We don't support alarm_boot anyway, also
  it's not getting set because of SELinux denial:
[    7.243347] selinux: avc:  denied  { set } for property=ro.alarm_boot pid=556 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0\x0a
[    7.243470] init: Unable to set property 'ro.alarm_boot' to 'false' from uid:0 gid:0 pid:556: SELinux permission check failed

Change-Id: Ia188bac2d2aa466c23dabd9dc50ee1f58e6ab7ee
2020-10-19 11:36:06 +06:00
Vol Zhdanov
6c2913c9b8
sdm660-common: add qcom early boot script
* to control power off alarm feature

Change-Id: I0d2f5b96f8604d459130aec5f20f87cc75c7bad0
2020-10-19 11:36:06 +06:00
Dušan Uverić
3c2614ac95
sdm660-common: rootdir: always use lz4 for compression
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I955323fdc7ac3230bcf3c7a3af1ab54ad4e841e6
2020-10-19 11:36:06 +06:00
Dušan Uverić
fa33bc54b6
sdm660-common: rootdir: migrate tunables from post-boot to init.performance.sdm660
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I00cd6a57a8e7401160aa9eefb96b73ce13a20b3c
2020-10-19 11:36:06 +06:00
Dušan Uverić
aa46d9b409
sdm660-common: rootdir: cleanup init.qcom
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: Ie7a2d7337b95e2d1a48e1c506d68d775aaafda8c
2020-10-19 11:36:06 +06:00
Nicholas Lim
302d73e8c6
sdm660-common: Drop CAF Adaptive LMK script
* In favor of Low Memory Killer Daemon (lmkd).
* Adaptive LMK was also dropped quite sometime ago
  making it useless to keep this script around.

Change-Id: Ie221d6f669d261bb871a77fed712b0df3f5ba248
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
296434f9f5
sdm660-common: Switch lmkd to use minfree levels for kill decisions
Enable ro.lmk.use_minfree_levels flag to use minfree levels to decide
when lmkd should kill. This makes lmkd work the same way lowmemorykiller
kernel driver used to work.

Bug: 77299493
Bug: 75322373
Test: lmkd_unit_test
Change-Id: Ic29d7fd21af1cb6af3a7d2a175d210775a09987e
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
dc9f4bceb5
sdm660-common: Increase ro.lmk.medium to prevent kills at medium vmpressure
Setting ro.lmk.medium to 800 to prevent important processes from being
killed at medium vmpressure levels.

Bug: 77299493
Test: lmkd_unit_test
Merged-In: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Change-Id: I37e1651a0a2b148a852e5bde86501024d4f87bbf
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
(cherry picked from commit c954ec2eb318518cfa5c6f64a688fd8c809e91c5)
2020-10-19 11:36:06 +06:00
Suren Baghdasaryan
0ae4662a4c
sdm660-common: Update lmkd configuration properties
Bug: 63631020

Change-Id: I16a183e8e4625e8b98cefdc9c8a7b650556a2b55
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-10-19 11:36:05 +06:00
Artem Borisov
2ab6731d33
sdm660-common: Disable PPR on all targets
* No matter how hard QC tried to improve these features, they still suffer
  from stability issues, mainly due to the unpredictable nature of vmpressure
  they rely on.

Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a
2020-10-19 11:36:05 +06:00
eray orçunus
78d7c8c4d6
sdm660-common: Add 2 more notification icons
Change-Id: I96f218b55426cb5e04e7bc661fe6179d544e97ad
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
2020-10-19 11:36:05 +06:00
Nick C
613d4ac141
sdm660: props: enable zygote preforking
faster app launching, as referenced in https://forum.xda-developers.com/asus-zenfone-max-pro-m1/how-to/android-10-faster-app-launch-enabling-t4108817

Change-Id: Ica2a929f0480620a5c08ed1bae0d1f940b1f4136
2020-10-19 11:36:05 +06:00
dianlujitao
a43b71b11d
sdm660-common: Make FM radio opt-in
Change-Id: I2394de5df43aacb69051f8232bfc8f653cf77119
2020-10-19 11:36:05 +06:00
Max Weffers
24695c123e
sdm660-common: Use Qcrild from LA.UM.8.2.r1-06500-sdm660.0
* workaround for Mipad 4

Change-Id: I66b253f1b0c6303c08acec0f195853ef8055425c
2020-10-19 11:36:05 +06:00
Max Weffers
aa833777d6
sdm660-common: Update blobs from LA.UM.8.2.r1-06700-sdm660.0
Change-Id: I57431c4a0532c618c7d770c6f01c4dbf095f03bf
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-10-19 11:34:30 +06:00