Connect adb with wifi and adb with wifi

Source: Internet
Author: User

Connect adb with wifi and adb with wifi

Generally, USB is used to connect a computer to an Android device. However, wifi can also be used to connect to an Android device through a standard TCP/IP connection.

Step 1: Set --- WiFi --- advanced to view the IP address of the current WiFi;


Run the following command:



Complete.



Wifi key display adb cannot connect to mobile phone how to do

1. root your andorid Device
2. Install the wireless adb tool (which can be downloaded from google play) and enable adb.
3. The computer controller and android devices are connected to the same network to view the IP addresses of android devices.
4. Run the adb connect IP address and port command on the computer. If the port is not written, the default value is 5555 (for example, adb connect 192.168.1.2: 5555)
 
Q: What is the command for adb to enable wifi?

USB connection code adb shell ping-c 2 127.0.0.1
Enable wifi command adb shell svc wifi enable | adb shell chmod 777 data/local/tmp
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.