<commit_before># RPI3 Image with native monitor mode and/TFT (3.5) Support

This uses re4son's PI TFT kernel with Nexmon firmware for native monitor mode.

## Instructions

On Ubuntu or Kali download prereqs:
```bash
apt-get install -y git-core gnupg flex bison gperf libesd0-dev build-essential \
zip curl libncurses5-dev zlib1g-dev libncurses5-dev gcc-multilib g++-multilib \
parted kpartx debootstrap pixz qemu-user-static abootimg cgpt vboot-kernel-utils \
vboot-utils bc lzma lzop xz-utils automake autoconf m4 dosfstools rsync u-boot-tools \
schedtool git e2fsprogs device-tree-compiler ccache dos2unix debootstrap libgmp3-dev:i386 libgmp3-dev
```
Get the latest kernel and nexmon by running bootstrap.sh
```bash
./bootstrap.sh
```
Modify the variables at the top of pi3.sh.  You can turn off TFT display by turn it to false.

Then run pi3.sh with version number
```bash
./pi3.sh 0.1
```

## Modification

To change the size of LCD screen modify the command line with correct size of screen:
```bash
sudo chroot $dir /bin/bash -c "/root/re4son-pi-tft-setup -t 35r -u /root"
```

Then run.

## Sources:

```bash
Steev's Scripts: https://github.com/offensive-security/kali-arm-build-scripts
re4son: https://whitedome.com.au/re4son/sticky-fingers-kali-pi/#Vanilla
re4son's github: https://github.com/re4son/
nexmon: https://github.com/seemoo-lab/bcm-rpi3
```<commit_msg>Add release link<commit_after># Raspberry Pi 3 Image with native monitor mode and/TFT (3.5) Support

* This is an unofficial Kali Raspberry Pi 3 image *

This uses re4son's PI TFT kernel with Nexmon firmware for native monitor mode.

## Download

Don't want to build but you are ready to download?

https://github.com/nethunteros/rpi3-kalimon/releases

## Instructions to build

On Ubuntu or Kali download prereqs:
```bash
apt-get install -y git-core gnupg flex bison gperf libesd0-dev build-essential \
zip curl libncurses5-dev zlib1g-dev libncurses5-dev gcc-multilib g++-multilib \
parted kpartx debootstrap pixz qemu-user-static abootimg cgpt vboot-kernel-utils \
vboot-utils bc lzma lzop xz-utils automake autoconf m4 dosfstools rsync u-boot-tools \
schedtool git e2fsprogs device-tree-compiler ccache dos2unix debootstrap libgmp3-dev:i386 libgmp3-dev
```
Get the latest kernel and nexmon by running bootstrap.sh
```bash
./bootstrap.sh
```
Modify the variables at the top of pi3.sh.  You can turn off TFT display by turn it to false.

Then run pi3.sh with version number
```bash
./pi3.sh 0.1
```

## Modification

To change the size of LCD screen modify the command line with correct size of screen:
```bash
# This example is a 3.5" screen
sudo chroot $dir /bin/bash -c "/root/re4son-pi-tft-setup -t 35r -u /root"
```
You can also run the same command to switch to TFT display if you install one later:
```
/root/re4son-pi-tft-setup -t 35r -u /root
```

## Sources:

```bash
Steev's Scripts: https://github.com/offensive-security/kali-arm-build-scripts
re4son: https://whitedome.com.au/re4son/sticky-fingers-kali-pi/#Vanilla
re4son's github: https://github.com/re4son/
nexmon: https://github.com/seemoo-lab/bcm-rpi3
```
{'fraction_non_alphanumeric': 0.10497416020671835, 'fraction_numerical': 0.02099483204134367, 'mean_word_length': 4.144518272425249, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028328', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1078, 'n_words': 367}