ma1co / OpenMemories-Tweak

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

Testing HDR-XR550V #265

Open gkln opened 6 years ago

gkln commented 6 years ago

Was curious if it works also on a handycam and it would have been fine if it would be possible to enable also all languages - so I gave it a try.

Well, here is are the messages

Loading app list Found 10 apps

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

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

Model: HDR-XR550V
Product code: 0002061430 Serial number: 00120883 Firmware version: 1.01 GPS Data: 2018-03-01 00:00:00 - 2018-03-31 00:00:00

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-XR550V

Unknown device: HDR-XR550V

ma1co commented 6 years ago

The HDR-XR550V was announced in 2010, it is too old to apply any tweaks (it is probably a gen0 or gen1 camera, they feature a different settings system as newer models, I didn't spend any time trying to develop tweaks for it). However, it would still be interesting to dump the firmware and maybe run some code on it. There is probably a lot of guessing involved, since we don't know anything about that model. But if you're willing to help, I can provide you with instructions. The first step would be to find out which kind of firmware image it uses.

gkln commented 6 years ago

Supply me with the detailed instructions, I will try my best. Also indicate how great (MB) the dump will be - my connection is not that fast so maybe I need a little planning at which time I can perform the transmission.

ma1co commented 6 years ago

Ok, let's find out if it is a gen0 or a gen1 camera. Please download this zip file and unzip it. Open pmca-gui, connect your camera and go to the "Update firmware" tab. Select gen0.dat and click "Update firmware". Then select gen1.dat and click "Update firmware". Please post the console output.

gkln commented 6 years ago
  1. First got Camera info
  2. Second "Update Firmware" with gen0.dat
  3. "Update Firmware" with gen1.dat

Here is the console-log:

Loading app list Found 10 apps

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

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

Model: HDR-XR550V
Product code: 0002061430 Serial number: 00120883 Firmware version: 1.01 GPS Data: 2018-03-02 00:00:00 - 2018-04-01 00:00:00

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

ma1co commented 6 years ago

Thanks for testing and sorry about my delayed reply. So the camera doesn't seem to use a gen0 or gen1 firmware image. I have two more files to test. Please repeat the process described above with this zip file: gen2.zip

gkln commented 6 years ago

There might be a problem with the USB-connection: when connecting, the camera notices this and displays on the touch-screen 4 options: USB-Connect to the HDD USB-Connect to the SDLC-Card Disc burn Download music

I choosed the first. Using pmca-gui-v0.16-10-gf546837-win.exe

Here is the console output:

Loading app list Found 10 apps

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

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

Model: HDR-XR550V
Product code: 0002061430 Serial number: 00120883 Firmware version: 1.01 GPS Data: 2018-03-07 00:00:00 - 2018-04-06 00:00:00

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

gkln commented 6 years ago

I tried once more without choosing an option. In this situation the msg "No devices found. Ensure your camera is connected." is displayed as soon as I click on "get camera info".

Then I repeated the procedure with the option "USB-Connect to the SDLC-Card". Same result as with HDD.

Here is the log: gen0, gen1, gen2, and finally m5.dat

Loading app list Found 10 apps

Using drivers Windows-MSC, Windows-MTP Looking for Sony devices No devices found. Ensure your camera is connected.

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

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

Model: HDR-XR550V
Product code: 0002061430 Serial number: 00120883 Firmware version: 1.01 GPS Data: 2018-03-07 00:00:00 - 2018-04-06 00:00:00

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

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

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

Initializing firmware update Traceback (most recent call last): File "C:\projects\sony-pmca-re\pmca-gui.py", line 98, in do File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 300, in firmwareUpdateCommand File "C:\projects\sony-pmca-re\pmca\commands\usb.py", line 339, in firmwareUpdateCommandInternal File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 522, in checkGuard File "C:\projects\sony-pmca-re\pmca\usb\sony.py", line 496, in _sendWriteCommands Exception: Firmware update error: Invalid data

ma1co commented 6 years ago

I don't think the USB mode is the issue. It really seems that this camera is using different firmware encryption keys. I'll have to think about whether it is viable to brute force the complete firmware image...

gkln commented 6 years ago

In my eyes it is not a very big problem. As you stated, the cam was announced 2010 AND my model offers at least English as menu language, which is already a big thing compared with Japanese only. (If I could choose: I would prefer if your brute-force efforts concentrate rather on the RX10M4 ;) )

ma1co commented 2 years ago

pmca-console now supports "senser" mode, the USB service mode present on all cameras I know of. It should be possible to dump the firmware of these unsupported cameras using this mode. If you want to help, here is what you can try:

Please let me know if you need any help.

gkln commented 2 years ago

Hi, thanks for your support!

These were my steps: Download pmca-console-v0.17-63-g77b2991-win zadig-2.5

Connecting camera Sony HDR-XR550V with USB-Cable to PC with W732 EnterpriseEdition. The display of the camera immediately changes und offers the following possibilities (see Attachment Sony HDR-XR550V with USB-Cable to PC with W732 EnterpriseEdition.HEIC (the new format of iPhone Xs; in case of troubles I can convert it to jpg) I selected the left one with the HDD symbol, as the camera has not SDLC-Card in the slot and I expect the camera-SW to be stored on the internal HDD After pressing the left USB Connect the next screen looks 20210812_2 Sony HDR-XR550V with USB-Cable to PC with W732 EnterpriseEdition, connected.HEIC Run Zadig-2.5.exe Selected the Cam HDR-XR550V and right side as indicated libusb-win32 and replaced driver.

The process terminated OK, driver replaced. Now instructions on https://github.com/ma1co/Sony-PMCA-RE/#windows-drivers GitHub - ma1co/Sony-PMCA-RE: Reverse Engineering Sony Digital Cameras say_

Next I run again pmca-console-v0.17-63-g77b2991-win.exe, but same effect as before. According to your email I should connect (again?) the camera in mass storage mode. So I ended the usb-connection, disconnected the usb-cable, reconnected it. Same screens appeared as in attachments shown. Rerun pmca-console-v0.17-63-g77b2991-win.exe, but again no change on the display of the cam neither an open command window. Additional remark: I run the pmca-console-v0.17-63-g77b2991-win.exe from the windows file manager by double-click. If it should be started from a command-prompt, maybe with admin rights, please tell so.

Videocam is still working ;)

Regards, Gerhard

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 12:23 An: ma1co/OpenMemories-Tweak Cc: gkln; Author Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

