prepping for sim module firmware upgrade file

This commit is contained in:
iceman1001 2022-12-05 22:32:40 +01:00
commit 53b2909f04
11 changed files with 874 additions and 47 deletions

View file

@ -6,24 +6,26 @@ Always use the latest repository commits from *master* branch. There are always
## Table of Contents
* [pm3 or pm3-flash* doesn't see my Proxmark](#pm3-or-pm3-flash-doesnt-see-my-proxmark)
* [pm3-flash* stops and warns about up-to-date firmware images](#pm3-flash-stops-and-warns-about-up-to-date-firmware-images)
* [My Proxmark3 seems bricked](#my-proxmark3-seems-bricked)
* [Maybe just a false alarm?](#maybe-just-a-false-alarm)
* [Find out why it would be bricked](#find-out-why-it-would-be-bricked)
* [Determine if the bootloader was damaged or only the main OS image](#determine-if-the-bootloader-was-damaged-or-only-the-main-os-image)
* [Ok, my bootloader is definitively dead, now what?](#ok-my-bootloader-is-definitively-dead-now-what)
* [Slow to boot or difficulties to enumerate the device over USB](#slow-to-boot-or-difficulties-to-enumerate-the-device-over-usb)
* [Troubles with SIM card reader](#troubles-with-sim-card-reader)
* [Troubles with t5577 commands or MFC/iClass/T55x7 dictionaries](#troubles-with-t5577-commands-or-mfciclasst55x7-dictionaries)
* [File not found](#file-not-found)
* [Pixmap / pixbuf warnings](#pixmap--pixbuf-warnings)
* [Usb cable](#usb-cable)
* [WSL explorer.exe . doesn't work](#WSL)
* [Troubles with running the Proxmark3 client](#troubles-with-running-the-proxmark3-client)
* [libQt5Core.so.5 not found](#libQt5Coreso5-not-found)
* [Target attribute is not supported on this machine](#target-attribute-is-not-supported-on-this-machine)
* [Qt: Session management error:](#qt-session-management-error)
- [Troubleshooting guide](#troubleshooting-guide)
- [Table of Contents](#table-of-contents)
- [`pm3` or `pm3-flash*` doesn't see my Proxmark](#pm3-or-pm3-flash-doesnt-see-my-proxmark)
- [`pm3-flash*` stops and warns about up-to-date firmware images](#pm3-flash-stops-and-warns-about-up-to-date-firmware-images)
- [My Proxmark3 seems bricked](#my-proxmark3-seems-bricked)
- [Maybe just a false alarm?](#maybe-just-a-false-alarm)
- [Find out why it would be bricked](#find-out-why-it-would-be-bricked)
- [Determine if the bootloader was damaged or only the main OS image](#determine-if-the-bootloader-was-damaged-or-only-the-main-os-image)
- [Ok, my bootloader is definitively dead, now what?](#ok-my-bootloader-is-definitively-dead-now-what)
- [Slow to boot or difficulties to enumerate the device over USB](#slow-to-boot-or-difficulties-to-enumerate-the-device-over-usb)
- [Troubles with SIM card reader](#troubles-with-sim-card-reader)
- [Troubles with t5577 commands or MFC/iClass/T55x7 dictionaries](#troubles-with-t5577-commands-or-mfciclasst55x7-dictionaries)
- [File not found](#file-not-found)
- [Pixmap / pixbuf warnings](#pixmap--pixbuf-warnings)
- [Usb cable](#usb-cable)
- [WSL](#wsl)
- [Troubles with running the Proxmark3 client](#troubles-with-running-the-proxmark3-client)
- [libQt5Core.so.5 not found](#libqt5coreso5-not-found)
- [target attribute is not supported on this machine](#target-attribute-is-not-supported-on-this-machine)
- [Qt Session management error](#qt-session-management-error)
## `pm3` or `pm3-flash*` doesn't see my Proxmark
@ -159,9 +161,9 @@ proxmark3 <YOUR_PORT_HERE> --flash --image /usr/local/share/proxmark3/firmware/f
proxmark3 <YOUR_PORT_HERE> --flash --image /usr/share/proxmark3/firmware/fullimage.elf
using the script:
pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim011.bin
pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim012.bin
<>
pm3 --> smart upgrade -f /usr/share/proxmark3/firmware/sim011.bin
pm3 --> smart upgrade -f /usr/share/proxmark3/firmware/sim012.bin
```
If you didn't install the PRoxmark but you're working from the sources directory and depending how you launch the client, your working directory might be the root of the repository:
@ -184,7 +186,7 @@ client/proxmark3 <YOUR_PORT_HERE> --flash --image armsrc/obj/fullimage.elf
<>
./proxmark3 <YOUR_PORT_HERE> --flash --image ../armsrc/obj/fullimage.elf
pm3 --> smart upgrade -f sim011.bin
pm3 --> smart upgrade -f sim012.bin
```
etc.

View file

@ -40,7 +40,7 @@ Set all t55xx settings to defaults (will set all 4 at once)
To make sure you got the latest sim module firmware.
_Latest version is v3.11_
_Latest version is v4.12_
```
[usb] pm3 --> hw status
@ -51,27 +51,33 @@ Find version in the long output, look for these two lines
```
#db# Smart card module (ISO 7816)
#db# version.................v2.06
or
#db# Smart card module (ISO 7816)
#db# version.................v3.11
```
This version is obsolete.
These versions is obsolete.
If you didn't download sim011.bin from the RRG Repo be aware that it might be corrupted or faulty.
If you didn't download sim012.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.
```
sha512sum -b sim011.bin > sim011.sha512.txt
sha512sum -b sim012.bin > sim012.sha512.txt
```
You should validate the sim011.bin file against this hash file in order to be sure the file is not corrupted or faulty.
You should validate the sim012.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.
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.
```
[usb] pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim011.bin
[usb] pm3 --> smart upgrade -f /usr/local/share/proxmark3/firmware/sim012.bin
# or if from local repo
[usb] pm3 --> smart upgrade -f sim011.bin
[usb] pm3 --> smart upgrade -f sim012.bin
```
You get the following output if the execution was successful:
@ -82,13 +88,13 @@ You get the following output if the execution was successful:
[!] ⚠️ 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
[=] firmware file sim012.bin
[=] Checking integrity sim012.sha512.txt
[+] loaded 864 bytes from binary file sim012.bin
[+] loaded 141 bytes from binary file sim012.sha512.txt
[=] Don't turn off your PM3!
[+] Sim module firmware uploading to PM3...
🕑 733 bytes sent
🕑 864 bytes sent
[+] Sim module firmware updating...
[#] FW 0000
[#] FW 0080
@ -96,6 +102,7 @@ You get the following output if the execution was successful:
[#] FW 0180
[#] FW 0200
[#] FW 0280
[#] FW 0300
[+] Sim module firmware upgrade successful
```