Commit graph

1086 commits

Author SHA1 Message Date
Sandeep Gutta
84dc076df5
sdm660: Telephony: Add telephony_injection file
Add telephony_injection file and required jar path, components.

Change-Id: Ia2e0d327c1eaed17cb229f1cfca62c6bda85d49b
CRs-Fixed: 2407245
2019-10-22 17:56:33 +02:00
Sundong Ahn
334659fc3b
sdm660-common: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
Signed-off-by: celtare21 <celtare21@gmail.com>
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Sujin Panicker
27abd7f7f6
sdm660-common: Fix rank of QC OMX components
Rank OMX SW codecs higher than C2 codecs except for opus codec.

Change-Id: Id8d760e2fc8d33e8c8c97ed1ee10513c71457aa5
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Signed-off-by: celtare21 <celtare21@gmail.com>
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Kuran Kaname
d61715549a
sdm660-common: prop: override volume steps count 2019-10-22 17:12:47 +02:00
Dusan Uveric
89dcdc2d4e
sdm660: overlay: update brightness overlay from pixel 3
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Dusan Uveric
bc36bfe914
sdm660-common: update wifi irqbalance blacklist
taken from celtare21

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Arne Coucheron
2ab975e8aa
sdm660-common: reclassify OVERRIDE_RS_DRIVER flag as Renderscript
Change-Id: I4bfc5ce41be85ebcb81bd891d4ea7c181ad2c634
2019-10-22 17:12:38 +02:00
LuK1337
3002ad84da
sdm660-common: Convert remaining configstore settings to props
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5
2019-10-22 16:38:31 +02:00
Kalpaj Chaudhari
5b14f5dd93
sdm660-common: wifi: Enable etsi_srd_chan_in_master_mode
* Fixes 5GHz tethering after LA.UM.7.2.r1-07600-sdm660.0 merge.

Change-Id: I41ca8a4c326ab35a98d1a53a9c1e8df8775ed9d7
2019-10-22 16:37:01 +02:00
Pavan Patel
61fdb9f91d sdm660: Support twolip (Redmi Note 6 pro) 2019-10-21 17:30:14 +02:00
Stylogey
96cf920455
sdm660-common: XiaomiParts: Dont crash if dirac is not initialized 2019-10-19 20:51:48 +02:00
Stylogey
197013de2e
sdm660-common: XiaomiParts: Add a preview image to kcal 2019-10-19 20:51:48 +02:00
Stylogey
d9cde63c35
sdm660-common: XiaomiParts: Change settings icon to MI logo 2019-10-19 20:51:48 +02:00
Max Weffers
5998d47bda
sdm660: parts: Rename Performance Profile to Temperature Profile 2019-10-19 20:51:48 +02:00
Nick Kralevich
160b13b9df
sdm660: folio_daemon: Add system_file_type in sepolicy
This file resides on /system, so must be annotated with the
system_file_type attribute.

Test: Policy compiles.
Change-Id: Ic834caefe1417465ac842ddce909e968511f45b2
2019-10-19 20:51:10 +02:00
Jeff Vander Stoep
c145e57b0f
sdm660: Move folio_daemon to system in sepolicy
Remove Treble violations.

Bug: 36867326
Bug: 62387246
Test: loaded on taimen, checked dmesg, and tested daemon with magnet
Change-Id: I4662b41206b94cae6ac9843b5dc7e1452003c63c
2019-10-19 20:50:52 +02:00
Lennart Wieboldt
f554793657
sdm660: remove LOCAL_CLANG := true for folie_daemon
Clang is the default compiler since nougat.

