- In this video, I'm gonna show you how to install
Kali Net Hunter Pro on a Pinephone.
So in this example, I can log into this phone,
which is running Kali and I could as an example,
start a terminal and run Nmap on the phone.
The installation of Kali Net Hunter Pro is actually
a lot simpler than Net Hunter,
so you don't have to route a Android phone
and then install Kali Net Hunter on the phone.
In this example, the installation is a lot simpler,
but that's enough talking.
Let me show you how to get
Kali Net Hunter installed on a Pinephone.
At the moment, the Pinephone is not running Kali Linux.
So to get it installed, we can go to kali.org,
click download, click mobile, and what we're told to do
if we wanna install Net Hunter Pro
is install the tow boot of bootloader.
So I'll open up another tab and we're told that
the tow boot, bootloader has to be installed
if it's not pre-installed already.
We can use the links
for either the Pinephone or Pinephone Pro.
This is a Pinephone Pro, so I'm going to open up that tab.
And then we told that we can install it
on the Pinephone using this command as an example,
but what I'm gonna do is go to the tow boot repository.
So tow boot on GitHub.
I'm going to look at the latest release,
which is August, 2022
at the time of this recording,
and I'm going to download the software
for the Pinephone Pro.
So Pine64, Pinephone Pro 2021.10-005,
and I'm gonna put that on my downloads directory.
Okay, the software is now downloading,
it's about 34 meg in size.
So I'll open up the folder.
It's a tar.xz file, so I'm going to open it up
with 7-Zip so I can extract it to this directory.
If you don't have 7-Zip installed,
you can download it from
the 7-Zip.org website free download.
So just download the software for the relevant version
of Windows or other operating system that you're using.
I also need to un-tar the tar file.
So right click, show more options,
7-Zip extract the file, and there it is.
The file that we are looking for
is this spi.installer.img.
So as you can see on the documentation, we could use DD.
That's the image file.
So spi.installer.img, and then where we're putting it.
But what I'll do here,
because I'm using a Windows computer.
I'm only using Windows
in this example because most people would use Windows.
You could use Linux if you preferred.
In this example, I'm gonna download Etcher.
You could use again,
other software if you prefer doing that.
I'm gonna download the portable version for Windows.
You could download the installation file,
about 133 meg in size.
Okay, so the software is installed, I'll run that.
What we're gonna do here is flash it from a file.
So I'm gonna go to my downloads directory,
go to the tar directory that we've extracted.
We want this SPI installer image file.
Now we need to set a target.
What I've got here is a micro SD card
which we're gonna use on the phone,
but I'll put it into this so that
I can flash it by my computer.
So we are gonna flash from file.
The file that we want is the file that we extracted,
the SPI installer image file.
I'll click open, I'll select the target,
which is my SD card, and then I'll click flash.
Okay, so you can see it's flashing
and there you go, that's completed.
Okay, so I'll close the application down.
I'll take my SD card, and then let's open the phone.
I'll remove the battery and then I'll insert the SD card.
So I've got the SD card inserted.
I can put the battery back.
I need to use a paperclip
or something to press this RE button.
So I'll press the RE button in and turn the phone.
LED now turns yellow, and there you go.
Tow boot has started.
Now if you have problems,
have a look at the documentation.
We're told that once done,
power off the Pinephone, remove its battery,
and insert the SD card in the SD card slot, which I did.
Put the battery back in the Pinephone and power it on.
Reminder that at this point you should
be holding the RE button
until the phone vibrates and the LED lights up red.
When starting up tow boot, which the installer image uses,
the phone will vibrate slightly and the LED will turn red.
After a moment, it'll turn yellow,
and that's exactly what we saw.
And then we'll see the GUI, which we're seeing now.
So what we need to do now
is select install tow boot to SBI flash.
So I'm gonna press that option
and then I'm gonna say start installation.
As you can see now, the software's installing.
And there you go,
you can see that that's completed.
So we can go back to the main menu
and then we can power off the device.
Okay, so we've got tow boot installed.
Now we need to install Kali Net Hunter
onto a micro SD card.
The one that I'm gonna download
is the Pinephone Pro software
because that's once again, the phone that I'm using.
So I'll download that software to my desktop.
Now that's gonna take a while.
It's 863 meg in size.
So what I'll do is just go
to the software that I've pre-downloaded.
I've got the Net Hunter Pro tar file,
so I will go more options, 7-Zip and extract it.
So that's now being extracted.
Okay, so in that directory we've got a tar file.
So what I need to do again is show more options,
7-Zip and extract that file.
So now I've got the image file in this directory.
And then what I can do again,
start my Etcher software.
The file I'm gonna flash is
desktop, pre-downloads, Net Hunter Pro,
and it's that image file, open.
We need to select a target.
So I've got another SD card here,
which I'll plug into my computer
and then I'll select the target,
which is that drive, and then I'll flash it.
Okay, so that's starting
and you can see that it's busy flashing.
So while I'm waiting for that,
I'll open up the phone
and take out the other SD card.
You could obviously just use one and wipe the other card.
I'll take that out, which has got tow boot installed on it.
Busy validating.
And there you go, the flash is complete.
So I'll remove that from my computer.
So I've got the SD card,
which I'll insert into the phone.
So there you go.
I'll put the battery back.
What we told now is boot the device from the SD card
by holding the volume down key until the LED turns blue.
Hold the volume down and turn the device on.
You can see we've got a red LED at the top.
Now that's gone blue,
so I'll release the volume down button,
and there you go.
We busy booting Kali Linux on this Pinephone.
Username is Kali, password is 1234.
Okay, and there you go.
I've been able to log into Kali Net Hunter.