Generating SD Image from compiled Android Build

Discussion in 'Android' started by maxsilver, May 1, 2015.

  1. maxsilver

    maxsilver New Member

    Joined:
    May 1, 2015
    Messages:
    1
    Likes Received:
    0
    Hello!

    I'm following the instructions at http://www.elinux.org/UDOO_compile_android_from_sources (except I'm using the 4.4.2 source currently live on the UDOO website)

    Everything seems to work great, following the instructions I get no obvious compile errors, and in the output folder is a resulting system.img, ramdisk.img, recovery.img, boot.img, etc. To my knowledge, everything is compiling successfully with no errors.

    ---

    My question is --- Is it possible to generate an SD *image* instead of writing to an SD card? I'd like to make a bootable, literal SD-card-image from my locally compiled Android build, similar to the one on the UDOO website at http://download.udoo.org/files/UDOO_Uni ... .2-1.0.zip .

    I'm not really sure how to do this. I'm not seeing documentation around this for UDOO, or for other ARM boards. And my attempts at doing this by hand (sort of ad-hoc converting the make_sd.sh dd / fdisk / kpartx commands to use a image instead of physical SD card) aren't working out very well so far.

    I see that most people use the 'make_sd.sh' script to write the build directly to an SD card, and that is presumably the 'preferred' method of using the android build. But I'm running into problems using that (probably related to non-UDOO reasons) and think it would be a lot easier to work around if I could generate an SD card image from scratch and use that.

    Any help / advice / suggestions are greatly appreciated.

    Thanks!
     

Share This Page