Commit graph

243 commits

Author SHA1 Message Date
LuK1337
64268c4ca1 sdm660-common: Drop TARGET_EXFAT_DRIVER flag
* No longer needed.

Change-Id: Icb0df10fece66ee2ded0fe9c4ae329c50b3d2571
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00
Adithya
3f57e8df24 sdm660-common: power-libperfmgr: Disable boosting when battery saver is on
* end all running boosts when battery saver is turned on,
   and block all boosts until its turned off

Change-Id: I888fe8f3d6779c22e26c24781c492d5576cb5610
Signed-off-by: chiru2000 <chiranth@m.ms.evolution-x.org>

[clarencelol]
* This one integrated into powerhal, much better

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-03-26 11:56:34 +01:00
pix106
d4acd6db7f Revert "sdm660-common: Temporary build permissive"
This reverts commit a08867dacd.

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-21 06:52:18 +01:00
clarencelol
b380d6f268 sdm660-common: Cleanup
* clean some duplicates,deprecated and not uses anymore
* build vendor.qti.hardware.btconfigstore@1.0 from source

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
ujjwalkirorimal
b17346d30a sdm660-common: Adapt ANT stack to S
* Drop Board flag as it is redundant now.
* Drop deprecated ant-radio library
* https://source.codeaurora.org/quic/la/platform/external/ant-wireless/ant_native/commit/?h=LA.UM.10.2.1.r1-02900-sdm660.0&id=795d048dee0814767edf4edaa54b33866b8aefb8

Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
Danny Lin
fd60e5efe4 sdm660-common: Switch to Vulkan UI renderer
We tried doing this on Android 11 and later reverted it due to fd leaks
during prolonged video calls. However, the issue has been fixed on
Android 12, so let's enable it again for performance.

Change-Id: I1cd2ca6931aad60f9c48d40aa0212b69c68edef8
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
Alexander Koskovich
82e4a37cc4 sdm660-common: Remove vendor RenderScript implementation.
* RenderScript is deprecated on newer platforms and
   is being officially replaced.

 * On April 19, 2021, Google announced that RenderScript
   will be deprecated in Android 12, and recommended
   porting existing code to Vulkan.

   https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html

Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-16 20:58:05 +01:00
pix106
207a57bbf7 Revert "[TMP]sdm660-common: Temporary enable neverallows"
This reverts commit 6ce2ab965d2b2257c309115388ca3a2facf5e857.
2022-02-16 20:55:38 +01:00
Omar Hamad
a08867dacd sdm660-common: Temporary build permissive
Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Dyneteve
d8ccb485a4 sdm660-common: Enable AOSP surfaceflinger
* CAF surfaceflinger causes screen flickering on android 12

This reverts commit 3a1dcd4857.

Signed-off-by: Dyneteve <sound0020@gmail.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I3ab55e26299da5e68aaac4ab98899eb3b4f3ec29
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
9cf4c658ac sdm660-common: use sdm660 hals
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Sebastiano Barezzi
f16f61730d sdm660-common: Remove BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED
* Defaults to true if full VNDK is enabled

Change-Id: I2d59cbae13eb3712fd13ab09eea582c8d5768e8f
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Sebastiano Barezzi
c80ba49394 sdm660-common: props: Rearrange properties
- No longer productconfig, hence prepare for boardconfig

Change-Id: I78b4cc1bda325f141b3fa33897e57c6bbd6ce34f
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Chenyang Zhong
e0adc52cce sdm660-common: Relax sysprop owner enforcement
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:

"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"

It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM660, so relax the
enforcement to avoid triggering millions of neverallows.

ref:
[1] afc09932f6

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Sultanxda
c9311ea840 sdm660-common: Remove QCOM_BT_USE_BTNV
We're not using this.

Change-Id: Ie4b2179c6a3ba15276d83f812bdfaeb1a94d71f2
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
33feccae52 Revert "sdm660-common: boardconfig: disallow vintf metadata"
This reverts commit 3b747333e8.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
pix106
1650ba5854 Revert "sdm660-common: Still use BUILD_COPY_HEADERS"
This reverts commit ee0b64d99d.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Omar Hamad
86f4c82b51 sdm660-common: Improve QCOM Product - Board Declaration
This is to avoid failed QCOM HAL resolution.
Some roms uses BoardConfigQcom.mk and some roms uses BoardConfigQcom.mk.
So adding it into poth product and broad won't be an issue.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:32 +01:00
clarencelol
26bc76a375 [TMP]sdm660-common: Temporary enable neverallows
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:32 +01:00
Omar Hamad
d6024e9fa9 sdm660-common: set RELAX_USES_LIBRARY_CHECK true
required libraries in build system is [] vs qcom.fmradio in 8920992b43/fmapp2/AndroidManifest.xml (L63)

note for me: reset this and rm qcom.fmradio library from fm-commonsys

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:32 +01:00
Omar Hamad
6136e1b039 sdm660-common: Allow copy broken prebuilt files
wfdservice won't copy without this flag

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:32 +01:00
Omar Hamad
da423f515e sdm660-common: Build missing required modules
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:40:19 +01:00
Omar Hamad
da1f7c6beb sdm660-common: Adapt sepolicy flags to Android 12
private/public

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:40:19 +01:00
Nolen Johnson
5ba050a01e sdm660-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:32:12 +01:00
LuK1337
1dadab54b8 sdm660-common: Drop leftover WiFi state related flags
* WIFI_DRIVER_OPERSTATE_PATH is no longer needed,
  also it's not ported to 17.0.

