Thank you, great idea! Maybe you already did, but in case you did not, I would suggest looking into how webOS community did this: http://www.webos-internals.org/wiki/...ion_Technology There are years of work behind their patch framework and given that webOS is pretty much all about patches, I'd call this infrastructure a state-of-art. EDIT: Here is the code: https://github.com/webos-internals/ausmt