ADB over Wifi

Many people does not know but it is possible to enable ADB over WiFi .

Connect you’r Android device to you’r computer.
Also make sure you already have the android-sdk. 
Open your terminal and type:

cd android-sdk-path/platform-tools/
adb tcpip 5555

After that you should receive the following output:

restarting in TCP mode port: 5555

Go to your terminal again and type:

adb connect <Device IP adress>

eg:

adb connect 192.168.1.150

After that you should receive the following output:

connected to 192.168.1.150:5555

To get back to USB mode again, just type:

adb usb

After that you should receive the following output:

restarting in USB mode

Originally published at https://coderwall.com/p/agadag/adb-over-wifi on January , 2014.