News for hackers. Stuff that matters.
Re:Android-apktool: reverse-engineer Android apps by Osiris on Thursday August 12, 2010 @03:35AM (#1597494)
Sounds like .NET Reflector for Dalvik. I'm curious how well it works. They make it sound like it'll practically generate compilable source code.

I wonder how long it'll be until we see obfuscation tools available for developers.

Re:Android-apktool: reverse-engineer Android apps by bigmac on Thursday August 12, 2010 @04:51AM (#1597585)
Existing java bytecode obfuscators should work. The one I worked on does. The Dalvik compiler translates the .class into dalvik bytecode. You can obfuscate the java bytecode and the obfuscation survives the translation layer.
Re:Android-apktool: reverse-engineer Android apps by trimber on Thursday August 12, 2010 @05:36AM (#1597642)
It works quite well for an early version. I used it on a few apps to change some minor things in the layout. However, it does not generate actual Java source code but instead disassembles the Dalvik executables to generate smali code(http://code.google.com/p/smali/).
Re:Android-apktool: reverse-engineer Android apps by JesusFreke on Thursday August 12, 2010 @04:49PM (#1599205)
The smali code that is generated is in fact reassembleable. The smali format is meant to be as close to a 1-to-1 mapping for the dex file as possible. Disassembling and then immediately reassembling something will produce an equivalent (almost identical) dex file. The only things that might be different are misc. internal details, like the order of certain items, etc.