Hmm. Is there some way to just replace one class in an odex file?
I rebuilt the entire system image using non-cupcake git head and
loaded it onto the phone, but several things are broken (Messaging,
phone radio) so I can't use this patched system image for my daily
phone use. I want to apply the least invasive patch possible, just
enough to add the framework functionality I need to start building a
specialized app on top of my patched phone that makes use of the added
framework functionality, but I need to be able to continue actually
using the phone.
I notice that as well as a framework.odex on the phone, there's also a
framework.jar but it's tiny. Is there some way I can get a copy of
the original framework.jar that was used to generate the
framework.odex, so that I can just replace the one .jar file for the
framework class I'm modifying, then have the phone re-create the .odex
file from the modified .jar?
Thanks!
On Jan 9, 2:45 am, "Dianne Hackborn" <
hack...@android.com> wrote:
> On Thu, Jan 8, 2009 at 10:04 PM, luke <
luke.hu...@gmail.com> wrote:
> > Thanks for the info. What is the closest git version to what made it
> > into the G1?
>
> There isn't anything close enough to selectively replace the framework jar.
> The open source tree represents a version of the code with a number of
> changes from after the image shipped on the G1 that impact the framework.
>
> --
> Dianne Hackborn
> Android framework engineer
>
hack...@android.com