Commit graph

96 commits

Author SHA1 Message Date
Josh Chasky
eef3c5c4d0
board: Update to Clang 10.0.4
Change-Id: I181212db478a025c09adf346b3e47d1cd6509ab7
2020-02-27 17:01:39 +01:00
Dyneteve
458fbf7f0d
sdm660-common: Switch to userspace LMKD
Change-Id: I63a284f3b956284e798fe0ecfb6cc05b4190db73
2020-02-27 17:01:38 +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
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
Michael Bestas
e007171d55
sdm660-common: Enable AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT
* Enables tinycompress extensions for QCOM audio HAL features.

Change-Id: If7a691a554015de40f237058d98171a0cd0d7cc3
2020-01-02 12:02:24 +01:00
Aryan Gupta
6705f181df
sdm660: Depreceate DEX flag
Already Enabled on Q
2020-01-02 11:50:20 +01:00
Elias Gheeraert
8bfec766bb sdm660-common: Remove deprecated SDCLANG 2019-12-31 13:45:48 +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
Max Weffers
4d31d8482d
Revert "sdm660-common: Move to common data-ipa-cfg-mgr"
This reverts commit 98c3540df1.

Revert needed due Wifi Offload service crashing device and cause soft reboot
2019-12-23 08:59:25 +01:00
Bruno Martins
98c3540df1
sdm660-common: Move to common data-ipa-cfg-mgr
* It is now available at vendor/qcom/opensource/data-ipa-cfg-mgr

Change-Id: If66808c4bc2c02f7d253bdc1f7b34b83f559a047
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-12-13 17:21:08 +01:00
Michael Bestas
694dc7d0d6
sdm660-common: Enforcing SELinux 2019-12-07 20:51: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
Volodymyr Zhdanov
28bcd270e4
sdm660-common: remove compile time feature flags
* everything's in runtime now

Change-Id: Ida18245734d50383abd9796f8933c833da9776fb
2019-12-02 17:22:37 +01:00
Rama Bondan Prakoso
153cfbd83f sdm660-common: Add support for lavender (Redmi Note 7/7S)
* add A-only SAR fstab
* hax manifest keymaster version

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2019-10-31 17:39:23 +00:00
darkbeast69
10552a9942 sdm660: remove double defined power flag 2019-10-31 14:51:01 +05:30
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
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
Himanshu Agrawal
5987d829c6
sdm660: board: Enabling back custom audio policy.
Change-Id: I4f62e0ce26c31ee77eb4071a1cec3f3eed5c7513
2019-10-15 22:07:25 +02:00
nebrassy
a95e4e99a9
sdm660-common: migrate to power HAL 1.2
Change-Id: I5ddcfced7b6be8666a97f7408da4af1a980ffc93
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
Sujin Panicker
9e8d2db0ca
sdm660: audio: Disable ahal extension 2019-10-04 18:53:17 +02:00
Aalique Grahame
c5179fc652
sdm660: audio: Update Audio Configuration from CAF
*taken from 57058a6c2f (diff-150a488020beaf5b0711175bb5420f8b)
2019-10-04 18:53:14 +02:00
Max Weffers
f3b7c8bb63
sdm660: sepolicy: Start Q Bringup 2019-10-01 14:24:08 +02:00
Michael Bestas
f29f40577c
sdm660-common: Switch to device/qcom/sepolicy-legacy-um policy
Change-Id: I09ee12755ab0a1f54a9dca4b92313ef1127db3d6
2019-10-01 14:24:08 +02:00
Luca Stefani
3d5f0bf780
sdm660-common: Fix specifying custom clang compiler version 2019-09-27 17:13:46 +02:00
Bruno Martins
f159bc44db
sdm660-common: Kill framework compatibility matrix with fire
This thing is not mandatory at all and only demands extra work by having
to keep it up-to-date whenever new interfaces are added to the device 
manifest
or simply uprev'ed.
Change-Id: I7c5485f201efde86ff1b277951e7faebf8b80437
2019-09-27 17:13:46 +02:00
GuaiYiHu
34846c6abf
sdm660-common: Enable QC wifi dual ap feature
Change-Id: Ie8d74bbc2e5d7428cd1a29929394f1788ecede36
2019-09-27 17:13:45 +02:00
Artem Borisov
1f658096ee
sdm660-common: Make a legacy symlink for persist as well
Apparently, our bluetooth hal and TAS Soundriver wants it.

