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