2019-04-08 06:38:00 +08:00
### First things on your RDV40
2020-09-03 16:22:35 +08:00
2019-04-08 06:38:00 +08:00
You will need to run these commands to make sure your rdv4 is prepared
2019-05-06 01:53:58 +08:00
```
2020-09-03 16:22:35 +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.
```
2020-05-22 04:28:55 +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)
2020-05-22 04:28:55 +08:00
[usb] pm3 --> lf t55xx deviceconfig z p
2019-05-06 01:53:58 +08:00
```
2019-04-08 06:38:00 +08:00
2020-09-03 16:22:35 +08:00
2019-04-08 06:38:00 +08:00
### Verify sim module firmware version
2019-05-06 01:53:58 +08:00
2019-04-08 06:38:00 +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-04-08 06:38:00 +08:00
2019-05-06 01:53:58 +08:00
```
2020-05-22 04:28:55 +08:00
[usb] pm3 --> hw status
2019-05-06 01:53:58 +08:00
```
2019-04-08 06:38:00 +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
```
2019-08-30 05:43:48 +08:00
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.
2019-08-30 05:43:48 +08:00
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-30 05:43:48 +08:00
```
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.
2019-08-30 05:43:48 +08:00
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!!
2019-08-30 05:43:48 +08:00
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
```
2020-07-23 16:11:37 +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
2020-07-23 16:11:37 +08:00
[usb] pm3 --> smart upgrade f tools/simmodule/sim011.bin
2019-05-06 01:53:58 +08:00
```
You get the following output if the execution was successful:
```
[!] WARNING - Smartcard socket firmware upgrade.
[!] A dangerous command, do wrong and you will brick the smart card socket
[+] Smartcard socket firmware uploading to PM3
..
[+] Smartcard socket firmware updating, don't turn off your PM3!
#db# FW 0000
#db# FW 0080
#db# FW 0100
#db# FW 0180
#db# FW 0200
#db# FW 0280
[+] Smartcard socket firmware upgraded successful
```
2019-08-30 05:43:48 +08:00
Run hw status command to verify that the upgrade went well.
```
2020-05-22 04:28:55 +08:00
[usb] pm3 --> hw status
2019-08-30 05:43:48 +08:00
```
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