1 How to build factory images: 2 3 Do a normal build prep, then in the ANDROID_TOP_DIR run: 4 5 $ make -j24 dist 6 $ cd out/dist/ 7 $ . ../../device/linaro/hikey/factory-images/generate-factory-images-package.sh 8 9 # Package with an existing image 10 # First download the image to the android build top directory 11 12 $ device/linaro/hikey/factory-images/generate-factory-images-package.sh 13