Commit graph

336 commits

Author SHA1 Message Date
Manish4586
4aec2ab1c3
sdm660-common: audio: Switch to audio hal v4 2021-03-10 03:50:49 +06:00
OdSazib
d31c630682
sdm660-common: Fix sensorservice 2021-03-10 03:45:52 +06:00
OdSazib
1977da527c
sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-06 20:26:06 +06:00
PIPIPIG233666
8c0971fdfc
sdm660-common: Build new GNSS stack
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-03 00:01:41 +06:00
OdSazib
5fd6060869
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03300-89xx.0 2021-03-03 00:01:41 +06:00
OdSazib
245f36f6ed
sdm660-common: Build libavservices_minijail
To eliminate linker error and fix ims_rtp_daemon:
--------------------------------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable
2021-03-02 23:47:30 +06:00
Michael Bestas
b3e57baf6e
sdm660-common: Don't build tinymix
* This tool can be built manually for debugging cases,
  there is no need to ship it in production

Change-Id: I9ab8b076b4bede70c368c198960ceabc68dad65b
2021-03-02 23:47:29 +06:00
Ethan Chen
ce8a29230c
sdm660-common: Remove unnecessary usage of TOPDIR
Change-Id: Iafaa21f49c9ddb1fed21e83948d549f5a74dcfee
2021-03-02 23:47:29 +06:00
etahamad
e923bda27e
sdm660-common: Move IPA flag to sdm660 make file
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.

Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
2021-03-02 23:43:22 +06:00
Martin
1939009ca9
sdm660-common: Decommonize screen density
* Not a good idea when we support multiple devices with different screen densities
2021-03-02 23:43:03 +06:00
OdSazib
2228811ec0
sdm660-common: Add wfd dependency blobs
* From LA.UM.9.6.2.r1-03300-89xx.0

To eliminate these errors:
--------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libdisplayconfig.qti.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "vendor.display.config@2.0.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
2021-03-02 23:42:26 +06:00
etahamad
5cc1fbddac
sdm660-common: Move props from system to product
Test: using su shell: ex: getprop persist.timed.enable and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
etahamad
6c1d0626ea
sdm660-common: Move some QCOM props to system_ext
Test: using su shell: getprop persist.vendor.dpm.feature and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
SakilMondal
feeeb37c82
sdm660-common: add QTI health implementation
Ref: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/healthd-ext/commit/?h=android-core.lnx.6.0.r7-rel&id=995c63a75db6366c28b3a4c1dcb00a77cba090d4
Change-Id: Ib4406e22626f7c0a85a3c9a70d5bea3fc917f9c1
2021-02-20 11:55:48 +06:00
Subhajeet Muhuri
86fd0cbdb2
sdm660-common: Commonize thermal-engine-config from device (2/1) 2021-02-19 17:17:09 +06:00
etahamad
0814ebe94f
sdm660-common: Stop inheriting depricated gapps makefile 2021-02-16 17:08:21 +06:00
etahamad
54b3390822
sdm660-common: Move some props to system/build.prop
* +Adding some props also

When device is in Enforce mode, this happens:
---------------------------------------------
E init: Do not have permissions to set 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed
As example, so, moving those props to system/build.prop (from vendor/build.prop) fixes the issue.

Test: adb logcat -b all -d *:E > logcat-err.log and check for any init props related errors
Fix: Enforcing the Device Tree
2021-02-16 17:08:16 +06:00
Chenyang Zhong
f77adb24dd
sdm660-common: import Hotword Enrollment blobs
Co-authored-by: IMMANUEL44 <immanuelr44@gmail.com>
2021-02-09 20:53:35 +06:00
SakilMondal
e5222049af
sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
2021-02-09 20:53:21 +06:00
Michael Bestas
72424be3b9
sdm660-common: Cleanup dead targets
Change-Id: Ib1e2965a5e9f16929f1dc11c719d917cd85604d1
2021-02-08 14:06:47 +06:00
Michael Bestas
49080c44df
sdm660-common: Remove unused libextmedia_jni
Change-Id: Id57661f4f1c4143cbd7b69472e6ab4b428ffab4f
2021-02-08 14:06:47 +06:00
Ethan Chen
4c4a6e4e80
sdm660-common: Remove unnecessary netutils packages
* These are already packaged by AOSP.

Change-Id: I77f91fbbb33a6d891d14fe852b094ab914ca3111
2021-02-08 14:06:47 +06:00
Ethan Chen
8228caf1de
sdm660-common: Remove unnecessary media extension packages
* The mediametrics packages are part of the AOSP media stack already.
* libavserviceextensions is not available in Lineage.

Change-Id: Ia05789b6d59ad04e236b20155ac8b9575b0bdab1
2021-02-08 14:06:47 +06:00
OdSazib
bdd0d21f13
sdm660-common: Checkout rootdir and init stuffs from caf
* adapt with eas and cleanup unnecessary stuffs
* Fixed offline charging and usb functions

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-08 14:06:33 +06:00
OdSazib
2135c18643
sdm660-common: DeviceSettings: Drop userspace hall switcher
* The sensor works as it is, hence not needed anymore
2021-02-03 23:05:50 +06:00
OdSazib
18c3503642
sdm660-common: Move telephony and fm packages to /system_ext
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
2021-01-22 07:24:22 +06:00
Bruno Martins
12c3057098
sdm660-common: Use CodeAurora ImsService implementation for RCS
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.

Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
2021-01-21 03:26:34 +06:00
Luca Stefani
6b180768c0
sdm660-common: Don't build vndk_package
* It's built by default if vndk is set to current

Change-Id: I2a00446046bafe265e5ac894656abc72514319d8
2021-01-21 03:26:34 +06:00
Roman Kiryanov
ade917bb7b
sdm660-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2021-01-21 03:26:34 +06:00
Bruno Martins
727e0bb3cb
sdm660-common: Migrate to Health 2.1 HAL
Change-Id: Ic6302844ac58c16713b43b6871a705b9b4749a96
2021-01-21 03:26:34 +06:00
Luca Stefani
5892ec1c90
sdm660-common: Remove unused libqsap_sdk
Change-Id: Ib543425786c498eec8ef421f85047bcb1cb0cae3
2021-01-21 03:26:33 +06:00
Ethan Chen
a578eeb694
sdm660-common: Remove bogus ebtables/ethertypes/libebtc packages
* These don't exist.

Change-Id: I08f319e26867eb0b8fcdfaa632b4f6061f33b982
2021-01-21 03:26:33 +06:00
Michael Bestas
245f7306df
sdm660-common: Remove libantradio from PRODUCT_PACKAGES
* It's proprietary and already included in vendor makefiles.
* Remove antradio_app target which is dead

Change-Id: Ic19703a39e3e691a04b226b2cb2a27b02703724d
2021-01-21 03:26:33 +06:00
Sami Tolvanen
841ea5390b
sdm660-common: verity: call verity_update_state
Needed to set up partition.%s.verified properties.

Bug: 29277442
Change-Id: I295668c454e7e16018e1e4c3bafce5e317616069
2020-12-30 22:06:56 +06:00
OdSazib
97ba5db521
sdm660-common: Enable RRO overlays for lineage-sdk and Snap 2020-12-30 22:06:56 +06:00
OdSazib
e44cb6d696
sdm660-common: Refactor apex
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I8373415681ebf71732657cf86067be5cc4c14625
2020-12-30 22:06:56 +06:00
erfanoabdi
a6f2b3478b
sdm660-common: Refactor BoardConfigQcom to ProductConfigQcom
* Required if rom switched to ProductConfigQcom to build hals

Change-Id: Iddbc6ae3e21cebab3f55b4907abc08527523b81a
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-30 22:06:56 +06:00
OdSazib
635c08ae00
sdm660-common: Awaken-ify
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-30 22:06:56 +06:00
Ryan Mitchell
1e203fcfbe
sdm660-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2020-12-30 22:06:56 +06:00
OdSazib
256c2fbfed
Revert "sdm660-common: Switch to QTI bt stack and enable a2dp offload"
This reverts commit a85c69a8b5.
2020-12-30 22:04:27 +06:00
OdSazib
f6cb7bb46a
sdm660-common: Nuke lineage livedisplay
* Better version is already exist in device settings

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:05 +06:00
OdSazib
a7fd6033cc
sdm660-common: Add powerhint for sdm660 and sdm636
* Add EAS_POWERHINT_VARIANT := sdm636 for whyred in device.mk

