ma1co / OpenMemories-Tweak

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

HDR PJ410 not work #389

Open Michi0403 opened 3 years ago

Michi0403 commented 3 years ago

Hey, I tried the latest GUI and Console Binaries.

Error is following

Model: HDR-PJ410 Product code: 0002439514 Serial number: 03627329 Firmware version: 1.00 Found 11 apps

Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

Querying mass storage device Sony Camcorder is a camera in mass storage mode

Getting device info Using firmware for model HDR-PJ410

Unknown device: HDR-PJ410

Michi0403 commented 3 years ago

I managed to get the app connected by pulling your repo and getting it manual to run.

After I press tweaking I only can select 3 checkboxes and if I click the other one's I get following errors

Loading app list Cannot connect to remote server, falling back to appstore repository Traceback (most recent call last): File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1342, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1255, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1301, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1250, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1010, in _send_output self.send(msg) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 950, in send self.connect() File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1417, in connect super().connect() File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 921, in connect self.sock = self._create_connection( File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\socket.py", line 822, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\commands\usb.py", line 49, in listApps apps = remoteAppStore.listApps() File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\marketserver\server.py", line 113, in listApps apps = (appstore.App(None, dict) for dict in json.loads(http.get(self.base + '/api/apps').data)) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\util\http.py", line 39, in get return request(url, None, headers, cookies, auth) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\util\http.py", line 58, in request response = build_opener(handlers).open(request) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 517, in open response = self._open(req, data) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain result = func(args) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1385, in https_open return self.do_open(http.client.HTTPSConnection, req, File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1345, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1342, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1255, in request self._send_request(method, url, body, headers, encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1301, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1250, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1010, in _send_output self.send(msg) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 950, in send self.connect() File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1417, in connect super().connect() File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 921, in connect self.sock = self._create_connection( File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\socket.py", line 822, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca-gui.py", line 39, in do return list(listApps().values()) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\commands\usb.py", line 52, in listApps apps = appstore.AppStore(appStoreRepo).apps File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\appstore__init.py", line 18, in apps self._apps = OrderedDict((app.package, app) for app in apps) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\appstore__init__.py", line 18, in self._apps = OrderedDict((app.package, app) for app in apps) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\appstore\init.py", line 17, in apps = (self._createAppInstance(dict) for dict in self._loadApps()) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\appstore\init__.py", line 22, in _loadApps for doc in yaml.safe_load_all(self.repo.getFile(self.branch, self.filename)): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\appstore\github.py", line 19, in getFile return http.get(self.rawBase + '/%s/%s/%s/%s' % (self.user, self.repo, branch, path)).data File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\util\http.py", line 39, in get return request(url, None, headers, cookies, auth) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\util\http.py", line 58, in request response = build_opener(handlers).open(request) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 517, in open response = self._open(req, data) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 534, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 494, in _call_chain result = func(args) File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1385, in https_open return self.do_open(http.client.HTTPSConnection, req, File "C:\Users\Michael-PC\AppData\Local\Programs\Python\Python39\lib\urllib\request.py", line 1345, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>

Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

Querying MTP device Sony Corporation HDR-PJ410 is a camera in MTP mode

Model: HDR-PJ410 Product code: 0002439514 Serial number: 03627329 Firmware version: 1.00

Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

Querying MTP device Sony Corporation HDR-PJ410 is a camera in MTP mode

Getting device info Using firmware for model HDR-PJ410

Initializing firmware update Switching to updater mode

Waiting for camera to switch... Please follow the instructions on the camera screen. Initializing firmware update Writing firmware 0% 100% Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca-gui.py", line 168, in do self.ui.shell.setTweakEnabled(self.id, arg) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell__init.py", line 122, in setTweakEnabled self._req(b'TSET', self.UsbTweakRequest.pack(id=id, enable=enabled), { File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell__init.py", line 77, in _req raise UsbShellException(errorStrings.get(r.result - 0x100000000, 'Unknown error')) pmca.usb.usbshell.UsbShellException: Unknown error Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca-gui.py", line 168, in do self.ui.shell.setTweakEnabled(self.id, arg) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell__init.py", line 122, in setTweakEnabled self._req(b'TSET', self.UsbTweakRequest.pack(id=id, enable=enabled), { File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell__init__.py", line 77, in _req raise UsbShellException(errorStrings.get(r.result - 0x100000000, 'Unknown error')) pmca.usb.usbshell.UsbShellException: Protection enabled. Please disable protection first. Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca-gui.py", line 168, in do self.ui.shell.setTweakEnabled(self.id, arg) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell__init__.py", line 122, in setTweakEnabled self._req(b'TSET', self.UsbTweakRequest.pack(id=id, enable=enabled), { File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell\init__.py", line 77, in _req raise UsbShellException(errorStrings.get(r.result - 0x100000000, 'Unknown error')) pmca.usb.usbshell.UsbShellException: Unknown error Traceback (most recent call last): File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca-gui.py", line 168, in do self.ui.shell.setTweakEnabled(self.id, arg) File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell\init__.py", line 122, in setTweakEnabled self._req(b'TSET', self.UsbTweakRequest.pack(id=id, enable=enabled), { File "C:\Users\Michael-PC\Downloads\Sony-PMCA-RE-master\pmca\usb\usbshell\init__.py", line 77, in _req raise UsbShellException(errorStrings.get(r.result - 0x100000000, 'Unknown error')) pmca.usb.usbshell.UsbShellException: Unknown error

I tried to dump the firmware aswell and after many hours of running it quitted working elsewise I could have uploaded you a dump of the firmware.