Change-Id: I565e25f9f688a979eac41de0eee4a88b24099098
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2019-10-19 16:29:57 +02:00
Chih-Hung Hsieh
a40685ba7a
sdm660: Use -Werror in folio_daemon
* Remove unused local variable.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I96228277b9c81b71e73e4e376d86cdea6cbcb647
2019-10-19 16:29:57 +02:00
Dan Albert
725e0b3f2e
sdm660: folie_daemon: Add missing includes.
Change-Id: I74ce25b3b5c918e371140b91f82ec00ff571f9fe
Exempt-From-Owner-Approval: trivial cleanup
Test: mma
Bug: None
2019-10-19 16:29:57 +02:00
Jeff Vander Stoep
494ee17d12
sdm660: Add folio_daemon in sepolicy 2019-10-19 16:29:57 +02:00
Andrew Lehmer
21e2243476
sdm660: folio_daemon: retry slowly on failure
Bug: 38001818
Test: loaded on taimen
Change-Id: I3f5a8cbf0faca3b5d027dcd74f1b16de80fdbee2
2019-10-19 16:29:57 +02:00
Andrew Lehmer
33f3f09b13
sdm660: folio_daemon: exit when poll returns zero events
Bug: 37402669
Test: loaded on walleye, issued `adb shell stop`, checked `top`
Change-Id: I7d43cab39809b6b156eb26195df2c913991e5c96
2019-10-19 16:29:57 +02:00
Andrew Lehmer
1c3353b71b
sdm660: folio_daemon: improve logging for debugging
Bug: 37402669
Test: loaded on walleye
Change-Id: I9cfd071158386d3eb15a5b81656b09452c7fed15
2019-10-19 16:29:57 +02:00
Andrew Lehmer
f08faed4c3
sdm660: Add support for folio cases
Bug: 35243564
Test: Used magnet to wake and lock device. Also tested during suspend.
Change-Id: I4b819e12cc23a3d7a8ce048e208c15eac4f8d6c5
2019-10-19 16:29:57 +02:00
Aryan
702f8d64b9
sdm660:Make vector images use the same accent color as the rest of the system! 2019-10-19 16:29:38 +02:00
Bruno Martins
e777d7e0d5
sdm660-common: Add ability to extract common proprietary files only
Change-Id: Id4303ba662f60cb794aac65ebde652b643ea2345
2019-10-18 17:39:22 +02:00
Kalpaj Chaudhari
9f82738458
sdm660: CarrierConfig: Set support_enhanced_call_blocking_bool to true
This shouldn't be a carrier related feature.
Change-Id: I65baf82b354eaac4f769b0aa078665d8b862d4f0
2019-10-18 17:29:24 +02:00
Max Weffers
4d7fa3c93a
sdm660: audio: configs: Remove voip_tx profile to policy conf
The voip_tx causes broken microphone in calls via Telegramm, Fb messenger and Whats app

This reverts commit ffbcf557f2.
2019-10-18 17:19:55 +02:00
Davide Garberi
f98a09d0f1
sdm660-common: Update WFD blobs from LA.UM.8.2.r1-04000-sdm660.0 2019-10-18 17:19:55 +02:00
Bruno Martins
07e70f414e
sdm660-common: Switch to cryptfshw HIDL
Change-Id: Id1d580607a7d73ec6738ab3aa8dcdf9e27558a33
2019-10-18 17:19:55 +02:00
Aryan Gupta
e6e0bc3a62 sdm660: Remove deprecated display flags
remove display flags i.e. deprecated in android 10
2019-10-18 08:40:09 +00:00
darkbeast69
08784fd314 sdm660: Add Vector Icons to XiaomiParts
it looks dope
icons from https://materialdesignicons.com
2019-10-18 08:39:54 +00:00
Himanshu Agrawal
5987d829c6
sdm660: board: Enabling back custom audio policy.
Change-Id: I4f62e0ce26c31ee77eb4071a1cec3f3eed5c7513
2019-10-15 22:07:25 +02:00
UnparallelSKY
d234b6b70c
sdm660-common: Define first api level in the device tree instead in the common tree
All sdm660 xiaomi device didn't launched with oreo-mr1 and it will be easer for add other device (jason, lavender, nitrogen, platina, tulip and whyred) who didn't launched with oreo-mr1 in xiaomi-sdm660 org
2019-10-15 18:08:26 +02:00
dianlujitao
9cea8c75c9
sdm660-common: Set sys.post_boot.parsed on vendor.post_boot.parsed changed
Change-Id: Ibb924cd28408d9688e18d64b5b22ab10f1fc5227
2019-10-15 16:31:29 +02:00
Michael Bestas
0604dd4d45
sdm660-common: Set vendor.post_boot.parsed=1 for starting perf properly
* Allows perf to work properly on boot to restore selected power profile

