Commit graph

3578 commits

Author SHA1 Message Date
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
Manish4586
adfe7cf0e4
sdm660-common: props: enable vsync and disable backpressure
* As seen with December patch some system apps including user apps started to lag (like screen tearing).
* Enabling Vsync and disabling backpressure resolves the issue

Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ieea19e65020643353494336079104f3f53bd1e4c
2020-12-30 22:06:56 +06:00
OdSazib
b6ab9f6f80
sdm660-common: Decommonize sensor blob
* Temporary workaround for jason
2020-12-30 22:06:56 +06:00
Martijn Coenen
6580fdc5be
sdm660-common: Disable dm-verity hash prefetching.
Prefetching appears to have a slightly negative effect on boot time, and
actually makes boot time much worse when the available dm-bufio cache
shrinks. Since we anticipate the dm-bufio cache will shrink (because of
an increasing number of APEX dm-verity targets), disable prefetching
completely.

Boot time w/o this change:  12.085
Boot time with this change: 11.958

Boot time w/o this change with 128kB dm-bufio cache: 22.82
Boot time with this change with 128kB dm-bufio cache: 12.007

Test: atest google/perf/boottime/boottime-test
Bug: 136247322
Change-Id: I12e342c5692fa89855d9c217f2e94287ff5642a6
2020-12-30 22:06:56 +06:00
Sami Tolvanen
841ea5390b
sdm660-common: verity: call verity_update_state
Needed to set up partition.%s.verified properties.

Bug: 29277442
Change-Id: I295668c454e7e16018e1e4c3bafce5e317616069
2020-12-30 22:06:56 +06:00
pix106
4396258ea5
sdm660-common: add /misc to fstab_A.qcom
Fixes "failed to find /misc partition" when trying to reboot to recovery on lavender
2020-12-30 22:06:56 +06:00
Sap1k
3f8347eb45
sdm660-common: Temporary ignore Neverallows
Change-Id: Ie17c06f031d4e474fb7463eb3a6f37c5d4e752c5
2020-12-30 22:06:56 +06:00
OdSazib
97ba5db521
sdm660-common: Enable RRO overlays for lineage-sdk and Snap 2020-12-30 22:06:56 +06:00
Danny Baumann
1c4a536afa
sdm660-common: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2020-12-30 22:06:56 +06:00
Nick
e20c7de20e
sdm660-common: Drop telephony injection for now
* Recent telephony changes has dropped this
  Dropping injection fixes RIL for now

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-30 22:06:56 +06:00
OdSazib
e44cb6d696
sdm660-common: Refactor apex
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I8373415681ebf71732657cf86067be5cc4c14625
2020-12-30 22:06:56 +06:00
erfanoabdi
a6f2b3478b
sdm660-common: Refactor BoardConfigQcom to ProductConfigQcom
* Required if rom switched to ProductConfigQcom to build hals

Change-Id: Iddbc6ae3e21cebab3f55b4907abc08527523b81a
Signed-off-by: OdSazib <odsazib@gmail.com>
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
f2fa84055e
sdm660-common: sepolicy: Address more denials 2020-12-30 22:06:56 +06:00
Danny Trunk
2e38a35b69
sdm660-common: bluetooth: Use default value for HID profile
Do not explicitly set HID profile to false for SDM660 SoC based Xiaomi devices

Change-Id: I38dc9b68cad05624a6a22051af2079cfd4a9e698
2020-12-30 22:06:56 +06:00
Ryan Mitchell
1e203fcfbe
sdm660-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
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