Starting from Android 4.0, there is a "adb" command in "system/bin" folder
Using this, i want to run adb server/client inside Android OS and connect to itself.
I am trying to accomplish this by "terminal emulator" installed on my non-rooted phone Galaxy S3.
I executed these commands:
adb devices
setprop service.adb.tcp.port 5555
stop adbd
start adbd
adb kill-server
adb devices
At this point it is supposed to show device itself "emulator-5554" But it is showing nothing.
I followed this blog: http://blog.kmckk.com/archives/4092970.html