Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
4df4207d06 readme: mkimg: Raspberry Vanilla Ice Cream AOSP 15 2024-09-05 16:37:55 +03:00
Konsta
1c9bf21bfe rename rpi4 -> rpi5 2023-11-24 13:15:33 +02:00
Konsta
5193e6ce38 readme: mkimg: Raspberry Vanilla AOSP 14 2023-10-09 15:46:26 +03:00
Konsta
3ca55b2c31 fstab: remove option to use FDE
* Full-disk encryption (FDE) has been deprecated for devices launching
  with Android 10 or higher but now it's been removed in Android 13.
* File-based encryption (FBE) i.e. replacing this with
  'fileencryption=aes-256-xts' works but there's some performance
  issues with it especially when running from slow storage devices
  such as sdcards that are used on Raspberry Pi. Recovery also can't
  decrypt FBE which is another issue.
* There's no longer need to resize userdata partition to leave space
  for crypto footer.
2022-09-17 13:58:59 +03:00
Konsta
c76b23f21e readme: mkimg: Raspberry Vanilla AOSP 13 2022-09-17 13:58:59 +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