651 (edited by Sinitax 2018-02-24 12:39:42)

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

That worked!!

Thanks so much for helping big_smile. Next, when my pn512 board comes, I'm going to work on an programming an arduino to automatically write new data to a paper tag with the same settings but longer spool length.
I'll keep you posted!!

652

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

One of these threads by cgrillo already does that.

653

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

Don't they sell an already assembled tag emulator that you can just program and set next to the reader on the printer. Then once it runs out program again with different length, temp and serial?

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

654

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

carl_m1968 wrote:

Don't they sell an already assembled tag emulator that you can just program and set next to the reader on the printer. Then once it runs out program again with different length, temp and serial?

Yes, that Rhys's latest emulator.

655 (edited by Sinitax 2018-02-25 01:59:57)

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

I think cgrillos implementation requires you to have the Arduino connected to a computer when you want to change the tag settings for different tags. My idea is to have the Arduino run autonomously: you let it read a card and copy over the data except remaining length, uid etc. to a new card. That way, if you want to use the same tag 'profile' you don't need to manually create a new tag.
I've also decided to use the mfrc522 because it costs less and I have one laying around

It's true, I could just buy rhys emulator or an emutag, but then I wouldn't be learning anything tongue

656

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

I had time to work on the implementation this week. I'm almost done, but I cant seem to write the password/pack. Everything transmits fine and no error is thrown, yet when I try to authenticate with the password, it fails.
@cgrillo Since you worked on the implentation with the pn522, I wanted to ask if you had any similar experiences and could help smile

657

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

Are you sure you are wokring with the correct tags? As long as you are wrinting to the correct pages there should not be an issue. Just make sure the Password/Pack codes are for the UID of the tag you are wrinting to.

658 (edited by Sinitax 2018-03-16 20:51:15)

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

I checked the datasheet to make sure, Im using a ntag213 paper tag. The pages are:
PWD: 0x2B
PACK: 0x2C

I tried writing the password using 'RFID NFC Tool' on my phone and that worked for all pages except the config (pass & pack)

659

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

If you want to use your phone have you tried the app at http://www.soliforum.com/topic/17124/an … ank-ntags/. This seems to be the easiest to use for your phone.

What data are you trying to write to those two pages? Those pages are correct.

660

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

WOW this is perfect! Too bad the front page of this thread isnt being updated anymore, I didnt even know that existed..
---
I tried writing "01020304" to 0x2B and "01020000" to 0x2C.
The last two bytes of the pack page are RFUI and allowed to be 0.

661

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

Is that the password/pac for the UID of the tag you are updating? The format looks correct, but you may need spaces.

662 (edited by Sinitax 2018-03-17 11:51:10)

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

I think I'm just generally confused about how nfc authentication works. Is this correct:
1. When a reader tries to authenticate with a tag, it checks if the sent pwd matches the stored one and if so returns the pack
2. Writing a password to a reader is as simple as using the WRITE command on the specific pages after authentication

Now comes the weird part, I tried using a different app which has a lot more features to write a password. On the tags I tried to write a password to, It refused and said the tag is not one of the supported "classic mifare and ntag21x" << which the ntag213 is a part of. Then I was curious to see if ReelTool would still work and it worked on both tags. How can that be?
Does writing a password only prevent someone from writing the certain pages? If so which and why was ReelTool able to write to the tag anyways?

EDIT: all tags read fine | do you need to set a password using the key/pack algo for the printer to read them?

663

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

To start with I am not sure what software you are using. If you use the software provided by cgrillo it should work. If you are using the sketch provided by Arduino, you may have a problem. Thier sketch is incomplete and does not authenticate properly if I remember correctly.

What is the UID, password and pack code you are using to update the tag with?

664 (edited by Sinitax 2018-03-19 20:29:32)

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

I figured out what the problem was: I was correctly password protecting the tag, but when 'writing' to the tag again the chip gave me 'STATUS_OK' although I hadnt authenticated, because it saw that what I was writing to the page matched what was already on the page from the last write and 'succeeded' every time. The reason the password protected tag didnt work with the printer was because I forgot to set AUTH0 and PORT, something I found out looking at the ReelTool source code. (AUTH0 is responsible for setting the page from with authentication is required : PORT is responsible for setting what an unauthenticated reader can do with the pages after AUTH0)
Anyways, it works now and is available on github as ANOTHER alternative to impersonating cartridge tags. This implementation uses a MFRC522 (instead of PN522), since its cheaper.

link to repo: https://github.com/Sinitax/DaVinci-NFC-Cloner

665 (edited by ebsigma 2018-03-24 11:29:16)

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

I just did an excel to convert the decimal value of the remaining meters of filament (line 20 of the file) to convert it to hexadecimal and change it to simply put your meters and the result pass it directly to the document.

is in Spanish, but has no loss, you just have to change the first number and copy the last one. It is editable.

Post's attachments

decimal a hexadecimal.xlsx 9.38 kb, 5 downloads since 2018-03-24 

You don't have the permssions to download the attachments of this post.

666

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

Hi, 

I have a minimaker "red" Special edition.

But it seem to be different pages codes lives in.

I made a screenshot of my readings.

PAGE 8: HAS a different code for PLA on the original spool 51 not 50. ORIGINAL code was: 5A514F00

PAGE 0a and 0b: A0860100

PAGE 11: 34000000
PAGE 14: 0ef30000
PAGE 15: 46e13254 
PAGE 16: 869ee2ce 
PAGE 17: 20cd4976

PAGE 28: 000000bd
PAGE 29: 07000008
PAGE 2a:  80050000

How can I reset the spool to 200 meters remain 200 meters and color settings.

I can read the values in xyzware - but get an error code 02a0.
Cartridge not reconized.

