Commit graph

243 commits

Author SHA1 Message Date
Dyneteve
dabf68b62a
sdm660-common: Enable AOSP surfaceflinger
* AOSP SurfaceFlinger is smoother than CAF

Signed-off-by: Dyneteve <sound0020@gmail.com>
2021-03-18 07:33:30 +06:00
OdSazib
1c6c38bcab
sdm660-common: Use default clang set by build/soong 2021-03-08 00:27:43 +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
sbwml
d7334ac1eb
sdm660-common: Set loop max part to 7
loop.max_part must be less than 8, otherwise twrp generates warning with endless loop for apex

Reference: https://source.android.com/devices/tech/ota/apex#required_kernel_configuration_options
2021-03-02 23:47:30 +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
etahamad
1c6b82775f
sdm660-common: apex: Generate APEX image 2021-02-20 11:55:48 +06:00
sohamxda7
53a8793b1d
sdm660-common: drop sched_enable_hmp/power_aware boot argument
* As we are using EAS, this is useless
2021-02-10 09:05:14 +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
OdSazib
313ca103eb
sdm660-common: Use QCOM_WLAN HAL instead of AOSP 2021-02-04 13:21:01 +06:00
Andrew Chant
ea89963af3
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: Ie585f2ce5dec429510cc6c00452dc4d49f1372a0
2021-01-27 13:13:52 +06:00
Erfan Abdi
6492dcfc37
sdm660-common: Fix typo in console kernel parameter
Change-Id: Ia38914588a0b0e3bc30c51df9a7b8681f5bf9d76
2021-01-21 03:26:34 +06:00
Bruno Martins
8b69365830
sdm660-common: Remove deprecated telephony flag
The custom jar is dead for good in Android 11.

Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2021-01-21 03:26:34 +06:00
Nolen Johnson
b9217c9674
sdm660-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2021-01-21 03:26:33 +06:00
LuK1337
989bd8fa1d
sdm660-common: Kill BOARD_HAS_LARGE_FILESYSTEM
* No longer exists.

Change-Id: I7f5088b8daedd87107c94f4bddd45286d7453834
2021-01-21 03:26:33 +06:00
Arne Coucheron
5d7ac0edbd
sdm660-common: Remove deprecated TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-01-21 03:26:33 +06:00
Kilian von Pflugk
f9b529e057
sdm660-common: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: I6b828da1fbcc8c054c5b35ff78c870a689f7ed9f
2021-01-21 03:26:33 +06:00
Daniel Mentz
4593610a06
sdm660-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2021-01-21 03:26:33 +06:00
OdSazib
4727f2e446
sdm660-common: Don't use QTI_BT for aosp bt stack 2021-01-21 03:26:33 +06:00
Sap1k
3f8347eb45
sdm660-common: Temporary ignore Neverallows
Change-Id: Ie17c06f031d4e474fb7463eb3a6f37c5d4e752c5
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
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
Subhajeet Muhuri
f8945482b8
sdm660-common: Remove TARGET_USES_INTERACTION_BOOST flag
* Doesn't exist in power-libperfmgr

Change-Id: Ie4d60caf8b69757ef1dea109a5c146d6953faa74
2020-12-22 20:57:05 +06:00
Luca Stefani
7c910f5de2
sdm660-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2020-12-21 09:19:25 +06:00
OdSazib
d49eada337
sdm660-common: Update exfat driver
* New kernel replaced sdfat with exfat

signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
Bruno Martins
31de151a0d
sdm660-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with equivalent prop
Change-Id: I00125a429cde213e8dd22f742c5875e39b80bb5e
2020-12-13 18:38:07 +06:00
Redick Lin
4f7ff6df99
sdm660-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-13 18:37:52 +06:00
nebrassy
7083e0a2bc
sdm660-common: manifest: decommonize Keymaster
Change-Id: Ifdfcd868399b28a77d4a05db584e2c02b47ad2c3
2020-12-13 18:37:01 +06:00
LuK1337
470f46ca7d
sdm660-common: Update qcom sepolicy include
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2020-12-13 18:37:01 +06:00
Dan Willemsen
ee0b64d99d
sdm660-common: Still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Manish4586
3ca41f3482
sdm660-common: remove vndk 28
Test: build
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I788354e9eacf31d1d0c8f65cfbae118e5058d708
2020-12-13 18:37:00 +06:00
Manish4586
3b747333e8
sdm660-common: boardconfig: disallow vintf metadata
Test: Compile
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I135d960a07407ebd4ef4bbf0556e13c630132d2c
2020-12-13 18:37:00 +06:00
Manish4586
cff57187a6
sdm660-common: boardconfig: disable phony targets
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I3fdf41ebef4e75872b588525edc4e2aac46d9f1d
2020-12-13 18:28:02 +06:00
Nicolas Geoffray
72cea2d0f9
sdm660-common: Update in pinned files.
Remove or update paths that don't exist.

Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:27:08 +06:00
Felix
87bee85ee2
sdm660-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2020-12-13 18:25:07 +06:00
Jimmy Chen
a38fe7fd69
sdm660-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-13 18:15:48 +06:00
OdSazib
89d62afca0
Revert "sdm660-common: Change USB autosuspend delay to 7s by commandline."
This reverts commit cf25291f1c.
2020-12-13 18:15:47 +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
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
dianlujitao
a43b71b11d
sdm660-common: Make FM radio opt-in
Change-Id: I2394de5df43aacb69051f8232bfc8f653cf77119
2020-10-19 11:36:05 +06:00
Max Weffers
d13dbb25b5
Revert "sdm660: Update clang to 10.0.6"
This reverts commit 2f3bc77532b1b949b3cd76b339c0bcc8ca9b276c.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ic51a70977d15428bd9e36c6a1ce248be6b5dc4c0
2020-08-12 02:11:32 +06:00
Keerten
e7656c2f04
sdm660-common: fix manual network selection
* Fixes couldn't connect to manual networks

Change-Id: Ifda9e49e34bfe68bf5157316086312aed45115d6
2020-08-12 02:11:32 +06:00
Max Weffers
46306f40a3
sdm660: Update clang to 10.0.6
Change-Id: Ibd5545326c43baaad427197efd19b811b2be0823
2020-08-12 02:02:40 +06:00
Stylogey
c3ac2b42e2
sdm660-common: move A/B stuff to common
Change-Id: I8770ea03a27f96e04daedaf021906842c0bcebce
2020-08-12 02:02:39 +06:00
dianlujitao
21ca3c8b96
sdm660-common: Decommonize FM radio
Change-Id: I4c9564aed953013ea34b53ae883b6f5d683980c3
2020-08-12 02:02:39 +06:00
Stylogey
3587c05ed8
sdm660-common: use cortex-a73 for arm64
cortex-a73 memcpy is faster on arm64 while kyro seems to be the best for
32 bit

Change-Id: Iced75b16aef6f4e1bba5627802759d2924a7dc1c
2020-08-12 02:02:39 +06:00
idabgsram
7e0da6d532
sdm660-common: Switch to Filebased-metadata encryption
Change-Id: I0fd387c6be606e9658fa4badeaf9ac75f7987af0
2020-08-12 02:02:36 +06:00
Aryan Gupta
d2272c9cb7
sdm660-common: Set loop max part to 16
Needed for apex to work properly

refer https://source.android.com/devices/tech/ota/apex

Change-Id: Iabcb7478cd96be8f4cd8ee1cf17185d7d5ba0cd9
2020-02-27 17:01:42 +01:00
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
Artem Borisov
3fa299cef7
sdm660-common: Remove custom VSYNC offsets
* Custom VSYNC offsets are intended to reduce input latency at cost of
  increased sync error counts. Our values were never calculated properly
  and were just taken from another device instead. That led to jank in
  some usecases.

Change-Id: I57ac4362ca28a9c128cc45c3f6e3734a24654955
Signed-off-by: srfarias <erikofarias@gmail.com>
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-20 10:39:44 +02:00
Ethan Chen
8a025c0c53
sdm660-common: Drop USE_OPENGL_RENDERER flag
* is largely deprecated

Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
Signed-off-by: srfarias <erikofarias@gmail.com>
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-20 10:39:44 +02:00
Rashed Abdel-Tawab
91afce1fb2
sdm660-common: Disable vendor and system property isolation
Change-Id: Ic73cd73c13220b804ec1c0a5fd1bd68470cf9db1
2019-08-20 10:39:43 +02:00
Abhishek Aggarwal
68d67fa744
sdm660-common: Enable Aware Wi-Fi feature
* Goes as per stock and is needed since the HIDL interface
   is now being built from source.

