Announcement

Collapse
No announcement yet.

A software for Energizer CHUSB charger

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

  • A software for Energizer CHUSB charger

    Hi there!

    I just bought an Energizer CHUSB USB battery charger ('cause some company is throwing them out for free* here in Germany, and I wanted such a thing cause my BlueTooth mouse manages to suck the batteries empty in about 3 days)

    Anyhow, this thing can be monitored via USB by software. There used to be a Winblows SW (with pre-installed Trojan horse HEHE), that is now gone.

    As I don't use Winblows, I want to write some monitoring application for Linux.

    I started a google code project, and have written a small program to read out the
    status of the device:

    http://code.google.com/p/chusb/


    But now I need some help:

    a) someone could read the logs and try to help me interpret the logs.
    b) someone could do real charging with rechargeable AA batteries ... I only have AAAs.

    SaTaN0rX

    * free = You still have to pay shipping (4.95)

  • #2
    awesome, I've been looking for this too, got the same free device from pearl ;-)

    however I did not manage to compile it on FreeBSD, cygwin or Linux (kubuntu LiveCD), maybe the libusb version is too old, which one did you use?!

    I have several AA and AAA batteries, but (using some freeware windows usb logger) couldn't read any continuous log data. did you send any commands to the device first, and is it bulk or isochronous transfer?

    (my intention was actually to create some Winblows application to read the status and i'm still looking for the original, trojan-infected software, might be useful for some testing (i.e. logging))

    Comment


    • #3
      okay, so I finally found the original software
      (it took some time to get it running without the trojan component; the infected file is %system%\arucer.dll, but can be deleted and the program still works )

      the software displays an estimated remaining charging time, which is probably just calculated from the cells voltage.
      it shows whether one or two cells are inserted, or if an error has occured in one or both slots.

      I used the 'simple usb logger' from incetivespro (on windows) to read the data sent by the device, it continously sends 8 bytes of bulk data.

      here's what i found out yet:

      0xXX XX YY YY ZZ ZZ ZZ 01

      X and Y must be voltage indicators for slots 1 and 2, the first byte seems to be always 0x01 while no error has occured.
      during the charging process, you can see the value increasing (though randomly fluctuating by one step)

      Z is the type and number of inserted cells:
      0xC3 82 40: 1 cell, AA
      0xC3 82 41: 2 cells, AA
      0x45 2E 42: 1 cell, AAA
      0x45 2E 43: 2 cells, AAA

      the last byte is always 0x01, except after the device was just plugged in (all bytes still 0x00).

      the various patterns that will represent errors are still somewhat confusing (and unfortunately hard to reproduce, you need a bit of luck to actually force an error when you want one ), I guess I'll do some more testing tomorrow... (but i suspect you could force an error when the voltages differ too much)

      in AA mode, i got:
      0xC3 82 C8: error in slot 1, slot 2 empty
      0xC3 82 C9: error in slot 1, cell inserted in slot 2

      0100 0000 //0x40
      0100 0001 //0x41
      1100 1000 //0xC8
      1100 1001 //0xC9
      so it's just the first bit of each nibble that changes... but that probably means nothing, there's more ways of getting errors, (and i should really get some sleep by now )

      Comment


      • #4
        okay I can't edit my previous post, but I have the status for "two AAA cells finished":

        45 2E 83

        curiously, the voltage (or whatever the values for the two cells mean) continue to change, and they were not at all close to each other during the end of charging...

        for AAA cells, an error in slot 2 (while slot 1 ok) looked like this:
        01 9F 01 14 45 2E D3 01
        I inserted a battery with a way too low voltage compared to the first one (01 14 vs. 01 9F), which might have caused the error!?


        as for AA cells, I haven't yet fully charged two cells without getting any error after a while... (maybe usb contacts worn-off, resulting in low max. current on usb port!?)


        maybe I'll have a look at libusb-win32, and write some fancy tool in Qt or something, when I find the time :-) (I guess as a Qt application it could also be compiled against the linux libusb without too much of modification!?)

        still no one else here using the same charger!?^^

        Comment


        • #5
          Well, I am using the energizer since a long time for caring car batteries and mobile. It help me to save some money and now I came to know this wonderful magnificent energizer who supposed to work efficiently.

          energizer
          Last edited by ethanparker3055; 08-05-2011, 12:19 AM.

          Comment


          • #6
            I have just ordered one (after reading this topic), looks nice. I'll try some hacking when I get it.

            I also have some 'bad' batteries that cause smart chargers to display errors, maybe I'll try to figure out something about errors.

            Comment


            • #7
              Back to live, I was on vacation.

              Nice to see you guys in this topic.

              I'll try to hack together some quick and dirty gui in the next 2 weeks

              Comment


              • #8
                OT: source of win-SW

                hi sebastian,

                are you willing to share the windows software - bug infested as it may be, or even your instructions on how to install it without getting bitten?

                any pointer towards where you found it might also help.

                tnx alot!
                energizerbunny

                Comment


                • #9
                  hi,
                  the download is still cached on the servers of the wonderful internet wayback machine
                  http://web.archive.org/web/200904180.../download.aspx

                  (I didn't know they'd actually keep even binary files of ~3MB size in cache, but hey, obviously they do... )

                  the infected file (or at least one of them / the most obvious one) is Arucer.dll, but can be deleted and the software will keep working. I think it is created both in the program's directory and in your system32 folder, but don't remember exactly, it's been too long ago already

                  Comment


                  • #10
                    so there seemed to be some spam post in this thread, that sent me a notification about a reply and thus reminded me about that charger software once again, after such a long time...

                    so, has anyone actually attempted to make some GUI-based replacement for that original infected software?

                    in the .net Framework libraries I couldn't really find anything useful, that would work with USB devices across multiple platforms (seems like you'd have to compile against a ported version of libusb for each OS instead)

                    even Delphi was no big help when it comes to making a quick-and-dirty Windows-only application...

                    Java might be a last option though:
                    http://jcp.org/aboutJava/communitypr...080/index.html

                    I gues I'll find the time to see through those specifications after Christmas...

                    anyone else still willing to make some software for that thing!?

                    Comment


                    • #11
                      Trojan Free Setup for download

                      I have ripped the Trojan out of the original setup found via the Way-Back machine.

                      Get the version with ripped off trojan at tiny(dot)cc//usbcharger

                      I know there are false positives from some Antivirus-Software on this File.
                      Only thing I can do is to assure I have ripped the trojan of.
                      Don't blame me for the false positives.

                      to keep it simple here is the INFO-File of the Link:
                      Code:
                      Energizer Duo USB-Charger
                      Trojan-free Driver and GUI
                      
                      
                      The original Energiser-USB Driver contains a Trojan an therefore was removed from the Energizer Website.
                      This is a rebuild Setup of the original Driver leavong the Trojan component out.
                      
                      
                      THis Setup is NOT nessessary to use the Charger, it's only a GUI showing expected Time for charging.
                      YOu may use this Software at own risk.
                      
                      
                      About this Software:
                      I unpacked the Setup.exe 
                      - removed the offending trojan .dll file
                      - edited two binaries to surpress the trojan windows\run Registry-entry on execution
                      - altered the setup script to surpress the trojan windows\run Registry entry
                      Finally compiled the Setup again.
                      
                      
                      
                      Trivia:
                      Informations about the Problem may be found here:
                      http://www.bit-tech.net/news/bits/2010/03/09/energizer-charger-spreads-trojan/1
                      
                      Informations about the Trojan from CERT:
                      http://www.kb.cert.org/vuls/id/154421
                      
                      Information from Symantec:
                      http://www.symantec.com/connect/blogs/trojan-found-usb-battery-charger-software
                      
                      
                      
                      A Project trying to rebuild the functions of the Driver may be found here:
                      http://phoronix.com/forums/showthread.php?54826-A-software-for-Energizer-CHUSB-charger
                      There too are informations how to get the original Software (It DOES contain the Trojan, you habe been warned)
                      Last edited by Baalo; 12-13-2012, 09:53 AM. Reason: Typo

                      Comment


                      • #12
                        interesting, when did you generate your setup package?

                        virustotal claims to have seen that file hash already 5 months ago...
                        https://www.virustotal.com/file/56d1...is/1355419964/

                        (I guess I'm also too stupid to unpack your setup .exe, created with CES(?), while the original seemed to be built with innosetup and unpacks fine with 7-zip )

                        Comment


                        • #13
                          @sebastian

                          sorry I have not got a reply notice from this topic therefore I'm very late in answering the Question.
                          The Setup is recompiled with innosetup too. The CES is just a visible marker for me to divide it from work of other people.

                          About time... I postet just some time after the work was done and testet. But the Post was confirmed by an moderator much later. this is why tis post ist much later than the file.

                          Greetings
                          Baalo

                          Comment

                          Working...
                          X