Commit graph

77 commits

Author SHA1 Message Date
Manaf Meethalavalappu Pallikunhi
aa72731dbf
sdm660-common: Enable Thermal HAL 1.0 by default
Enable Thermal HAL for sdm660_64. It adds Thermal HAL
to manifest.xml and thermal service to PRODUCT_PACKAGES.
Change-Id: Id5070101c7a91955c050a9c5c8520cfa43cc8186
2019-11-12 18:12:20 +01:00
dianlujitao
2234880cd9
sdm660-common: Update media blobs from LA.UM.8.2.r1-04000-sdm660.0
* Also build missing libOmxG711Enc.so

Change-Id: Ibcb51a4c2b971b2d8526624809bf0aeeae511247
2019-11-12 18:12:20 +01:00
dianlujitao
7f2602dc93
sdm660-common: Update CNE and DPM from LA.UM.8.2.r1-04000-sdm660.0
Change-Id: Iab80efc8d31c181bfdb0487aceaec8bb2777252f
2019-11-12 18:12:20 +01:00
Davide Garberi
253300875b
sdm660-common: Compile fwk-detect
Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2019-11-12 18:12:20 +01:00
Rama Bondan Prakoso
2b7dfb588c sdm660-common: Correct cryptfshw name
fix encryption, tested on lavender

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2019-10-31 17:42:08 +00: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
Bruno Martins
07e70f414e
sdm660-common: Switch to cryptfshw HIDL
Change-Id: Id1d580607a7d73ec6738ab3aa8dcdf9e27558a33
2019-10-18 17:19:55 +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
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
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
Davide Garberi
4f62e1df40
sdm660-common: Switch to thermal 2.0
Change-Id: Icb0223aa27866e17ddb1c6763ed1ec15f6b3f0c0
2019-10-05 10:14:11 +02:00
Madhanraj Chelladurai
dcf98c87e2
sdm660: Add locSll library and add permissions to device node
Change-Id: Idacac778610699af0f01d65096092328bbe8ac1d
CRs-Fixed: 2413585
2019-10-04 18:53:18 +02:00
Max Weffers
6beb9b7619
sdm660-common: audio: move audio policy configuration to common 2019-10-04 18:53:17 +02:00
Chia-I Wu
69cb83d2a4
sdm660-common: switch to IMapper 2.1
Change-Id: I33be48cd40457ceabc24ff5e085fa8ddaa4670e4
2019-09-27 17:27:03 +02:00
codeworkx
13d1e20c86
sdm660-common: build vendor.qti.hardware.camera.device for ims
Change-Id: I736e19ff5ded1c493d61f6ed400c6decab318c8c
2019-09-27 17:13:46 +02:00
Rashed Abdel-Tawab
196e36f0c2
sdm660-common: Build libqdMetaData.system
Change-Id: I29fb36cfc1c1298f31947bdd2d3cd8d07c22209a
2019-09-27 17:13:46 +02:00
Akhil Narang
1a58381571
sdm660: Add missing telephony-utils for qcrilhook 2019-09-27 17:13:46 +02:00
Erfan Abdi
638c48afd0
sdm660: audio: Update Bt audio policy configuration for qti audio 2019-09-27 17:13:45 +02:00
Yuanyuan Liu
3d53f85218
sdm660: Add wpa_cli
Add wpa_cli to PRODUCT_PACKAGES. This binary is needed for WLAN.

CRs-Fixed: 2414661
Change-Id: I0f34a6e8175d80b1b4050ee4df64c0a7334ad110
2019-09-27 17:13:45 +02:00
Subash Chander
6088e51d0b
sdm660: Replace libqdmetadata.system with libqdmetadata
With VNDK enablement, libqdmetadata is copying to both
system and vendor partitions.

CRs-Fixed: 2396145

Change-Id: I135257092bf31ca0dcf10555f99a96711439bea7
2019-09-27 17:13:45 +02:00
Roopesh Rajashekharaiah Nataraja
fcd0af7b28
sdm660: Add libion to PRODUCT_PACKAGES
libion needs to be explicitly added to PRODUCT_PACKAGES
since vendor code which is not shipped as source has a
dependency on this lib.

Change-Id: I75bcef582930b1eb49d72d505401a75f7c596254
2019-09-27 17:13:45 +02:00
Abhishek Srivastava
6415b88634
sdm660: wifi: Add move wifi data service
Add move_wifi_data service from /data/misc/wifi to
/data/vendor/wifi for OTA update.

Change-Id: I134fb663d1f358028eebb80106634d6eb0b87bc0
CRs-Fixed: 2270608
2019-09-27 17:13:45 +02:00
Prakash Pabba
113099a36d
sdm660: Enable ipsec_tunnel feature
Fixed : CTS issue due to ipsec_tunnel feature.

CTS issues are showing failure on devices with first_api_level set to
29 . With this api level certain test cases which weren't executing
till now begin executing. Ex: android.net.cts.IpSecManagerTunnelTest.

These tests mandatorily requrire ipsec_tunnel feature to be enabled.

Change-Id: If52b652ac3cc6488fefcf851527f224efa03e7eb
2019-09-27 17:13:45 +02:00
Mohammad Asaad Akram
e2589cc9c9
sdm660: Add Permission for Wi-Fi passpoint support
Wifi Passpoint is common permission for all the targets. So, adding
it in common makefile.

