Blog / Guide

MT Manager DEX Editor and Smali Basics

Updated October 2026

An introduction to DEX files, Smali syntax and the DEX editor in MT Manager for studying how Android apps work.

What is a DEX file

Android compiles app code into Dalvik Executable files named classes.dex, classes2.dex and so on. They hold every class, method and string the app uses.

What is Smali

Smali is a human readable form of DEX bytecode. Each method becomes a list of instructions such as const-string, invoke-virtual and return-void working on registers named v0, v1 or p0.

Opening the DEX editor

Inside an APK, tap classes.dex and choose the DEX editor. For apps with several dex files, select all of them to load them together.

Searching

Use search to find a string shown in the app, a class name or a method signature. Results jump straight to the Smali code. Cross references show where a method is called from.

Reading a method

Start with simple methods. A const-string followed by an invoke to setText tells you where a label is set. Look at if-eqz and if-nez branches to see decisions.

Editing safely

Change one thing at a time, compile, sign and test. Keep register counts consistent. Use this for learning, debugging your own builds or legitimate patches only.

This guide is for educational use. Only modify apps you own or have permission to change.

Get MT Manager | More guides