Commit Graph

19 Commits

Author SHA1 Message Date
Konsta
8848000689 add empty product manifest
* Needed with enforce-product-packages-exist.
* c38cec789c
2025-04-17 13:02:36 +03:00
Konsta
13af585d0d wifi: enable 5GHz hotspot 2025-04-04 10:33:35 +03:00
Konsta
46fe18c658 remove device compatibility matrix
* Use default device compatibility matrix from
  system/libhidl/vintfdata/device_compatibility_matrix.default.xml.
* 282994a8a2
2025-03-31 19:33:55 +03:00
Konsta
be863bb0bf switch to 64-bit only target 2025-03-31 19:33:37 +03:00
Konsta
e82989d87f wifi: package hostapd and wpa_supplicant into apex
* This is now possible on Android 15 QPR2. Use cuttlefish as reference.
  https://android.googlesource.com/device/google/cuttlefish/+/refs/tags/android-15.0.0_r20/apex/com.google.cf.wpa_supplicant/
* Create local copies of the service entries. Generally creating the
  directories for wireless subsystem happens on trigger 'on post-fs-data'.
  Since apexd for non-bootstrap APEXs starts 'on post-fs-data', this
  trigger is not available for vendor APEX packages. Use trigger
  'apex.all.ready=true' instead which is later still within post-fs-data.
  https://source.android.com/docs/core/ota/vendor-apex#init-scripts
* Create a local copy of wpa_supplicant_overlay.conf. It hasn't been updated
  in ten years in hardware/broadcom/wlan. TODO: Check relevance.
2025-03-19 12:23:04 +02:00
Konsta
146369a9a4 bluetooth: remove unused BDROID_BUILDCFG header
* Doesn't do anything if BOARD_HAVE_BLUETOOTH_BCM is not set.
* Bluetooth device name is parsed from 'ro.product.model' if no default
  is provided using 'bluetooth.device.default_name' property.
2025-03-18 23:49:39 +02:00
Konsta
221f89b35f set TARGET_BOOTLOADER_BOARD_NAME
* Populate 'ro.product.board' as well.
* Fixes b310542c14.
2025-03-18 20:26:49 +02:00
Konsta
b310542c14 set hardware platform name
* Some hardware information applications use this so set actual hardware
  platform name.
* Historic reason why this was set to rpi is that this allowed to use same
  HALs on rpi3/rpi4 when they were commonized. 'ro.board.platform' this sets
  is used in the legacy module load order.
  https://android.googlesource.com/platform/hardware/libhardware/+/refs/tags/android-15.0.0_r20/modules/README.android
  This has no use with modern HIDL/AIDL/APEX HALs. For legacy HALs name can
  be implicitly set using system properties (e.g. 'ro.hardware.audio.primary'
  that's still relevant).
2025-03-18 16:37:46 +02:00
Konsta
f92559efc7 reorganize board config 2025-03-18 16:37:30 +02:00
Konsta
8ec47479b4 treble: remove deprecated vndk flag
* Deprecated in Android 15.
  https://source.android.com/docs/whatsnew/android-15-release#deprecate-vndk
  69f5dbb0d0
2025-03-18 16:37:12 +02:00
Konsta
93dbd7462f treble: remove unneeded flags
* PRODUCT_FULL_TREBLE gets set on PRODUCT_SHIPPING_API_LEVEL >= 26.
  There's no need to override it.
  2b32469c47
* BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED gets set with PRODUCT_FULL_TREBLE.
  c227ce7c25
2025-03-17 19:34:41 +02:00
Konsta
24b579dfc4 virtualization: report vm as supported
* 8c352a4c5c
* Fixes dc1fc3a6e3.
2025-03-06 17:22:52 +02:00
Konsta
34e6ccbc75 use generic cpu variant
* AOSP14 QPR2 (android-14.0.0_r29) introduced some (bionic?) changes that
  fail to boot on rpi4 with cortex-a72 CPU variant.
* Neither cortex-a72/cortex-a72 nor cortex-a53/generic TARGET_CPU_VARIANT/
  TARGET_2ND_CPU_VARIANT combinations seem to work. Use generic CPU variant.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/70.
2024-04-25 17:56:19 +03:00
Konsta
cafac234ff libcamera: update for v0.1.0 2023-11-23 17:25:52 +02:00
Konsta
f396cbd7cd remove obsolete TARGET_ENABLE_MEDIADRM_64
* android.hardware.drm@1.0-impl/service this affects is no longer
  used after 203db632fa.
2023-10-09 15:42:33 +03:00
Konsta
f40e2e0b3f add framework compatibility matrix for android.hardware.media.c2 2023-09-27 19:46:32 +03:00
Konsta
18cc1bd154 bluetooth: switch to btlinux 2023-07-27 17:06:38 +03:00
Roman Stratiienko
2207df9355 Switch to mainline mesa3d's libgbm
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2022-09-17 14:00:24 +03:00
Konsta
bbdbc45eea initial Raspberry Vanilla AOSP 12 commit
* Audio
  - Based on AOSP hikey audio HAL:
    https://android.googlesource.com/device/linaro/hikey/+/refs/heads/master/audio/
  - ALSA based on Android-x86
  - ALSA loop is used to support HDMI audio on Pi 4 because VC4 HDMI
    audio devices use SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE that is not
    supported on Android
    https://github.com/raspberrypi/linux/issues/4651
    https://github.com/raspberrypi/linux/issues/4654

* Bluetooth
  - AOSP Broadcom vendor stack with some additional fixes from android-rpi

* Camera
  - libcamera for official Raspberry Pi CSI camera modules based on GloDroid
  - AOSP external camera HAL for UVC USB webcams:
    https://source.android.com/docs/core/camera/external-usb-cameras

* Graphics
  - OpenGL & Vulkan: upstream Mesa with GloDroid patches
  - Upstream drm_hwcomposer with force resolution patch from Android-x86 and
    my additional fixes
  - minigbm based on GloDroid

* Health
  - Based on AOSP cuttlefish health HAL

* Kernel
  - Merge of Raspberry Pi and AOSP common kernel with my additional fixes
    and configurations
    https://github.com/raspberrypi/linux
    https://android.googlesource.com/kernel/common/

* Lights
  - Based on LineageOS Xiaomi msm8996-common lights HAL

* suspend_blocker
  - Based on AOSP cuttlefish

* v4l2_codec2
  - Based on AOSP with my Raspberry Pi 4 specific fixes

* Wifi
  - AOSP Broadcom vendor stack with my additional fixes
2022-09-17 13:57:57 +03:00