Merge pull request #2743 from Donny-Guo/lfhidbrute
[RRG-proxmark3.git] / doc / md / Use_of_Proxmark / 2_Configuration-and-Verification.md
blobd40dc50ff9092189b93dcb28f4a189a6e178dbcc
1 <a id="Top"></a>
3 # 2. Configuration and Verification
5 # Table of Contents
6 - [2. Configuration and Verification](#2-configuration-and-verification)
7 - [Table of Contents](#table-of-contents)
8     - [First things on your Proxmark3 RDV4](#first-things-on-your-proxmark3-rdv4)
9     - [Verify sim module firmware version](#verify-sim-module-firmware-version)
10   - [Next steps](#next-steps)
14 ### First things on your Proxmark3 RDV4
15 ^[Top](#top)
17 You will need to run these commands to make sure your RDV4 is prepared
18 ```
19 [usb] pm3 --> script run init_rdv4
20 ```
23 The lua script actually executes the following commands below.  These are here because of documentation, you can jump down to *Verify sim module firmware version* part.
24 ```
25 [usb] pm3 --> mem load -f mfc_default_keys -m
26 [usb] pm3 --> mem load -f t55xx_default_pwds -t
27 [usb] pm3 --> mem load -f iclass_default_keys -i
28 [usb] pm3 --> lf t55xx deviceconfig --r0 -a 29 -b 17 -c 15 -d 47 -e 15 -p
29 [usb] pm3 --> lf t55xx deviceconfig --r1 -a 31 -b 20 -c 18 -d 50 -e 15 -p
30 [usb] pm3 --> lf t55xx deviceconfig --r2 -a 31 -b 20 -c 18 -d 40 -e 15 -p
31 [usb] pm3 --> lf t55xx deviceconfig --r3 -a 29 -b 17 -c 15 -d 31 -e 15 -f 47 -g 63 -p
33 Set all t55xx settings to defaults (will set all 4 at once)
34 [usb] pm3 --> lf t55xx deviceconfig -z -p
35 ```
38 ### Verify sim module firmware version
39 ^[Top](#top)
41 To make sure you got the latest sim module firmware.
43 _Latest version is v4.42_
45 ```
46 [usb] pm3 --> hw status
47 ```
49 Find version in the long output,  look for these two lines
51 ```
52 #db# Smart card module (ISO 7816)
53 #db#   version.................v2.06
57 #db# Smart card module (ISO 7816)
58 #db#   version.................v3.11
62 #db# Smart card module (ISO 7816)
63 #db#   version.................v4.13
66 ```
68 These versions is obsolete.
70 If you didn't download sim014.bin from the RRG Repo be aware that it might be corrupted or faulty.
71 You find a hash text file in this folder.   It was generated with the following linux command.
73 ```
74 sha512sum -b sim014.bin > sim014.sha512.txt
75 ```
77 You should validate the sim014.bin file against this hash file in order to be sure the file is not corrupted or faulty.
79 The following command upgrades your device sim module firmware.
80 Don't not turn off your device during the execution of this command!!
81 Even its a quite fast command you should be warned.  You may brick it if you interrupt it.
83 ```
84 [usb] pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim014.bin
85 # or if from local repo
86 [usb] pm3 --> smart upgrade -f sim014.bin
87 ```
89 You get the following output if the execution was successful:
91 ```
92 [=] --------------------------------------------------------------------
93 [!] ⚠️  WARNING - sim module firmware upgrade
94 [!] ⚠️  A dangerous command, do wrong and you could brick the sim module
95 [=] --------------------------------------------------------------------
97 [=] firmware file       sim014.bin
98 [=] Checking integrity  sim014.sha512.txt
99 [+] loaded 3658 bytes from binary file sim014.bin
100 [+] loaded 158 bytes from binary file sim014.sha512.txt
101 [=] Don't turn off your PM3!
102 [+] Sim module firmware uploading to PM3...
103  🕑 3658 bytes sent
104 [+] Sim module firmware updating...
105 [#] FW 0000
106 [#] FW 0080
107 [#] FW 0100
108 [#] FW 0180
109 [#] FW 0200
110 [#] FW 0280
111 [#] FW 0300
112 [#] FW 0380
113 [#] FW 0400
114 [#] FW 0480
115 [#] FW 0500
116 [#] FW 0580
117 [#] FW 0600
118 [#] FW 0680
119 [#] FW 0700
120 [#] FW 0780
121 [#] FW 0800
122 [#] FW 0880
123 [#] FW 0900
124 [#] FW 0980
125 [#] FW 0A00
126 [#] FW 0A80
127 [#] FW 0B00
128 [#] FW 0B80
129 [#] FW 0C00
130 [#] FW 0C80
131 [#] FW 0D00
132 [#] FW 0D80
133 [#] FW 0E00
134 [+] Sim module firmware upgrade successful    
137 Run hw status command to verify that the upgrade went well.
140 [usb] pm3 --> hw status
143 ## Next steps
144 ^[Top](#top)
146 For the next steps, please read the following page:
148 * [Commands & Features](/doc/md/Use_of_Proxmark/3_Commands-and-Features.md)