Co-authored-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I3591038a29326b15ce00de0051208219d9f3830d
2020-12-22 20:57:05 +06:00
Subhajeet Muhuri
e647430c7f
sdm660-common: Enable power-libperfmgr
Change-Id: Ia5f8fb4a2afc7a453eb09d2092a7872fd8442bc9
2020-12-22 20:57:05 +06:00
Michael Bestas
40f4b8134b
sdm660-common: Do not build textclassifier
* Target no longer exists

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2020-12-21 09:19:25 +06:00
Michael Bestas
c3100491c3
sdm660-common: Remove deprecated liboverlay target
* This was removed from display HAL in 2015

Change-Id: I25f675260e8ab166001dd2e2601dc13021bcc15a
2020-12-21 09:19:25 +06:00
OdSazib
151e86e97b
sdm660-common: Set target screen density to 400
Change-Id: I574b5d322eccc753d37f9fc17599470d12cd9b37
2020-12-13 18:37:01 +06:00
Demon000
19ff6e0599
sdm660-common: Add shim for libdpmframework
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I5bbfcfafd3898d00b489df2cd057ca6dc043e21c
2020-12-13 18:37:01 +06:00
Felix
8fecc32ed8
sdm660-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2020-12-13 18:37:00 +06:00
LuK1337
80d02cda27
sdm660-common: Build libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-12-13 18:37:00 +06:00
Arian
eb93de8d19
sdm660-common: Load vndk 29 libprotobuf for libril-qc-hal-qmi and libwhvdil
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I14e2ceef71541003a452775e1dd7f44c8b3b2b5a
2020-12-13 18:37:00 +06:00
Jiyong Park
80a9405ac4
sdm660-common: move VNDK APEX to vendor partition
... for aosp_* targets so that we don't need to update vendor.img everytime
there is a change in the VNDK libraries

Bug: 140136207
Test: build, m
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ibfe67b4cca6ef6648ad39a50154cb539348b008a
2020-12-13 18:37:00 +06:00
Robert Shih
262f018a5e
sdm660-common: Enable v1.3 clearkey drm plugin
Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420
Signed-off-by: Arian <arian.kulmer@web.de>
2020-12-13 18:37:00 +06:00
Ethan Chen
d1c4577c52
sdm660-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-12-13 18:37:00 +06:00
Ethan Chen
85f3e1c9e1
sdm660-common: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-12-13 18:37:00 +06:00
Alastair Donaldson
419ee63c8f
sdm660-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: Ia70f8e432bf8b32420904587c9b45529e4045959
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-13 18:25:07 +06:00
Mikhail Naganov
1c13a08a99
sdm660-common: Switch to Audio HAL V6
Switch sdm660-common to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test on sdm660-common

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2020-12-13 18:25:07 +06:00
Aayush Gupta
b2a2736410
sdm660-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
2020-12-13 18:25:07 +06:00
Weilun Du
d008a7e9a6
sdm660-common: Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-13 18:25:07 +06:00
Roshan Pius
9ddf8cdc12
sdm660-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-13 18:25:07 +06:00
OdSazib
e05dac84b8
sdm660-common: Add service-sysfs for LiveDisplay 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
OdSazib
71e85a8f68
sdm660-common: Drop snap package 2020-10-19 11:36:07 +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
dianlujitao
a85c69a8b5
sdm660-common: Switch to QTI bt stack and enable a2dp offload
Change-Id: I8b3e7701a81ac92696d59c145e91351839048e39
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ć
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
dianlujitao
a43b71b11d
sdm660-common: Make FM radio opt-in
Change-Id: I2394de5df43aacb69051f8232bfc8f653cf77119
2020-10-19 11:36:05 +06:00
dianlujitao
056de13319
sdm660-common: Remove unused lower-end codecs
Change-Id: Ia7172e12b388c02cf3e8a8034d8eaf5f20b911ca
2020-08-12 02:11:34 +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
guaiyihu
e007445fe5
sdm660: Drop double defined flashlight support
* already in Device Trees which have Flashlight

