How to dump any file larger than 2MB (but smaller than about 16MB)
------------------------------------------------------------------


Prerequisites:

- PS Vita with FW version between 3.00 and 3.52 (tested on FW 3.51)
- Email account which can be accessed through the PS Vita email application
- Computer with Mozilla Thunderbird installed and configurated
- Computer with QCMA installed (avoid some OpenCMA limitations) or any other solution which allow to read/write inside ux0:pspemu (PSP homebrew, Rejuvenate with VitaShell)


Preparation:

- On computer with Mozilla Thunderbird:
  - Create a new message
  - Attach the file "LargerDump.png" (by drag&dropping the file inside the new message edition panel)
  - Right-click on the file to rename it with the following name: "\..\..\..\email\message\mail.db" (remove the quotation marks)
  - Send the message for the email account which is configured on the PS Vita email application

- If your computer has QCMA (or even OpenCMA):
  - Copy the folder "DUMP" inside your PSP saves for PS Vita folder (by default on Windows "%userprofile%\PS Vita\PSAVEDATA\vita_id_for_cma\")
  - Send the PSP save named "DUMP" to your PS Vita

- If you use a solution directly on your PS Vita:
  - Create a directory named "DUMP" in the folder "ux0:pspemu/PSP/SAVEDATA/" (or "ms0:/PSP/SAVEDATA/")
  - Restart your PS Vita

- On the PS Vita email application:
  - Open the message you previously send through Mozilla Thunderbird
  - Click on the attachment
  - When the panel "Cannot display this picture", completly close the email application (DO NOT CLICK ON "OK"!)
  - Reopen the email application
  - Reconfigure your email account access


Dump any file:

- Send an email to your email account configurated on your PS Vita:
  - The subject must be the path of the file (for example, "ux0:email/message/mail.db")
  - Attach any file named "#1" (with a size of at least 1 byte, for example the file given in this archive)

- Inside the PS Vita email application
  - Open the email you just sent, the attachment should be renamed as something which starts with "\\..\\..\\..\\pspemu\\PSP\\SAVEDATA\\DUMP\\"
  - On the right side, click on "Forward" button
  - It should take some time to open the "Forward" message editor (the time depends on the file size)
  - In the "Forward" message editor, click on the attachment and then on "See"
  - It must "slitly" freeze and then display a "Cannot display this picture" message (or crash if the file you want to dump is too huge)
  - Completly close the email application (DO NOT CLICK ON "OK"!)

- If you use CMA on your computer:
  - Simply backup the PSP save file "DUMP"
  - OpenCMA will fail if a file you dumped has a name more than 8 characters or an extension with not exactly 3 characters, use QCMA instead

- If you use a solution directly on your PS Vita:
  - The dumped file should be inside "ms0:/PSP/SAVEDATA/DUMP" or "ux0:pspemu/PSP/SAVEDATA/": do as you wish with it!


Limitations:

- The dumping process in the email application is hazardous:
  - Sometimes it fails (especially if there was no freeze before the "Cannot display this picture" message)
    - In this case, restart your PS Vita and repeat the dump phase inside the PS Vita email application
  - Sometimes you can directly click on the attachment (no need to go inside "Forward"), particularly if you successly dump the file at least one time

- The file path must at least contains a '/', if the file is at the root of the targeted partition, add a '/' after ':' (for example, "ux0:/id.dat")
- If the file is too huge, the email application will crash (in my case, it was when the file was bigger than 16MB but it is not a fixed limit)


Thanks to mr.gas for all his hints ;-)
