1 (edited by mjf55 2017-07-30 02:16:37)

Topic: daVinvi Jr Tag Manager

I would like to provide  the following to the daVinci Jr community ( and other printers that can use this.
# daVinciJrTagManager
a UID / Password manager for the daVinci jr 3D printer

Welcome to the daVinci Tag Manager.  This program will to create for you
a text file that you can then use your andriod phone viaMIFARE++ Ultralight  to program your
EMUtag, and also track which UID / Passwod / PACK code you already used.

daVinciJrTagManager will create / update a database ( a database is supplied currently
populated with over 400 valid UIDs, Passwords and PACK codes).  You can use the simple
route of letting the system choose and mark the next tag to use or you can select your own.

As a database, you can search, delete update and insert records.

A help system is available to help guide the usage of daVinciJrTagManager

The main program is dvjTagManager.py and is written in Python 2.7

The look and feel is similar to the update EMUtag that cgrillo wrote.
Thanks to Bozotclown1970 for SQL assistance for importing without duplicates.

I want to make future enhancements to program the EMUtag directly , without the
need for an NFC phone or device.

Link : https://github.com/mjf55/daVinciJrTagManager 

Be kind, I am not a real programmer.  ;-)

2

Re: daVinvi Jr Tag Manager

Just to add, if you do not have python 2.7 on your windows machine, here is a link to install it.
https://www.python.org/downloads/

3

Re: daVinvi Jr Tag Manager

Hi mjf55.  Just wanted to say that I got my emutag today thanks to a recommendation from Bozotclown1970.  I tried your manager software with my phone (Galaxy Note 3) and it's worked perfectly, thank you!  The only issue seems to be that it only seems to come with 21 tags to write?  Unless I'm doing something daft.  Is there another CSV file somewhere?

Thank you!

4

Re: daVinvi Jr Tag Manager

PeppermintGreen wrote:

Hi mjf55.  Just wanted to say that I got my emutag today thanks to a recommendation from Bozotclown1970.  I tried your manager software with my phone (Galaxy Note 3) and it's worked perfectly, thank you!  The only issue seems to be that it only seems to come with 21 tags to write?  Unless I'm doing something daft.  Is there another CSV file somewhere?

Thank you!

I am glad you liked it and it worked for you.  Nice to have that confirmation.

The database that comes with it already contains 427 tag / password / pack code sets.  No need to import either of the csv files.  They were there as I developed it.  Seem I should remove them.

If you do a view all and scroll to the bottom of the list, how many appear?

5 (edited by PeppermintGreen 2017-08-18 07:06:54)

Re: daVinvi Jr Tag Manager

Ah! I might have messed up then! I read the help within the tool and it said something about clicking file, and then importing a list. I assumed that was the csv's. I think there's one called small and one called medium so I opened the medium. Now when I do a full search, I only see 21 entries. I guess by adding the medium file, it's removed what was there before?

If that's the problem. I'll just start from scratch with it. Thank you!

6

Re: daVinvi Jr Tag Manager

Just downloaded the zip again on a different computer, and if I try to search or list all, without adding the CSV, it returns no records? I also see a python error in the command prompt I launched it from saying something about the SQL tables not existing?

I don't think I'm doing anything wrong, but apologies if I am.  If it IS just me then I'm very happy to just build a list for myself.

7 (edited by mjf55 2017-08-18 13:36:58)

Re: daVinvi Jr Tag Manager

Must be something that needs to be installed that I neglected to say.  .  What OS are you running?  Can you run from a command prompt, go to the directory you installed it from and try running it there.  Let me know what the error messages are.
It must be run from the installed directory, as I  assume the sqlite database it there

8

Re: daVinvi Jr Tag Manager

Oh for.......

Yep.  I'm an idiot!  I had run it from a command prompt, but had dragged the PY file into the window, which obviously doesn't change the directory.  When run directly from the directory, all 427 are visible!

Really sorry to have wasted your time!  Thanks for your help!

9

Re: daVinvi Jr Tag Manager

PeppermintGreen wrote:

Oh for.......

Yep.  I'm an idiot!  I had run it from a command prompt, but had dragged the PY file into the window, which obviously doesn't change the directory.  When run directly from the directory, all 427 are visible!

Really sorry to have wasted your time!  Thanks for your help!

no problem.  I am very happy it works for you.  Enjoy and if you have other issues, please let me know.

10

Re: daVinvi Jr Tag Manager

Hi there mjf55, it looks to be the best thing I've found at this stage I am in...

At the beginning I have some difficulties to see the software opened on my screen, but with a little effort I can realize it!

Thank you so much for make this small and efficient software. It saved my life and will save many!

Now I'll explore more the functionalities of the software.

Tks! wink

11

Re: daVinvi Jr Tag Manager

leopec wrote:

Hi there mjf55, it looks to be the best thing I've found at this stage I am in...

At the beginning I have some difficulties to see the software opened on my screen, but with a little effort I can realize it!

Thank you so much for make this small and efficient software. It saved my life and will save many!

Now I'll explore more the functionalities of the software.

Tks! wink

Your welcome.
What were your difficulties?  Is there something I need to change to make it easier?

12

Re: daVinvi Jr Tag Manager

Awesome software! Will the database be updated at some point with more? Not that i need it yet, 426 to use, but just wondering.

13

Re: daVinvi Jr Tag Manager

AlerDerp wrote:

Awesome software! Will the database be updated at some point with more? Not that i need it yet, 426 to use, but just wondering.

I am glad you like it. 

