Updated Usage (markdown)
18
Usage.md
18
Usage.md
@@ -49,7 +49,7 @@ pmt [OPTIONS] [SUBCOMMAND]
|
||||
|
||||
## Subcommands
|
||||
|
||||
### 1. Back upping partition(s)
|
||||
### Back upping partition(s)
|
||||
Backup partitions to files. General syntax:
|
||||
```bash
|
||||
pmt backup partition(s) [output(s)] [OPTIONS]
|
||||
@@ -74,7 +74,7 @@ pmt backup partition(s) [output(s)] [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 2. Flashing image(s) to partition(s)
|
||||
### Flashing image(s) to partition(s)
|
||||
Flash an image or multiple images to partitions. general syntax:
|
||||
```bash
|
||||
pmt flash partition(s) image(s) [OPTIONS]
|
||||
@@ -95,7 +95,7 @@ pmt flash partition(s) image(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 3. Erasing partition(s) content(s)
|
||||
### Erasing partition(s) content(s)
|
||||
Fill partition(s) with zero bytes (like `dd if=/dev/zero of=/dev/block/by-name/<partition>`). General syntax:
|
||||
```bash
|
||||
pmt erase partition(s) [OPTIONS]
|
||||
@@ -110,7 +110,7 @@ pmt erase partition(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 4. Getting size of partition(s)
|
||||
### Getting size of partition(s)
|
||||
Show the size of partition(s). General syntax:
|
||||
```bash
|
||||
pmt sizeof partition(s) [OPTIONS]
|
||||
@@ -130,7 +130,7 @@ pmt sizeof partition(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 5. Getting information of partition(s)
|
||||
### Getting information of partition(s)
|
||||
Show partition name, size, and dynamic status. General syntax:
|
||||
```bash
|
||||
pmt info partition(s) [OPTIONS]
|
||||
@@ -150,7 +150,7 @@ pmt info partition(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 6. Getting real path(s) of partition(s)
|
||||
### Getting real path(s) of partition(s)
|
||||
Show the **absolute block device path** for each partition. General syntax:
|
||||
```bash
|
||||
pmt real-path partition(s) [OPTIONS]
|
||||
@@ -165,7 +165,7 @@ pmt real-path partition(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 7. Getting type(s) of partition(s) or image(s)
|
||||
### Getting type(s) of partition(s) or image(s)
|
||||
Check magic numbers to determine file system or other types of partition(s) or image(s). General syntax:
|
||||
```bash
|
||||
pmt type partition(s) [OPTIONS]
|
||||
@@ -182,7 +182,7 @@ pmt type partition(s) [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 8. Rebooting device
|
||||
### Rebooting device
|
||||
Reboot the device. Default reboot target is normal. If you are using it via ADB terminal, you **DO NOT** need root to use this feature. General syntax:
|
||||
```bash
|
||||
pmt reboot [rebootTarget] [OPTIONS]
|
||||
@@ -195,7 +195,7 @@ pmt reboot [rebootTarget] [OPTIONS]
|
||||
|
||||
---
|
||||
|
||||
### 9. Memory Speed Test
|
||||
### Memory Speed Test
|
||||
Test your sequential (random tests is soon) read/write speed of your memory.
|
||||
```bash
|
||||
pmt memtest [testPath]
|
||||
|
||||
Reference in New Issue
Block a user