Konsta
8ac0967b8c
car: device path has car directory
...
* Fixes c2277d28e8
.
2025-03-18 16:34:32 +02:00
Konsta
acfacd0969
cleanup device identifiers
...
* Drop Raspberry from model as some hardware information applications
display it after the manufacturer/brand and we'll end up with duplicate
Raspberry in the device name.
* PRODUCT_RELEASE_NAME is long gone.
2025-03-18 16:34:32 +02:00
Konsta
1bd1c53659
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:34:32 +02:00
Konsta
6e3aa4099e
reorganize board config
2025-03-18 16:34:27 +02:00
Konsta
47d647f7a5
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:23:31 +02:00
Konsta
0658026dcf
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:04 +02:00
Konsta
22f4f46410
sepolicy: remove libglapi
...
* Fixes 6a128defbc666a7fea920a1dbb01f3fdff4ec657.
2025-03-17 18:48:11 +02:00
Konsta
fff80dc383
Revert "overlay: disable screen dimming by default"
...
* In practice, doesn't disable dimming.
This reverts commit 822083ba68
.
2025-03-16 17:55:23 +02:00
Konsta
aa51dae2c2
suspend_blocker: move service to init fragment
2025-03-16 17:30:06 +02:00
Konsta
9d4665d9c8
memory: remove lmkd properties
...
* These were added years ago when userspace low memory killer daemon
was introduced. For most part these match the defaults and ones that
dont't, shouldn't be set on Android R and above.
https://android.googlesource.com/platform/system/memory/lmkd/+/refs/tags/android-15.0.0_r20/README.md
cc5d2cca25
2025-03-16 17:29:57 +02:00
Konsta
7dc457033f
keylayout: update for Android 15 QPR2
...
* Changes from frameworks/base/data/keyboards/Generic.kl
2025-03-16 17:29:46 +02:00
Konsta
484c9906ae
keymaster: replace with keymint aidl apex
...
* 2d24638a3d
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/29 .
2025-03-11 18:38:48 +02:00
Konsta
dc248dcb02
gatekeeper: switch to aidl apex
...
* 6ecd625b28
2025-03-11 18:38:32 +02:00
Konsta
27b5b2e8ed
Revert "storage: disable stable uris for for external primary"
...
* Disabled by default on Android 15.
1e52eb6f54
This reverts commit f6d1a17729
.
2025-03-11 18:37:48 +02:00
Konsta
23377856d8
health: update aidl to v4
...
* 148b5d9248
2025-03-06 17:20:18 +02:00
Konsta
8b85358ac8
virtualization: report vm as supported
...
* 8c352a4c5c
* Fixes dc1fc3a6e3
.
2025-03-06 17:20:06 +02:00
Konsta
cbcaf931e3
add touchscreen permission
2025-03-06 17:19:22 +02:00
Konsta
91a626c855
libcamera: add configurations for imx519 and ov64a40 camera modules
2025-03-02 13:25:13 +02:00
Konsta
d31cd0ab1c
audio: proprietary -> vendor
2025-03-02 13:25:04 +02:00
Konsta
3a141e6b33
suspend_blocker: proprietary -> vendor
2025-03-02 13:24:56 +02:00
Konsta
3c8683bd0c
overlay: proprietary -> vendor
2025-03-02 13:24:44 +02:00
Konsta
51073dd508
bluetooth: enable A2DP sink
...
* A2DP source and sink can coexist on Android 15.
https://android-review.googlesource.com/q/topic:%22bt_a2dp_src_sink_coexist%22
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/188 .
2025-03-01 22:26:28 +02:00
Konsta
6c7ec173b4
mkimg: adjust flashable image size again
...
* Different decimal separator is used depending on the locale.
* 14848MiB = 15569256448 bytes.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/187 .
* Fixes e2a1429001
.
2025-02-27 17:37:20 +02:00
Konsta
e2a1429001
mkimg: adjust flashable image size
...
* Raspberry Pi Imager expects image size to be multiple of 512 bytes
so revert back to using gibibytes.
* 14.5GiB = 15569256448 bytes.
* Fixes c71777ecdd
.
Change-Id: Iae83ff6a3eb2b6033279ac5bfcd5d952577eeefa
2025-02-25 19:57:35 +02:00
Konsta
2ff057cea4
graphics: remove libglapi from mesa packages
...
* No longer exists on Mesa 25.0.
2025-02-25 17:02:19 +02:00
Konsta
831688d8ae
overlay: tv: remove minimum screenoff timeout
...
* Fixes screen saver on Android TV.
* IIRC this is an old hack when Android TV didn't respect stay awake
option. Probably hasn't been needed in years.
2025-02-20 15:09:57 +02:00
Konsta
2f5981de4f
health: fake more battery stats
...
Change-Id: Ic511604c9ed5e5972af34ef0afb120affacd0586
2025-02-20 15:09:17 +02:00
Konsta
c71777ecdd
mkimg: increase image size to fit 16GB storage device
...
* This will create a flashable image that is 15500000000 bytes.
* I checked several 16GB sdcards and USB storage devices and the
actual byte size ranged from 15646851072 to 16008609792.
2025-02-20 15:09:17 +02:00
Konsta
f0a37c0c28
mkimg: use fallocate to create the image
...
* This is much faster than creating a file by filling it with zeroes.
* Remove unnecessary quotes for consistency.
2025-02-20 15:09:17 +02:00
Konsta
9f38f9eece
Revert "graphics: disable hwc config groups"
...
* Disabled by default on upstream
cd3902ab4a
.
This reverts commit 66656f14fb
.
2025-02-20 15:04:49 +02:00
Konsta
eb5b8812c3
cec: check input on device property
2025-02-06 15:00:50 +02:00
Konsta
07e066812c
cec: add rpi hal implementation
...
* TODO: Convert to AIDL.
2025-02-05 20:20:07 +02:00
Konsta
9b0ddfd25d
cec: remove mock hal
2025-02-05 20:19:48 +02:00
Konsta
1b74e802ee
cec: copy hidl hal
...
* Copy from hardware/interfaces/tv/cec/1.0/default
at b04e2f3df5ebbbeea46f555d0965357f05aa1457.
2025-02-05 20:19:38 +02:00
Konsta
f999796b13
cec: remove legacy hal
...
This reverts commit c0a8378d8b
and more.
2025-02-05 20:18:33 +02:00
Konsta
822083ba68
overlay: disable screen dimming by default
2025-02-02 15:48:54 +02:00
Konsta
2da7253013
lights: boot: use DSI panel regulator driver
...
* Old rpi_backlight driver is no longer used on recent kernel versions.
Regulator driver is used for backlight instead.
* Change the backlight path and implement scaling to support the official
Raspberry Pi 7" DSI Touch Display & Touch Display 2.
* The original Touch Display has max brightness of 255 while the new Touch
Display 2 has 31.
2025-02-02 15:47:10 +02:00
Konsta
1b7cb2e460
mkimg: set image owner
2025-01-30 20:01:45 +02:00
Konsta
318905d5ef
mkimg: minor cleanups
2025-01-30 20:00:25 +02:00
Konsta
bc1843f1e6
mkimg: check partition images exist
2025-01-30 18:35:35 +02:00
Konsta
451f4129cd
mkimg: strip aosp_ from build target
2025-01-30 18:35:25 +02:00
MinnieTheMoocher
936497eced
mkimg: use existing env variables instead of hardcoded strings
...
* this requires to run "lunch" before, the script checks for that
2025-01-30 18:34:51 +02:00
Konsta
66656f14fb
graphics: disable hwc config groups
...
* 613a9440a0
.
2025-01-02 21:30:53 +02:00
Konsta
7bacc18602
boot: ramdisk: add CM5 USB configuration
2025-01-02 21:30:33 +02:00
Konsta
ec9011cc09
boot: increase CMA size
...
* CMA size was decreased in 3edaa3875f
.
* Larger CMA allocation is needed for H.265 hardware decoding
in some cases. Essentially revert the above change.
Change-Id: I7b53cc6bca4663be4a51ab61daf644460d09532d
2024-12-13 18:50:20 +02:00
Konsta
1899d4a4e4
graphics: switch to aidl allocator and gralloc5 mapper
2024-12-13 18:50:20 +02:00
Konsta
aaaabffb91
sepolicy: add hwc3 hal
...
* Fixes a47cb47fba
.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/158 .
2024-12-12 18:10:16 +02:00
Konsta
a47cb47fba
graphics: switch to hwc3
...
* Support for HWC3 was implemented in upstream drm_hwcomposer.
2024-12-09 14:23:11 +02:00
Konsta
53f9d2ecfe
graphics: add libgbm_mesa to mesa packages
...
* This gets built as a dependency to minigbm gbm_mesa_driver's
libgbm_mesa_wrapper but add it here for completeness.
* Move Mesa gbm libraries under separate section.
2024-12-05 19:50:16 +02:00
Konsta
87ece4d4b9
sepolicy: update mesa libraries
...
* Adapt to changes in Mesa 24.2/24.3.
2024-12-05 19:50:11 +02:00