Announcement

Collapse
No announcement yet.

Vantrue X3 - firmware flashing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vantrue X3 - firmware flashing

    Hi all,

    I've been lurking around these forums for a few days now, trying to find out just how to flash firmware to my Vantrue X3, an A12-based camera.

    A few days ago, I managed to telnet into the camera by connecting to the AP being broadcast by the camera. I tinkered around with the /pref/wifi.conf file and managed to get it into STA mode, which was cool. Then, every few boots, the thing would panic and revert its WiFi settings back to AP mode.

    In order to prevent this, I overwrote every wifi.conf file in the filesystem with my modified version, in order to ensure it'd always connect in STA mode. In doing so, it completely lost its ability to turn on the WiFi at all, so now I can't connect to it in any way (except for Mass Storage mode).

    I have attempted to flash the firmware found on the Vantrue website, placing the AmbaBootFW.bin and AmbaSysFW.bin files onto a freshly formatted FAT32/ExFAT card, and rebooted the camera - at no point does it appear to try to do a firmware update.

    I've also attempted to place a wifi_supplicant.conf file and a wifi.conf file in the root of the card, as well as within the MISC directory, to no avail. I've also attempted to upload firmware files to the camera in recovery mode, again to no avail.

    Anybody have an idea how I could accomplish either a) getting access to the Linux filesystem without WiFi, or b) getting it connected to WiFi again, or c) flashing the firmware?

    Thanks!

  • #2
    Hi,

    You can try this: https://www.goprawn.com/forum/ambare...=3288#post3288
    Donate here if you want to support my efforts and this site.

    Email me if you have any offers, requests or ideas.

    Comment


    • #3
      Yeah, I've tried the autoexec.ash method, but it appears that the camera won't allow for that. I tried making one with one command to do ls -l > dir.txt, and it just won't do it. The camera works totally fine, except that it won't connect to WiFi, or present an AP to be connected to. And it won't flash the manufacturer's bin files. I'm stumped.

      Comment


      • #4
        Originally posted by DarrenBaker View Post
        I tried making one with one command to do ls -l > dir.txt, and it just won't do it.
        Try 'touch /tmp/SD0/itworks'.
        Donate here if you want to support my efforts and this site.

        Email me if you have any offers, requests or ideas.

        Comment


        • #5
          Originally posted by nutsey View Post
          Try 'touch /tmp/SD0/itworks'.
          Still nothing. One interesting thing to mention, however, is that when I put the AmbaBootFW.bin and AmbaBootSys.bin files on the SD card, both bin files are deleted after the camera boots, as though it used them to flash the firmware (but no message appears, and there's been no change in the config). It's very weird.

          Comment


          • nutsey
            nutsey commented
            Editing a comment
            An empty file named 'KeepUpgradeFile' at the root of your memory card should help with disappearing files.

        • #6
          I was able to work around that by marking them read-only, but it didn't result in any changes.

          Comment


        • #7
          So I managed, somehow, to get it back into STA mode, and all is well again. In reference to your advice about "KeepUpgradeFile", are there other config files that can be placed in the root directory to have an effect?

          Thanks!

          Comment


          • nutsey
            nutsey commented
            Editing a comment
            Seems like the 'usb.console' file should also work.

        • #8
          What does "usb.console" enable? I threw it in the root folder and nothing appears to have happened...

          Comment


          • nutsey
            nutsey commented
            Editing a comment
            I don't know found it near that 'KeepUpgradeFile'...

        • #9
          Oh... Where are you finding these references? Inside the .bin?

          Comment


          • nutsey
            nutsey commented
            Editing a comment
            Dead right!

        • #10
          I've been trying to parse the bins and the script files in the OS itself, trying to figure out why the camera won't flash a firmware file in the root dir of the SD card, but *will* erase those files. My best guess is that it knows the version numbers match, so it aborts. But this would be silly behaviour, because there's many reasons for someone to want to to re-flash the firmware. Do you know where in the filesystem the mechanism for flashing is? Or how to access the bootloader?

          PS. I've been trying to write a script to synchronize the hwclock with the ntpd, but I absolutely cannot get hwclock -w to sync. Any idea what's going on?
          Last edited by DarrenBaker; 2 weeks ago.

          Comment

          Working...
          X