Vita:Formatting SD Cards Without VitaDeploy
Credit to these guides goes Ben Melluish on vita.hacks.guide.
Windows Instructions
What You Need
- zzBlank.img
- The latest version of Win32DiskImager
- (Optional) The latest version of h2testw
- This is not required if you do not want to check your storage device for errors.
Instructions
Section I - Formatting Storage Device
- Install Win32DiskImager if you have not already
- Insert your storage device into your computer
- Launch Win32DiskImager
- Select
zzBlank.img
as the "Image File" - Set "Device" to the drive letter of your storage device
- Select "Write"
- Select "Yes" to continue when prompted
- Select "OK" to dismiss the dialogue box when the write completes
- Close Win32DiskImager
- Right-click the drive in Windows Explorer, then select "Format"
- Set "File system" to "exFAT"
- If your storage device has a capacity of 256 GB or greater, you must format with a cluster size of 64 KB. With 128 GB it is optional, but still recommended for a bit more performance.
- Use MBR, not GPT, or it wont work
- Select "Start"
- Select "OK" to continue when prompted
- Select "OK" to dismiss the dialogue box when the format completes
- Close the format window
Section II - Verifying Storage Device
If you do not want to check your storage device for errors, skip this section.
- Copy
h2testw.exe
from the h2testw.zip
to your desktop - Insert your storage device card into your computer
- Run
h2testw.exe
- Select "English"
- Select "Select target"
- Select your storage device card's drive letter
- Ensure "all available space" is selected
- Select "Write + Verify"
- Wait until the process is completed
If the test shows the result Test finished without errors
, your storage device card is good and you can delete all .h2w
files on your storage device card.
If the test shows any other results, your storage device card may be corrupted or damaged and you may have to replace it!
macOS Instructions
What You Need
- (Optional) The latest release of F3X
- This is not required if you do not want to check your storage device for errors
Instructions
Section I - Formatting Storage Device
- Insert your storage device into your computer
- Open the Terminal app
- Enter
diskutil list
into the terminal - Identify which disk is your storage device in the format
/dev/diskX
- Enter
diskutil unmount /dev/diskX
ordiskutil unmountdisk /dev/diskX
and thensudo dd if=/dev/zero of=/dev/diskX
to format the storage device - Remove and reinsert your storage device
- Enter
sudo newfs_exfat -R /dev/diskX
to format your storage device into exfat- If your storage device has a capacity of 256 GB or greater, you must format with a cluster size of 64 KB with the following comamnd. With 128 GB it is optional, but still recommended for a bit more performance.
sudo newfs_exfat -R -c 64 /dev/diskX
- If your storage device has a capacity of 256 GB or greater, you must format with a cluster size of 64 KB with the following comamnd. With 128 GB it is optional, but still recommended for a bit more performance.
Section II - Verifying Storage Device
If you do not want to check your storage device for errors, skip this section.
- Unzip the F3X
.zip
file - Insert your storage device into your computer
- Run the F3X app
- Select your storage device
- Press "Start Test"
- Wait until the process is complete.
If the test shows the result Success! Your card is ok!
your storage device is good and you can delete all .h2w
files on your storage device.
If the test shows any other results, your storage device may be corrupted or damaged and you may have to replace it!
Linux Instructions
What You Need
- For Kernel 5.7 and above: install exfatprogs for your distribution (check your package manager)
- For Kernel 5.6 and below: install fuse-exfat and exfat-utils for your distribution (check your package manager)
fuse-exfat
package may named asexfat-fuse
in some distributions
- (Optional) The latest version of F3
- This is not required if you do not want to check your storage device for errors
Instructions
Section I - Formatting Storage Device
- Insert your storage device into your computer
- Unmount your storage device with
umount
- Run
sudo dd if=/dev/zero of=/dev/sdX
to wipe the storage devicesdX
should be the device corresponding to your storage device (don't point to an existing partition; for examplesdX1
)
- Remove your storage device from your computer
- Re-insert your storage device into your computer
- Run
mkfs.exfat /dev/sdX
to format your storage device as exFAT- If your storage device has a capacity of 256 GB or greater, you must format with a cluster size of 64 KB. With 128 GB it is optional, but still recommended for a bit more performance.
- For Kernel 5.7 and above:
mkfs.exfat /dev/sdX -c 64K
- For Kernel 5.6 and below:
mkfs.exfat /dev/sdX -s 128K
- For Kernel 5.7 and above:
- If your storage device has a capacity of 256 GB or greater, you must format with a cluster size of 64 KB. With 128 GB it is optional, but still recommended for a bit more performance.
Section II - Verifying Storage Device
If you do not want to check your storage device for errors, skip this section.
- Unzip the f3
.zip
file cd
into the f3 directory- Run
make
to compile F3 - Insert your storage device into your computer
- Mount your storage device
- Run
f3write <your storage device mount point>
- Wait until the process is complete. See below for an example output.
$ f3write /media/michel/6135-3363/ Free space: 29.71 GB Creating file 1.h2w ... OK! ... Creating file 30.h2w ... OK! Free space: 0.00 Byte Average Writing speed: 4.90 MB/s
Now run f3read <your storage device mount point>
and wait until the process is complete. See below for an example output.
$ f3read /media/michel/6135-3363/ SECTORS ok/corrupted/changed/overwritten Validating file 1.h2w ... 2097152/ 0/ 0/ 0 ... Validating file 30.h2w ... 1491904/ 0/ 0/ 0 Data OK: 29.71 GB (62309312 sectors) Data LOST: 0.00 Byte (0 sectors) Corrupted: 0.00 Byte (0 sectors) Slightly changed: 0.00 Byte (0 sectors) Overwritten: 0.00 Byte (0 sectors) Average Reading speed: 9.42 MB/s
If the test shows the result Data LOST: 0.00 Byte (0 sectors)
your storage device is good and you can delete all .h2w
files on your storage device.
If the test shows any other results, your storage device may be corrupted or damaged and you may have to replace it!