Commit Graph

267 Commits

Author SHA1 Message Date
Konsta bf1228f985 sepolicy: add block devices for NVME/USB boot 2025-10-28 19:13:17 +02:00
Konsta aacf777888 suspend_blocker: rename service 2025-10-28 19:13:08 +02:00
Konsta f1b27851bc bump fcm level to 202504
* This is the target FCM level for API level 36.
* Specify that HIDL is enabled so android.hidl.manager is started.
  This copies manifest fragment that doesn't set max FCM level
  (vs. max-level="8").
* Set FCM level in compatibility matrix to satisfy kernel version check.
* 'make check-vintf-all' passes as COMPATIBLE.
2025-10-23 14:40:37 +03:00
Konsta 102dc910af ffmpeg: move seccomp policy to external 2025-10-23 12:59:08 +03:00
Konsta ff81fc3d40 v4l2: move seccomp policy to external 2025-10-23 12:58:41 +03:00
Konsta 1af66bc311 ffmpeg: v4l2: update framework compatibility matrix
* Picked up by 'make check-vintf-all'.

The following instances are in the device manifest but not specified in framework compatibility matrix:
    android.hardware.media.c2.IComponentStore/ffmpeg (@1)
    android.hardware.media.c2.IComponentStore/v4l2 (@1)
2025-10-20 16:02:30 +03:00
Konsta f0c0f73ed8 v4l2: switch to apex 2025-10-20 16:01:45 +03:00
Konsta 4345b4ca59 v4l2: switch to aidl 2025-10-20 16:01:19 +03:00
Konsta bed9e6da04 ffmpeg: switch to apex 2025-10-20 16:00:57 +03:00
Konsta 76851c025b ffmpeg: switch to aidl
* Also switch codec2 framework to use AIDL.
  https://android.googlesource.com/device/google/cuttlefish/+/cc7adc69368d91e2b7949263411e49e3f90e4371
2025-10-20 16:00:11 +03:00
Konsta 62a7180749 tv: set correct aapt preference
* tvdpi is for 213 dpi and xhdpi is for 320 dpi. Android TV targets set
  320 dpi on 1920x1080 resolution [1].
* On AOSP16 1280x720 resolution is forced on tvdpi [2] as TvFrameworkOverlay
  RRO package only contains the resource for the preferred density.

[1]: https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-16.0.0_r1/data/etc/displayconfig/default_television.xml#16
[2]: https://android.googlesource.com/device/google/atv/+/refs/tags/android-16.0.0_r1/overlay/TvFrameworkOverlay/res/values-tvdpi/config.xml#23

Change-Id: If8ed07664d9925ab8226f15f8f6ce374d90e0f71
2025-10-11 18:04:53 +03:00
Konsta 7cd0ef4896 boot: add overlay for Raspberry Pi 5" DSI Touch Display 2 2025-10-06 14:45:57 +03:00
Konsta e38828e453 graphics: disable hdr
* https://github.com/raspberry-vanilla/android_external_drm_hwcomposer/commit/42c9655523cfd42759dac77377d1ca4b3d9ae65d
2025-08-30 17:53:30 +03:00
supechicken aaafd4ad77 keylayout: Fix Leanback Keyboard for ATV image
This patch remaps the Enter key to DPAD_CENTER for Leanback Keyboard to work

Change-Id: I201234d8a735c4eec5f6e0680c37bb5c13dcef21
Signed-off-by: supechicken <me@supechicken666.dev>
2025-08-22 20:09:32 +03:00
Konsta 6a138fcbc3 keylayout: add cec config to tv layout
Change-Id: I628544c5e4fdd9b131c9596ef5b8eb9676c3a7c0
2025-08-22 20:09:22 +03:00
Konsta eefaf52ed2 keylayout: add tv specific layout
* Copy from device/google/atv/Generic.kl at 8e49e4448fdced4816fc40d4e01f3f6e66e3c3db.

Change-Id: I2aeb85d5bab319c7efda7d324042e319a447bb83
2025-08-22 20:09:07 +03:00
Konsta 73dc302e7c graphics: build mesa using soong
* libgbm_mesa_wrapper is built as a requirement.
2025-06-27 11:09:39 +03:00
Konsta 79499edb0a libcamera: build using soong
* IPA data is now copied as a requirement to ipa_rpi_vc4.
2025-06-27 11:09:31 +03:00
Konsta 9f56322d0d libcamera: switch to aidl hal
* https://gitlab.baylibre.com/baylibre/ti/android/aosp/device/ti/am62x/-/commit/20c227e0c3b7499341c1d3e13ca10ade6a2bc464
2025-06-27 11:07:55 +03:00
Konsta a27160eac6 audio: don't copy alsa configs
* ALSA configs are now copied as a requirement to libasound.
2025-06-24 16:04:40 +03:00
Konsta f051aa7456 enforce-product-packages-exist: add exception for com.android.ranging
* Android 16 ranging feature.
  https://developer.android.com/develop/connectivity/ranging
* com.android.ranging is nowhere found in AOSP though should be built.
  https://android.googlesource.com/platform/build/+/1e9faa2bc926ed9ee4cb9e6c3cb61a5887ac135e

build/make/core/main.mk:1096: warning:  device/brcm/rpi4/aosp_rpi4.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
com.android.ranging

build/make/core/main.mk:1096: warning:  device/brcm/rpi4/aosp_rpi4_car.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
Bluetooth
Keyguard
Launcher2
OverviewApp
RotaryIME
RotaryPlayground
com.android.ranging
libnfc_ndef
libvariablespeed
pppd