Change-Id: Ia18a38be16f56f48f0442aeae588bb987391c716
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
2019-08-15 15:31:33 +02:00
Henrique Silva
e1eb7a09c3
sdm660-common: Enable TARGET_USES_ALTERNATIVE_MANUAL_NETWORK_SELECT 2019-08-15 15:31:17 +02:00
Subhrajyoti Sen
73f621b005
sdm660-common: set TARGET_HAS_NO_POWER_STATS
Change-Id: I9ffc40e961f267e0030ff3c26aa327bcc3f23594
2019-08-15 15:27:20 +02:00
Subhrajyoti Sen
bf6552b913
sdm660-common: set TARGET_HAS_NO_WLAN_STATS
This fixes 01-21 07:34:55.559   536   536 E QCOM PowerHAL: extract_stats: failed to open: /d/wlan0/power_stats Error = No such file or directory

Change-Id: I371199c9b5a3cc897979486ef158521ee37f6d19
2019-08-15 15:27:20 +02:00
Stefan Berger
aba2bee681
sdm660-common: Add HEALTHD_USE_BATTERY_INFO board flag
Needed to display correct lockscreen charging values.

Change-Id: Id29c5b4064b6e38a6d2ef7adce24ffa81fc347e6
2019-08-15 15:27:20 +02:00
Humberto Borba
d905b578c7
sdm660-common: board: Enable FM Radio build
Depends on:

https://gerrit.omnirom.org/21995

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I43909a5ffacc416cd7da7ee691437fc76ed6df5f
2019-08-15 15:27:19 +02:00
khanfrd
7a683e1a70
sdm660-common: add BOARD_USES_ADRENO flag
* Needed to build libc2dcolorconvert libs

Change-Id: Ib9350cf2bf571a57195311a98ebce16cefbce7fd
2019-08-15 15:27:19 +02:00
Max Weffers
a71bd3f961
sdm660-common: board: Add QCOM BSP Flag 2019-08-15 15:27:19 +02:00
Ethan Chen
9b3f87218f
sdm660: Use local DATA_IPACFG_MGR
Change-Id: I6b074707510bde8fb001b42dbbe1654c6ebdb6ad
2019-08-14 10:04:14 +02:00
GuaiYiHu
c0aa324f18
sdm660: board: Reorder and add missing Audio Configuration
Change-Id: I16d2d56a5014fb6c23225a60604938e123668c9e
2019-08-14 10:04:14 +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
GuaiYiHu
7c0d634d7a
sdm660-common: bluetooth: Build bthost_ipc with latest caf
Change-Id: Id2d486f8208111c708b8aabcc51382f754de2c4d
2019-08-14 10:04:13 +02:00
dianlujitao
5dd4564f19
sdm660-common: board: enable interaction boost
Change-Id: Ie5fa2180f70613733fdd8bd028710142f1307c2a
2019-08-14 10:04:13 +02:00
Wei Wang
9451c24666
sdm660-common: Use mke2fs to create ext4 images
Set TARGET_USES_MKE2FS := true to use new EXT4 tool chain

Bug: 62421233
Change-Id: Id6e5c68b2d7854e5330ad87443b974361a4bff9d
2019-08-14 10:04:13 +02:00
Max Weffers
f7c2061271
sdm660-common: board: Set DTW Node in device tree 2019-08-14 10:04:13 +02:00
Max Weffers
a4dd54504d
sdm660-common: board: Use qcom time services 2019-08-14 10:04:13 +02:00
Rashed Abdel-Tawab
2c59f9e98c
sdm660-common: board: Disable KPI optimization
Change-Id: I75bf4bd54f8005356a6db9f482ec51039e7b5407
2019-08-14 10:04:13 +02:00
Paul Keith
a955c8cd1e
sdm660-common: Use sdfat for exfat
Change-Id: I660c5b3008636a651a2812fe1739ff8a2ea845cb
2019-08-14 10:04:13 +02:00
Rashed Abdel-Tawab
0dc1c35080
sdm660-common: Enable incall music
audio@4.0 supports this

Change-Id: I5ff23aa036462726d0ecd22d11d9d126008f5f30
2019-08-14 10:04:13 +02:00
srfarias
324484f8f2
sdm660-comon: Disable swap channels
Requires 2d8898c83d

