Commit graph

156 commits

Author SHA1 Message Date
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