Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Using Wine to update Sony NEX camera firmware

  1. #1

    Default Using Wine to update Sony NEX camera firmware

    Sony currently only supplies its NEX cameras with .exe binary firmware updates. Prior to purchasing the camera, I installed Wine and was able to execute the .exe. Of course, that doesn't guarantee that it'll work. Now, with the camera in hand, I actually tried to update the firmware. It didn't work. I tried using Wine 1.1.28 and 1.3.3 and even the cloned the Wine repository with git and compiling Wine with USB patches I found here:

    ftp://ftp.etersoft.ru/pub/people/amorozov/usb/1.3.3/

    (Wine git, compile and install found here: USB - The Official Wine Wiki)

    With the camera connected, I was able to use "wineconsole cmd" to open a dos shell. In the shell, I was able to see that the D: drive (which I assigned to /media/disk) was correctly accessing the camera as a mass storage device. I can only conclude that USB support works. However, it doesn't appear to work for updating the firmware.

    The firmware program from Sony searches for about a minute and doesn't find the camera.

    When I run the firmware updater with Wine, Wine produces these files:

    Code:
    FirmwareUpdater.exe
    Resource/
      FirmwareData_user_20.10.03.2010062822_205_02_loader.dat                         
      FirmwareUpdaterImg.dll
      MFC90U.DLL
      Microsoft.VC90.CRT.manifest
      Microsoft.VC90.MFC.manifest
      msvcp90.dll
      msvcr90.dll
      SPUFirmwareUpdater.exe*
      StrCS.dll
      StrCT.dll
      StrDE.dll
      StrES.dll
      StrFR.dll
      StrIT.dll
      StrJP.dll
      StrKR.dll
      StrNL.dll
      StrPL.dll
      StrPTBR.dll
      StrRU.dll
      StrSE.dll
      StrUS.dll
      XpStorageDevice_WinXp2k.dll
    The .dat file looks most likely to be the data I want to dump to the camera, but how? (I've done some research and have read that the data is probably encrypted.)

    Any ideas on how to proceed? I would really like to update via GNU/Linux.

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,564
    Blog Entries
    38

    Default Re: Using Wine to update Sony NEX camera firmware

    Would it help you if you could boot to DOS without a floppy, or is the FirmwareUpdater.exe program an MS-Windows program and not a Linux program ?

    Please check out this temporary wiki to see if it helps:
    User : Oldcpu/Boot DOS without Floppy - openSUSE
    This wiki was moved during the wiki update process, and I still have not got around to moving it back to its new location and asking the wiki team to bless it.

  3. #3

    Default Re: Using Wine to update Sony NEX camera firmware

    From Sony's site, the program is listed to be compatible with Windows 2000, XP, Vista, and 7. When I run the program in Wine, it does bring up a GUI.

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Using Wine to update Sony NEX camera firmware

    linuxvinh wrote:
    > Any ideas on how to proceed? I would really like to update via
    > GNU/Linux.


    you may, of course, do it the way you want to try...but, having
    owned/used nothing but Linux since about 2002 i have on several
    occasions gone to a friends house to use _their_ Windows to set up
    external hardware like phones/cameras and etc..

    my GUESS is the way you are trying to use WINE _might_ succeed in
    turning your camera into a brick!

    luckly, i've not yet been faced with an unavoidable need to (say)
    flash my computers bios with an exe..(i sure try to buy very carefully
    to not get into a must-have-Windows situation)...and, when faced with
    a situation such as yours i try to stay well clear of experiments
    which _might_ permanently lock up expensive hardware..

    ymmv

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    When it comes to chocolate, resistance is futile.

  5. #5

    Default Re: Using Wine to update Sony NEX camera firmware

    I try to avoid "must-have-Windows" situations too. I definitely don't want to brick my new camera. I would like to make attempts at using GNU/Linux to update the camera while it's still under warranty; that way, should I brick it, I can tell Sony that all I wanted to do was update the firmware.

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Using Wine to update Sony NEX camera firmware

    linuxvinh wrote:
    > should I brick it, I can tell Sony that all I wanted to do was
    > update the firmware.


    oh! :-)

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    When it comes to chocolate, resistance is futile.

  7. #7

    Default Re: Using Wine to update Sony NEX camera firmware

    It might be a safer idea to install a trial of VMWare Workstation and install Windows XP on it, that way you will be able to update your cameras firmware and knowing that it will have been updated correctly as even if you brick your camera by trying to update it using an unsupported OS could void the warrenty as using Linux and wine is an unsupported way to update the camera, where as using Virtualization Software and Windows XP would technically be supported as you would be updating your camera in Windows XP.

    Roland

  8. #8

    Default Re: Using Wine to update Sony NEX camera firmware

    I do have a Windows 7 license that came with my netbook. At worse, I can install that onto my netbook and be on my way. However, I'd like to give GNU/Linux a shot while the camera is under warranty.

    Side question: Would I be able to install VirtualBox onto openSUSE and use the Windows 7 that came with my netbook? Or is that copy somehow locked to my netbook? (The netbook originally came with Vista, but I received a upgrade DVD with 7 about two months later. Sorry if this licensing question is naive. I've never had a Windows box.)

  9. #9
    Will Honea NNTP User

    Default Re: Using Wine to update Sony NEX camera firmware

    linuxvinh wrote:

    >
    > I do have a Windows 7 license that came with my netbook. At worse, I
    > can install that onto my netbook and be on my way. However, I'd like to
    > give GNU/Linux a shot while the camera is under warranty.
    >
    > Side question: Would I be able to install VirtualBox onto openSUSE and
    > use the Windows 7 that came with my netbook? Or is that copy somehow
    > locked to my netbook? (The netbook originally came with Vista, but I
    > received a upgrade DVD with 7 about two months later. Sorry if this
    > licensing question is naive. I've never had a Windows box.)


    I haven't been able to fake out either the media or the self-made 'backup'
    versions of the recovery files work nor can I use the upgrade media with
    anything but the original system installed. Both approaches are tied
    closely to the original hardware and appear to do extensive checks to keep
    you from installing on anything but the original hardware. I got an XP
    recovery to start in Virtualbox but it lacked the drivers for anything
    except the original hardware and crapped out.

    OTOH, I've used an XP virtual machine for a number of firmware updates to
    external equipment with good results - but that's no guarantee.

    --
    Will Honea

  10. #10
    Carlos E. R. NNTP User

    Default Re: Using Wine to update Sony NEX camera firmware

    On 2010-10-05 01:06, linuxvinh wrote:
    >
    > I do have a Windows 7 license that came with my netbook. At worse, I
    > can install that onto my netbook and be on my way. However, I'd like to
    > give GNU/Linux a shot while the camera is under warranty.
    >
    > Side question: Would I be able to install VirtualBox onto openSUSE and
    > use the Windows 7 that came with my netbook? Or is that copy somehow
    > locked to my netbook? (The netbook originally came with Vista, but I
    > received a upgrade DVD with 7 about two months later. Sorry if this
    > licensing question is naive. I've never had a Windows box.)


    I managed to do this sort of thing once, but not using the install cd (it detects the wrong
    hardware), but by cloning the already installed HD using something like ghost, and then restore the
    image into a virtual machine. When windows boots, there is no control by the manufacturer program,
    so windows works - however, it starts detecting "new" hardware and asks for the controllers, which
    you might not have. I was fortunate to have them, so I got away with it. As for the license, it is
    running actually in the same machine where I bought it, so no problem, I guess. Only that I do not
    need to stop linux and reboot :-)

    I haven't attempted this with W7, the partition image I have is way to big (120 GB).

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •