576

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

So, basicallly, i just build a small nfc-Arduino shield, that program the paper-tags, throw the tags  out once done - and thats it ? Wauw - thats pretty neat :-)

577 (edited by Bozotclown1970 2017-12-19 14:38:01)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

You got it. Nilezon did a fantastic job hacking the encryption for password and pack code. There is also some open source software for writing the tags with at http://www.soliforum.com/topic/16946/fr … ank-ntags/.

Instead of throwing the tags out you could always send them to someone else to use in their printer.

578

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

And i guess they dont validate the ids online as that service would quickly be flooded with generated data and over time rendering all spools, including legits, unusable.

Cool - i have some tags back from the early days when we didn’t know much yet - I wonder if they work. Off to the wizard, aka. the big box of misc electronics :-)

579

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Did you find enough hardware to be able to read/write your tags?

580 (edited by ChunkLady 2017-12-20 09:17:00)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Yes, however, I am kinda stuck - One library lets me read the tags, but does not offer authentication support (so, obvious, it can read all pages on non-encoded tags - but not the xyz tags); the other library has authentication support, but seems to have trouble identifying any tags (i suspect it requires some weird undocumented wirering).

Ive wired up a Mega (for now) and a squared PN532 set to SPI mode.

Do "we" have any .ino files that contains "it all" or a favourite library ?


EDIT: I found an unresolved commit to the adafruit PN532 library, that does the job :-) So, I understand, its good practise to share all the keys we've got, right? Or is that not usable any more? Do we have the nfckey-code converted to Arduino C? It'll take no time to convert, I'll gladly do it.

581

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

ChunkLady wrote:

Yes, however, I am kinda stuck - One library lets me read the tags, but does not offer authentication support (so, obvious, it can read all pages on non-encoded tags - but not the xyz tags); the other library has authentication support, but seems to have trouble identifying any tags (i suspect it requires some weird undocumented wirering).

Ive wired up a Mega (for now) and a squared PN532 set to SPI mode.

Do "we" have any .ino files that contains "it all" or a favourite library ?


EDIT: I found an unresolved commit to the adafruit PN532 library, that does the job :-) So, I understand, its good practise to share all the keys we've got, right? Or is that not usable any more? Do we have the nfckey-code converted to Arduino C? It'll take no time to convert, I'll gladly do it.

It's probably no use to anyone sharing the keys now as Nielzon's page does it for any UID.
He also has C, C# versions of the algorithms
https://github.com/jackfagner/NfcKey

582

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

cgrillo wrote:

It's probably no use to anyone sharing the keys now as Nielzon's page does it for any UID.
He also has C, C# versions of the algorithms
https://github.com/jackfagner/NfcKey

nice, its adopts basically 1 to 1, for the exception that bitshifting in arduino are based on the variables type, not the receiving variables type, so the v1/v2 calculations just had to be typecast, and everything works smile

neat !

Do you have an idea of what needs to be done atm ? are we done, so to speak ?

583

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

At this time the only thing left to be done is figure out how to downgrade the firmware.

584

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Bozotclown1970 wrote:

At this time the only thing left to be done is figure out how to downgrade the firmware.

In reality, do we really need that?  With nilezon's code and the 10 cent paper tags, cgrillo's open source code, what is gained?

585

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

I agree, downgrading is a moot point at this stage of the game.

586

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

I think be able to downgrade firmware to unencrypted version is important step for hack the firmware to disable NFC chip checkpoint, also can provide a backup when attempt to port Marlin/Repetior/RepRap. It will seems very risky to flash the firmware if people can not go back to stock.

