PDA

View Full Version : Reversing an Android app, please help!


appcrox
10-01-2016, 02:38 AM
Hi guys!
I am trying to revers an Android app, which is the Text To Speech service.
First, I had disassembled the Java code into Smali, using the APKTOOL.
Further more, I was trying to detect the licensing routine, but licensing is not anywhere in Java code.
When I tryed to read the TTS_Service class represented in SMALI, I have seen that methods calls the libluagit.so library, and reads the main.bin file from the Assets folder, who's bytes was sent to the libluagit.so, and after that, program calls lua routines for running.
I think that licensing is in Luagit bytecode represented in the Assets/main.bin, but I don't know how to read it.
I was trying Lua decompiler "luadec", and UnLuac, but boath decompilers cannot recognize the main.bin as Luagit bytecode.
Program works only 30 minutes in the demonstration period, and in Java code exists the constant uptime, which contains hexadecimal value 0x708, which is equivalent to 1800, what is 30 minutes in miliseconds.
When I increase the number from 1800 to eg:3600 what is 60 minutes, when I build program again, program works only 30 min again.
I am sure that licensing is in Assets/main.bin, but it is Luagit bytecode. Also, I want try to find a routine which generates an activation code for the program, and to try to write a key generator.

My application is on the following link:
https://1drv.ms/u/s!Agp2u7pdS6HjkEyTjM0Qk5FpXwuI
Best regards,