Welcome to Our Community

Unlock hidden features. Sign Up for Free Today!

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

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

  1. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    is this xml file on the sdcard?
     
  2. Tom Dirriwachter

    Builder

    Joined:
    Aug 30, 2016
    Messages:
    101
    Likes Received:
    8
    I would suspect so, I doubt this would be reliable enough to rely on the internet to confirm.
    We still don't have the installed content of the internal SD uploaded anywhere.
     
  3. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    Okey I did check the SD Card of my CubePro and there is no such xml file.
    I did upload the SD Card Files.

    There is nothing to see in there:(


    edit:
    I cant upload the file as attachment. Did try to change the extension to txt but still no luck.
     
  4. JustinTime

    JustinTime Master
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    798
    Likes Received:
    158
    @eychei, did you try to upload it as a .zip file?
     
  5. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    Yes it is a zip file. I tried uploading as zip.
     
  6. 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?
     
  7. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    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.
  8. Tom Dirriwachter

    Builder

    Joined:
    Aug 30, 2016
    Messages:
    101
    Likes Received:
    8
    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.
     
  9. Kiza

    Kiza Journeyman
    Builder

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

    Geezer70 Journeyman
    Builder

    Joined:
    Sep 30, 2016
    Messages:
    31
    Likes Received:
    5
    221BBakerMycroft
     
    Kiza likes this.
  11. Tom Dirriwachter

    Builder

    Joined:
    Aug 30, 2016
    Messages:
    101
    Likes Received:
    8
  12. Kiza

    Kiza Journeyman
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    30
    Likes Received:
    2
    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.
     
  13. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    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.
  14. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    Likes Received:
    0
    BUT HOW???
     
  15. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    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.
     
  16. Naldarn

    Naldarn Journeyman
    Builder

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

    Attached Files:

    #406 Naldarn, Jan 11, 2017
    Last edited: Jan 11, 2017
  17. Tom Dirriwachter

    Builder

    Joined:
    Aug 30, 2016
    Messages:
    101
    Likes Received:
    8
    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?
     
  18. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    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
     
    #408 Naldarn, Jan 11, 2017
    Last edited: Jan 11, 2017
  19. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    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:

  20. Tom Dirriwachter

    Builder

    Joined:
    Aug 30, 2016
    Messages:
    101
    Likes Received:
    8
    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.
     
  21. RobertW

    RobertW Well-Known
    Builder

    Joined:
    Dec 3, 2016
    Messages:
    28
    Likes Received:
    4
  22. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    @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.
     
  23. eychei

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
  24. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    Likes Received:
    0
  25. Naldarn

    Naldarn Journeyman
    Builder

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

    eychei Journeyman
    Builder

    Joined:
    Dec 26, 2016
    Messages:
    77
    Likes Received:
    13
    Oh sorry. I mean codeX
     
  27. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    Likes Received:
    0
  28. Naldarn

    Naldarn Journeyman
    Builder

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

    Kiza Journeyman
    Builder

    Joined:
    Dec 1, 2016
    Messages:
    30
    Likes Received:
    2
    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:

    #419 Kiza, Jan 12, 2017 at 5:02 PM
    Last edited: Jan 12, 2017 at 5:24 PM
  30. Naldarn

    Naldarn Journeyman
    Builder

    Joined:
    Jun 7, 2014
    Messages:
    30
    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.
     

Share This Page

  • About Us

    The OpenBuilds Team is dedicated helping you to Dream it - Build it - Share it! Collaborate on our forums and be sure to visit the Part Store for all your Building needs!
  • Like us on Facebook

  • Support Open Source FairShare Program!

    OpenBuilds FairShare Give Back Program provide resources to Open Source projects, developers and schools around the world. Invest in your future by helping others develop theirs!

    Donate to FairShare!