Signed-off-by: srfarias <erikofarias@gmail.com>
Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
2019-08-14 10:04:13 +02:00
Max Weffers
ef53ab6448
sdm660-common: enable PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE to fix
unexported propertys in init
2019-08-14 10:04:13 +02:00
haran
ba37a1ce70
sdm660-common: boardconfig: Remove deprecated/useless flags
Change-Id: I5199aff977d4e65d86de7edc3a15c3b3690da473
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
Max Weffers
86f58c6df2
sdm660-common: Cleanup fstab and add support for f2fs
Change-Id: Ic70a0b31f86c74c4b29eedd4fdb06ae4f3a551e7
2019-08-14 10:04:11 +02:00
Max Weffers
23ac1c6605
sdm660-common: Move kernel source definition 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
Michael Bestas
c3b168d280
wayne-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR
* Avoids the following warnings on every single rebuild of anything:
build/core/Makefile:34: warning: overriding commands for target
 `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar'
build/core/base_rules.mk:391: warning: ignoring old commands for target
 `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar'

Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2019-08-14 10:04:10 +02:00
Dan Cashman
b1f434c446
wayne-common: Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions.
Also add such an extension: a labeling of the qti.ims.ext service.

Bug: 38151691
Bug: 62041272
Test: Policy binary identical before and after, except plat_service_contexts
has new service added.
Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f

Change-Id: I1493c4c8876c4446a1de46b39942098bf49c79f8
2019-08-14 10:04:10 +02:00
Isaac Chen
84416c8761
Revert "wayne: Build with VNDK=current"
This reverts commit 92cea1314c.
2019-08-14 10:04:09 +02:00
Isaac Chen
660f9a315c
wayne-common: Specify cache for non-AB variant device
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-08-14 10:04:06 +02:00
Udaya Bhaskara Reddy Mallavarapu
ac0b0b363a wayne-common: Enable 64 bit DRM plugins compilation
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.

Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2019-07-01 16:42:17 +02:00
Vinay Verma
b4ae0e40d6 wayne-common: Add MATRIX file for vendor HAL's
Change-Id: I6c7eed54f066e61ad8039eef5ee6081e6de43560
2019-07-01 16:42:17 +02:00
Ruthwar Ambeer
c43368111d wayne-common: Move AtFwd hal from device to framework manifest.
AtFwd hal is implemented as an android service and
it stars from system partition, that is, it's not
a traditional vendor hal and hence it should be
declared in the framework manifest and not in the
device manifest.
This commit introduces new device specific framework
manifest (framework_manifest.xml) and moves AtFwd hal
from device to framework manifest.

Change-Id: Iacdb5604a682b8462d16297f4b543928bb100282
CRs-Fixed: 2287149
2019-07-01 16:42:17 +02:00
Bindu Gokul
b3daa7ef81 wayne-common: Set partitions for loop device.
AdoptableHostTest in CTS uses virtual disk feature for testing.
This change is to enable partitions for virtual disk.

Change-Id: Ie03766738715ef54d4fa768033a96fdd76d3172b
2019-07-01 16:42:17 +02:00
Bruno Martins
56c5262d44 wayne-common: Use build system to create mount point symlinks
Change-Id: I2672d6cd1b644c7ba9068a563755de6fde27bc57
2019-07-01 16:42:16 +02:00
Vinay Verma
c5bd350f84 wayne-common: Mount dsp and firmware in vendor
Change fstab to mount dsp and firmware to /vendor/dsp and
/vendor/firmware_mnt.

Add classpath for firmware loading /vendor/firmware_mnt/image in
kernel command line.

Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4
2019-07-01 16:42:16 +02:00
Artem Borisov
7f8cea7f8b wayne-common: Enable boot and system server dex-preopt
As stated in https://android.googlesource.com/platform/build/+/418258c
this is required in O-MR1 since sepolicy now prevents system server from
loading anything from /data making our system extremely slow and janky.

Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
2019-07-01 16:42:16 +02:00
Isaac Chen
ad43afa173 wayne-common: Inherit properties from makefile
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-07-01 14:15:05 +02:00
GuaiYiHu
a77e5c7a18 wayne-common: wifi: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE
See from https://source.android.com/devices/tech/connect/wifi-sta-ap-concurrency

Change-Id: I64f9e7b76e6dffaf59cd78eae4ba3e75f3b13808
2019-07-01 14:15:04 +02:00
Isaac Chen
53a86fcdf1 wayne-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Nile targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-12-08 05:25:45 +00:00
Yifan Hong
ba3140167a wayne-common Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-12-08 05:24:18 +00:00
Isaac Chen
1f768a77be wayne-common: Remove unused partition defines
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
dc59590a23 wayne-common: rootdir: Support A/B fstab
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
7a59c64c44 wayne-common: Convert into common tree
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Renamed from BoardConfig.mk (Browse further)