Android 10 no dynamic partition

From Variscite Wiki
Revision as of 17:27, 1 September 2020 by Mohit (talk | contribs) (Created page with "== Creating images with no dynamic partitions in Android build == In order to boot with system, vendor and product partitions, please follow below mentioned steps:<br> 1.) c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Creating images with no dynamic partitions in Android build

In order to boot with system, vendor and product partitions, please follow below mentioned steps:
1.) cd ~/var_imx-o8.1.0_1.3.0_8m/android_build/device/variscite/imx8m/
2.) Edit som_mx8mn.mk and change TARGET_USE_DYNAMIC_PARTITIONS from "true" to "false"
3.) Do a clean build
4.) Delete all old images including "super.img" in /dev/SDX/rootfs/opt/images/Android are deleted
5.) Copy following images from out/target/product/som_mx8mn to /dev/SDX/rootfs/opt/images/Android

u-boot-imx8mn-var-som.imx
boot.img
dtbo-imx8mn-var-som.img
dtbo-imx8mn-var-som-v10.img
vbmeta-imx8mn-var-som.img
vbmeta-imx8mn-var-som-v10.img
system.img
vendor.img
product.img

6.) Boot From SD card
7.) Flash from command line (use the install_android.sh script)