# Kali Installation
Kali users usually must kill their modem manager in order for the proxmark3 to enumerate properly.
```sh 
sudo apt remove modemmanager
```

# Video Installation guide
[![Kali Installation tutorial](https://github.com/5w0rdfish/Proxmark3-RDV4-ParrotOS/blob/master/screenshot-www.youtube.com-2019.03.17-20-44-33.png)](https://youtu.be/t5eBPS6lV3E "Kali Linux Installation Tutorial")


---
## Manual Install
First what we want to do is get an update for the system. If you need to upgrade do this **before** the install
An upgrade was carried out prior to following these instructions. 

### Update
```sh
sudo apt-get update
``` 
### Requirements.

```sh
sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev \
libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config wget libncurses5-dev gcc-arm-none-eabi
```
If you do get any issues during the requirements installation, I have found it to help using the synaptic package manager. 

### Clone Fork 
```sh
git clone https://github.com/RfidResearchGroup/proxmark3.git
```

### Change directory into the directory created
```sh
cd proxmark3
```

### Get the latest commits
```sh
git pull
```

### Remove Modem Manager
```sh
sudo apt remove modemmanager
```
### Reboot Kali
```sh
 reboot
```

### Change directory back to proxmark3
```sh
cd proxmark3
```

### Clean and Compile
Clean and complete compile

```sh
 make clean && make all
```
### Check Connection
Once this is complete run the following comands to make sure the proxmark is being picked up by your computer. 

```sh
sudo dmesg | grep -i usb
```
It should show up as a CDC device:
```sh
[10416.555108] usb 2-1.2: Product: PM3
[10416.555111] usb 2-1.2: Manufacturer: proxmark.org
[10416.555871] cdc_acm 2-1.2:1.0: ttyACM0: USB ACM device
```

### Flash the BOOTROM & FULLIMAGE
 ```sh
 client/flasher /dev/ttyACM0 -b bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
```
> **Note**  If you have any issues connecting or during the flash, follow the steps listed [here](https://github.com/RfidResearchGroup/proxmark3/issues/35) and use the command sudo apt remove modemmanager 


### Change into the client folder

```sh
cd client
```

### Run the client 
 ```sh
./proxmark3 /dev/ttyACM0
```
 
### Run a test command
 ```sh
hw tune
```