build/make/core/main.mk:1096: warning:  device/brcm/rpi4/aosp_rpi4_tv.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
com.android.ranging
2025-06-16 13:35:41 +03:00
Konsta 6da2011d04 car: update vehicle aidl to v4 2025-06-16 13:35:41 +03:00
Konsta 97d178fb0f car: switch to v4l2 evs aidl hal 2025-06-16 13:35:41 +03:00
Konsta dbb03fcd99 bump shipping api level 2025-06-16 13:35:41 +03:00
Konsta 5edcb4f1e5 readme: mkimg: Raspberry Vanilla AOSP 16 2025-06-16 13:35:41 +03:00
Konsta e0c894f6bb mkimg: adjust flashable image size
* It's been reported that 14848MiB = 15569256448 bytes is still too
  large to fit some 16GB storage devices.
* 15360000000 bytes is dividable by 16384, 4096, 2048, 1024, 512, ...
* Fixes b3a1d84235.
2025-06-08 12:31:44 +03:00
Konsta 08fd823c92 mkimg: detach loop device 2025-06-08 12:31:36 +03:00
Konsta 872f2d93ff wrimg: add more block devices to search 2025-06-08 12:31:27 +03:00
Konsta 0eacc6e521 light: support more backlight paths
* I2C address for the panel regulator driver depends on the device and
  DSI port the display is connected on. Add more backlight paths to support
  different hardware configurations. Also add path for legacy rpi_backlight
  driver to make testing easier.
2025-05-02 14:12:12 +03:00
Konsta 596751674d increase system partition size
* Make room for unspecified add-ons.
2025-04-17 13:04:11 +03:00
Konsta b5dfa61808 car: add exceptions for non-existing targets 2025-04-17 13:02:56 +03:00
Konsta df1f9b11a5 enforce product packages exist 2025-04-17 13:02:45 +03:00
Konsta 8848000689 add empty product manifest
* Needed with enforce-product-packages-exist.
* https://android.googlesource.com/device/google/cuttlefish/+/c38cec789c28f6f98547c2b63ba2a62b6d8cbf41
2025-04-17 13:02:36 +03:00
Konsta b859ded61e wifi: remove hostapd_cli and wpa_cli
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
2025-04-12 18:19:07 +03:00
Konsta 6805e02d6a audio: remove tinyalsa utils
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
2025-04-12 18:19:07 +03:00
Konsta f3265ec330 audio: remove alsa-utils
* These are mostly useful for debugging purposes so I've added them
  in the project's utilities wiki page.
* alsa-utils have been renamed to use their original names if there's no
  conflict with other packages in AOSP.
2025-04-12 18:18:44 +03:00
Konsta f46b7392fe camera: remove unneeded media profiles property
* This hasn't been needed in years.
  https://android.googlesource.com/platform/frameworks/av/+/72ad8cb0aec92b818505a08765e44a56e9d2776a
2025-04-12 18:17:35 +03:00
Konsta 2103ad1dea ffmpeg: move media codecs config & seccomp policy to device
* https://github.com/raspberry-vanilla/android_external_ffmpeg_codec2/commit/71ac744017cc31d13a72e5f376a8d76b51aebcd2
2025-04-09 12:53:04 +03:00
Konsta 1b4858762d v4l2: move seccomp policy under same section 2025-04-09 12:30:29 +03:00
Konsta 583d56ec4b wrimg: add script to write partition images
* Can be used to write partition images to a storage device that has the
  correct partition structure after flashing an image created by mkimg.sh.
* Poor man's alternative to
  fastboot flash boot boot.img
  fastboot flash system system.img
  fastboot flash vendor vendor.img
  fastboot erase userdata
2025-04-04 10:34:11 +03:00
Konsta 47143a3804 mkimg: improve error message 2025-04-04 10:33:59 +03:00
Konsta a33fafc261 wifi: overlay: enable background scan 2025-04-04 10:33:45 +03:00
Konsta 13af585d0d wifi: enable 5GHz hotspot 2025-04-04 10:33:35 +03:00
Konsta 8e63b830e2 wifi: overlay: set default name for hotspot 2025-04-04 10:33:27 +03:00
Konsta a96b2234a4 bluetooth: set default device name
* Set default device name for bluetooth.
* I still prefer this displayed as 'Raspberry Pi 4' after commit
  c8117b1305.
2025-04-04 10:33:19 +03:00
Konsta 062049cecd overlay: set default device name
* Set default device name displayed in settings menu.
* I still prefer this displayed as 'Raspberry Pi 4' after commit
  c8117b1305.
2025-04-04 10:33:10 +03:00
Konsta faa832f059 ramdisk: remove ion 2025-04-02 13:58:03 +03:00
Konsta 27d5b9a0b8 v4l2: don't allocate using ion
Codec2.0 poolMask:
  ION(16)
  BUFFERQUEUE(18)
  BLOB(19)
  V4L2_BUFFERQUEUE(20)
  V4L2_BUFFERPOOL(21)
  SECURE_LINEAR(22)
  SECURE_GRAPHIC(23)

For linear buffer allocation:
  If ION is chosen, then the mask should be 0xf50000
  If BLOB is chosen, then the mask should be 0xfc0000

0xf50000 -> 11110101 0000000000000000
0xfc0000 -> 11111100 0000000000000000
2025-04-02 13:57:38 +03:00
Konsta 0dc4975917 sepolicy: allow keymint to read serialno property 2025-04-02 13:55:01 +03:00
Konsta 8a1b860709 sepolicy: allow vendor_init to set cec property 2025-04-02 13:54:52 +03:00