jck
jck

Reputation: 559

Modify a java class file in a Android system on a Virtual Machine Disk

I would like to modify a java class file on a Android system in an existing vmdk file.

Why I want to do that is to try to fix one of the Genymotion Android system image, because a .java class file is causing an app crash. My idea is to update this class with a newer version.

I used vmware-mount to mount the .vmdk but the file system is not recognized.

I imagine that I would have to recompile the whole system? Does it sound impossible? Is there an other way?

Upvotes: 0

Views: 85

Answers (1)

narancs
narancs

Reputation: 5294

Well, this sounds like a very interesting job, but I'm sure you can do it, since every mobile manufacturer "overriding" the Android System from Google :)

I think, I said I THINK (without experience) you should use the mmm command from android build system:

  • mmm <dir1> ... - build all of the modules in the supplied directories

http://elinux.org/Android_Build_System

additional links: http://rex-shen.net/android-unpackpack-factory-images/

How to just build Android system image

Maybe this link can help you out: http://forum.xda-developers.com/showthread.php?t=2251719

Upvotes: 1

Related Questions