Change-Id: Ib92f971f28ed875481170b056ac16aad05aadcfc
2019-10-15 16:24:33 +02:00
Jerry Zhang
90c8d2c729
sdm660-common: Remove configfs triggers from recovery rc
Configfs triggers will now be in the core
init.recovery.rc, similar to main system
files.

Test: Usb works in recovery
Bug: 78793464
Change-Id: I26a403425edce1d4947daf2510e28beb026ba5f6
2019-10-15 15:23:54 +02:00
Michael Bestas
bb4c22c198
sdm660-common: Add init.recovery.qcom.rc
* Copied from wahoo init.recovery.hardware.rc,
  fixes partition mounting and ADB in recovery

Change-Id: I8a0136dd08c0df0ffb08bec8f35bffd38f5d44bb
2019-10-15 15:23:47 +02:00
Michael Bestas
3c1fe1160f
sdm660-common: Split privapp permissions for ims/qcrilmsgtunnel move
Change-Id: I5e86a415c7faac34e7d398559d09bf350b305cc3
2019-10-15 15:23:26 +02:00
Michael Bestas
56a2201417
sdm660: manifest: Add back missing lineage specific hidl hals
This reverts commit 1573043852.
2019-10-15 15:22:31 +02:00
nebrassy
a95e4e99a9
sdm660-common: migrate to power HAL 1.2
Change-Id: I5ddcfced7b6be8666a97f7408da4af1a980ffc93
2019-10-15 14:59:53 +02:00
dianlujitao
65e4195716
sdm660-common: Create system copy of ims-ext-common and add to classpath
* Our ims.apk doesn't load ims-ext-common.jar, and it's moved to /product
   on 10 where PRODUCT_BOOT_JARS doesn't work.
 * Create a system copy of the jar and add it to boot classpath to make
   it loadable from the apk without extra work,

Change-Id: Ia530a530bd4469e12500410fc5e8ba393de60b18
2019-10-15 14:59:53 +02:00
theimpulson
2ba6705ff6
sdm660-common: define TARGET_COPY_OUT_PRODUCT
Change-Id: I0daa436787db17265f38909ec8c93db40cbafbc0
2019-10-15 12:01:03 +02:00
Bruno Martins
69c07a31dc
sdm660-common: Drop the creation of deprecated system_data folders
As per treble rules, this is no longer allowed from within
vendor init. At the same time these folders are long deprecated,
so drop them and get rid of the SELinux denials.

Change-Id: I47d25bcf92dcc16b7b112b7b1257cd3e66fee57b
2019-10-15 10:24:03 +02:00
Bladeyy
64d8fdf1ef
sdm660-common: prop: Force enable IMS/Radio props
* Fixes ViLTE

Change-Id: Id0b7f7fdc628983929fdb1f8a6919d024e567218
2019-10-15 10:22:04 +02:00
Subhrajyoti Sen
f4339f8907
sdm660-common: wifi: reduce battery drain
Change-Id: Ic4ab888b17c8c818f0bd6a2ef2cff1f6a7fa2740
2019-10-15 10:18:57 +02:00
Alberto97
2e5168a5d4
sdm660-common: Map color profiles to livedisplay
Signed-off-by: Abhay Ruparel <abhayruparel2000@gmail.com>
2019-10-15 10:17:25 +02:00
Wang Han
a801241ced
sdm660-common: Enable display default color mode
* Though xiaomi disables this to make vendor color adjustments,
   livedisplay needs this to apply color profiles on boot.

Change-Id: Ia47d0f2665dc126388be64848a13e2046ab8f258
2019-10-15 10:16:58 +02:00
Subhrajyoti Sen
6cb3c570dd
sdm660-common: add ILocHidlGnss/gnss_vendor to vendor.qti.gnss
Change-Id: I09f1e20d6fa3c95c64101e33047f6331b9fcea7c
2019-10-15 10:16:10 +02:00
Rahul Krishna
921b952587
sdm660: overlay: Inflate signal strength
This is set in latest Miui Release

Change-Id: I51d52071d57184dd60d008ba3b32b36d20993a49
2019-10-05 16:03:07 +02:00