Can someone tell me in a simple way - what and where to put in the values.

What about the PLA code 51 ???

I think it must be an little issue Iam dealing with, but how???

/jokerper

Post's attachments

Screenshot_2018-04-25-01-31-05.png
Screenshot_2018-04-25-01-31-05.png 106.39 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

667 (edited by cgrillo 2018-04-25 12:47:17)

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

jokerper wrote:

Hi, 

I have a minimaker "red" Special edition.

But it seem to be different pages codes lives in.

I made a screenshot of my readings.

PAGE 8: HAS a different code for PLA on the original spool 51 not 50. ORIGINAL code was: 5A514F00

PAGE 0a and 0b: A0860100

PAGE 11: 34000000
PAGE 14: 0ef30000
PAGE 15: 46e13254 
PAGE 16: 869ee2ce 
PAGE 17: 20cd4976

PAGE 28: 000000bd
PAGE 29: 07000008
PAGE 2a:  80050000

How can I reset the spool to 200 meters remain 200 meters and color settings.

I can read the values in xyzware - but get an error code 02a0.
Cartridge not reconized.

Can someone tell me in a simple way - what and where to put in the values.

What about the PLA code 51 ???

I think it must be an little issue Iam dealing with, but how???

/jokerper


If you have previously used that tag in the printer the printer will not allow it to be used again once refilled.
It remembers the id and the last length - if that is increased it is rejected.
There are MANY posts on this.

668 (edited by jokerper 2018-04-25 15:06:32)

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

Hi,

Thanks for your reply.

But Iam a noobs and learning.

I should be able to manipulate the data on the chip, as far I can read. I think I maybe are stugling with the UID - am I correct?

Please give me some hope...

I have some NFC stickers, can I use this to generate a new chip. Is it here I need to use the www.nfckey.xyz/ to regenerate some data and then fill in the new values. From the tutorials around.

I need to know the workflow.

669

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

@jokerper

This how I use it in my program

MATERIALIDS MATERIALIDTable[] =
{    
    {0x50,"PLA Old"},
    {0x51,"PLA"},
    {0x54,"PLA Tough"},
    {0x41,"ABS"},
    {0x46,"TPE"},
    {0x47,"PETG"},//not sure
    {0x55,"UVCR"},
    {0x56,"PVA"},//Water Soluble
    {0x00,"Unknown"}
}

670 (edited by jokerper 2018-05-26 13:54:15)

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

As I wrote I am a newbie and been reading this thread. But you dont come around this - I think.

You do not discuss how to use the emutag in daily use.

So please tell me how the workflow would be with and emutag, I have been around to for a how to use in daily to switch between new and old spool.

How often should I make a new TAG, UID, SERIALNUMBER.

I dont understand all the stuff about eeprom and hex vs decimal.

I just dont wont to make any mistakes - to fillup my printer with a ton of spools. So I want to reuse/refill those file in the folder.

Is it possible and how would you do it?

I have made my emutag like this and can change the content on the Emutag from the outside.

http://soliforum.com/i/?iTFWhnP.jpg

As I say I need to be sure to do it the right way.



jokerper wrote:

But Iam a noobs and learning.

I should be able to manipulate the data on the chip, as far I can read. I think I maybe are stugling with the UID - am I correct?

Please give me some hope...

I have some NFC stickers, can I use this to generate a new chip. Is it here I need to use the www.nfckey.xyz/ to regenerate some data and then fill in the new values. From the tutorials around.

I need to know the workflow.

Link to my video on youtube -a must see video - for "Minimaker" - I think

https://www.youtube.com/playlist?list=P … WTuKHEvEpB

I got it now, this is how I use all the hacks with gcode from slic3r and easy filament change. Sorry for disturb you, but maybe someone can use it or scroll down, please.

671

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

hello

do we have any chanse to use reset tags on a printer davincijunior 1.0 with firmware 2.3.5

thk

672

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

jedisoft wrote:

hello

do we have any chanse to use reset tags on a printer davincijunior 1.0 with firmware 2.3.5

thk


Check out http://www.soliforum.com/post/142341/#p142341

673

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

Hi, an online shop here is offering a Davinci Mini W for a good price here so I am deciding if I should pick it up as my first
printer.
After searching some info on it, I found out about the filament blackmail deal and buying the brand filament  is out of the question, since it costs twice as much as other similar filaments.

So, at this moment, how hard is it to perform the fillament spool NFC hack?
If I buy the davinci mini W, am i guaranteed that I will be able to employ this NFC hack on it?

Thank you so much for any reply, which will shed light on this for me

674

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

Mikla wrote:

Hi, an online shop here is offering a Davinci Mini W for a good price here so I am deciding if I should pick it up as my first
printer.
After searching some info on it, I found out about the filament blackmail deal and buying the brand filament  is out of the question, since it costs twice as much as other similar filaments.

So, at this moment, how hard is it to perform the fillament spool NFC hack?
If I buy the davinci mini W, am i guaranteed that I will be able to employ this NFC hack on it?

Thank you so much for any reply, which will shed light on this for me


If you are looking for a good starter printer and you are sure it works then purchase some paper tags and use one of the options to update them and you will be ready to go.

675

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

modfreakz wrote:

@jokerper

This how I use it in my program

MATERIALIDS MATERIALIDTable[] =
{    
    {0x50,"PLA Old"},
    {0x51,"PLA"},
    {0x54,"PLA Tough"},
    {0x41,"ABS"},
    {0x46,"TPE"},
    {0x47,"PETG"},//not sure
    {0x55,"UVCR"},
    {0x56,"PVA"},//Water Soluble
    {0x00,"Unknown"}
}

I can confirmed that 0x47 is PETG, bought a spool from xyz and trying to figure out how to make a eeprom chip for it for my vinci pro