machinamentum / PocketTool

36 stars 67 forks source link

Option to patch resources, AndroidManifest, and Dalvik code in APK #19

Closed zhuowei closed 10 years ago

zhuowei commented 11 years ago

PocketTool has support for patching PE's native code and most of its resources, but cannot patch the AndroidManifest.xml, classes.dex, and resources files.

It would be cool if there is a section to patch these.

machinamentum commented 11 years ago

I will consider this. Patches will have to be bundled together in a zip file or such. Why would you want to patch these?

zhuowei commented 11 years ago

To install FailLauncher, currently. I can make a prototype for this if you want.

In the future, maybe localizations can also use this.

Edit: what should the patches be called?

machinamentum commented 11 years ago

Go for the prototype. The patches should be name after the file they are meant to patch. (libminecraftpe.mod ?) I don't know, be creative! Or use metadata!

zhuowei commented 11 years ago

For Java code, I will just make a Direct Patch - one zip, any file in it overwrites the existing file in the .apk.

I need a nice big notice saying that this can overwrite anything in the .apk with its own files - which may be malicious.

zhuowei commented 11 years ago

If you can think of a better system to replace any file in the .apk, or a better name, feel free to post it.

zhuowei commented 10 years ago

Closing as the patchable BlockLauncher was never made.