Tommly Jumah
Tommly Jumah

Reputation: 70

how do i convert Smali files to readable classes

so i have used apktool to convert an .apk file basically reverse re-engeneering but the classes have come in smali files which is hard to interprate.how do i convert the files to readable code

i have tried opening the code with different editors but still I cant understand the code

Upvotes: -2

Views: 4992

Answers (2)

Max the Doctor
Max the Doctor

Reputation: 9

Smali is basically an assembler for Android, one should understand it in order to reverse-engineer Android apps. Since there is no perfect Android decompiler, classic routine here goes as: disassemble Dex classes (BackSmali) -> work in Smali -> assemble back to Dex.

Upvotes: 0

Mohammad Fallah
Mohammad Fallah

Reputation: 487

You can use jadx to reverse APKs and read classes' code in java.

Also you can use dex2jar to convert dex files to jar then use java decompilers to convert .class to .java, but i suggest you use jadx because it has a graphical user interface with a lot of tools to simplify reverse engineering.

Upvotes: 1

Related Questions