Skip to content

Commit 29b2efa

Browse files
Documentation/fastboot: Add usage for fastboot oem shell
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
1 parent a8675a4 commit 29b2efa

File tree

1 file changed

+2
-0
lines changed
  • Documentation/applications/system/fastboot

1 file changed

+2
-0
lines changed

Documentation/applications/system/fastboot/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Commands
2323
- OEM
2424
- :code:`fastboot oem filedump <PARTITION> [OFFSET] [LENGTH]`: Get :code:`<LENGTH>` (full by default) bytes of :code:`<PARTITION>` from :code:`<OFFSET>` (zero by default)
2525
- :code:`fastboot oem memdump <ADDRESS> <LENGTH>`: Dump :code:`<LENGTH>` bytes memory from address :code:`<ADDRESS>`
26+
- :code:`fastboot oem shell <COMMAND>`: Execute custom commands. e.g. "oem shell ps", "oem shell ls /dev/"
2627
- :code:`fastboot get_staged <OUT_FILE>`: Writes data staged by the last command to file :code:`<OUT_FILE>`. e.g. "oem filedump" and "oem memdump"
2728

2829
Examples
@@ -32,3 +33,4 @@ Examples
3233
- Erase partition /dev/userdata: :code:`fastboot erase userdata`
3334
- Dump partition /dev/app: :code:`fastboot filedump /dev/app` and then :code:`fastboot get_staged ./dump_app.bin`
3435
- Dump memory from 0x44000000 to 0x440b6c00: :code:`fastboot oem memdump 0x44000000 0xb6c00` and then :code:`fastboot get_staged ./mem_44000000_440b6c00.bin`
36+
- Create RAM disk "/dev/ram10" of size 320KB: :code:`fastboot oem shell "mkrd -m 10 -s 512 640"`

0 commit comments

Comments
 (0)