Bug: 116496287

Clone this repo:

Branches

  1. c6b1541 Update README.md by Sen Jiang · 8 weeks ago master
  2. 99229a1 Add emmc_image.py by Sen Jiang · 8 weeks ago
  3. 0bee585 Initial empty repository by Inna Palant · 8 weeks ago

emmc_image.py is a tool to generate an eMMC USER image.

Requirement:

Factory image downloaded from console in both slots:

./emmc_image.py --out emmc.zip --factory_files console_build.zip --all-slots

Custom images in slot A, factory image downloaded from console in slot B:

./emmc_image.py --out emmc.zip --factory_files console_build.zip \
--all-slots \
--partition boot_a custom_boot.img \
--partition system_a custom_system.img \
--partition vbmeta_a custom_vbmeta.img

Dump partition table:

parted emmc.img