Use adb to transfer files between your computer and mobile phone, and use the adb mobile phone to transfer files
First, you need the root mobile phone.
Then, "Win + R" opens the cmd window. The following example describes how to copy d: \ 1.txt to the/system/directory.
Adb
* * The processing method when encountering Mount:read only file system or ADB remount:read only file system when using ADB is as follows: The
method described in this article applies to situations where the/system read-only permission (RO) cannot be modified with the Mout command. in
General
, when the/system does
Super lightweight remote command line client and server (including file transfer), command line File Transfer
Function: Implements TCPIP-based command line operations on remote computers and supports remote file transmission.
Platform: windows (similar to linux)
Principle: a
I. Requirements and application scenarios
Considering the increasing number of servers in my hands, sometimes it is necessary to deploy the same file on a large scale, for example, because it is convenient to use the Systemtap tool to locate the problem, you need to install the hundreds of servers in the hand kernel-debuginfo this package, the original way to use a source server, Using rsync or SCP file
Yi Meng tcp file transfer and Automatic Update system introduction (TCP File transfer) (iii)Address: https://item.taobao.com/item.htm?spm=686.1000925.0.0.AjdBGPid=537538462790Demo Program: HTTP://PAN.BAIDU.COM/S/1GEVFMCRThe idea of file uploading1. Server-sideA directory is
relative/absolute path to a productOut directory like ' Out/target/product/sooner '.If-p is not specified, the Android_product_outenvironment variable is used, which mustis an absolute path.-h-name of ADB server host (Default:localhost)-p-port of ADB server (default:5037)devices [-l]-list all connected devices('-l ' 'll also list device qualifiers)Connect Port 5555 is used by default if No. port number is
File Transfer Assistant use method:
1, in the computer login micro-letter wx.qq.com and then use the phone sweeping a scan to their own micro-letter (open the micro-letter, and then use the micro-letter scan can be logged in), and then open the "File transfer assistant" in the computer
2, then we find in the com
Yi Meng tcp file transfer and Automatic Update system introduction (TCP File Transfer) (four)Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer
Large file transfer between linux and windows solutions when the server is updated and new, and when the server system is replaced, data transfer is undoubtedly very troublesome, especially for web servers, N + images and N + pages, it is a headache. Now we provide several common data copy modes: first, the simplest: if it is a web server, there must be a domain
Large file transfer between linux and large file transfer between linux and windows solutions when the server is updated and new, and when the server system is replaced, data transfer is undoubtedly very troublesome, especially for web servers, N + images, N + pages, a heada
Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer)The system is based on the open source Networkcomms communication framework, which was previously charged, is now free and Kaiyuan, the author is the United Kingdom, the development time of more than 5 years, the framework is very stable.Project Address: https://item.taob
Yi Meng tcp file upload download and Automatic Update system introduction (TCP File Transfer)The system is based on the open source Networkcomms communication framework, which was previously charged, is now free and Kaiyuan, the author is the United Kingdom, the development time of more than 5 years, the framework is very stable.Project Address: Http://www.51aspx
"); //Create a new file ID stringFileID =Fileidcreator.getnextfileid (NetworkCommsDotNet.NetworkComms.NetworkIdentifier.ToString ()); //define where the file is stored in the server (relative directory) stringDestfilepath = "20161201" +@"\"+Path.getfilename (FilePath); //add a file to the file sen
geo:0,0?q=beijing Start Web page Am START-A android.intent.action.view-d http://www.aizheke.com Call Am start-a android.intent.action.call-d tel:88888888 Start service Am Startservice-n cn.qylk/.service. LocalService Viewing log information logcat-s [tag name] "Log to File:-F [filename]" Viewing device ADB devices into shell Adb-s emulator-5554 Shell Device
Android uses adb pull or push to copy the mobile phone file to the computer, copy the mobile phone database to the computer, and copy the computer database to the mobile phone,
Let's talk about the adb command configuration first. If adb is not an internal or external command, it is not a runable program or batch
Tags: format settings detailed specific ... parameter key camera infinite loop
To realize n7000r automatic photograph as an example
Method One: @echo off set i=1
EchoOpen Camera adb shell am start-N"Com.android.gallery3d/com.android.camera.cameralauncher": CLICK:: Delay 2 secondsPing 127.0.0.1-N2>nulEchoClick%i%..., take Photo:: Click the camera button with the coordinates 460,1200, hibernate 1 seconds
Tags: logs a remote Remote Service directory blog style port number local1. Copy the files on the other server to the localsudo SCP [Email protected]_ip:/home/aaa/bbb/ccc/ddd/bbbThe above command means to copy the BBB file under the remote server/home/aaa/directory to the local/ccc/ddd/folder (Note: If the server SSH port is 22 can omit the-p parameter, if the server SSH port is not 22 need to add the-p parameter, followed by SSH port number)2. Copy t
Recently learned to use the ADB command to capture the app flash back log;1) on the cmd command line, you can use the ADB logcat command to view the log of the Android system, or you can use the ADB shell to enter the ADB Shell dedicated command line2) DOS window can be directly input log, or directed output to TXT
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.