Q:

During Reversed Engineering of htc android application

I am trying to decode htc's messaging app's apk file using dex2jar and apk-tools . I 
reversed more than 30 apps perfectly without any trouble ! but I can't do same thing with htc's app ! can any one help me to get out of this problem?
Problem 1 (While dex2jar decoding) :

Note : I also used dex2jar Mms.apk but d2j-dex2jar Mms.apk is more desirable.

Problem 2 (While Getting Resource appk-tool) :

I know I need to add com.htc.resource.apk framework but don't know how to do it !

A:

You are trying to unpack a system application. classes.dex files are ripped from system applications and saved as optimized ODEX files. You can read more from here
So before using dex2jar on these APKs, you should convert ODEX file back to DEX and put them in APK. Or you can just use dex2jar on converted DEX files.. 

