Welcome to Our Community

Some features disabled for guests. Register Today.

Tear down of Cubify cube 3 3D Printer + convert to RepRap

Discussion in '3D printers' started by Oderbang, Dec 6, 2015.

  1. Daniel Kuecker

    Builder

    Joined:
    Jan 6, 2017
    Messages:
    1
    Likes Received:
    0
    I have purchased the RAMPS 1.4. I was wondering if you could help me. How do I wire the stepper motors? They are different than the ones I see in videos as they have 6 pin connector. I assume I need to wire the 4 wires to the ramps board, but I do not know which wire goes where . Also, how about end stops? Does this have end stops to wire to the ramps board?
     
  2. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
    Ok the xml file which was mentioned is on the cubify server.
    This is called when starting cube print.
    Private Const Cubify_Version_XML As String = "http://cubify.s3.amazonaws.com/public/cube3/magellan_software.xml"

    I did find something else.
    The config files in the cubify folder are encrypted. The scrambled password is : eXbfXoDj^e\\>?/12

    AND this is the unscrambled one:)

    221BBablfsNzdspgu


    The files are encrypted with blowfish. Maybe someone can find out how to decrypt them.
    There is a file in the cubify folder which is named cubefyit.exe . This loads the file ConfigurationCube123.xml which then is used for configuration of the printer.

    If someone wants to look into the code. I have attached it.
     

    Attached Files:

    Kiza likes this.
  3. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
    That looks like the internal version of the 4.03 windows software.
    When you put the x.cube3 file on a memory stick, the internal processor does a lot of processing.
    When you send it over WiFi, it is much faster, so there is a difference in the way you interface with the system.
     
  4. Kiza

    Kiza New
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    75
    Likes Received:
    3
    That's not the unscrambled password ^_^. Working on decryption, I will post whenever there is a result :)
     
  5. Geezer70

    Geezer70 New
    Builder

    Joined:
    Sep 30, 2016
    Messages:
    48
    Likes Received:
    12
    221BBakerMycroft
     
    Kiza likes this.
  6. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
  7. Kiza

    Kiza New
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    75
    Likes Received:
    3
    Good :) But so far I could not decode for some reason, decode function has a strange behavior. It does not decode more than 30 bytes at a time no matter what length you will specify. And mostly it complains about the length itself. Will try more tomorrow.
     
  8. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
    OHHH TOM you made my Day.

    Just use CubeX to decode the files!!! It works:

    <?xml version="1.0" encoding="utf-8"?>
    <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="XML Schema">
    <global>
    <ConfigurationFileVersion>X560</ConfigurationFileVersion>
    <m_ModelColor>
    <red>0</red>
    <green>204</green>
    <blue>255</blue>
    </m_ModelColor>
    <m_BkgrndColor>
    <red>201</red>
    <green>211</green>
    <blue>226</blue>
    </m_BkgrndColor>
    <Model>CUBE3</Model>
    <Material>PLA</Material>
    <NetworkName />
    <NetworkKey />
    <Cube3Support>true</Cube3Support>
    <NewComp>true</NewComp>
    <ModelColor>
    <red>0</red>
    <green>204</green>
    <blue>255</blue>
    </ModelColor>
    <BkgrndColor>
    <red>201</red>
    <green>211</green>
    <blue>226</blue>
    </BkgrndColor>....
     
    Kiza likes this.
  9. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    BUT HOW???
     
  10. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
    Start CubeX64 or X32. Choose Cubepro and decode.
    Go to browse and Choose all Files in filetype.
    Go to cubify dir and pick config123.xml and Press ok. File will be named *.bfb. Open with notepad.
     
  11. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    This software or another? The only CubeX software I can find.
     

    Attached Files:

    #401 Naldarn, Jan 11, 2017
    Last edited: Jan 11, 2017
  12. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
    Any switches in there for DIAGNOSTIC MODE, ADMIN MODE, DISABLE XXX?
    If anything, this is exactly where you'd put diagnostic switches that could include the security chip.
    Once you know that switch, we can probably add it to another config file.

    If all this handshaking is going on with Cubify, how do you force a local XML file to take precedence?
     
  13. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    I was able to use a program called Fiddler, worked in a few minutes to host the magellan_software.xml on my pc
     
    #403 Naldarn, Jan 11, 2017
    Last edited: Jan 11, 2017
  14. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    Ok, found an interesting dialog from the cube print software, here is the request and response. Can anyone make sense of it?
     

    Attached Files:

  15. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
    That looks like an ad-hoc network connection with encryption request.
    Mine will connect to a neighbor's protected router and consider itself connected but not be found on my network.
    This is what I mean about persistence.
     
  16. RobertW

    RobertW New
    Builder

    Joined:
    Dec 3, 2016
    Messages:
    45
    Likes Received:
    7
  17. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
    @Naldarn

    The Software cubeX was mentioned by Tom Dirriwachter .

    I looked into the XML Files but couldnt find any references to a admin / debug mode.
     
  18. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
  19. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
  20. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    My closest neighbor is a mile away, so no other networks around here.
     
  21. eychei

    eychei Well-Known
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    143
    Likes Received:
    37
    Oh sorry. I mean codeX
     
  22. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
  23. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    @As a standalone project, a prebuilt project, or library project?@
     
  24. Kiza

    Kiza New
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    75
    Likes Received:
    3
    Finally had a look on our *.ar files. Appeared to be pretty straight-forward, no checksums, only sizes of files plus overal size and couple of signatures in the begining.
    That means once we modify our *.hex file, there will be no problem putting it back to printer.
    Here is my small tool for firmware un-pack/pack (sorry, very raw, must be very buggy, change extension to exe and have framework 4.5 installed).

    P.S. Just tried to upgrade from my re-packed firmware, it worked, printer is not bricked! Whohooo :)

    Disclaimer: Everything you do to your printer, you do on your own risk :)
     

    Attached Files:

    #414 Kiza, Jan 12, 2017
    Last edited: Jan 12, 2017
  25. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    Great!! Any idea what the mrl files are? I think they are for the lcd display, but can't find any way to view them.
     
  26. Kiza

    Kiza New
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    75
    Likes Received:
    3
    As I remember, somebody here mentioned that it's LCD images. But I have no idea about format, haven't looked at it yet.
     
  27. Naldarn

    Naldarn New
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    43
    Likes Received:
    0
    Ok, I found the .mrl files as being MIPSEB MIPS-III ECOFF executable not stripped - version 185.252 anyone have an idea how to read them and see what they do?
     

    Attached Files:

  28. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
    The cube 3 software generates and stores a lot of images. This is likely an internal image generator. Go find the cube user files on the PC. You will find everything ever created.
     
  29. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
  30. Tom Dirriwachter

    Tom Dirriwachter Well-Known
    Builder

    Joined:
    Aug 30, 2016
    Messages:
    284
    Likes Received:
    32
    Also know there is an image stored in firmware. If you press and hold the smiley on the info page (cube screen) a cube 3 team image appears.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice