I promise i'm not stupid

This commit is contained in:
2025-11-05 08:12:32 -08:00
parent a868f42f7e
commit 916f6376dc

View File

@@ -51,7 +51,7 @@ echo n
echo p
echo 2
echo
echo +2048M
echo +2100M
echo n
echo p
echo 3
@@ -63,8 +63,10 @@ echo 4
echo
echo +512M
echo n
echo p
echo 5
echo e
echo
echo
echo n
echo
echo
echo t
@@ -81,7 +83,7 @@ if [ -z ${LOOPDEV} ]; then
exit_with_error "Unable to find loop device!"
fi
echo "Image mounted as /dev/${LOOPDEV}"
sleep 1
sleep 2 # Increased sleep for device initialization
echo "Copying boot..."
sudo dd if=${ANDROID_PRODUCT_OUT}/boot.img of=/dev/mapper/${LOOPDEV}p1 bs=1M