Skip to content

Commit

Permalink
Initial documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jabezwinston committed Aug 10, 2019
0 parents commit a609957
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Using `MTP tools` in Windows

## Replace MTP driver by WinUSB driver
- Download [Zadig](https://zadig.akeo.ie/)
- Open **Zadig** and select **Options → List All Devices**.
- Select your Mobile phone from list of devices and install **WinUSB (v6.1.7600.xxxxx)** driver by clicking **Replace Driver**
![Output](install_winusb_driver.png)

---

## Usage

Download and extract precompiled binaries of [MTP tools](https://github.com/jabezwinston/mtp-tools/releases) for Windows

| Operation | Command |
|--------------------------|:------------------------------------------------------------|
| Device check | `mtp-detect` |
| List files | `mtp-filetree` |
| | `mtp-files` |
| Copy file from device | `mtp-getfile <fileid> <dest_filepath>` |
| | `mtp-connect --getfile <src_filename> <dest_filepath>` |
| Copy file into device | `mtp-sendfile <src_filepath> <dest_filename>` |
| | `mtp-connect --sendfile <src_filepath> <dest_filename>` |
| Delete file in device | `mtp-delfile -n <file_id>` |
| | `mtp-delfile -f <filename>` |
| | `mtp-connect --delete <filename>` |
| Create folder | `mtp-newfolder <foldername> 0 <storage_id>` |
| | `mtp-connect --newfolder <foldername>` |
| Create sub-folder | `mtp-newfolder <foldername> <parentfolder_id> <storage_id>` |
| Format device | `mtp-format` |
Binary file added install_winusb_driver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a609957

Please sign in to comment.