From 60497874a865c8cc33d1068861b1410cb9d831bf Mon Sep 17 00:00:00 2001 From: Konsta Date: Wed, 19 Feb 2025 17:45:21 +0200 Subject: [PATCH] mkimg: increase image size to fit 16GB storage device * This will create a flashable image that is 15569256448 bytes. * I checked several 16GB sdcards and USB storage devices and the actual byte size ranged from 15646851072 to 16008609792. --- mkimg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkimg.sh b/mkimg.sh index 4e0a7d6..cd62c2d 100755 --- a/mkimg.sh +++ b/mkimg.sh @@ -29,7 +29,7 @@ VERSION=RaspberryVanillaAOSP14 DATE=$(date +%Y%m%d) TARGET=$(echo ${TARGET_PRODUCT} | sed 's/^aosp_//') IMGNAME=${VERSION}-${DATE}-${TARGET}.img -IMGSIZE=7GiB +IMGSIZE=14848MiB if [ -f ${ANDROID_PRODUCT_OUT}/${IMGNAME} ]; then exit_with_error "${ANDROID_PRODUCT_OUT}/${IMGNAME} already exists!"