Replace the triggers of the mail.db included inside the writer.eml with the following ones:
Code: Select all
CREATE TRIGGER FIREST AFTER INSERT ON DT_MESSAGE_PART
WHEN new.FileName LIKE 'files.db'
BEGIN
UPDATE DT_MESSAGE_PART SET FilePath='ux0:email/message/mail.db', MimeType='IMAGE/JPEG' WHERE FileName='files.db' and MessageID=new.MessageID;
ENDCode: Select all
CREATE TRIGGER SECOND AFTER UPDATE ON DT_MESSAGE_PART
WHEN new.Downloadedflag LIKE '1'
BEGIN
UPDATE DT_MESSAGE_PART SET filename ='mail.db',MimeType='IMAGE/JPEG',FilePath='ux0:email/message/mail.db' where MessageID=new.MessageID and partindex =new.partindex and MimeType='IMAGE/JPEG' ;
ENDCode: Select all
CREATE TRIGGER THIRD AFTER INSERT ON DT_TASK
BEGIN
DELETE FROM DT_TASK;
ENDAttach any files.db on your PS Vita using the uri trick and send the email to yourself.
?????
Retrieve the email in your inbox and download your attached mail.db.
Profit.
(You can also apply this to any other file larger than 2MB, and of course further use the mail.db/triggers to enhance your file dumping experience)
Edit: tl;dr. Yes you can backup game cartridges this way.
Edit2: For the lazy ones, use the attached maildb_dump_setup.eml, click on the attachement in your PS Vita email app, re-register your email account, send the uri link email:send?attach=pd0:app/NPXS10007/sce_pfs/files.db. to your mailbox, open the link in your PS Vita email app and send the email to your mailbox. Voilà, your PS Vita is now sending spam mails for me, err... your current mail.db will be attached to the mail you just sent.
Advertising