(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1

587 (edited by Bozotclown1970 2017-12-20 19:53:48)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

That is a fair stement, but I don't believe the average Joe on the street(including myslef) will have the equipment or knowledge to perform any firmware operations.

By the way, I just read your writeup on Ramps converstion. Very good.

588

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

yizhou.he wrote:

I think be able to downgrade firmware to unencrypted version is important step for hack the firmware to disable NFC chip checkpoint, also can provide a backup when attempt to port Marlin/Repetior/RepRap. It will seems very risky to flash the firmware if people can not go back to stock.

Why upgrade the firmware?  The new features implemented are few and far between.   But, that is just my opinion.  I am happy with my Jr now that we have these tools available.  I just wish it would increase speed, but that's another discussion.  Igot spoiled by my delta.

589

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Bozotclown1970 wrote:

That is a fair stement, but I don't believe the average Joe on the street(including myslef) will have the equipment or knowledge to perform any firmware operations.

By the way, I just read your writeup on Ramps converstion. Very good.

I hope it will end up as easy as Da Vinci 1.0 Repetitor-firmware. But that may not be the average Joe on the street will do.

Thank you for your kind word. I was hoping to get more feed back on the writing so that I can improve.

(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1

590 (edited by yizhou.he 2017-12-20 20:15:22)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

mjf55 wrote:
yizhou.he wrote:

I think be able to downgrade firmware to unencrypted version is important step for hack the firmware to disable NFC chip checkpoint, also can provide a backup when attempt to port Marlin/Repetior/RepRap. It will seems very risky to flash the firmware if people can not go back to stock.

Why upgrade the firmware?  The new features implemented are few and far between.   But, that is just my opinion.  I am happy with my Jr now that we have these tools available.  I just wish it would increase speed, but that's another discussion.  Igot spoiled by my delta.

I think Jr. operate at over-extrusion mode, and the print quality is more like 0.5mm nozzle quality. So although the print speed is very slow, but the print job is done in very acceptable time. I did RAMPS conversion and the print quality increase and took a lot longer if I print at the same speed.

I think there are both pros and cons for the over-extrusion printing method, if you are looking for higher print quality or accuracy, stock firmware is not the best option. When I print parts that need to fit each other, print with stock firmware require a lots of post printing process to make them fit, sometimes I have to change the design to make them fit if printed with Jr.

I hope disable over-extrusion mode by use open source firmware, we can achieve the quality and speed of RAMPS converted Jr. without have to go though all those painful wire making process.

(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1

591

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Do we have a definite guide to "how to build an NFC Paper tag" ? Currently im just copying one of my regular 200m new spools data and copying it over - but there seem to be data around the forum containing calculations for page 21-23 (or was it 13-15?) and spool lengths up to 300m (which would save 50% paper tags).

If we do, can we pin it?

592

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Check this out http://www.soliforum.com/topic/16946/fr … ank-ntags/ it will make your life muh easier.

593 (edited by ChunkLady 2017-12-20 22:44:08)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Bozotclown1970 wrote:

Check this out http://www.soliforum.com/topic/16946/fr … ank-ntags/ it will make your life muh easier.

Yearh, I'm on mac - so that won't work. And doing a self-contained arduino project to hang on the side of my printer. But looking at the Windows code I can probably figure something out .. (though a description of the tags pages wouldn't hurt smile )

Edit: okay, seemed like the cloning of tags works just fine. Scanned a new tag, copied it over raw to a new card (page 4-39 + 41-44) - works just fine in the printer. Im loving it :-) So all thats left it just to build a case to hang on the spool-arm, battery-driven, "click" to turn it on, and it resets whatever blank card it finds. Awesome !

594 (edited by farmountain 2017-12-22 10:20:31)

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Hahaha! Finally, following the instructions, I build a Arduino nano+PN532 hardware solution.  Reset a blank NTAG213 sticker as 300m with cgrillo's software(recognized as 300/200m, page9 00353637). Davinci mini w start printing!

Thanks to cgrillo, Bozotclown1970, Nielzon's great works, Xenolphthalein, modfreakz's wire figure, and any other information I found in the forum!!
Thank all of you for making it so easy, it just take me less than 2 hours afterI get Arduino nano+PN532, including soldering works and looking for some Arduino hardware/software information.  smile

595

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Oh yeeaaarrrhh ! this is so much more than I was expecting this hack was gonna be, way back when it all started ! This is nice - you're all awesome folks !

https://imgur.com/a/RJBwq

596

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Anyone has a 300 meter hex dump of NTAG ? Im currently just mirroring one of my own 200 meters - but if i can save 50% more tags, well.. I'd rather do that smile My understanding was that the meter left changed some of the 20ies pages - according to some formula.

597

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

ChunkLady wrote:

Anyone has a 300 meter hex dump of NTAG ? Im currently just mirroring one of my own 200 meters - but if i can save 50% more tags, well.. I'd rather do that smile My understanding was that the meter left changed some of the 20ies pages - according to some formula.


04 30 4B F7
9A 29 49 81
7B 48 00 00
E1 10 12 00
01 03 A0 0C
34 03 00 FE
00 00 00 00
00 00 00 00
5A 50 57 00
00 35 34 57
E0 93 04 00
E0 93 04 00
00 00 00 00
00 00 00 00
30 30 31 39
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
E0 93 04 00
A8 81 36 54
F0 3F EE CE
F2 6E 4D 76
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 BD
04 00 00 FF
00 05 00 00
00 00 00 00
8C 66 00 00


Really all you have to do is make changes in pages 10, 11, 20 and it will work.

598

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Bozotclown1970 wrote:

Really all you have to do is make changes in pages 10, 11, 20 and it will work.

Yearh, but im copying the entire thing tbh.. will work with garbage-data on the original NFC tag as well.

Were there any special way of calculating what to put in the length-pages ? Do you by any chance know what thread its in?

599

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

ChunkLady wrote:
Bozotclown1970 wrote:

Really all you have to do is make changes in pages 10, 11, 20 and it will work.

Yearh, but im copying the entire thing tbh.. will work with garbage-data on the original NFC tag as well.

Were there any special way of calculating what to put in the length-pages ? Do you by any chance know what thread its in?

You can check this out http://www.soliforum.com/post/129947/#p129947

600

Re: XYZ Printing Da Vinci Jr (w) / Da Vinci Mini (w) Hacking

Bozotclown1970 wrote:
ChunkLady wrote:
Bozotclown1970 wrote:

Really all you have to do is make changes in pages 10, 11, 20 and it will work.

Yearh, but im copying the entire thing tbh.. will work with garbage-data on the original NFC tag as well.

Were there any special way of calculating what to put in the length-pages ? Do you by any chance know what thread its in?

You can check this out http://www.soliforum.com/post/129947/#p129947

Or this:
http://www.soliforum.com/topic/16951/di … -20212223/