Package and command-line (CLI) that helps you recover your lost source code from almost any APK made using Appcelerator Titanium, either be in development or distribution mode.
npm install -g puntorigen/ti_recover
It comes with a command-line (CLI), that uses all methods of this package, and that you can use as follows:
ti_recover apkfile.apk outputdir
As part of my blog post: link to my blog
As a package contains the following methods:
Initializes the component.
Can have the keys:
apk (apkfile to open),
apk_dir (optional apk_unpack dir already create to re-utilize it),
out_dir (outputdir)
This returns true/false on the callback, indicating the given APK was made or not using Titanium.
This does the extraction of assets and js sources into memory.
in progress
This attempts to rebuild the source code from memory into a structure that can be opened as a Titanium Project. Can be called before writeToDisk to have a well formed Titanium project.
This creates the files and directories of the source code in memory to the given outputdir.
This retrieves the APK image and resources assets into the outputdir.
This cleanses the temporal directory used to process the files.
in progress
Retrieves Titanium information about the current APK using the extracted resources. Must be called after 'extract' method.
version 1.1.1:
version 1.0.9:
version 1.0.6:
version 1.0.5:
version 1.0.4:
version 1.0.2-3:
version 1.0.1:
version 1.0.0: