Commit graph

3694 commits

Author SHA1 Message Date
OdSazib
3a742e8c0b
sdm660-common: DeviceSettings: Fix null object reference of thermal
* also optimize code with references
2021-02-04 14:50:09 +06:00
OdSazib
313ca103eb
sdm660-common: Use QCOM_WLAN HAL instead of AOSP 2021-02-04 13:21:01 +06:00
OdSazib
ee10c7c2a6
sdm660-common: overlay: Adjust overlay with source 2021-02-04 13:21:01 +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
0103df44b3
sdm660-common: Update telephony from LA.QSSI.11.0.r1-09400-qssi.0
* Fix volte and RIL crash for sdm660 devices
 * You need top 3 commits in telephony from this repo
   https://github.com/OdSazib/android_vendor_codeaurora_telephony

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-02-03 05:13:18 +06:00
Palakurthi Sreekanth
2dc34833f9
sdm660-common: Add 3.0 and 4.0 IMapper instance to manifest
Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.

Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.
2021-01-30 23:55:27 +06:00
OdSazib
d08d2d3b8e
sdm660-common: Format fstab with FBE encryption 2021-01-27 21:11:22 +06:00
OdSazib
dd30ca9b1e
sdm660-common: sepolicy: Allow ota updater to access package file 2021-01-27 20:41:45 +06:00
OdSazib
07ca95cac2
sdm660-common: Enable WiFi display, once again
This reverts commit 323f42f80a.
2021-01-27 20:41:45 +06:00
OdSazib
60c11416c1
sdm660-common: Update WFD and Time services blobs
* from LA.UM.9.6.2.r1-02500-89xx.0
2021-01-27 20:41:45 +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
Michael Bestas
c16a25e536
sdm660-common: Remove unused entries from config.fs
Change-Id: Id4bc301454f9ac675a296a1c74581211789711fc
2021-01-27 13:13:51 +06:00
Michael Bestas
0cabf5d129
sdm660-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2021-01-27 13:13:51 +06:00
Michael Bestas
e3ca620d4c
sdm660-common: gps: Ignore some build warnings
Change-Id: If1dfd39ab820cdf5e7ac5caf05dc8fea1cd95235
2021-01-27 13:13:51 +06:00
Michael Bestas
d3c0533d4b
sdm660-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2021-01-27 13:13:51 +06:00
Michael Bestas
b4f14f3185
sdm660-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2021-01-27 13:13:51 +06:00
Ethan Chen
f7f9039840
sdm660-common: gps: Increase batch size to max
* Hardware supports 40

Change-Id: I075fff615814fa105ec1493c5bdde60b8abccf0e
2021-01-27 13:13:51 +06:00
TheStrix
041645bba5
sdm660-common: gps: disable unused location services
* Disable XTWIFI

Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2021-01-27 13:13:51 +06:00
OdSazib
36e5c637a7
sdm660-common: gps: Checkout gps hal from LA.UM.8.2.r1-07400-sdm660.0
* Removed depricated dependencies
 * Restored needed config for gps

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-27 13:13:51 +06:00
OdSazib
a4303640df
sdm660-common: Regenerate and add missing blob with proper permission 2021-01-27 13:13:46 +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
OdSazib
2ea09b04e2
sdm660-common: Update thermal/widevine blobs from jasmine V11.0.19.0 QDIMIXM
* jasmine-user-10-QKQ1.190910.002-V11.0.19.0.QDIMIXM-release-keys
 * Switched to vintf manifest for widevine drm

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-22 07:23:27 +06:00
OdSazib
feaaca76c5
dm660-common: Update blobs from LA.UM.8.2.r1-07400-sdm660.0
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-22 07:21:34 +06:00
Michael Bestas
323f42f80a
sdm660-common: Disable WiFi display for now
* Don't show the broken setting until we have a working
  QCOM wfd stack

Change-Id: Ie0637914b853609e27e8c5cb5699364b1717f712
2021-01-21 03:26:34 +06:00
Michael Bestas
cbaf1ae5ec
sdm660-common: manifest: Remove Trust interface entry
This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf
2021-01-21 03:26:34 +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
Erfan Abdi
6492dcfc37
sdm660-common: Fix typo in console kernel parameter
Change-Id: Ia38914588a0b0e3bc30c51df9a7b8681f5bf9d76
2021-01-21 03:26:34 +06:00
pix106
fe848f7eae
sdm660-common: Remove duplicate properties
SQUASHED into HEAD:
5de946d remove duplicated persist.timed.enable property
b9e41e3 remove duplicated persist.debug.wfd.enable property
2021-01-21 03:26:34 +06:00
StyloGey
e1d2eb88d4
sdm660-common: create libEGL_adreno.so symlink
Change-Id: Ib9c9ba70c121a13ef65d32191c96e6792716ed61
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
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
Bruno Martins
ce68f3873d
sdm660-common: Sign Tether RROs with default cert
In analogy to I017491fd383551c5aadf8648edb900e0c12a27b8

Change-Id: I18f770da2986653a70fdfa92f3be5e1199d06d08
2021-01-21 03:26:34 +06:00
David Su
e4cd8c3832
sdm660-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2021-01-21 03:26:34 +06:00
Michael Bestas
7e5df23224
sdm660-common: TetheringOverlay: Drop custom dhcp range
Qcom extends default range to add wigig support,
which is not supported.

Change-Id: I17324e41b8345de508e8d2627ea282c65ab1262b
2021-01-21 03:26:34 +06:00
Roshan Pius
568cd29a8b
sdm660-common: wifi: Increase max bss count
QCOM's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.

Bug: 74724482
Test: Device boots up and connects to wifi networks.
Change-Id: I62dbd2bd3789c454e9683320d3a58f67019ea7ee
2021-01-21 03:26:34 +06:00
Ethan Chen
beb0438736
sdm660-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2021-01-21 03:26:33 +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
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
Michael Bestas
0f110dcda2
sdm660-common: sepolicy: Resolve camera HAL denials
Change-Id: I47490bfa19bfb6162d161ba0c5e9f48556ab6eff
2021-01-21 03:26:33 +06:00
Jeff Vander Stoep
e48e418541
sdm660-common: sepolicy: camera HAL is a client of configstore
Addresses:
avc:  denied  { find } for
interface=android.hardware.configstore::ISurfaceFlingerConfigs pid=817
scontext=u:r:hal_camera_default:s0
tcontext=u:object_r:hal_configstore_ISurfaceFlingerConfigs:s0
tclass=hwservice_manager permissive=0

Bug: 65454046
Test: camera app
Change-Id: I84b92e5809b89b7f755322d485b92f5e7175a06a
2021-01-21 03:26:33 +06:00
Tim Murray
cc63e83983
sdm660-common: biometrics: keep biometrics in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-30 22:06:56 +06:00