proxmark3/doc/md/Use_of_Proxmark/2_Configuration-and-Verification.md

99 lines
2.9 KiB
Markdown
Raw Normal View History

### First things on your RDV40
You will need to run these commands to make sure your rdv4 is prepared
2019-05-06 01:53:58 +08:00
```
[usb] pm3 --> script run init_rdv4
```
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.
```
2021-01-20 18:58:43 +08:00
[usb] pm3 --> mem load -f mfc_default_keys -m
[usb] pm3 --> mem load -f t55xx_default_pwds -t
[usb] pm3 --> mem load -f iclass_default_keys -i
[usb] pm3 --> lf t55xx deviceconfig -a 29 -b 17 -c 15 -d 47 -e 15 -p
[usb] pm3 --> lf t55xx deviceconfig -r 1 -a 31 -b 20 -c 18 -d 50 -e 15 -p
[usb] pm3 --> lf t55xx deviceconfig -r 2 -a 31 -b 20 -c 18 -d 40 -e 15 -p
[usb] pm3 --> lf t55xx deviceconfig -r 3 -a 29 -b 17 -c 15 -d 31 -e 15 -f 47 -g 63 -p
2019-07-25 19:00:30 +08:00
Set all t55xx settings to defaults (will set all 4 at once)
2021-01-20 18:58:43 +08:00
[usb] pm3 --> lf t55xx deviceconfig -z -p
2019-05-06 01:53:58 +08:00
```
### Verify sim module firmware version
2019-05-06 01:53:58 +08:00
To make sure you got the latest sim module firmware.
2019-05-06 01:53:58 +08:00
2020-10-23 07:24:54 +08:00
_Latest version is v3.11_
2019-05-06 01:53:58 +08:00
```
[usb] pm3 --> hw status
2019-05-06 01:53:58 +08:00
```
Find version in the long output, look for these two lines
2019-05-06 01:53:58 +08:00
```
#db# Smart card module (ISO 7816)
#db# version.................v2.06
```
This version is obsolete.
2019-08-31 04:13:51 +08:00
If you didn't download sim011.bin from the RRG Repo be aware that it might be corrupted or faulty.
You find a hash text file in this folder. It was generated with the following linux command.
```
2019-08-31 04:13:51 +08:00
sha512sum -b sim011.bin > sim011.sha512.txt
```
2019-08-31 04:13:51 +08:00
You should validate the sim011.bin file against this hash file in order to be sure the file is not corrupted or faulty.
The following command upgrades your device sim module firmware.
2019-05-06 01:53:58 +08:00
Don't not turn off your device during the execution of this command!!
Even its a quite fast command you should be warned. You may brick it if you interrupt it.
2019-05-06 01:53:58 +08:00
```
2021-01-07 19:59:04 +08:00
[usb] pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim011.bin
2019-09-04 04:54:42 +08:00
# or if from local repo
2021-01-07 19:59:04 +08:00
[usb] pm3 --> smart upgrade -f sim011.bin
2019-05-06 01:53:58 +08:00
```
You get the following output if the execution was successful:
```
2021-01-07 19:59:04 +08:00
[=] -------------------------------------------------------------------
[!] ⚠️ WARNING - sim module firmware upgrade
[!] ⚠️ A dangerous command, do wrong and you could brick the sim module
[=] -------------------------------------------------------------------
[=] firmware file sim011.bin
[=] Checking integrity sim011.sha512.txt
[+] loaded 733 bytes from binary file sim011.bin
[+] loaded 141 bytes from binary file sim011.sha512.txt
[=] Don't turn off your PM3!
[+] Sim module firmware uploading to PM3...
🕑 733 bytes sent
[+] Sim module firmware updating...
[#] FW 0000
[#] FW 0080
[#] FW 0100
[#] FW 0180
[#] FW 0200
[#] FW 0280
[+] Sim module firmware upgrade successful
2019-05-06 01:53:58 +08:00
```
Run hw status command to verify that the upgrade went well.
```
[usb] pm3 --> hw status
```
2019-05-06 01:53:58 +08:00
## Next steps
For the next steps, please read the following page:
2019-05-06 02:05:02 +08:00
* [Commands & Features](/doc/md/Use_of_Proxmark/3_Commands-and-Features.md)
2019-05-06 01:53:58 +08:00