Then noticed that it was a 32-bit debug server, and replaced IDA with 32-bit. Run it again and find that it is ready to run, listening on the #23946port. # chmod 777 /data/local/tmp/android_server Remember to android_serveradd execution permissions.
Should still be the androi_serverfile I uploaded to this nesses a long time ago, so I uploaded the relatively new one in IDA 6.8 android_server.
This time there is no only position independent executables (PIE) are supported.more, but this happens in IDA. The result is still not good, and then read the post again, and found that my API version is too high (android 5.0, API 21), so I bought the google nessus (android 4.4 API 19) I bought before. Seeing this sentence, I found that this android_serverfile may have been uploaded a long time ago using the files in the dbgsrv directory in the lower version of IDA, so this time I found the 6.8 version of IDA pro and uploaded android_serverit.
The landlord your Android is 5.0 or above, or IDA pro is 6.6 and below, the pie option of Android5.0 and above is enabled by default, native applications compiled below 5.0 cannot run, either you downgrade Android version, or use Android_server of IDA pro6.7 6.8. So I searched and found this post on the Snow Forum When I was going to use IDA to dynamically debug android, I first used my nubia7 to execute /data/local/tmp/android_server, and found that this is the case, error: only position independent executables (PIE) are supported.