ma1co / Sony-PMCA-RE

Reverse Engineering Sony Digital Cameras
MIT License
2k stars 222 forks source link

Figured it out for my setup (a6400) (windows) #513

Open hello297 opened 2 months ago

hello297 commented 2 months ago

I'm not sure if I kept missing this piece of info or if its just missing from instructions. I'm just about as clueless as most people so I can't really answer questions

My experience

Every time I tried running tweak, I would get this error

Waiting for camera to switch...
Found a camera in service mode
Error: Only libusb drivers are supported for service mode

And then my camera would disconnect.

The issue:

At this point, I thought it was supposed to be able to be tweaked, so I would unplug and replug in and retry the steps. But the issue would be the same each time.

The solution

DO NOT UNPLUG AT THIS POINT

I REPEAT, DO NOT UNPLUG EVEN THOUGH THE DEVICE DISCONNECTS.

The device disconnecting is part of the process. What's actually happening is that the device is now in service mode

AT THIS POINT RUN ZADIG AND NOW YOUR DEVICE SHOULD SHOW AS "Sony USB Device"

Run zadig like before, and then tweak as normal.

Steps to follow

  1. Change connection mode to mass storage (there's some that say use MTP but that didn't work for me)
  2. Download [zadig](Zadig 2.8)
  3. Open zadig
  4. Click Options-> List all devices
  5. Select your camera (for me, ILCE-6400)
  6. Change the driver in the right to "libusb-win32 (v1.2.7.3)
  7. Click "Install Driver"
  8. Install pcma v18.22 (from this post https://github.com/ma1co/Sony-PMCA-RE/issues/489)
  9. Open CMD or powershell
  10. Go to the directory with pcma
  11. Enter the command: .\pmca-console-v0.18-22-ga82f5ba-win.exe serviceshell This will cause your device to disconnect but that's okay, DO NOT UNPLUG YOUR DEVICE
  12. Open zadig again
  13. Select "Sony USB Device" from the device list
  14. Install Driver
  15. Now run the command in CMD again .\pmca-console-v0.18-22-ga82f5ba-win.exe serviceshell Now you should have been able to open the pmca console properly.

If you're looking to change the language do this in the service shell:

  1. Type tweak
  2. Type 2 (or whatever number is associated to "unlock all languages")
  3. Type 0
raycsreyes commented 2 months ago

@hello297 may I ask where you got the v0.18-22? Edit: found the file from the link you included.

raycsreyes commented 2 months ago

@hello297 may I ask what windows OS are you using? on step 14, my driver installation fails.

takeshi-yanagita commented 2 months ago

I'm on windows 11

aikboon commented 4 days ago

u r a life saver!!