bootanimation in AOSP

4,037 views
Skip to first unread message

Rick Krystianne Lim

unread,
Jun 13, 2013, 3:10:21 AM6/13/13
to android-...@googlegroups.com
I have already built my own AOSP but I wan't to change its bootanimation.

I want to automatically add the bootanimation.zip in /system/media folder, so that after building, it is already stored in .iso file.

Can anyone give me ideas on how to do this?

Jean-Baptiste Queru

unread,
Jun 13, 2013, 5:49:16 AM6/13/13
to android-...@googlegroups.com
In your product configuration makefile:

PRODUCT_COPY_FILES += <path>/<in>/<source>/<tree>/<filename>:system/media/bootanimation.zip

JBQ


--
--
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
 
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
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.

Rick Krystianne Lim

unread,
Jun 13, 2013, 8:41:38 PM6/13/13
to android-...@googlegroups.com
Thank you for your help Sir.

I'm sorry Sir, but I'm still a newbie at this.
Which file, product configuration makefile, should I modify? The one in "build/core/main.mk"?
<path>/<in>/<source>/<tree>/<filename> --> I have no idea what to replace

Rick

Magnus Bäck

unread,
Jun 14, 2013, 3:05:24 PM6/14/13
to android-...@googlegroups.com
On Thursday, June 13, 2013 at 20:41 EDT,
Rick Krystianne Lim <ricki...@gmail.com> wrote:

> On Thursday, June 13, 2013 5:49:16 PM UTC+8, Jean-Baptiste Queru wrote:
>
> > In your product configuration makefile:
> >
> > PRODUCT_COPY_FILES +=
> > <path>/<in>/<source>/<tree>/<filename>:system/media/bootanimation.zip
>
> Thank you for your help Sir.
>
> I'm sorry Sir, but I'm still a newbie at this.
> Which file, product configuration makefile, should I modify? The one
> in "build/core/main.mk"?

No, the product makefiles are named after the product you're
building (e.g. 'full') and are usually found in the 'device'
tree (e.g. device/samsung/maguro/full_maguro.mk). They in turn
inherit from some of the product files in build/target/product
so you can choose to make your change in one of the inherited
files.

> <path>/<in>/<source>/<tree>/<filename> --> I have no idea what to replace

Replace it with the path to your bootanimation.zip. I believe
the path should be relative to the root of the source tree.

--
Magnus Bäck
ba...@google.com

Rick Krystianne Lim

unread,
Jun 16, 2013, 11:57:38 PM6/16/13
to android-...@googlegroups.com
Ahh... OK, now I get it.
I also read the "Embedded Android" ebook and it helped me a lot.
Thank you Sir Magnus!

Rick

Maicol Reyes

unread,
Aug 2, 2013, 7:19:06 PM8/2/13
to android-...@googlegroups.com
Hey, Could you please tell how did you do that?
Reply all
Reply to author
Forward
0 new messages