I am not planning on updating the database.  That you can easily do, especially with the creation of this tool: http://www.soliforum.com/topic/16909/xy … nfckeyxyz/   

Also, we think there is a maximum of ~100 UID/PW/Pack that is stored in the eeprom on the main board, although no one know what happens when you exceed that ( we think it will write over the oldest )

14

Re: daVinvi Jr Tag Manager

Hi, mjf55, I just check the code, it is a great work, I think nilezon opensource the algorithm and  I think you should work with nilezon to integrate both program together. With nilezon's tools, one can easily calculate the UID/PW, but your program can easily update to help people track what combination they already used even if they don't use EMUtag.

Also, I think nilezon have solid training in coding I think (based on his code, I don't know him in person), there are small things you can learn and improve the quality of your code.

You can add a line in the code to detect the existence of the database file before connect to the data-source, if not exist, pop a message saying can not find database file. That can make troubleshoot easier. This also apply to before you open a file, check if the filename/path you get from user input indeed exist, if it is expected file format. I know it is a painful process to do all these non-essential function/coding, I've been there before. But in the end, these small things determine the overall quality of your program.

(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

15

Re: daVinvi Jr Tag Manager

yizhou.he, thank you for the kind words.  I took a quick look at nilezon's code and it went right over my head, but I was recovering from major surgery, so a lot of this went over me.  Anyway, I'll re-look at and see how it can be implemented.  I agree, it would be a nice tool with nilezon's code and auto programming Rhys's emulator.

16

Re: daVinvi Jr Tag Manager

I'm sorry to hear that. I get my Ph.D. training in UNC, UNC hospital is the best hospital I have ever seem. Sleep is important for healing, LCD screen of laptop and cell phone is bad for sleeping.

Best wishes.

(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

17

Re: daVinvi Jr Tag Manager

mjf55 wrote:
AlerDerp wrote:

Awesome software! Will the database be updated at some point with more? Not that i need it yet, 426 to use, but just wondering.

I am glad you like it. 

I am not planning on updating the database.  That you can easily do, especially with the creation of this tool: http://www.soliforum.com/topic/16909/xy … nfckeyxyz/   

Also, we think there is a maximum of ~100 UID/PW/Pack that is stored in the eeprom on the main board, although no one know what happens when you exceed that ( we think it will write over the oldest )

Given the UIDs are 5 bytes wide, that is ~1.1 trillion combinations (assuming no restrictions). If the printer stores ~100 max, your chance of collision by randomly generating UIDs on the fly is 1 in 10 billion.

18

Re: daVinvi Jr Tag Manager

hello
this is a very good job

I order some NFC213 at this link
https://fr.aliexpress.com/item/10pcs-pa … eLevelAB=5

they should arrive soon

in the mid time, I have some questions
with the .txt file and mifare ultralight /NTAG, how must I proceed ? just set the value included in the file?must I set some password or stuff like this when I set the values ?
thanks for your help

19

Re: daVinvi Jr Tag Manager

oeilnoir9 wrote:

hello
this is a very good job

I order some NFC213 at this link
https://fr.aliexpress.com/item/10pcs-pa … eLevelAB=5

they should arrive soon

in the mid time, I have some questions
with the .txt file and mifare ultralight /NTAG, how must I proceed ? just set the value included in the file?must I set some password or stuff like this when I set the values ?
thanks for your help


To start with the txt file will do you no good as these paper tags already have a unique UID and it cannot be modified. You will just need to set the length, password and Pack code on these in order to use them.

20 (edited by ChunkLady 2018-01-01 12:15:29)

Re: daVinvi Jr Tag Manager

Note however, it is very likely that XYZPrinting will start monitoring some of the other pages with future firmware updates, like the checksum pages and/or the tripple-original-length pages. It might be a good idea to simply clone a card, every time, only altering the color and material-type as needed.

21

Re: daVinvi Jr Tag Manager

ChunkLady wrote:

Note however, it is very likely that XYZPrinting will start monitoring some of the other pages with future firmware updates, like the checksum pages and/or the tripple-original-length pages. It might be a good idea to simply clone a card, every time, only altering the color and material-type as needed.

Simply dont allow the printer to update the firmware.  As it stands now, any firmware 2.2.7 and above ( Jr)  you cannot reset your tag today, so cloning will not work.

22

Re: daVinvi Jr Tag Manager

@mf55: my comment was for paper tags.

23

Re: daVinvi Jr Tag Manager

ChunkLady wrote:

@mf55: my comment was for paper tags.

Maybe I'm confused, but paper or not, the printer will remember the UID and will track the useage to a length of zero. You will not be able to reuse that tag/UID

24

Re: daVinvi Jr Tag Manager

mjf55 wrote:
ChunkLady wrote:

@mf55: my comment was for paper tags.

Maybe I'm confused, but paper or not, the printer will remember the UID and will track the useage to a length of zero. You will not be able to reuse that tag/UID

Nope, you're not confused, but I think the phrase "cloning" is being misused as cloning leads you to think that the UID is also to be cloned - which is not possible with paper tags.
All the other "user pages" can be cloned.  (Password and PACK code pages excluded)

25 (edited by ChunkLady 2018-01-03 00:30:02)

Re: daVinvi Jr Tag Manager

I work under the assumption that new tags are required every time. If you have an old firmware; great - keep doing what you’re doing, but my comment was for all of us who update their firmware - or bought a new updated printer. Hence the “they might start monitoring”.

And no, cloning does not involve cloning the uid, as states above; not possible with the cheap paper tags. Cloning in this case would (logically) only apply to the writeable areas.