ma1co / Sony-PMCA-RE

Reverse Engineering Sony Digital Cameras
MIT License
2.09k stars 233 forks source link

Enhancement: Confirm that RX100M7 can be used to unlock the language but still buggy #538

Open ws2bhhh opened 3 months ago

ws2bhhh commented 3 months ago

Version: v0.18 a82f5ba, using github workflow to build OS: Windows 11 Driver: Zadig 2.9.788, libusbK

The tweaks isn't perfect: when I "slide" over unavailable languages in the language menu, the camera UI reboot. Related commit: https://github.com/ma1co/Sony-PMCA-RE/pull/356

charoducer commented 2 months ago

oh, plz help me

charoducer commented 2 months ago

I am an rx user living in Korea. What did you do with this camera that was locked in English?

charoducer commented 2 months ago

@ma1co plz help me Traceback (most recent call last): File "pmca-gui.py", line 184, in do File "pmca\platform\tweaks.py", line 179, in setEnabled File "pmca\platform\tweaks.py", line 54, in setEnabled File "pmca\platform\backup.py", line 78, in writeProp File "pmca\platform\backup.py", line 49, in write File "pmca\platform\backup.py", line 34, in write File "pmca\platform\backend\senser.py", line 32, in writeBackup File "pmca\usb\sony.py", line 1041, in writeBackup File "pmca\usb\sony.py", line 993, in _sendAdjustControlPacket Exception: Senser adjust control error 129 What does this mean?

ws2bhhh commented 2 months ago

@ma1co plz help me Traceback (most recent call last): File "pmca-gui.py", line 184, in do File "pmca\platform\tweaks.py", line 179, in setEnabled File "pmca\platform\tweaks.py", line 54, in setEnabled File "pmca\platform\backup.py", line 78, in writeProp File "pmca\platform\backup.py", line 49, in write File "pmca\platform\backup.py", line 34, in write File "pmca\platform\backend\senser.py", line 32, in writeBackup File "pmca\usb\sony.py", line 1041, in writeBackup File "pmca\usb\sony.py", line 993, in _sendAdjustControlPacket Exception: Senser adjust control error 129 What does this mean?

Unfortunately, my camera originally was locked to Japanese. Now this camera can be set to English, which is good enough for me. Maybe it has something to do with a wrong driver selection. I use libusbK. What is your specific camera model, PMCA and Zadig version? This helps to solve the problem.

CE560 commented 1 week ago

@ws2bhhh i'm also trying to language unlock a RX100M7, but im having issues with v0.18-22-ga82f5ba build on windows 11. What do you mean built using github workflows?

I am using Zadig 2.9.788 libusb0 v1.4.0.0

When I try the camera in MTP mode and PMCA tweaking mode in updater I get this message:

_Querying MTP device Sony Corporation DSC-RX100M7 is a camera in MTP mode

Model: DSC-RX100M7 Product code: 0080818800 Serial number: 00027567 Firmware version: 1.00

Using drivers Windows-MSC, Windows-MTP, Windows-vendor-specific, libusb-MSC, libusb-MTP, libusb-vendor-specific Looking for Sony devices

Querying MTP device Sony Corporation DSC-RX100M7 is a camera in MTP mode

Getting device info Using firmware for model DSC-RX100M7

Error: Model "DSC-RX100M7" does not support custom firmware updates. Please check the compatibility list._

When I use mass storage mode (also with libusb0 driver installed) to try to enter service mode it appears PMCA does not see the camera even though Zadig does it gives me this:

_Using drivers Windows-MSC, Windows-MTP, Windows-vendor-specific, libusb-MSC, libusb-MTP, libusb-vendor-specific Looking for Sony devices Traceback (most recent call last): File "pmca-gui.py", line 58, in do File "pmca\commands\usb.py", line 234, in infoCommand File "pmca\commands\usb.py", line 222, in getDevice File "pmca\commands\usb.py", line 179, in listDevices File "pmca\commands\usb.py", line 130, in listDevices File "pmca\usb\driver\generic\libusb.py", line 30, in openDevice File "pmca\usb\driver\generic__init.py", line 75, in init File "pmca\usb\driver\generic\init__.py", line 83, in _findEndpoints File "pmca\usb\driver\generic\libusb.py", line 65, in getEndpoints File "usb\core.py", line 921, in get_active_configuration File "usb\core.py", line 113, in wrapper File "usb\core.py", line 255, in get_activeconfiguration usb.core.USBError: [Errno None] Configuration not set

I was able to get it to see the camera once and got it into service mode by installing the libusb0 drivers on the "sony usb device" but in PMCA it said that no services were available for this model.

any idea how to fix this? I would really love to unlock the menu languages rather than trying to sell this one and try to find someone that will ship a US model to Japan. Thanks!

ws2bhhh commented 1 week ago

@ws2bhhh i'm also trying to language unlock a RX100M7, but im having issues with v0.18-22-ga82f5ba build on windows 11. What do you mean built using github workflows?

@CE560 I forked the project, and then modified the workflow file in my fork to run the build action manually. It is hard to discribe how to do this. The link to the workflow file I edited is: https://github.com/ma1co/Sony-PMCA-RE/tree/master/.github/workflows

I am using Zadig 2.9.788 libusb0 v1.4.0.0

Try libusbK. In my situation the other driver just reboots the camera and makes no changes. Trying different drivers or replacing the cable might help, I think.