When you build the whole platform you can find all new created
platfrom imsages and binaries in out/host/darwin-x86/. In the bin
folder you also find the emulator.  When you do changes on framework
code or dalvik a new system.img should be created. The emulator has
this new system image included.

You can put some debug prints to your framework code changes to make
sure that you can check whether you run in your code.

With using mmm you can speed up your build. For example

 mmm frameworks/base/services snod

would compile only services. Also here a new emulator image will be
created (verify the compile date of the emulator to make sure that you
will have a new compiled version).

In general before you do any critical changes on your system.img you
can check it first with the emulator. Of course there might be changes
related to HW interfaces which you cannot verify with the emulator.

Hope, this helps!

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 4, 9:56 pm, yosemite <[email protected]> wrote:
> thanks. Could you please give me some instructions about how to do
> that in the emulaor?
>
> On Aug 4, 4:44 pm, Roman <[email protected]> wrote:
>
> > Before flashing your phone, did you try to run the emulator with your
> > new system.img?
>
> > --
> > Roman Baumgaertner
> > Sr. SW Engineer-OSDC
> > ·T· · ·Mobile· stick together
> > The views, opinions and statements in this email are those of the
> > author solely in their individual capacity, and do not necessarily
> > represent those of T-Mobile USA, Inc.
>
> > On Aug 4, 11:16 am, yosemite <[email protected]> wrote:
>
> > > Hi,
>
> > > I made some changes to the Android source code and rebuilt a
> > > system.img file. After that, I use fastboot flash system system.img to
> > > flash my Android Developer phone. However, there is a crash during the
> > > loading process. Is there any way I can read the log for this kind of
> > > crash? Thanks a lot.
>
> > > -M
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to