Change-Id: I30df2278e693fa168de735d20d253da4e7b97200
CRs-Fixed: 2477232
2019-09-27 17:13:45 +02:00
Pawin Vongmasa
15e0315162
sdm660-common: Enable Codec2
Drop framework_manifest.xml part as the hal is already parsed.
Don't bring in the c2 xml files as CAF squashed the c2
support in the already existing media codecs.

Change-Id: Ibe051f4b19c2dbb0a208e751a3b7a332a329b447
Signed-off-by: celtare21 <celtare21@gmail.com>
2019-09-27 17:13:44 +02:00
Bruno Martins
9576d1a262
sdm660-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-09-27 17:13:44 +02:00
Bruno Martins
bfcc56f8f8
sdm660-common: XiaomiParts: Migrate to androidx
*Cleanup some unneded files
2019-09-27 17:13:44 +02:00
Davide Garberi
90ab2176ea
sdm660-common: Nuke libMiWatermark and replace it with a shim
* This lib is creating troubles on android 10 requiring old libs in vendor
* Other than that, it's the only culprit for vndk runtime being kept disabled
* Nuke this lib via a empty shim providing the symbols to the camera hal
2019-09-27 17:13:44 +02:00
Max Weffers
c288e2ee18
sdm660-common: include gapps if the path exsists 2019-09-27 17:13:44 +02:00
mike dooley
4c4eb539fb
sdm660-common: Enabling sound trigger V2_2 for sdm660 targets
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.
Note: V2_1 will be removed in a subsequent cl.
Test: built android and tested using SoundTriggerTestApp
Bug: 70206501
Change-Id: Id2647687732e79df252588d69f95d2a407e0092c
2019-09-27 17:13:44 +02:00
Volodymyr Zhdanov
d18ad84793
sdm660-common: Add packages for Android 10 IMS
Change-Id: Ib387f4abcfc1895a420e05c4c87e7d00e65f02ba
2019-09-27 17:13:44 +02:00
Erfan Abdi
36941cae85
sdm660-common: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-27 17:13:44 +02:00
Garret Kelly
f831e05b9f
sdm660-common: Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: I6d96404918cf18d0fee79c701394b39baf349c53
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
2019-09-27 17:13:43 +02:00
Jyotiraditya
5c8398be2c
sdm660: Don't build Xiaomi(Doze & Parts) for now
Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Arian
607486efe3
sdm660-common: Uprev clearkey to 1.2 2019-09-16 10:39:53 +02:00
Erfan Abdi
cc53ae1eb7
sdm660: Make shim for camera.sdm660
P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr);
Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride);
Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so"

Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee
2019-09-16 10:39:53 +02:00
Wei Wang
3875693331
sdm660: move PRODUCT_DEXPREOPT_SPEED_APPS from BoardConfig
add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS

Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2019-09-16 10:39:53 +02:00
Paul McLean
f53e504d2c
sdm660-common: Adding Audio HAL V5: Direction API
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2019-09-16 10:36:23 +02:00
Brad Ebinger
b05b6cceb2
sdm660-common: Enable FEATURE_TELEPHONY_IMS for this device.
Change-Id: Ibdd8cfad8fa26b147d1c318eb43e4bf181ae4037
2019-09-16 10:36:23 +02:00
Jiyong Park
d0ba8cd423
sdm660-common: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2019-09-16 10:36:08 +02:00
Rashed Abdel-Tawab
621f7c3663
sdm660-common: Move privapp permissions to system
These APKs live on system (since well, they're priv-app).
Move these to system so they reside with their corresponding APKs.

Change-Id: I454f4d07cb3916fab683fdb0078cdb0fab55f612
2019-09-05 12:17:56 +02:00
Quallenauge
400509afa4
sdm660-common: Add dummy perf profile.
Since lineageos 15.1 the power hal doesn't use the
perf_lock_use_profile() method anymore.
It was used to apply performance profiles.
On startup the perfd daemon is looking for at least
one profile which is used as default.
So there is only a perf-profiles0.conf to make the
daemon happy.
Removes log spam:
E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
Signed-off-by: Atman <masteratman@gmail.com>
2019-09-05 12:17:56 +02:00
TheScarastic
08a8899b46
sdm660-common: Set PRODUCT_GMS_CLIENTID_BASE as per stock
Change-Id: I46cc0af76b796121c7f2ca5c33b74aec6f700c64
2019-09-05 12:17:55 +02:00
Max Weffers
14c0b2a75e
sdm660-common: keylayout: Move keylayout for headset buttons to device
*needed because mi a2 and 6x have diffrent button layout then mi pad 4 

* headphone jack vs. usb typ c
2019-09-05 12:16:58 +02:00
LuK1337
a1fac5d12b
sdm660-common: Remove unnecessary wcnss-service
* We don't use wcnss-service on newer devices

Change-Id: If03d3b9f5f3430a637297a0316cd1a8a108d5aa2
2019-08-20 23:20:32 +02:00
Max Weffers
109670399d
sdm660-common: Drop FM radio packages
*its unsupported
2019-08-20 10:39:44 +02:00
Stylogey
97b4e8d6e4
sdm660-common: XiaomiParts: Import XiaomiParts 2019-08-20 10:39:43 +02:00
Max Weffers
ccc46fc9c8
Revert "sdm660-common: device: Build rcs packages"
This reverts commit 50e8f598d4a373130707ebcdb41d7807e88fb1fb.
2019-08-20 10:39:43 +02:00