Context
When patching large apps (TikTok, ~500MB), most of the time per run goes to unpacking and decompiling the APK into the temp folder.
Problem
Even with -t / --temporary-files-path set, morphe-cli seems to decompile from scratch every time. That gets painful fast when you're iterating on patches.
Proposal
An option to reuse already-unpacked files from a previous run if they're sitting in the temp directory. Either:
- a
--reuse-cache / --incremental flag, or
- auto-detecting valid unpacked content in
--temporary-files-path and skipping extraction/decoding if it's there.
Motivation
Patching heavy apps is mostly waiting on the same unpacking and decompiling step, over and over, even when nothing changed since the last run.
Use case: tweak one patch, run morphe-cli a dozen times in a row, wait through the same extraction every time. On large APKs that's minutes, not seconds.
Caching the unpacked files would cut that repeat work and make iteration a lot faster - especially for anyone actively developing and debugging patches, not just running them once in production.
Acknowledgements
Context
When patching large apps (TikTok, ~500MB), most of the time per run goes to unpacking and decompiling the APK into the temp folder.
Problem
Even with
-t/--temporary-files-pathset,morphe-cliseems to decompile from scratch every time. That gets painful fast when you're iterating on patches.Proposal
An option to reuse already-unpacked files from a previous run if they're sitting in the temp directory. Either:
--reuse-cache/--incrementalflag, or--temporary-files-pathand skipping extraction/decoding if it's there.Motivation
Patching heavy apps is mostly waiting on the same unpacking and decompiling step, over and over, even when nothing changed since the last run.
Use case: tweak one patch, run
morphe-clia dozen times in a row, wait through the same extraction every time. On large APKs that's minutes, not seconds.Caching the unpacked files would cut that repeat work and make iteration a lot faster - especially for anyone actively developing and debugging patches, not just running them once in production.
Acknowledgements