pmca-console now supports "senser" mode, the USB service mode present on all cameras I know of. It should be possible to dump the firmware of these unsupported cameras using this mode. If you want to help, here is what you can try: · Clone or download the Sony-PMCA-RE https://github.com/ma1co/Sony-PMCA-RE repository, or, on Windows, download the newest development build https://ci.appveyor.com/project/ma1co/sony-pmca-re/build/artifacts of pmca-console. · If you are on Windows, follow the instructions https://github.com/ma1co/Sony-PMCA-RE/#windows-drivers to install the USB drivers. Windows Drivers To use service mode on Windows, custom drivers have to be installed using Zadig http://zadig.akeo.ie/ : · Make sure the camera is connected in mass storage mode. · In Zadig, check Options -> List All Devices, select the camera, select libusb-win32 and click Replace Driver. · Run pmca-console serviceshell to make the camera switch modes. · Once the camera has switched, repeat the above step to install a driver for service mode. · You should now be able to use pmca-console serviceshell. To be able to use the camera normally again, the libusb drivers have to be uninstalled in device manager. Browser Compatibility The browser-based installer can be found at sony-pmca.appspot.com https://sony-pmca.appspot.com/ . This site uses the official Sony browser plugin to communicate with the camera directly from a browser window. Since other browser vendors are disabling NPAPI plugins, this method only works in Internet Explorer and Safari. Additionally, camera firmware updates released in June 2017 and later explicitly whitelist the URL of the official app store. Updated cameras refuse to install apps from our site. It is thus recommended to use the native installer instead. Meanwhile, the site is still used to keep track of the installation counters for the apps in the app list. Zadig - USB driver installation made easy (akeo.ie) https://zadig.akeo.ie/ : [Zadig icon] Zadig USB driver installation made easy [Zadig screenshot] Zadig is a Windows application that installs generic USB drivers, such as WinUSB https://docs.microsoft.com/en-us/windows-hardware/drivers/usbcon/winusb , libusb-win32/libusb0.sys https://sourceforge.net/p/libusb-win32/wiki/Home/ or libusbK http://libusbk.sourceforge.net/UsbK3/ , to help you access USB devices. It can be especially useful for cases where: you want to access a device using a libusb-based application you want to upgrade a generic USB driver you want to access a device using WinUSB Note: "libusb-based" above means an application that uses either libusb https://libusb.info/ , libusb-win32 https://sourceforge.net/p/libusb-win32/wiki/Home/ or libusbK http://libusbk.sourceforge.net/UsbK3/ . Download Updated 2020.03.28: Zadig 2.5 https://github.com/pbatard/libwdi/releases/download/b730/zadig-2.5.exe (4.9 MB) Other versions https://zadig.akeo.ie/downloads/ System Requirements: Windows 7 or later. Windows XP and Windows Vista are NO LONGER SUPPORTED. Usage Download the executable and run it — no installation is necessary. If elevation is required, you will be prompted for it. An usage guide for Zadig is available HERE https://github.com/pbatard/libwdi/wiki/Zadig . The executable is digitally signed and the signature should state: "Akeo Consulting" Frequently Asked Questions (FAQ) A Zadig FAQ is available HERE https://github.com/pbatard/libwdi/wiki/FAQ#wiki-Zadig . To provide feedback, report a bug or request an enhancement please use the github issue tracker https://github.com/pbatard/libwdi/issues . Or you can send an e-mail @.***?subject=Zadig> .

· Original geht hier weiter · Connect the camera in mass storage mode and run pmca-console serviceshell. If everything works out, the camera should switch from the USB screen to the playback / recording screen and your computer should show a command prompt. · Type pull /dev/nflasha and wait for a while for the command to complete, then type exit. · If everything works, you should have a firmware dump in a file called "nflasha". Please zip it and upload the file to my dropbox https://www.dropbox.com/request/WXQ1IKIoPo4ECK8CFxRx . Please let me know if you need any help. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897522292 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7JXVIBFNLJTBBMB4NDT4OOIPANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7NWX63ER6B4NQZQCFTT4OOIPA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGV7RU5A.gif

ma1co commented 2 years ago

@gkln You are supposed to run it from the command prompt like this: pmca-console-v0.17-63-g77b2991-win.exe serviceshell

gkln commented 2 years ago

But camera has switched!

Now the camera disappeared, but a Sony USB Device is available. I took this.

The resulting „nflasha“ has 0 kB! Please check console-output: I thought, as soon as I see the “>” sign, I can execute exit. Anything else wrong?

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 18:02 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

@gkln https://github.com/gkln You are supposed to run it from the command prompt like this: pmca-console-v0.17-63-g77b2991-win.exe serviceshell — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897761092 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7KVKTLWOD3HBXWC6RLT4PWA3ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7OEYQAFT66COON7Y4LT4PWA3A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWBL6RA.gif

ma1co commented 2 years ago

Nice, that's good progress! I remember having trouble dumping /dev/nflasha on my NEX-3, too. Can you try this instead? pull /usr/lib/libupdaterapi.so This should contain the firmware keys.

gkln commented 2 years ago

Success so far, 143 kB file. I zipped it and upload to your site as 20210812_184800 HDR-XR550V libupdaterapi.zip

Hopefully my cam and my PC still working. Unsure about uninstalling the libusb-win32 (v1.2.6.0) driver and return to original that was USBSTOR (v6.1.7601.23403)

cu, gkl

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 18:43 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Nice, that's good progress! I remember having trouble dumping /dev/nflasha on my NEX-3, too. Can you try this instead? pull /usr/lib/libupdaterapi.so This should contain the firmware keys. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897795574 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7MTCRHWWIWKFAD2WX3T4P223ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7J6CITZY3T5NAV6PP3T4P223A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWBUL5Q.gif

ma1co commented 2 years ago

Very nice, we have the firmware keys now.

My next step is to create custom firmware file, so we are able to use updatershell (which has more functionality than serviceshell, at least for now). For that, we need the model id, which is stored on nflasha1. So let's try to dump this partition.

You should now have a file called nflasha1.

gkln commented 2 years ago

Failure!

Restart

command inserted with copy - paste

no output. looks as „dd“ is not known to the established linux shell. Should I provide you with a teamviewer-address and you can try yourself?

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 19:27 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Very nice, we have the firmware keys now. My next step is to create custom firmware file, so we are able to use updatershell (which has more functionality than serviceshell, at least for now). For that, we need the model id, which is stored on nflasha1. So let's try to dump this partition. · Run pmca-console serviceshell · Type shell. You should now see a linux shell. · Execute dd if=/dev/nflasha1 of=/tmp/nflasha1 · Once this has completed, press <CTRL+C> and then to go back to the serviceshell prompt · Execute pull /tmp/nflasha1 You should now have a file called nflasha1. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897824722 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7JMZ4DWGJK6P2FRIGTT4P77ZANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7LQ42I6GE44JWFYWXLT4P77ZA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWB3PUQ.gif

ma1co commented 2 years ago

I cannot see your screenshots on github. Can you copy-paste the output instead?

gkln commented 2 years ago

Begin output in shell ================================ E:\Sw\HW_Treiber\Camera\SonyTweak>pmca-console-v0.17-63-g77b2991-win.exe service shell Using drivers libusb-MSC, libusb-MTP, libusb-vendor-specific Looking for Sony devices

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

Switching to senser mode

Waiting for camera to switch... Found a camera in senser mode Authenticating Welcome to USB service shell. Type help for the list of supported commands. Type exit to quit.

shell Terminal activated. Press <CTRL+C> to exit.

BusyBox v1.4.2 (2009-01-20 14:59:28 JST) Built-in shell (ash) Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off / # dd if=/dev/nflasha1 of=/tmp/nflasha1 /bin/ash: dd: not found / # End output in shell ================================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 20:15 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

I cannot see your screenshots on github. Can you copy-paste the output instead? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-8978626 84 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7PNOFNKOBBHET52SADT4 QFRVANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&m t=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campai gn=notification-email . https://github.com/notifications/beacon/AIZ6V7I7PG6SVTSVQCM25Q3T4QFRVA5CNFS M4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCEYHA .gif

ma1co commented 2 years ago

Can you try this instead? /bin/busybox dd if=/dev/nflasha1 of=/tmp/nflasha1

If this does not work, we can also mount the partition.

arctis-shark commented 2 years ago

Hey ma1co, I tried gaining a service shell but it said access denied and now it says there are no sony devices anymore even though I am connected to my camera

gkln commented 2 years ago

There is an intersting phenomenon: after a while, the command window fills up with lines like this:

Start consoleoutput ======================================== ←[0m991.9234s 01D264:0027 141 33 04 3 ←[1m[VIDEO]SetCombineVMute(0) from 1000020 ←[0m ←[0m991.9235s 01D264:0037 141 33 04 3 ←[1m[VIDEO]SetVMute(6,0) from 0x1000020←[0 m ←[0m991.9236s 01D264:0046 141 33 04 3 ←[1m[VIDEO]pvt_reqVMute(mode=0):rec=0 out= 0←[0m ←[0m991.9239s 01D264:0079 141 33 04 3 ←[1m[VIDEO]pvt_setVMute() : rec=0 out=0 co l=1←[0m ←[0m991.9431s 01D265:023E 141 33 04 3 ←[1m[VIDEO]cb_sigSetVMute()←[0m ←[0m991.9432s 01D265:024E 141 33 04 3 ←[1m[VIDEO]allMuteCmpEvent: id=6 sender=10 00020←[0m ←[0m991.9434s 01D265:0278 141 33 03 3 ←[1m[CM_MPB]SetCombineVMuteOff OK←[0m ←[0m991.9436s 01D265:029F 141 33 04 3 ←[1m[SYSMD] << HDPB_MOVIE >>←[0m ←[0m991.9437s 01D265:02B0 141 33 04 3 ←[1m[SYSMD]RqEntry( IDLE )←[0m ←[0m991.9438s 01D265:02BB 141 33 04 3 ←[1m[SYSMD]RqEntry( ENTER )←[0m ←[0m991.9442s 01D265:0305 141 33 04 3 ←[1m[SYSMD]AudioSeqStartCallback←[0m ←[0m991.9443s 01D265:0315 141 33 04 3 ←[1m[SYSMD]RqEntry( CHECK )←[0m ←[0m991.9443s 01D265:031F 141 33 04 3 ←[1m[SYSMD]RqEntry( MODE )←[0m ←[35m991.9444s 01D265:0331 141 33 04 2 ←[1m[SYSMD] == AVM->ChangeMode()←[0m ←[35m991.9445s 01D265:0337 141 33 04 2 ←[1m[SYSMD] == majorMode 5←[0m ←[35m991.9445s 01D265:033D 141 33 04 2 ←[1m[SYSMD] == bbMode 6←[0m ←[35m991.9445s 01D265:0342 141 33 04 2 ←[1m[SYSMD] == cameraMode 7←[0m ←[35m991.9446s 01D265:034A 141 33 04 2 ←[1m[SYSMD] == audioSrc 12←[0m ←[35m991.9446s 01D265:0350 141 33 04 2 ←[1m[SYSMD] == intCodecMode 0←[0m ←[35m991.9446s 01D265:0355 141 33 04 2 ←[1m[SYSMD] == extCodecMode 3←[0m ←[35m991.9447s 01D265:035B 141 33 04 2 ←[1m[SYSMD] == extVoutStatus 0←[0m ←[35m991.9447s 01D265:0365 141 33 04 2 ←[1m[SYSMD] 2D 10154800 800 0 0←[0m ←[35m991.9448s 01D265:036F 141 33 04 2 ←[1m[SYSMD] 10 10200000 1780000 0 0←[0m ←[35m991.9448s 01D265:0379 141 33 04 2 ←[1m[SYSMD] F 11980000 3F4800 0 0←[0m ←[35m991.9449s 01D265:0383 141 33 04 2 ←[1m[SYSMD] 9 11D74800 3F4800 0 0←[0m ←[35m991.9450s 01D265:038D 141 33 04 2 ←[1m[SYSMD] A 12169000 3F4800 0 0←[0m ←[35m991.9450s 01D265:0397 141 33 04 2 ←[1m[SYSMD] 2F 1255D800 14000 0 0←[0m ←[35m991.9451s 01D265:03A1 141 33 04 2 ←[1m[SYSMD] 12 30100000 400000 0 0←[0m ←[35m991.9451s 01D265:03AA 141 33 04 2 ←[1m[SYSMD] 13 30520000 E0000 0 0←[0m ←[35m991.9452s 01D265:03B4 141 33 04 2 ←[1m[SYSMD] 29 30A47000 7E9000 0 0←[0m ←[35m991.9452s 01D265:03BD 141 33 04 2 ←[1m[SYSMD] 1A 31230000 4C0000 0 0←[0m ←[0m991.9454s 01D265:03DF 141 33 04 3 ←[1m[SEL]StartChangeAudioInSrc(255)←[0m ←[0m991.9455s 01D265:03F0 141 33 04 3 ←[1m[AUDIO]SetInSrc(0x80ff)←[0m ←[0m991.9457s 01D265:040D 141 33 04 3 ←[1m[SEL]pvt_sethotshoePower : src=255 tri g=0←[0m ←[0m991.9461s 01D265:0455 141 33 03 3 ←[1m[CM_MPB]Change TransitMode -> 7←[0m ←[0m991.9482s 01D265:05D7 141 33 03 3 ←[1m[MEDIADB] NotifyChangeMovieSetting()←[ 0m ←[0m991.9503s 01D265:074F 141 33 04 3 ←[1m[STLSIZE]Receive size chg←[0m ←[0m992.2442s 01D277:02CB 141 33 04 3 ←[1m[SYSMD]ReceiveEvent 09010000 00000009 FFFFFFFF 00000005 1←[0m ←[35m992.2443s 01D277:02DF 141 33 04 2 ←[1m[SYSMD]: 2D 10154800 800 0 0←[0m ←[35m992.2443s 01D277:02EA 141 33 04 2 ←[1m[SYSMD]: 10 10200000 1780000 0 0←[0m ←[35m992.2444s 01D277:02F4 141 33 04 2 ←[1m[SYSMD]: F 11980000 3F4800 0 0←[0m ←[35m992.2445s 01D277:02FD 141 33 04 2 ←[1m[SYSMD]: 9 11D74800 3F4800 0 0←[0m ←[35m992.2445s 01D277:0307 141 33 04 2 ←[1m[SYSMD]: A 12169000 3F4800 0 0←[0m ←[35m992.2446s 01D277:0310 141 33 04 2 ←[1m[SYSMD]: 2F 1255D800 14000 0 0←[0m ←[35m992.2446s 01D277:031A 141 33 04 2 ←[1m[SYSMD]: 12 30100000 400000 0 0←[0m ←[35m992.2447s 01D277:0323 141 33 04 2 ←[1m[SYSMD]: 13 30520000 E0000 0 0←[0m ←[35m992.2447s 01D277:032D 141 33 04 2 ←[1m[SYSMD]: 29 30A47000 7E9000 0 0←[0m ←[35m992.2448s 01D277:0336 141 33 04 2 ←[1m[SYSMD]: 1A 31230000 4C0000 0 0←[0m ←[0m992.2451s 01D277:0372 141 33 04 3 ←[1m[SEL]EndChangeAudioInSrc(255)←[0m ←[0m992.2453s 01D277:038D 141 33 04 3 ←[1m[SEL]pvt_sethotshoePower : src=255 tri g=1←[0m ←[0m992.2454s 01D277:039F 141 33 04 3 ←[1m[SYSMD]RqEntry( CHECK )←[0m ←[0m992.2454s 01D277:03AA 141 33 04 3 ←[1m[SYSMD]RqEntry( EXIT )←[0m ←[0m992.2457s 01D277:03DA 141 33 03 3 ←[1m[CM_MPB]Change TransitMode End←[0m ←[0m992.2459s 01D277:03FA 141 33 03 3 ←[1m[CM_MPB]CheckMovieFrameInfo ctg=0 def= 1←[0m ←[0m992.2463s 01D277:044D 141 33 03 3 ←[1m[CM_MPB]SetFrameBufferInfo OK frameId= 15 regionId=0←[0m ←[0m992.2465s 01D277:046C 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec Call MovM grId=5c52c4 StlMgrId=5c52c4←[0m ←[0m992.2465s 01D277:0474 141 33 03 3 ←[1m[MMSV]getContentType: Set ContentType Movie(HD_AVCHD)←[0m ←[35m992.2466s 01D277:0483 141 33 04 2 ←[1m[SYSMD]MPR MAP ID:5←[0m ←[0m992.2467s 01D277:048A 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec Call Mode ID=5←[0m ←[0m992.2475s 01D277:0526 141 33 04 3 ←[1m[CAM]STROBE CHARGE NO←[0m ←[0m992.2482s 01D277:05A6 141 33 04 3 ←[1m[svc/battery] ChkModeConsumpSet(0x0000 0100, 4)←[0m ←[0m992.2485s 01D277:05D9 141 33 04 3 ←[1m[SEL]ReceiveEvent - ChgModeCmp←[0m ←[0m992.2646s 01D278:0567 141 33 04 3 ←[1m[SYSMD]ReceiveEvent 09010012 00000009 00000000 00000002 0←[0m ←[0m992.2647s 01D278:0578 141 33 04 3 ←[1m[SYSMD]RqEntry( IDLE )←[0m ←[0m992.3762s 01D27F:01C6 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec ER_OK←[0m

←[0m992.3765s 01D27F:0202 141 33 03 3 ←[1m[CM_MPB]PlayMovie Call Speed=0←[0m ←[0m993.0111s 01D2A5:026F 141 33 04 3 ←[1m[STLSIZE]set bbcapsize:0 ←[0m ←[0m993.0112s 01D2A5:0279 141 33 03 3 ←[1m[PBIF]SetBbCapStillFormat:0. (0:HD 1:S D_16_9 2:SD_4_3)←[0m ←[0m993.0127s 01D2A5:0393 141 33 04 3 ←[1m[STLSIZE]set bbcapsize:0 ←[0m ←[0m993.0128s 01D2A5:039A 141 33 03 3 ←[1m[PBIF]SetBbCapStillFormat:0. (0:HD 1:S D_16_9 2:SD_4_3)←[0m ←[0m993.0135s 01D2A5:0417 141 33 03 3 ←[1m[PBIF]ChgEntryID:00000001.←[0m ←[0m993.0186s 01D2A5:07BC 141 33 03 3 ←[1m[CM_MPB]PlayMovie ER_OK←[0m ←[0m993.0189s 01D2A5:07F4 141 33 03 3 ←[1m[PBIF]SetPbStartResponse←[0m ←[0m993.0190s 01D2A5:07FE 141 33 03 3 ←[1m[PBIF]media:1 ctg:0 def:1←[0m ←[0m993.0191s 01D2A5:0808 141 33 03 3 ←[1m[PBIF]Req EntryID:00000001 PB EntryID :00000001 posID:00000000←[0m ←[0m993.0191s 01D2A5:0810 141 33 03 3 ←[1m[PBIF]pbStartType:0 reqID:00000002←[0 m ←[0m993.0192s 01D2A5:0823 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=0, s=0, c=1 (req ID=2)←[0m ←[0m993.0193s 01D2A5:082D 141 33 03 3 ←[1m[CM_MPB]SetPbStartResponse entryId=1 e ntryNo=1 reqID=2←[0m ←[0m993.0205s 01D2A5:0910 141 33 03 3 ←[1m[FM_MPB]Evt:TransOff, Now:MPB_HD, Next :NULL, Act:FFFFFFFF, Path:←[0m ←[0m993.0219s 01D2A5:0A0F 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final-TRGEVT (0x7402241)←[0m ←[0m 53.5347s 01E0D0:0BA9 141 33 04 3 ←[1m[SYSMD]ReceiveEvent 09018022 00000009 FFFFFFFF 00000000 0←[0m ←[31m244.1974s 020D75:03D9 141 33 03 1 ←[1m[CM_MPB]EVTID_INTERNAL_PB_STOP Reciev ed!←[0m ←[0m244.1981s 020D75:0460 141 33 03 3 ←[1m[CM_MPB]Entry:MPBENDPAUSE←[0m ←[0m244.1983s 020D75:0488 141 33 03 3 ←[1m[PBIF]SetEditPbCaptureEnable() valid:0 ←[0m ←[0m244.1985s 020D75:049C 141 33 03 3 ←[1m[CM_MPB]GetEditDivideInfo Call←[0m ←[0m244.2014s 020D75:06A6 141 33 03 3 ←[1m[FM_MPB]Evt:0x740501a, Now:MPB_HD, Nex t:NULL, Act:FFFFFFFF, Path:←[0m ←[0m244.2021s 020D75:0728 141 33 03 3 ←[1m[CM_MPB]GetEditDivideInfo ER_OK←[0m ←[0m244.2021s 020D75:0731 141 33 03 3 ←[1m[PBIF]SetEditDivideEnable() valid:0←[0 m ←[0m244.2022s 020D75:073A 141 33 03 3 ←[1m[PBIF] errStat:0, topVobuPb:0, photoM oviePb:0, titleProtect:1←[0m ←[0m244.2026s 020D75:0785 141 33 03 3 ←[1m[PBIF]SetEditDeleteEnable() valid:0←[0 m ←[0m244.2027s 020D75:0792 141 33 03 3 ←[1m[CM_MPB]GetEditDeleteInfo = false←[0m ←[0m244.2031s 020D75:07E3 141 33 03 3 ←[1m[FM_MPB]Evt:0x32, Now:MPB_HD, Next:MPB _ENDPAUSE, Act:FFFFFFFF, Path:←[0m ←[0m244.2032s 020D75:07F6 141 33 03 3 ←[1m[FM_MPB]Entry:MPB_ENDPAUSE←[0m ←[0m244.2045s 020D75:08DD 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final STCHG ( 0x7401252)←[0m ←[0m244.2053s 020D75:0965 141 33 03 3 ←[1m[FM_MPB]Evt:0x7406009, Now:MPB_ENDPAUS E, Next:STBY, Act:FFFFFFFF, Path:←[0m ←[0m244.2054s 020D75:097C 141 33 03 3 ←[1m[PBIF]RequestPbStop←[0m ←[0m244.2055s 020D75:098C 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=0, s=0, c=1 (req ID=2)←[0m ←[0m244.2056s 020D75:0999 141 33 03 3 ←[1m[FM_MPB]Entry:STBY←[0m ←[0m244.2071s 020D75:0AA7 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final STCHG ( 0x7401140)←[0m ←[0m244.2074s 020D75:0AE4 141 33 03 3 ←[1m[CM_MPB]Entry:MPBEXIT←[0m ←[0m244.2075s 020D75:0AFE 141 33 03 3 ←[1m[PBIF]SetEditPbCaptureEnable() valid:0 ←[0m ←[0m244.2076s 020D75:0B11 141 33 03 3 ←[1m[CM_MPB]PbStop Call←[0m ←[0m244.2114s 020D76:0200 141 33 03 3 ←[1m[FM_MPB]Evt:0x7405006, Now:STBY, Next: NULL, Act:FFFFFFFF, Path:←[0m ←[0m244.2158s 020D76:0512 141 33 02 3 ←[1m[DISP]I/F RegistObjectLayout(AppID=MMC _DEMO_MOVIE)←[0m ←[0m244.2159s 020D76:051D 141 33 02 3 ←[1m[DISP]I/F RegistButtonLayout(AppID=MMC _DEMO_MOVIE)←[0m ←[0m244.4451s 020D84:0214 141 33 03 3 ←[1m[CM_MPB]PbStop ER_OK←[0m ←[0m244.4453s 020D84:0232 141 33 04 3 ←[1m[VIDEO]SetCombineVMute(1) from 1000020 ←[0m ←[0m244.4454s 020D84:0242 141 33 04 3 ←[1m[VIDEO]SetVMute(6,1) from 0x1000020←[0 m ←[0m244.4454s 020D84:0251 141 33 04 3 ←[1m[VIDEO]pvt_reqVMute(mode=0):rec=1 out= 1←[0m ←[0m244.4456s 020D84:026A 141 33 04 3 ←[1m[VIDEO]pvt_setVMute() : rec=1 out=1 co l=1←[0m ←[0m244.4618s 020D85:021A 141 33 04 3 ←[1m[VIDEO]cb_sigSetVMute()←[0m ←[0m244.4619s 020D85:022B 141 33 04 3 ←[1m[VIDEO]allMuteCmpEvent: id=6 sender=10 00020←[0m ←[0m244.4621s 020D85:0254 141 33 03 3 ←[1m[CM_MPB]SetCombineVMuteOn OK←[0m ←[0m244.4623s 020D85:0271 141 33 04 3 ←[1m[VIDEO]SetContinueVMute(0)←[0m ←[0m244.4776s 020D86:017C 141 33 04 3 ←[1m[VIDEO]cb_sigSetContinueVMute()←[0m ←[0m244.4778s 020D86:0198 141 33 03 3 ←[1m[CM_MPB]SetContinueVMuteOff OK←[0m ←[0m244.4782s 020D86:01E3 141 33 03 3 ←[1m[CM_MPB]GetResumePoint ER_OK←[0m ←[0m244.4783s 020D86:01F1 141 33 03 3 ←[1m[CM_MPB]ExitMoviePbStillRec Call←[0m ←[0m244.7361s 020D95:073E 141 33 03 3 ←[1m[CM_MPB]ExitMoviePbStillRec ER_OK←[0m ←[35m244.7367s 020D95:07AF 141 33 04 2 ←[1m[IDX]getFilmResumePosId invalid inter val←[0m ←[0m244.7368s 020D95:07C5 141 33 03 3 ←[1m[CM_MPB]SetMovPbStopResponse: EntryId[ 1] pastTime251251 duration[251251] resumePosId[0]←[0m ←[0m244.7370s 020D95:07E1 141 33 03 3 ←[1m[PBIF]SetPbStopResponse() EntryID:000 00001 PosID:00000000←[0m ←[0m244.7371s 020D95:07F0 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=0, s=0, c=1 (req ID=2)←[0m ←[0m244.7372s 020D95:0809 141 33 03 3 ←[1m[PBIF]ClearMovPbInfo()←[0m ←[0m244.7374s 020D95:082B 141 33 03 3 ←[1m[CM_MPB]Entry:PBSTBY←[0m ←[0m244.7375s 020D95:0843 141 33 03 3 ←[1m[PBIF]SetEditPbCaptureEnable() valid:0 ←[0m ←[0m244.7388s 020D95:0929 141 33 03 3 ←[1m[FM_MPB]Evt:0x7405005, Now:STBY, Next: NULL, Act:FFFFFFFF, Path:←[0m ←[0m244.7392s 020D95:0969 141 33 03 3 ←[1m[FM_MPB]Evt:TransOff, Now:STBY, Next:N ULL, Act:FFFFFFFF, Path:←[0m ←[0m244.7393s 020D95:0989 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final-TRGEVT (0x7402140)←[0m ←[0m307.2250s 021C37:0274 141 33 03 3 ←[1m[PBIF]SetPbInfo←[0m ←[0m307.2251s 021C37:027D 141 33 03 3 ←[1m[PBIF]media:1 ctg:0 def:1←[0m ←[0m307.2251s 021C37:0286 141 33 03 3 ←[1m[PBIF]entryID:00000001 posID:00000000 ←[0m ←[0m307.2252s 021C37:028F 141 33 03 3 ←[1m[PBIF]resume:0000 type:0 pbStartType :0←[0m ←[0m307.2253s 021C37:02AC 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=1, s=0, c=1 (req ID=2)←[0m ←[0m307.2261s 021C37:0337 141 33 03 3 ←[1m[FM_MPB]Evt:0x7406076, Now:STBY, Next: MPB_HD, Act:A013, Path:$D$2←[0m ←[0m307.2262s 021C37:034E 141 33 03 3 ←[1m[PBIF]RequestPbStart category:0←[0m ←[0m307.2266s 021C37:038B 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=0, s=1, c=1 (req ID=3)←[0m ←[0m307.2267s 021C37:039B 141 33 03 3 ←[1m[FM_MPB]Entry:MPB_HD←[0m ←[0m307.2286s 021C37:04F8 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final STCHG ( 0x7401241)←[0m ←[0m307.2289s 021C37:0525 141 33 03 3 ←[1m[CM_MPB]Entry:MPBENTRY←[0m ←[0m307.2290s 021C37:053F 141 33 03 3 ←[1m[PBIF]SetEditPbCaptureEnable() valid:0 ←[0m ←[0m307.2291s 021C37:054F 141 33 03 3 ←[1m[PBIF]GetSetPbInfo←[0m ←[0m307.2291s 021C37:0556 141 33 03 3 ←[1m[PBIF]media:1 ctg:0 def:1←[0m ←[0m307.2292s 021C37:055E 141 33 03 3 ←[1m[PBIF]entryID:00000001 posID:00000000 ←[0m ←[0m307.2292s 021C37:0566 141 33 03 3 ←[1m[PBIF]resume:0000 type:0 pbStartType :0←[0m ←[0m307.2295s 021C37:0593 141 33 03 3 ←[1m[FM_MPB]Evt:0x7405008, Now:MPB_HD, Nex t:NULL, Act:FFFFFFFF, Path:←[0m ←[0m307.2297s 021C37:05BC 141 33 03 3 ←[1m[CM_MPB]Entry:MPB←[0m ←[0m307.2298s 021C37:05D2 141 33 03 3 ←[1m[PBIF]SetEditPbCaptureEnable() valid:0 ←[0m ←[0m307.2299s 021C37:05E0 141 33 03 3 ←[1m[PBIF]GetSetPbInfo←[0m ←[0m307.2299s 021C37:05E7 141 33 03 3 ←[1m[PBIF]media:1 ctg:0 def:1←[0m ←[0m307.2300s 021C37:05EF 141 33 03 3 ←[1m[PBIF]entryID:00000001 posID:00000000 ←[0m ←[0m307.2300s 021C37:05F7 141 33 03 3 ←[1m[PBIF]resume:0000 type:0 pbStartType :0←[0m ←[0m307.2301s 021C37:0606 141 33 04 3 ←[1m[VIDEO]SetContinueVMute(1)←[0m ←[0m307.2309s 021C37:0690 141 33 03 3 ←[1m[FM_MPB]Evt:0x7405009, Now:MPB_HD, Nex t:NULL, Act:FFFFFFFF, Path:←[0m ←[0m307.2355s 021C37:09D2 141 33 02 3 ←[1m[DISP]I/F RegistObjectLayout(AppID=MMC _DEMO_MOVIE)←[0m ←[0m307.2356s 021C37:09DB 141 33 02 3 ←[1m[DISP]I/F RegistButtonLayout(AppID=MMC _DEMO_MOVIE)←[0m ←[0m307.2553s 021C39:004D 141 33 04 3 ←[1m[VIDEO]cb_sigSetContinueVMute()←[0m ←[0m307.2555s 021C39:0069 141 33 03 3 ←[1m[CM_MPB]SetContinueVMuteOn OK←[0m ←[0m307.2557s 021C39:008B 141 33 04 3 ←[1m[VIDEO]SetCombineVMute(0) from 1000020 ←[0m ←[0m307.2558s 021C39:009A 141 33 04 3 ←[1m[VIDEO]SetVMute(6,0) from 0x1000020←[0 m ←[0m307.2558s 021C39:00A7 141 33 04 3 ←[1m[VIDEO]pvt_reqVMute(mode=0):rec=0 out= 0←[0m ←[0m307.2561s 021C39:00D9 141 33 04 3 ←[1m[VIDEO]pvt_setVMute() : rec=0 out=0 co l=1←[0m ←[0m307.2750s 021C3A:026C 141 33 04 3 ←[1m[VIDEO]cb_sigSetVMute()←[0m ←[0m307.2751s 021C3A:027C 141 33 04 3 ←[1m[VIDEO]allMuteCmpEvent: id=6 sender=10 00020←[0m ←[0m307.2753s 021C3A:02A4 141 33 03 3 ←[1m[CM_MPB]SetCombineVMuteOff OK←[0m ←[0m307.2756s 021C3A:02CA 141 33 04 3 ←[1m[SYSMD] << HDPB_MOVIE >>←[0m ←[0m307.2756s 021C3A:02DA 141 33 03 3 ←[1m[CM_MPB]Change TransitMode -> 7←[0m ←[0m307.2763s 021C3A:0354 141 33 03 3 ←[1m[CM_MPB]Change TransitMode End←[0m ←[0m307.2765s 021C3A:0371 141 33 03 3 ←[1m[CM_MPB]CheckMovieFrameInfo ctg=0 def= 1←[0m ←[0m307.2771s 021C3A:03D9 141 33 03 3 ←[1m[CM_MPB]SetFrameBufferInfo OK frameId= 15 regionId=0←[0m ←[0m307.2772s 021C3A:03FA 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec Call MovM grId=5c52c4 StlMgrId=5c52c4←[0m ←[0m307.2773s 021C3A:0402 141 33 03 3 ←[1m[MMSV]getContentType: Set ContentType Movie(HD_AVCHD)←[0m ←[35m307.2774s 021C3A:0410 141 33 04 2 ←[1m[SYSMD]MPR MAP ID:5←[0m ←[0m307.2774s 021C3A:0418 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec Call Mode ID=5←[0m ←[0m307.4076s 021C42:01C8 141 33 03 3 ←[1m[CM_MPB]EnterMoviePbStillRec ER_OK←[0m

←[0m307.4079s 021C42:01F8 141 33 03 3 ←[1m[CM_MPB]PlayMovie Call Speed=0←[0m ←[0m308.2623s 021C75:0481 141 33 04 3 ←[1m[STLSIZE]set bbcapsize:0 ←[0m ←[0m308.2624s 021C75:049A 141 33 03 3 ←[1m[PBIF]SetBbCapStillFormat:0. (0:HD 1:S D_16_9 2:SD_4_3)←[0m ←[0m308.2718s 021C75:0B25 141 33 04 3 ←[1m[STLSIZE]set bbcapsize:0 ←[0m ←[0m308.2718s 021C75:0B2C 141 33 03 3 ←[1m[PBIF]SetBbCapStillFormat:0. (0:HD 1:S D_16_9 2:SD_4_3)←[0m ←[0m308.2728s 021C76:0022 141 33 03 3 ←[1m[PBIF]ChgEntryID:00000001.←[0m ←[0m308.2759s 021C76:025D 141 33 03 3 ←[1m[CM_MPB]PlayMovie ER_OK←[0m ←[0m308.2765s 021C76:02C8 141 33 03 3 ←[1m[PBIF]SetPbStartResponse←[0m ←[0m308.2766s 021C76:02D2 141 33 03 3 ←[1m[PBIF]media:1 ctg:0 def:1←[0m ←[0m308.2766s 021C76:02DB 141 33 03 3 ←[1m[PBIF]Req EntryID:00000001 PB EntryID :00000001 posID:00000000←[0m ←[0m308.2767s 021C76:02E2 141 33 03 3 ←[1m[PBIF]pbStartType:0 reqID:00000003←[0 m ←[0m308.2769s 021C76:0303 141 33 03 3 ←[1m[PBIF]UpdatePbInfo: r=0, s=0, c=1 (req ID=3)←[0m ←[0m308.2770s 021C76:0317 141 33 03 3 ←[1m[CM_MPB]SetPbStartResponse entryId=1 e ntryNo=1 reqID=3←[0m ←[0m308.2804s 021C76:057E 141 33 03 3 ←[1m[FM_MPB]Evt:TransOff, Now:MPB_HD, Next :NULL, Act:FFFFFFFF, Path:←[0m ←[0m308.2808s 021C76:05CB 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final-TRGEVT (0x7402241)←[0m ... going on consoleoutput ========================================

As there is no command-prompt, I did the following steps: Ctrl-C shell

Console output continued ======================================= ←[0m623.4938s 026644:0477 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final-TRGEVT (0x7402241)←[0m Please press enter

shell Terminal activated. Press <CTRL+C> to exit.

BusyBox v1.4.2 (2009-01-20 14:59:28 JST) Built-in shell (ash) Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off / # /bin/busybox dd if=/dev/nflasha1 of=/tmp/nflasha1 /bin/busybox dd if=/dev/nflasha1 of=/tmp/nflasha1 dd: /tmp/nflasha1: Read-only file system / # End Console output =======================================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 20:29 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Can you try this instead? /bin/busybox dd if=/dev/nflasha1 of=/tmp/nflasha1 If this does not work, we can also mount the partition. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897872485 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7K4U4BHHLYSFMXZUNTT4QHFZANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7PWNB45XCOVKLX4ENDT4QHFZA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCHEZI.gif

arctis-shark commented 2 years ago

Hey gkln, any idea why my camera does not want to connect? See the post before your post for details.

ma1co commented 2 years ago

@gkln This is just log output from the camera. You can press enter to get a new console prompt. The environment seems to be quite a bit different from my NEX-3. Can you try this? /bin/busybox dd if=/dev/nflasha1 of=/var/nflasha1 and later pull /var/nflasha1

ma1co commented 2 years ago

@karak21 Which operating system are you using? Can you share the steps that you have taken and the exact output that you got?

arctis-shark commented 2 years ago

I am using Windows and it won't show access denied anymore let me wait an hour

gkln commented 2 years ago

I have no idea! Maybe a good idea to restart the process from the beginning:

  1. Disconnect camera and power off
  2. camera power on and reconnect with usb-cable
  3. In my case immediately the display of the camera changes. According to instructions I should change to mass storage mode, but in my case HDR-XR550V this is not offered. I selected USB on the left hand with the symbol of the harddiskdrive HDD.
  4. Running zadig-2.5.exe by double-click from the windows file manager.
  5. Open options-menu and mark “list all devices”
  6. select your cam – in my case it shows up in de list
  7. on the right hand select the libusb-win32 (v1.2.6.0) and click “reinstall driver”
  8. Open a cmd-prompt as administrator and CD into the directory with the downloaded pmca-console-v0.17-63-g77b2991-win.exe
  9. Execute at the commandprompt > pmca-console-v0.17-63-g77b2991-win.exe serviceshell
  10. The camera should switch to recording-mode or so

maybe this helps. There is some uncertainty bc. zadic mentions to be run twice.

Von: karak21 @.*** Gesendet: Donnerstag, 12. August 2021 20:45 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Hey gkln, any idea why my camera does not want to connect? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897882491 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7LQSABNDVBHDIUE3GLT4QJD5ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7NCMP4KHJDBB66WMCDT4QJD5A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCJS6Y.gif

gkln commented 2 years ago

Failure: cannot find pull-cmd Console output======================== ←[0m875.2438s 02A136:0365 141 33 03 3 ←[1m[FM_MPB]Evt:TransOff, ULL, Act:FFFFFFFF, Path:←[0m ←[0m875.2440s 02A136:0386 141 33 03 3 ←[1m[MODE-BASE]Notify to A (0x7402140)←[0m Please press enter

shell Terminal activated. Press <CTRL+C> to exit.

BusyBox v1.4.2 (2009-01-20 14:59:28 JST) Built-in shell (ash) Enter 'help' for a list of built-in commands.

/bin/ash: can't access tty; job control turned off / # /bin/busybox dd if=/dev/nflasha1 of=/var/nflasha1 /bin/busybox dd if=/dev/nflasha1 of=/var/nflasha1 6144+0 records in 6144+0 records out / # / # pull /var/nflasha1 pull /var/nflasha1 /bin/ash: pull: not found / # End console output =====================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 20:54 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

@gkln https://github.com/gkln This is just log output from the camera. You can press enter to get a new console prompt. The environment seems to be quite a bit different from my NEX-3. Can you try this? /bin/busybox dd if=/dev/nflasha1 of=/var/nflasha1 and later pull /var/nflasha1 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897887331 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7P35E6T2M457XNHAXTT4QKC5ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7ODTMRZHVEMJUTWM7DT4QKC5A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCKYYY.gif

ma1co commented 2 years ago

@gkln Exit from the Linux shell with CTRL + C and Enter before running the pull command (as described a few posts above).

gkln commented 2 years ago

Worked!

File uploaded as „20210812_211400 HDR-XR550V libupdaterapi.so nflasha1.zip”

Start console output ====================== ULL, Act:FFFFFFFF, Path:←[0m ←[0m451.3095s 04123B:08EF 141 33 03 3 ←[1m[MODE-BASE]Notify to APP Final-TRGEVT (0x7402140)←[0m Please press enter

pull /var/nflasha1 Writing to .\nflasha1...

End console output ======================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 21:06 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

@gkln https://github.com/gkln Exit from the Linux shell with CTRL + C and Enter before running the pull command (as described a few posts above). — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897895175 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7LJK5HVBX75A2L2SOTT4QLR3ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7KXLGFI4IBLNOV2C33T4QLR3A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCMWBY.gif

ma1co commented 2 years ago

Great, now we are finally done with serviceshell. You can uninstall the usb drivers: Open the Windows device manager, check View -> Show Hidden Devices, then uninstall the drivers for the two devices under "libusb".

Now we should be able to use updatershell to finally dump the full firmware:

Please note that the camera may be initialized to factory settings during this process.

We should now have the different firmware files: bootrom, boot0 and nflasha.

gkln commented 2 years ago

Failure on run pmca-console updatershell -f HDR-XR550V.txt ==> No devices found. Ensure your camera is connected.

Start Console output ======================== ...

exit Done

E:\Sw\HW_Treiber\Camera\SonyTweak>pmca-console-v0.17-63-g77b2991-win.exe updater shell -f hdr-xr550v.txt Using drivers Windows-MSC, Windows-MTP Looking for Sony devices No devices found. Ensure your camera is connected.

E:\Sw\HW_Treiber\Camera\SonyTweak> End Console output ========================

Camera-Display says: “Connected. Do not unplug USB ...”

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 21:30 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Great, now we are finally done with serviceshell. You can uninstall the usb drivers: Open the Windows device manager, check View -> Show Hidden Devices, then uninstall the drivers for the two devices under "libusb". Now we should be able to use updatershell to finally dump the full firmware: · Download HDR-XR550V.txt https://github.com/ma1co/OpenMemories-Tweak/files/6977999/HDR-XR550V.txt and place it in the same directory as pmca-console. · Re-connect your camera and run pmca-console updatershell -f HDR-XR550V.txt. You might have to press a button to restart the camera to updater mode. · You should now be greeted by another shell. · Run pull /dev/nflasha · Run bootloader · Run bootrom · Run exit to restart the camera Please note that the camera may be initialized to factory settings during this process. We should now have the different firmware files: bootrom, boot0 and nflasha. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897910565 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7PIWKPKYQIY5S7V6CDT4QOMZANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7MD5CH57AEFQ53QOCTT4QOMZA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCQOJI.gif

ma1co commented 2 years ago

@gkln Have you uninstalled the libusb drivers in device manager? And maybe disconnect and reconnect the camera.

gkln commented 2 years ago

Yes, in the sequence you indicated:

Quote: =========== Open the Windows device manager, check View -> Show Hidden Devices, then uninstall the drivers for the two devices under "libusb". Now we should be able to use updatershell to finally dump the full firmware:

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 21:54 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

@gkln https://github.com/gkln Have you uninstalled the libusb drivers in device manager? And maybe disconnect and reconnect the camera. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897924736 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7O52MF27YSEU4EY3C3T4QRFRANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7PXGK74TJ4QY47O4E3T4QRFRA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCT5AA.gif

ma1co commented 2 years ago

Then it should work if you reconnect the camera. Does it show up in device manager / explorer / zadig?

gkln commented 2 years ago

Disconnected and reconnected several times. Windows gives the usual sound-signal on finding a new device. In the system tray it said new device found, installing drivers.

In the windows explorer cam doesn’t show up, in Zadic it does, but with driver “libusb0 (v1.2.6.0)” (originally “USBSTOR V6.1.7601.23403”) In device mgr there is now an entry libusb-win32.devices CIF Single Chip HDR-XR550V Though I uninstalled them. CIF had before also another driver.

I uninstalled the driver another time – but no reboot, as I have other work to do.

Reconnecting the CAM installs driver, the display of the cam says “Preparing” Windows reports driver for HDR-XR550 successfully installed. but in device mgr again it shows up in the section “libusb-win32 devices” Cam display says now “connected”, but cam still not visible in windows explorer, but as before in Zadig.

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 22:09 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Then it should work if you reconnect the camera. Does it show up in device manager / explorer / zadig? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897934054 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7J5MRDGALZIPGRFTKLT4QS6JANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7JHLN5RN2XJ75PAYLDT4QS6JA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCWFZQ.gif

ma1co commented 2 years ago

It seems that Windows keeps finding the libusb driver. When uninstalling it in device manager, can you check "delete the driver software for this device"?

gkln commented 2 years ago

I checked this time this box at uninstall. Cam reconnected – searches and finds driver. Cam switched to USB-mode: one more driver installed by windows. In devmgr, section drives, Sony “Camcorder USB Device” shows up. Libusb-section not there any more. Zadig shows HDR-XR550V Windowsexplorer lists a exchangeable drive.

Resuming the proposed process: Failure: Start Console output ================== E:\Sw\HW_Treiber\Camera\SonyTweak>pmca-console-v0.17-63-g77b2991-win.exe updater shell -f hdr-xr550v.txt Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

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

Initializing firmware update Traceback (most recent call last): File "pmca-console.py", line 100, in File "pmca-console.py", line 84, in main File "pmca\commands\usb.py", line 377, in updaterShellCommand File "pmca\commands\usb.py", line 390, in firmwareUpdateCommandInternal File "pmca\usb\sony.py", line 557, in checkGuard File "pmca\usb\sony.py", line 531, in _sendWriteCommands Exception: Firmware update error: Unknown (0x102) [7936] Failed to execute script 'pmca-console' due to unhandled exception!

E:\Sw\HW_Treiber\Camera\SonyTweak> End Console output ==================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 22:34 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

It seems that Windows keeps finding the libusb driver. When uninstalling it in device manager, can you check "delete the driver software for this device"? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897949294 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7MWYX7BM6ZJ4GKF6ADT4QV4ZANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7NSSNB4CVZZ6CRTHKLT4QV4ZA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWCZ43Q.gif

ma1co commented 2 years ago

Not sure what error 0x102 means, but it might be related to the battery:

 STAT_LOW_BATTERY = 0x100
 STAT_HOT_BATTERY = 0x101
 STAT_AC_ADAPTER_REQUIRED = 0x103

Can you plug in the camera through the AC adaptor? And if this does not work, try fully charging the battery.

gkln commented 2 years ago

The cam is operated the whole time on the AC power supply in addition to a fully charged battery. Disconnecting the power supply shows 390 min operational time for the battery

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 23:13 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Not sure what error 0x102 means, but it might be related to the battery: STAT_LOW_BATTERY = 0x100 STAT_HOT_BATTERY = 0x101 STAT_AC_ADAPTER_REQUIRED = 0x103 Can you plug in the camera through the AC adaptor? And if this does not work, try fully charging the battery. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897971440 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7KYGR6Z3HX56WP45G3T4Q2MPANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7NDHLN7UDABC6TR3ADT4Q2MPA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWC7J4A.gif

ma1co commented 2 years ago

Do you get the same error when the AC adapter is disconnected?

gkln commented 2 years ago

Steps: Camera switched off Powersupply removed Camera switched on USB-Cable connected – menu shows up Select USB connect for HDD -> “connectd” Command prompt, run as admin: “Exception: Firmware update error: AC adapter required” Start console =========================== [7936] Failed to execute script 'pmca-console' due to unhandled exception!

E:\Sw\HW_Treiber\Camera\SonyTweak>pmca-console-v0.17-63-g77b2991-win.exe updater shell -f hdr-xr550v.txt Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

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

Initializing firmware update Traceback (most recent call last): File "pmca-console.py", line 100, in File "pmca-console.py", line 84, in main File "pmca\commands\usb.py", line 377, in updaterShellCommand File "pmca\commands\usb.py", line 390, in firmwareUpdateCommandInternal File "pmca\usb\sony.py", line 557, in checkGuard File "pmca\usb\sony.py", line 531, in _sendWriteCommands Exception: Firmware update error: AC adapter required [6688] Failed to execute script 'pmca-console' due to unhandled exception!

E:\Sw\HW_Treiber\Camera\SonyTweak> End console =============================

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 23:27 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Do you get the same error when the AC adapter is disconnected? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897979227 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7K7WFEWCU7TIHNRC33T4Q4ATANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7JTM2SOZ45KSD24D7LT4Q4ATA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWDBGWY.gif

ma1co commented 2 years ago

Ok, I need to think about how to proceed. I will let you know.

Thank you very much for your help so far, we are already a lot closer to supporting these cameras!

gkln commented 2 years ago

I am in standby.

According to one of your previous mails, Do 2021-08-12 21:30

I am not sure about what this time should happen: already an update of the cameras firmware or the production of 3 more files, bootrom, boot0 and nflasha respectively.

However, I would appreciate if after this procedure the cam is still working or can be set back easily to an operable condition. ;)

cu

Von: ma1co @.*** Gesendet: Donnerstag, 12. August 2021 23:43 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Ok, I need to think about how to proceed. I will let you know. Thank you very much for your help so far, we are already a lot closer to supporting these cameras! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-897987509 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7JRX3D77VZGNNUS5G3T4Q57NANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7MUSHFR3CTNVIKRAZLT4Q57NA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWDDHNI.gif

ma1co commented 2 years ago

Oh, here we go: 0x102: The battery is attached to your camera. Remove the battery. So Sony wants the AC adapter, but not the battery.

We are not trying to update the firmware here. We just need the firmware update mode to execute code. This won't touch the installed firmware. The only thing that could happen is that Sony decides to wipe all your settings (perform a factory reset).

gkln commented 2 years ago

Steps: Camera in condition shut down and disconnected from USB and power. Battery removed Power cord / AC adapter connected. Display opened (turns camera on and allows access to USB socket) USB connected USB connect for HDD on display pressed (Win gives connect sound, Camera change display to “connected”) Win pops up “automatic play(?)” for drive G. From several options “Import media” by PlayMemories home is preselected. Without selecting this Win reports in the system tray that GPS data were updated automatically and succesfully. “Auto play” pop up closed. Command prompt opened as admin. changed to E:\Sw\HW_Treiber\Camera\SonyTweak where your SW resides. è Windows Security Essentials pops up with msg è Trojan:Win32/Wacatac.B!ml quarantined, severe 2021-08-13 12:29 è Kategory: Trojan è Description: This program is dangerous. It executes command of an attacker è Suggested action: Remove this programm immediately è Elements: file:E:\Sw\HW_Treiber\Camera\SonyTweak\pmca-console-v0.17-63-g77b2991-win.exe è Online further information: https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3aWin32%2fWacatac.B!ml&threatid=2147735505&enterprise=0 Trojan:Win32/Wacatac.B!ml threat description - Microsoft Security Intelligence https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3aWin32%2fWacatac.B!ml https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3aWin32%2fWacatac.B!ml&threatid=2147735505&enterprise=0 &threatid=2147735505&enterprise=0

At the moment your program is quarantined. Please explain.

Von: ma1co @.*** Gesendet: Freitag, 13. August 2021 08:04 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

Oh, here we go: 0x102: The battery is attached to your camera. Remove the battery. So Sony wants the AC adapter, but not the battery. We are not trying to update the firmware here. We just need the firmware update mode to execute code. This won't touch the installed firmware. The only thing that could happen is that Sony decides to wipe all your settings (perform a factory reset). — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-898212598 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7K32HQKFZCV7I2UBDLT4SYTPANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7KHA24XI7W4L2AHWLDT4SYTPA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWE2F5Q.gif

ma1co commented 2 years ago

It happens from time to time that pmca-console / pmca-gui is wrongly detected as a virus. We had that in the past, and it seems to happen to most applications packaged with PyInstaller. It is clearly a false positive, the source code is open and the binary is built directly on our CI provider AppVeyor, so there is no way there could be a virus in there. I have submitted a false positive report to Microsoft and I hope that they will fix this as soon as possible.

gkln commented 2 years ago

Ø It is clearly a false positive, the source code is open and the binary is built directly on our CI provider AppVeyor

Well, this is not really convincing for me ;) On my behalf I am not the man to check source code neither can I delegate this job to anybody nor do I know AppVeyor, and even if this is a reliable organization / company, no one can know if this is true for all employees there who could play their own games. https://en.wikipedia.org/wiki/AppVeyor AppVeyor - Wikipedia

But I trust you :)

So, what now? pmca-console-v0.16-10-gf546837-win.exe (I had still in the tweak-folder) was not marked as a trojan. pmca-console-v0.17-63-g77b2991-win.exe was detected and somehow hidden away by windows. Until now I could not locate the “quarantine” folder to where MS Security Essential puts the files, even not with a search in internet. Those folders mentioned are all empty (windows explorer set to show also hidden files), also a “dir /ah ca-console” on c:> and e:> failed. It looks that windows completely masked this file. I could try to recover the pmca-console within MSSE and allow the usage; alternatively V016 is still there and maybe would also work? Your opinion?

Von: ma1co @.*** Gesendet: Freitag, 13. August 2021 16:36 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

It happens from time to time that pmca-console / pmca-gui is wrongly detected as a virus. We had that in the past, and it seems to happen to most applications packaged with PyInstaller. It is clearly a false positive, the source code is open and the binary is built directly on our CI provider AppVeyor, so there is no way there could be a virus in there. I have submitted a false positive report to Microsoft and I hope that they will fix this as soon as possible. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-898501912 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7L26JBAV63KCBIVHUDT4UUVJANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7PP6KWKNMBZCW3GLQDT4UUVJA5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWHA2GA.gif

ma1co commented 2 years ago

You can try v0.16, I think it should work.

gkln commented 2 years ago

Steps: Camera in condition shut down and disconnected from USB and power. Battery removed Power cord / AC adapter connected. Display opened (turns camera on and allows access to USB socket) USB connected USB connect for HDD on display pressed (Win gives connect sound, Camera change display to “connected”) Win pops up “automatic play(?)” for drive G. From several options “Import media” by PlayMemories home is preselected. Without selecting this Win reports in the system tray that GPS data were updated automatically and succesfully. “Auto play” pop up closed. Command prompt opened as admin. changed to E:\Sw\HW_Treiber\Camera\SonyTweak where your SW resides. run “pmca-console-v0.16-10-gf546837-win.exe updatershell -f HDR-XR550V.txt” Start console ====================================================== E:\Sw\HW_Treiber\Camera\SonyTweak>pmca-console-v0.16-10-gf546837-win.exe updater shell -f HDR-XR550V.txt Using drivers Windows-MSC, Windows-MTP Looking for Sony devices

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

Initializing firmware update Switching to updater mode

Waiting for camera to switch... Please follow the instructions on the camera screen. [ *) Operation timed out. Please run this command again when your camera has connecte d.

E:\Sw\HW_Treiber\Camera\SonyTweak> End console ========================================================

*) on the camera screen is displayed: “Follow the instructions on the computer”. (This is at the moment the end-condition; no more options to press or how to leave this condition; I let the cam so until your reply)

So PC and Cam reference each other There are a couple of buttons on the cam – but no hint which I should press, maybe even more than one at a time.

Von: ma1co @.*** Gesendet: Freitag, 13. August 2021 17:43 An: ma1co/OpenMemories-Tweak Cc: gkln; Mention Betreff: Re: [ma1co/OpenMemories-Tweak] Testing HDR-XR550V (#265)

You can try v0.16, I think it should work. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ma1co/OpenMemories-Tweak/issues/265#issuecomment-898553039 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIZ6V7I6K5CZ7PL3KOHJFFLT4U4R5ANCNFSM4ETB5BDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AIZ6V7OEAUKRKJY3VHC6RYTT4U4R5A5CNFSM4ETB5BD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGWHNJTY.gif