Change-Id: I3bb9695edc2bb38201d19b8e8f54695774e60828
2020-08-12 02:11:32 +06:00
Stylogey
ddee2bec54
sdm660-common: remove low power whitelist
Change-Id: I4d722478b0bd60573322112bc47c59630632029d
2020-08-12 02:02:40 +06:00
Stylogey
0bb6dd3fb4
sdm660-common: use perfconfigstore instead of properties
Change-Id: I71461329a7ddfc56a124c342e7ac8697e86d69bf
2020-08-12 02:02:40 +06:00
Keertesh
f1ecb3232c
sdm660-common: Introduce choosable APEX
As we have fde devices also.

Change-Id: I56a239292b748e6556e3b42608ada03dcf60b774
2020-08-12 02:02:40 +06:00
Bruno Martins
e41888742c
sdm660-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I7e7336d03f1423938962c8859efcca0b2dad3a0f
2020-08-12 02:02:40 +06:00
Stylogey
e02b8799f6
sdm660-common: dont build a 32 bit version of displayservice
Change-Id: I322810101e8a156e00927f88537081626aa7d496
2020-08-12 02:02:39 +06:00
Stylogey
c3ac2b42e2
sdm660-common: move A/B stuff to common
Change-Id: I8770ea03a27f96e04daedaf021906842c0bcebce
2020-08-12 02:02:39 +06:00
Stylogey
1b0982f3d5
sdm660-common: add hostapd configuration files from caf
Change-Id: Ic01ae0d200895845af34310d864427e4f835beea
2020-08-12 02:02:39 +06:00
Stylogey
8038d94e5d
sdm660-common: build radio config 1.1
Change-Id: I38733cc72284fc984d921ef043001c1c0811a43b
2020-08-12 02:02:39 +06:00
Stylogey
1bcf447ec0
sdm660-common: rootdir: separate xiaomiparts related initialization
Change-Id: I7b2b3a9c7b22de550e502a9b98e31683e3b961b6
2020-08-12 02:02:39 +06:00
Max Weffers
ee3d97317f
sdm660: audio: remove unneeded a2dp offload xml
* its not used in our current a2dp configurations
* useless due the fact our normal audio policy xml not contain offload 
support

Change-Id: I13a405af01627aa98d0e45aa90cf22d5204f8812
2020-08-12 02:02:38 +06:00
Max Weffers
b474bd9e51
sdm660-common: Fix audio policy configuration xml copy
Change-Id: I4d91fb575c3a0ecd7ae81c4371b579879b73f9a6
2020-02-10 18:43:32 +01:00
Stylogey
f2dd83bcbe
sdm660-common: Build configstore@1.1
In manifest it is already set to 1.1
2020-02-10 14:23:13 +01:00
Karthi Kandasamy
1d6b79cf60
sdm660-common: Update display config to version 1.9
upgrade display config version to 1.9

Change-Id: I29586a29b2091366fa975c2721fe1e507e62a537
Signed-off-by: c_kartka <kartka@codeaurora.org>
2020-02-10 14:23:12 +01:00
dianlujitao
2c02c0df52
sdm660-common: Build new GNSS HAL
* Remove unnecessary dependencies on liblbs_core.so
 * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
   building w/o BSP.

Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-02-03 16:28:25 +01:00
dianlujitao
8cb6811164
sdm660-common: Checkout GPS config from LA.UM.8.2.r1-05100-sdm660.0
Change-Id: I27fa3dbb4b1d301a6cd60a6a0b224e35c18c4b46
2020-02-03 16:28:25 +01:00
dianlujitao
9f499a8154
sdm660-common: Add blobs for a2dp offload
Change-Id: I2515493fd1cd63e80a27144883cecf62250869f9
2020-02-03 16:27:21 +01:00
dianlujitao
c8a5f5cb09
sdm660-common: Explictly build camera HIDL interfaces
* The 64-bit variants are used by IMS blobs but no longer automatically
   built along with the 32-bit counterparts.

Change-Id: I387e4345c3088bbaf55e24bcfe286ccd877507a6
2020-02-03 16:27:21 +01:00
dianlujitao
24061ceef5
sdm660-common: Don't specify bitness of hal impls
* It's the default behavior on 10

