Re: [android-building] which build files are essential?

94 views
Skip to first unread message

Jean-Baptiste Queru

unread,
Aug 22, 2012, 3:02:51 PM8/22/12
to android-...@googlegroups.com
Besides a fastboot binary, the files you really need are boot.img,
recovery.img and system.img.

From there, it essentially amounts to:

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot format userdata
fastboot format cache
fastboot reboot

JBQ

On Wed, Aug 22, 2012 at 11:36 AM, Arvind Thiagarajan <t.ar...@gmail.com> wrote:
> Sorry for what may be a basic question since I'm still a newbie...
>
> I've built Jellybean on a remote server with > 16G mem since it takes a
> really long time on my not so powerful laptop machine. However, I want to
> flash the built images on to my phone using fastboot, and I need to use my
> laptop for this since I don't have access to a powerful desktop locally.
>
> I presumably need to copy/transfer some of the build products back to my
> macbook. The contents of the "out" directory in the build are huge though,
> nearly 17GB! Does any one if all of this directory is required to run the
> "fastboot flashall -p ..."
>
> If not, what files from the build are really essential? Plus, if my laptop
> runs OS X and the remote server build is Linux, will this pose problems or
> can I just use a Mach (OS X) fastboot binary and point it to the correct
> "out/" directory?
>
> Would be grateful if anyone knows the answer.
>
> Thanks,
> Arvind
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Ron M

unread,
Aug 22, 2012, 3:04:17 PM8/22/12
to android-...@googlegroups.com

You only need the .img files.
If flashall doesn't work flash each partition separately. It's pretty simple

-Ron Munitz

Reply all
Reply to author
Forward
0 new messages