ma1co / OpenMemories-Tweak

Unlock your Sony camera's settings
MIT License
1.17k stars 113 forks source link

HDR CX 560V pmca.usb.InvalidCommandException #255

Closed Sporky00 closed 6 years ago

Sporky00 commented 6 years ago

Hello. i recently have tried to install openmemories tweak on my cx 560v via the pmca gui thinking that it would work due to the software supporting the cx 700 (which i believe to be the same family) but after putting the device intro mass storage mode and trying to install the app the console in pmca gave me this error pmca.usb.InvalidCommandException: Mass storage error: Sense 0x5 0x20 0x0 i am not sure what this means but i hope i can over come it, since i brought this camera in japan ages and ages ago so it is locked in japanese and only recently have i been looking into enabling English on it.

many thanks

ma1co commented 6 years ago

This might be possible via a custom firmware update. As a first step, we have brute force the model id of your camera (it might be the same as the CX700, but I'm not sure about that). This won't install anything on your device. If you're interested to help, here's what you can do:

Let me know if you need any help.

Sporky00 commented 6 years ago

https://imgur.com/a/dOlrM there you go, hope this helps :) also keep up the stuff, if this works this will be a huge money saver

ma1co commented 6 years ago

Thanks for your help, it is indead the same model id as the CX700. The CX560 is now supported in the latest development builds.

The next step is to dump the firmware, I just want to make sure that it really is the same as the CX700. Here's how to do that:

IMPORTANT: I had some issues with the CX700. When I last tested the above process, the camera lost all settings (same as a factory reset). I had to proceed setting the date and reconfigure all the settings in the menu. I don't know if this will happen to you as well. I'm unable to debug this, as I don't have access to the CX700 at the moment.

Sporky00 commented 6 years ago

i am having a issue with copying the firmware, i leave it to copy for around 1 - 2 hours and after 40ish minutes the camera shuts off and disconnects from my pc even tho i have it plugged into ac :( i have tried to copy 3 times already all end with failure :( i will also be over seas for the next two days so i can not do anything until Monday, sorry

ma1co commented 6 years ago

The process should take maybe a minute or two, but not half an hour. Maybe you missed the completion? Have a look at the folder where you donwloaded pmca-console.exe. There should be a file called nflasha. What's its size? If it is around 128MB, everything completed successfully.

Sporky00 commented 6 years ago

should be uploaded, idk why it didnt work but i changed computers and i got it finally.

ma1co commented 6 years ago

Thank you, it is indeed almost the same firmware as the CX700.

Here is what you can try to unlock all languages (I don't know if this will work):

Please let me know if it worked.

Sporky00 commented 6 years ago

https://imgur.com/a/SxJx2 :(

ma1co commented 6 years ago

There seems to be a communication error. Which computer are you using? Is it the one you had issues with dumping the firmware?

Sporky00 commented 6 years ago

nope i am using my mac book pro with bootcamp, the one that dumped the firmware, i will try to tweak with all the pcs i have available to me, thanks for you help i should hopefully be able to get everything working!

ma1co commented 6 years ago

I just discovered that this is not a communication issue, it's a problem in Sony's Backup_write() code which causes the camera to lock up. My bad. I'll try to fix this by changing the Backup_guess_protection() code.

ma1co commented 6 years ago

The issue should be fixed in the newest development builds.

Sporky00 commented 6 years ago

sorry for being inactive, i was again on another trip but thank god everything works now! i cant thank you enough for helping me. i wish you good luck on this and your future projects :)

ma1co commented 6 years ago

No worries, thanks for your help on the project!

TimSchimansky commented 1 year ago

@ma1co I get the exact same error: Mass storage error: Sense 0x5 0x20 0x0 for my Sony QX10 LensCamera. The firmware of that device is not found by the guess function. Therefore i have uploaded the firmware into your Dropbox.