Change-Id: I24827806ff050cb96046ac6249e6b5b8223de813
2020-02-03 16:27:21 +01:00
dianlujitao
3502b443c8
sdm660-common: Build external audio hal modules
Change-Id: Ib00ae87142a533285ccfcf5d36876c7a93dd7082
2020-02-03 16:27:21 +01:00
Aryan Gupta
0368d35910
sdm660: Drop cryptfs_hw, not needed for file based encryption
we will be using encryption package as device specific now

Change-Id: Ib0c87b8bbe261c1155cd544070ff4bb0143b7e7a
2020-01-31 16:36:00 +01:00
Max Weffers
1fe7102a58
sdm660-common: Update GPS from Jasmine 10 Release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I083334309bddcca63c0a6e5477ae30c244686392
2020-01-14 18:19:32 +01:00
Bruno Martins
4adf51fc33
sdm660: Disable RRO overlays
Change-Id: Icda8fc7411f59f555dfeef7f1ecacb5a92dd94a6
2020-01-13 22:08:50 +01:00
Max Weffers
970e87ee2b
sdm660: Add back MiWatermark lib and remove shim
Change-Id: I7611b322b2f2935fc9079f9a76f9f5d9096aec00
2020-01-13 14:35:55 +01:00
dianlujitao
adf0ba8cb9
sdm660: Build cryptfshw HAL
Change-Id: I2d9730dd38926682edf2f9083ecdf46a2f5dd51d
2020-01-04 09:37:09 +01:00
Arian
fd9cdbe6c5
sdm660-common: Inherit common dalvik heap configuration
Change-Id: I0820cffbd98d9a24ad178d45485918c57961c867
2020-01-02 13:15:08 +01:00
Max Weffers
32528d64fb
sdm660: Build Snap Cam 2020-01-02 13:00:15 +01:00
Hlcpereira
0cdf9180fa
sdm660:Build libldacBT_dec
* For some reason while on bluetooth calls, A2DP/BT 2.0 HIDL wants that lib

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
2020-01-02 11:50:20 +01:00
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00
rajadeja
520f185fcf
sdm660: Add authsecret interface
Signed-off-by: AnkitGourav <Ankitgourav035@gmail.com>
2019-12-23 08:59:24 +01:00
Arian
ca9897e1f6
sdm660-common: vndk: Enable runtime isolation
Change-Id: I027556b1a760242da957b9c3a9c270bd9f20def7
Co-authored-by: Angga Satya Putra <anggasp@hotmail.com>
2019-12-07 20:50:23 +01:00
dianlujitao
607e68cb76
sdm660-common: Build vendor android.hidl.base@1.0.so
Change-Id: I39c71e61252228dbfcf50047795ea23b2275e4bd
2019-12-07 18:49:55 +01:00
dianlujitao
fa6a145a1b
sdm660-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2019-12-02 17:22:26 +01:00
shoudil
8d2d762f63
sdm660-common: Add vendor framework detect modules to PRODUCT_PACKAGES
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify both the core and vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2019-12-01 10:30:04 +01:00
Michael Bestas
4f0e9000c9
sdm660-common: Build vendor variant of tinymix
* Avoid SELinux neverallows, vendor services should use vendor tools

Change-Id: I2a97658db9a31dd0403f1b62386db2987bd9749c
2019-12-01 10:27:53 +01:00
Max Weffers
03c38c6d35
[TEMP] Remove Snap Camera 2019-12-01 10:11:01 +01:00
Max Weffers
81b3fa2e6c
sdm660-common: data-ipa-cfg-mgr: Merge tag LA.UM.8.2.r1-04800-sdm660.0 2019-11-13 21:44:34 +01:00
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
pythonlimited
48e9cd2940
sdm660-common: build native livedisplay 2019-08-20 10:39:43 +02:00
Max Weffers
c49dad539d
sdm660-common: Add basic inherits for android pie 2019-08-20 10:39:37 +02:00
Max Weffers
0f3fd42e37
sdm660: Add Thermal Controller App 2019-08-15 17:28:34 +02:00
Christian Oder
30e7fa4873
sdm660-common: Add basic permission file for HotwordEnrollment
Change-Id: I2986ba3599fe65a8da27649d98d70cd548257aa8
2019-08-15 15:31:33 +02:00
Jaekyun Seok
599f052e17
sdm660-common: Enforce RRO on framework-res
Overlays only for framework-res will be converted into RROs.

