1. Upload the IDA directory Android_server to the Android directory
Such as:
ADB push android_server/data/local/tmp/
ADB Shell enters simulator
cd/data/local/tmp/
chmod 755 Android_server
./android_server
See Listening Port 23946
2. Forward the window to the emulator or the phone's port under the Windows console
ADB forward tcp:23946 tcp:23946
3.ida Select Android debugging, the app can be run up
The process options in the Debuggger
hostname, fill in localhost.
port:23946
4. On the attach of Debuggger, the program on Android is OK.
5. Locate the breakpoint where you want it to be set, and then debug it.
Now find the function offset in the local module that requires the next breakpoint
Then get the base address of the remote module, and the base site + offset is the address where the breakpoint is currently required
Ctrl + S Displays all the currently loaded module information, looking for a readable executable, and the general code snippet is not writable.
80900000 + C88 = need the address of the next breakpoint, then set the breakpoint, click on the button to break down.
IDA Remote Debug Android so