Change-Id: I673646a90f016c3d0e3f2244bed8e31cd0263f7e
2019-09-27 17:13:45 +02:00
Max Weffers
6bb02d88cb
[TEMP]sdm660-common: disable FM 2019-09-27 17:13:44 +02:00
jhenrique09
e6c893e2f9
sdm660-common: Correct define libinit variable
Fixes:

Change-Id: Ia1a58bea3df625fd76c060370dc7f9fa2a597765
15:55:35 error: system/core/init/Android.bp:95:1: "libinit" depends on undefined module "//device/xiaomi/sdm660-common/init/libinit_sdm660"
2019-09-27 17:13:44 +02:00
Arian
b80ecdd83e
sdm660: Don't use custom audio policy for now 2019-09-27 17:13:44 +02:00
Bruno Martins
20bea42abf
sdm660-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2019-09-27 17:13:44 +02:00
Bruno Martins
80aa3de90e
sdm660-common: Create root folders outside of vendor init script
* The core SELinux policies for vendor_init are being restricted as to
   comply with Treble. Simply adding a local rule to allow creating
   folders under rootfs would be enough, but at the same time defining
   the extra root folders and making use of AID/fs configuration file
   to set perms is more neat and clean.
 * Furthermore, with System As Root / is a read-only filesystem
   so we can't create our mountpoints from init script anymore

Change-Id: Idabd7ae72e4c4fd9daac5ba3be3e6236f79f251b
2019-09-27 17:13:44 +02:00
LuK1337
be49c5683a
sdm660-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
2019-09-27 17:13:44 +02:00
Arian
4171cb8ef0
sdm660-common: Use aosp wlan hal for now 2019-09-16 10:39:53 +02:00
Arian
f66c3a3f04
sdm660: Disable sepolicy and Add minimal sepolicy 2019-09-16 10:39:53 +02:00
Jaekyun Seok
f036ce1c01
sdm660: Remove PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE
This CL will fully enable whitelisting system properties. To do that,
the following unnecessary action triggers are removed as well.

Bug: 74266614
Test: succeeded building and tested with blueline
Change-Id: I0048fd41a5bcd16dd54ba00ac40c0afbfef21d58
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
Max Weffers
e2cc2fde08
Revert "sdm660-common: Switch to enforcing"
This reverts commit 7b8535343b.
2019-09-16 10:39:53 +02:00
Erfan Abdi
dee1cb1d2a
sdm660-common: set clang version for Q
Change-Id: I0c27867afb299ed54674c9aca58a0f8b2a32bfd9
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Erfan Abdi
0485118170
sdm660-common: Build broken PHONY
Change-Id: Idb8418cfb6335fa7257e084e1d135dc6fb29ebc4
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-16 10:39:53 +02:00
Nicolas Geoffray
3a60aea53a
sdm660-common: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-09-16 10:34:06 +02:00
Dan Willemsen
6d233d0615
sdm660-common: build have overriding commands
These products have warnings about overriding build commands, which
means that there are multiple instructions on how to build a file, and
we've just picked one of them. Which one we pick is usually stable, but
it can change.
Bug: 77611511
Test: turn default to false, walleye still uses a warning
Change-Id: I11d194863b313f64b19291f65219682b169d9ced
2019-09-05 12:21:14 +02:00
Vachounet
c339de8739
sdm660-common: build kernel with clang
Change-Id: I13f6be472f4db2baf79d8081be3b4411bb2b9e54
2019-09-05 12:19:22 +02:00
celtare21
efcc3f888c
sdm660-common: Compile HWUI in Performance Mode
Signed-off-by: celtare21 <celtare21@gmail.com>
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-09-05 12:17:56 +02:00
srfarias
b84ff14cb1
sdm660-common: boardconfig: disable dexpreopt for prebuilts
Signed-off-by: srfarias <erikofarias@gmail.com>
2019-09-05 12:17:56 +02:00
Kalpaj Chaudhari
082f5e459f
sdm660-common: boardconfig: Optimize SystemUI to avoid janks
Change-Id: I2bca8f4bad9aad13016fd0e254938f18f154284a
2019-09-05 12:17:56 +02:00
Ethan Chen
660876d49f
sdm660-common: BoardConfig: Drop custom display flags
* TARGET_USES_NEW_ION_API, TARGET_USES_OVERLAY are largely deprecated.

Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
2019-08-21 08:58:14 +02:00
Luca Stefani
2a1f5d40a2
sdm660-common: BoardConfig: Remove deprecated cmdline option
* Firmware path is specified in ueventd.qcom
Change-Id: Ic5cd0eebaf4f4c18c70a8edd3ba2633290dfdceb
2019-08-21 08:54:06 +02:00