ChameleonMini icon indicating copy to clipboard operation
ChameleonMini copied to clipboard

Modifying card dumps on the fly (in Java)

Open maxieds opened this issue 6 years ago • 0 comments

One email I received a while ago for my Chameleon Mini Live Debugger app on Android is about why the dumped file saved with DUMP_MFU is not compatible with the dump images that can be uploaded to/from the Chameleon via XModem. My app can handle doing these upload/download operations as well. The short answer is that there's not currently a universal way to create dump images on the fly within my app (or at all?)

I'm wondering if you all can give me some pointers as to how I would go about re-implementing the parts of the Chameleon firmware source that implement the dumped image formats in Java. I'd like to be able to modify these images on the fly with my app. For example, to create a new MFU image from the output of the DUMP_MFU command. Is there anything specific I need to look out for when I try to write this code? Is it possible that I can break the device with improperly formatted images? That sort of thing. Also, any suggestions for the best way to go about this coding task in Java are appreciated. Unfortunately, C/C++ is not easy to get to in Android apps.

Thanks.

maxieds avatar Apr 14 '18 07:04 maxieds