Commit graph

3372 commits

Author SHA1 Message Date
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
Max Weffers
b6347ec0bb
sdm660-common: Move IOP and ESE Blobs from product to vendor
* fixes VDNK error

Change-Id: Ib43639b282bc4c7a60431c2988baefdaa81aedaf
2020-08-12 02:11:34 +06:00
dianlujitao
056de13319
sdm660-common: Remove unused lower-end codecs
Change-Id: Ia7172e12b388c02cf3e8a8034d8eaf5f20b911ca
2020-08-12 02:11:34 +06:00
Kim Le
30e51a2dda
sdm660-common: Increase audio HAL buffer size to 240
Change-Id: I7dbba15539feb61bb34192c1b86cf224c4c8c2b2
2020-08-12 02:11:34 +06:00
Max Weffers
d713c78f27
sdm660-common: init: Remove unexistent sensor service
Change-Id: I5128d119a914827aa394d0782c035e0ca35296e0
2020-08-12 02:11:34 +06:00
Max Weffers
586c7284ba
sdm660-common: Add Esepowermanager blobs from LA.UM.8.2.r1-06500-sdm660
Change-Id: I73a22875183eca5c77320a01d939ea95fcbb028c
2020-08-12 02:11:34 +06:00
Max Weffers
f1b43abf23
sdm660-common: Add IOP Hal blobs from LA.UM.8.2.r1-06500-sdm660.0
Change-Id: I86bf8623dab2b5a5295bbebc602587b2347fdaf6
2020-08-12 02:11:34 +06:00
Max Weffers
22e0014387
sdm660-common: prop: Set Perf related Props
*based on sdm845 perf stack with iop

Change-Id: I43a5c721aa53568470e19caadcfed61bf3cbc00e
2020-08-12 02:11:34 +06:00
sbwml
fe331f6b85
sdm660-common: Update blobs from LA.UM.8.2.r1-06600-sdm660.0
Change-Id: Ib8108f0350f8331b07f1376d2e045552de7c79c0
2020-08-12 02:11:34 +06:00
sbwml
8725acb71a
sdm660-common: prop: Add persist.vendor.dpm.nsrm.bkg.evt prop
Change-Id: I76c1432d85212d0dd9a81355b7daa081e1f0a8e7
2020-08-12 02:11:34 +06:00
Michael Bestas
5fcfc725ef
sdm660-common: sepolicy: Allow dpmd set ctl_stop_prop
Change-Id: Id24b6370e907cc153b07383c65416aa9226e65a8
2020-08-12 02:11:34 +06:00
sbwml
1f053d51df
sdm660-common: Is dpmservice the product permission?
Change-Id: Iea0922157b456bff66edd269f6c53b15439e03cf
2020-08-12 02:11:33 +06:00
Max Weffers
10937f3ac2
sdm660-common: Update Sensor Blobs to CAF
Change-Id: I9fdbbc16eaaa05f38d7cb5ebbf96f080e8b66ac8
2020-08-12 02:11:33 +06:00
Max Weffers
a9a7214098
sdm660-common: Update Display utils Blobs
Change-Id: If4416b87467944e99ed9b1ec549baa7f11aaf947
2020-08-12 02:11:33 +06:00
Nick C
04e867c5d5
sdm660: update bdroid_buildcfg values from caf
https: //source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/bluetooth-commonsys-intf/tree/build/qva/config/bdroid_buildcfg.h?h=LA.UM.8.2.r1-06600-sdm660.0
Change-Id: I5a95bec3db32eb4f6f83f33087612cf43294fc5b
2020-08-12 02:11:33 +06:00
Max Weffers
2b811ddfb6
sdm660-common: remove double defined blobs
Change-Id: I947dc4ac1d67a7bc73610553be2c15ef8262306c
2020-08-12 02:11:33 +06:00
Stylogey
b1bdd12940
sdm660: Add wayne-common inherit support for extractor
Change-Id: I83ab37d6cd12aef4f6a8dc3822efc1856163e304
2020-08-12 02:11:33 +06:00
Aryan Gupta
0c78ca689f
sdm660: add IWLAN assist to manifest 2020-08-12 02:11:33 +06:00
Keertesh19
9271fec5a4
sdm660-common: Drop Power-off charging daemon 2020-08-12 02:11:33 +06:00
Keerten
cfff1fbbe8
sdm660-common: Downgrade IMS libs to LA.UM.8.2.r1-06200-sdm660.0
*Fixes ViLTE.
2020-08-12 02:11:33 +06:00
Anirudh Gupta
e69f3d95cd
sdm660-common: overlay: Set screen off delay to 0
Fixes flicker issue when entering AOD

Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Change-Id: I1db01adf94358b521b1ec2b05adfd1f5bbe437e3
2020-08-12 02:11:33 +06:00
Max Weffers
7d3f1b5120
sdm660-common: gps: add changes from clover for wifi only gps
Change-Id: I03caa72e72a59cbbd33c1ceae64921de0c1d4bdc
2020-08-12 02:11:33 +06:00
travarilo
b586e7cb27
sdm660-common: Import GPS HAL from LA.UM.8.2.r1-06500-sdm660.0
"LA.UM.8.2.r1-06500-sdm660.0"

Change-Id: Ib46ee24d1e05e749fe0b7f178142a01bdb090e57
2020-08-12 02:11:33 +06:00
Keertesh19
5b2b25d58a
sdm660-common: Update blobs from LA.UM.8.2.r1-06500-sdm660.0
*Wifi
*Perf
*Postprocessing
*Alarm
*Listen
*Charger
*GPS

Change-Id: Iccdce34675026cecaca2bde5af2f68905fc79731
2020-08-12 02:11:33 +06:00
dianlujitao
59fda34ba9
sdm660-common: update-sha1sums: Handle line with opts
Change-Id: Ia41000b36f3535a3cf0ef8d7650d0d540de728de
2020-08-12 02:11:33 +06:00
dianlujitao
cdcb0f16e4
sdm660-common: update-sha1sums: Better handle line breaks
Change-Id: I15cfda82a5bc6f05c0d7b9db209064ba498dac11
2020-08-12 02:11:33 +06:00
dianlujitao
df6f4d92c8
sdm660-common: Format update-sha1sums.py with yapf
Change-Id: I396ad6d79ea6e47ba8b9a56da317123c7579aa67
2020-08-12 02:11:33 +06:00