How recoverable is an APK source code made with Titanium ?

Last Friday, I had a meeting with a possible client who had made an app with a freelance developer using Appcelerator Titanium. Now he wished to make upgrades to the app, but he realized he didn’t have the source code for it, and the original developer was nowhere to be found.

I’ve heard these types of stories a lot of times before. Still, I thought as I’m creating compilers that currently generate Titanium code, I wonder: how recoverable is the source code of a Titanium app from an existing APK? I found it a nice challenge, so I started digging, and this was my experience.

Continue reading