Posted By: Cloudhunter
source
Dark_AleX has released a BETA USB flash fix for 3.71 M33-2.
Here's what jas0nuk said at the release.
Dark_AleX has sent me this file for you guys to test, which he says should fix the flash0 over USB nand corruption issues.
The problem:
Sony's lflash driver cannot retrieve the last sector. DAX fixed this by using internal functions of the lflash to do it directly, but it appears this may be glitchy at random intervals (though he managed to restore an entire flash0 dump before releasing M33-2 and had no problems).
This was introduced in M33-2, rather than the original code. The fix for M33-2 was a separate ioctl handling issue.
The fix:
Overwrite flash0:/kd/usbdevice.prx with the attached file.
It uses the old flash0 over USB code, with the small-file corruption issue from 3.71 M33-1 fixed.
Obviously you'll have to use flash0 over usb to actually copy this file, MAKE SURE YOU HAVE A WORKING NAND DUMP BEFORE YOU DO, as you may corrupt the partition records when copying it. (Unlikely but possible).
He is releasing the source to this file very shortly.
And true to his word, he indeed released the source. Here's what Dark_AleX said.
This is the source of the last usbdevice.prx, in case anyone is interested.
Let's hope this one has not the bug.
Personally, I recommend installing this right away - especially if you use custom themes alot.
Download and give feedback via comments.