Other overlays can't be converted due to some known issues on app RRO.

Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61
(cherry picked from commit db1b6058200fc5255f519cf6609fca7619d6743e)
2019-08-15 15:31:32 +02:00
GuaiYiHu
8ddc3489ac
sdm660-common: device: Build rcs packages
Change-Id: Idfc57ee69e8d0d7f35528c80f4ce7286b3501f5e
2019-08-15 15:31:32 +02:00
Max Weffers
5f44f936a7
sdm660-common: Add miui camera repo if the repo exists 2019-08-15 15:27:20 +02:00
Alexander Martinz
d8cfcde494
sdm660-common: bluetooth: Build libbthost_if
Change-Id: I55a5e5260301cfd658ff8bcd0015f127eefeaa39
Signed-off-by: Alexander Martinz <alex@amartinz.at>
2019-08-15 15:27:20 +02:00
Ethan Chen
c0e0aee3a4
sdm660-common: Add basic USB HAL that reports no status change
Change-Id: I6d130d324753c03ac514c4500c5764bfa46941dc
Signed-off-by: SakilMondal <mondalsakil@gmail.com>
2019-08-15 15:27:20 +02:00
Max Weffers
9edec35070
sdm660-common: remove lineage Livedispaly and Trust 2019-08-15 15:27:19 +02:00
Humberto Borba
cf2affdbef
sdm660-common: use specific resolution for bootanimation
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I36ca35dbdb638cc29f29cf2a2c619c3cbd3c1034
2019-08-15 15:27:19 +02:00
pythonlimited
a42d8f3ff2
sdm660-common: media: move specific media_profiles_V1_0 to device 2019-08-14 10:04:14 +02:00
pythonlimited
9842c4542d
sdm660-common: audio: move specific audio files to device 2019-08-14 10:04:14 +02:00
Volodymyr Zhdanov
7573dba6d6
sdm660-common: Build some extra vendor libraries for camera
* I know it looks ugly but xiaomi does that on production devices
* such as whyred or sagit internal treble beta, so why not
2019-08-14 10:04:13 +02:00
Volodymyr Zhdanov
d0920a7b2e
sdm660-common: Build vendor version of 32-bit libdng_sdk 2019-08-14 10:04:13 +02:00
Rashed Abdel-Tawab
e8ce424bb3
sdm660-common: Build vendor version of libstdc++
Change-Id: Ie43c0a6b594ecfcff393efb8a3937f04af0ee0a4
2019-08-14 10:04:13 +02:00
Bruno Martins
6a5e3bad77
sdm660-common: Build with VNDK
* VNDK runtime isolation is kept disabled for now because that's
   also how Xiaomi is shipping P on their devices.

Change-Id: I43140442ab33f3e9633bb4f347e2bee9be97b447
2019-08-14 10:04:13 +02:00
Max Weffers
305b7b0404
sdm660-common: sensor: move sensor configuration to device 2019-08-14 10:04:13 +02:00
Bruno Martins
83814f81bb
sdm660-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
2019-08-14 10:04:13 +02:00
Max Weffers
c70fd1c72a
sdm660-common: overlay: Add freefrom Multiwindow managment 2019-08-14 10:04:12 +02:00
GuaiYiHu
6848dbe509
sdm660-common: Update GPS configs from Mi8 Lite
Change-Id: Ib7e7c0032739fcf4ef189ef23be16292235f4006
2019-08-14 10:04:11 +02:00
coderzstas
823c11d4b6
sdm660-common: Add FP Navigation Gestures and enable SystemNavigationKeys overlay
* useing jasmine keylayouts from android on pie
2019-08-14 10:04:10 +02:00
Artem Borisov
6d581599d5
sdm660-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
   we need this to keep Wi-Fi display feature working.

Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2019-08-14 10:04:10 +02:00
Max Weffers
4be5d36c9f
sdm660-common: Move screen density to device 2019-08-14 10:04:10 +02:00
Max Weffers
ee0654bffe
sdm660-common: Move Vibrator HAL to device 2019-08-14 10:04:10 +02:00
Max Weffers
a116e28da5
sdm660-common: Move ConsumerIR HAL to device 2019-08-14 10:04:10 +02:00
Max Weffers
cb1b743b8d
sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
Renamed from wayne.mk (Browse further)