Change-Id: Idfa7fb69428642300da2ddc6825774c9e692e648
(cherry picked from commit b0843343defd26622b503606b73a1a8080f1a70b)
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:32:12 +01:00
Albert I
ce01f38f2e sdm660-common: Optimize build specifically for target CPU
* kyro -> cortex-a73

Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:32:12 +01:00
LuK1337
f53e9dc2b2 sdm660-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Ethan Chen
cb34a7cbfa sdm660-common: Remove leftover PRODUCT_VENDOR_MOVE_ENABLED directive
Change-Id: I07e660f6fab0734c8e590e86862406c043cfe9dd
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Bruno Martins
2eba640188 sdm660-common: Remove redundant Treble override flag
Treble is fully enabled for all devices launched with API level 26 or higher
(which applies to all the targets of this common tree), therefore there's
really no need to override it.

Change-Id: Ia79aebda7fb922762f83948d0c19a6356ce343a8
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
5b74396ddc sdm660-common: Remove BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED
* Defaults to true if full VNDK is enabled

Change-Id: I2d59cbae13eb3712fd13ab09eea582c8d5768e8f
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
SebaUbuntu
2e43901320 sdm660-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
pix106
0cdb83b716 Revert "sdm660-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY"
This reverts commit 57aed4aadb.

Reference: e741d463e9

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:31:51 +01:00
Martin Štrobl
256827eaf3 sdm660-common: Flatten APEXes if updatable APEX is not present
* Should fix bootloops on ROMs which require APEX to boot, such as EvoX

* If APEX is being flattened, disable it manually as well since some ROMs have it enabled by default, even if we flatten it.
2021-11-13 11:31:51 +01:00
Edwin Moquete
d3e2fdbd1e sdm660-common: Enable vendor ril service
Change-Id: I0f0cf1ed92888ed96198ef15bf4d832e0ff561d4
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
3605a9c720 sdm660-common: Move to SPDX license identifier
Change-Id: If335a7b83289edf4759d0195a8b065c8dac6631b
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
caaa0bef4e sdm660-common: Kill console parameters
Change-Id: I7e959d2bdfd6a29961a6fab739a4b112fd2daf9b
2021-11-13 11:31:51 +01:00
ghostrider-reborn
79c64bc007 sdm660-common: Introduce kernelspace battery saver
* Needs Kernel side support
 * This activates kernelspace battery saver via powerhal whenever
   battery saver is enabled in userspace, thereby lowering power
   consumption at kernel-level by disabling boosts and such

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I2623503db27d7518de519bcaa3f5af6ab83879d0
2021-11-13 11:31:49 +01:00
clarencelol
efd182dee0
sdm660-common: Switch back to exfat
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Change-Id: I926a2300e8aee2b2dc09da9774b2c62c87432f0f
2021-08-12 02:25:42 +06:00
OdSazib
3a1dcd4857
Revert "sdm660-common: Enable AOSP surfaceflinger"
This reverts commit dabf68b62a
2021-07-12 08:26:54 +06:00
OdSazib
92b5929b8b
sdm660-common: Remove obsolete directory flag
All system directory are handled by build/core/board_config.mk
Unless we have an explicit different directory from OEM like vendor path
which is symlinked to the system as well, we can leave it.

Reference: https://android.googlesource.com/platform/build/+/refs/heads/master/core/board_config.mk#521
2021-06-30 05:50:02 +06:00
LuK1337
57aed4aadb
sdm660-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.
2021-06-27 22:21:00 +06:00
pix106
e93c49f7eb
Revert "sdm660-common: Set linker to LLD"
This reverts commit 7c910f5de2.
2021-06-15 17:32:47 +06:00
Kuba Wojciechowski
68f90e68cf
sdm660-common: Disable KPTI feature
It can also help increase performance by a lot in some scenarios.

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
2021-06-07 09:21:11 +06:00
Rajshekar Eashwarappa
6042373a5f
sdm660-common: Set swiotlb to default size
swiotlb size set to 64MB default value.

Change-Id: Ib256f5d2a1642ba2e635e632e7d1486aa2dd8f13
2021-06-07 09:21:11 +06:00
Chris Fries
b99317d79e
sdm660-common: Set printk.devkmsg=on on kernel cmdline to avoid ratelimit
init and friends are getting ratelimted on /dev/kmsg.  Let's keep
the logs by setting printk.devkmsg=on.

Bug: 62952768
Test: Check for init logs in kernel during boot
Change-Id: I103e3cc1d73880af1d9a0cdc4dae05223eb4c427
2021-06-07 09:21:11 +06:00
Subhajeet Muhuri
913e29df35
sdm660-common: Set TARGET_KERNEL_VERSION to 4.19
* Needed by HALs

Change-Id: I62e73aa1a39597b54945eafed3dfaf1fc96536b6
2021-06-07 09:21:11 +06:00
OdSazib
478a2b33b6
sdm660-common: sepolicy: Rework sepolicy (No more neverallow)
- Thanks to LineageOS and our sdm660 community

Change-Id: I54c7d76260041b7c383428449e149aa35d51de9b3c
2021-05-18 05:03:51 +06:00
OdSazib
53c3064ba1
sdm660-common: audio: Update audio configs and enable soundtrigger 2021-05-15 07:20:19 +06:00
OdSazib
24bb52ba53
sdm660-common: Switch to sdfat driver for exfat
* Switched to latest sdfat 2.4.5 in kernel
2021-03-25 05:59:26 +06:00
OdSazib
0047cdbf79
sdm660-common: Update common tree and adapt changes
* Adjust with wayne-common
* Switch to standalone extract utils from pa
* Update FCM level to 3
* Move IR Blaster to device specific repo

Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-03-21 23:27:59 +06:00
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