Created
July 3, 2020 19:15
-
-
Save rw-r-r-0644/ddd6d567f3868ab634142a268eda3fe4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export REDNAND_DEV=/dev/sdc | |
dd if=$REDNAND_DEV of=./slc.img bs=512 skip=$((0x00000500)) count=$((0x00100000)) status=progress | |
dd if=$REDNAND_DEV of=./slccmpt.img bs=512 skip=$((0x00100500)) count=$((0x00100000)) status=progress | |
dd if=$REDNAND_DEV of=./mlc.img bs=512 skip=$((0x00200500)) count=$((0x03b34000)) status=progress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment