Welcome back.
Just for completeness, let's also have a look into installing the Android x86 VM.
I mean, the most preferred setup is using a dedicated device and really device in case if you cannot
afford one, no problem then please try running it on the whole system, the Android studio and use
the emulator on the host system.
So you could also use this Ubuntu system into a virtual machine, but the emulator at least of the Android
studio should be running on your host system in case if this option is also not possible or available
right now, then you might want to have this Android x86 as a separate virtual machine.
So that's the only reason when you should use this.
If the other two options are not available during this course, I will work a lot with this, but having
the emulator running on the whole system is in way better user experience.
Nevertheless, let's find out how to install this Android x86 PM because there might be some pitfalls
in there which can be a little bit tricky to deal with.
So therefore let's find this out.
Let's go.
OC And first of all, we need to download the ISO image to install this on a new virtual machine.
And therefore I'm just searching for Android x86 and here we have it, https android x86 dot org.
Okay, let's click on this one.
And here we have now several download options.
So let's hit this download button.
There we go.
So we can download this ISO image from FOSS up or also from some other microsites, for example, SourceForge
or with the Air Force app.
Yes, Head and Bridge in 2016.
But for now I haven't heard of any.
So I guess downloading it from Photoshop should be okay, so let's do this and there we go.
So here we can see we've got several different ISO files, we've gotten 64 bit version, we've gotten
32 bit version and we also have 64 once again.
But this one is 9.0, our two and this one is K 49.
So these are different.
So this one is the preferred file for us.
This one, the 32 bit or 64.
I mean, this really doesn't matter because we're not providing eight gigabyte of RAM to this machine.
So you can choose whatever you like.
I go for the 32 bit version over here.
Okay, so let's click on this one and we can see this download is being started 700 and be shouldn't
take too long right now what we also want to make sure is checking the signature.
But in case if insight gets breached and the attacker is changing this file, the attacker might also
change the signature.
But I mean, this is all we can do right now regarding to proofing if this file is is valid or not.
And so let's see, I have downloaded the 32 bit version, so let's open the signature here we have them,
we've got an MP five and SHA one and odds on SHA 256.
So let's go for the SHA 256.
That's an hash sum which gets generated over this file and this is an mathematical one by operation.
So it couldn't be reversed, which means we put some stuff into this algorithm and we get back those
hash digests over here.
So if we're doing this same operation on this file, we should always get the same hash digest.
So that's some kind of proof we can do.
But as already mentioned, an attacker can, of course, also manipulate this file, change those digests,
and then we wouldn't see any difference.
Nevertheless, let's do this anyway.
So the download O has been already finished.
Could I open a new terminal?
All right, so on the landing system, we would type something into the terminal like SHA 256 some and
on a mac it's something like oh sha some and then there's a 256 I guess, let's see.
So let's build this hash some all this iso.
This might take a while.
It's not taking too long, but it's an ethical operation which yeah.
Which requires a little bit of time.
And here we have it right now.
So let's see.
We've got 91c.
91c Yes.
And at the end we've got the 0 to 1 021.
And let's also pick something in the middle.
For example, 4147941479.
All right.
So this has some should be identical and therefore it is at least the file mentioned on the website.
So that's all we can do right now.
Alrighty, let's install this.
So therefore I'm using the MX there, but you can use virtualbox or whatever you like.
Okay.
So over here I create a new one and then I select create custom virtual machine continue.
Then I'm choosing Linux and I'm having a 32 bit version right now.
So in my case, what's the kernel?
Let's see.
I guess it's it's in for kernel.
Yes.
Let's choose this one in case if you have downloaded the 64 bit version, then also please choose in
64 bit kernel.
But for now I have downloaded the 32 bit version.
So I click Continue Here, Choose Legacy BIOS, create new virtual disk and this one is now.
So this doesn't need to be large.
So eight gigabytes should be well enough for this one.
All right.
And then we click customize settings because we want to have at least a little bit more RAM.
So Android x 86.
Okay.
Processor and memory.
And we increased this to, let's say, 2048 and maybe two costs.
So this should be well enough.
Back to this one.
I mean, you see Bluetooth connection, we do not have to enable use P three for this one, but nevertheless,
let's do this over here.
Okay.
And then we have to insert this ISO here, connect the CD drive and then let's choose this ISO we have
currently downloaded in this one.
All right, but an advance option?
No, that's good.
Okay, so this looks good.
Let's close this one.
And now let's simply hit this play button.
Okay.
So the system is booting and here we have it.
We've got 60 seconds to react to the screen right now.
And what we need to do is simply using the arrow down key to go into advanced options.
And then, let's see, we want to use the auto installation.
Until specified hard disk.
Yes, this one.
And then we click enter.
Oh right.
A lot of terminal.
You have to choose out.
Installation will erase.
Yes, that's okay.
We want to erase everything.
I mean, regarding to this hard disk we have currently setup, not regarding to our main system.
Okay, these files are being written and that's all amazing, right?
So this is the whole installation process for this one.
But now we face a little bit of a problem if we click, for example, reboot and let's do this.
Then we can see we've got now the Android x86 and version nine here.
Now it's booting from this one and.
And then we go, this is the console and we are stuck at this point.
I mean, this console, let's see.
Yes, it's working and we've got access to the system, but we want to have an emulator with graphical
UI and things like this.
But it seems not to be available right now.
And the reason for this is, I guess within the legacy bios.
So there's some little issue with the with some graphics configuration, but we can fix them easily.
And to do this, we simply hit reboot.
Okay.
So here we have to select the down arrow key a little fast because we only have 4 seconds and then we
go into the back mode.
All right.
Let's start this once again.
A lot of text appearing on the terminal, but that's okay.
Yes.
Sometimes it stacks a little bit and we have to press enter that.
The terminal appears over here.
So now we've got the terminal.
What we want to do right now is creating an certain grab entry.
And this one enabled some graphics option that the device puts in this UI mode and not this fancy terminal
mode over here.
All right.
So therefore, we need to mount this disk first and we can do this in the following way.
So let's first clear the screen.
Okay.
To do this, we need to remount the mount partition first to make it read readable that we can modify
this file and we can do this in the following way.
We can use Mount Dash or remount then comma re.
Right.
And this mount entry point.
Yes.
Okay.
Now we have remounted the partition, but it's regrettable.
So therefore we can also modify those files.
And the file we want to modify is the grub menu list.
So the grub is the is the bootloader and this one starts the system with some kernel parameters and
then we want to add in certain one.
So we go into the mount directory and here we have notice crop and here we have now and file, there
is that menu list there we have it so we can, we can print this out and yeah, that's the these are
the entries we can see in our grub.
But now we want to modify this.
And to be honest, it's getting a little bit dirty because we do not have nice graphic editors on the
system right now.
But we can do this with VI and I will guide you through this.
So we are opening this file right now with v i so we I menu list.
Okay.
And then we need to go into the first entry and we need to scroll down to the end of the line.
So now we need to go to the end of the line, then space and then we want to add some additional kernel
parameters.
No mode set X for some reason.
All right.
This will add this normal set and X files visa and three, which will load some additional graphic support,
which means the system can then start the UI without crashing it.
All right.
Okay.
To leave this menu, we need to hit the escape button, then.
Colon.
Escape.
Colon.
There we go.
W Q exclamation mark.
All right.
And now let's print this file once again out to see if our entry has been has been taking place.
Yes.
No.
Outside X-Force.
Okay.
This looks good right now.
So what we can do is simply hitting, reload and rebuild.
Seems not to work and restart.
No, I guess it's power off and some additional command.
But we can also do this over here.
So I click restart the system.
Yes.
And now if we start the first entry, the additional kernel parameters will be loaded and let's see
if our system boots up in a graphical view because we do not want to interact on this device on the
command line.
And there we go.
Yes, perfect.
All right.
And this is all we need to do to install the system.
It takes, I guess, just a minute and to keep it running.
And yes, this is all we need to do to install the system.
So now, yes, we have it over here.
Let's go through this real quick.
So that's the installation routine.
We can use the mouse to interact with this one.
Okay.
This is something I want to skip.
Just a second.
All right.
And date and time.
Let's hit next.
Oh, this is something.
No, no diagnose, no location staff.
Well, right and set.
Well, here we can choose an pin pattern, but not now.
We do not want to lock the system.
Skip anyway.
And then we have it here.
We can now select in home app.
I use quickstep.
This is just regarding to let's click always regarding to the launcher.
So how this UI should look like.
Okay.
And here we have right now.
So this is our Android x86 virtual machine running right now and we've got something nice this time,
this terminal emulator which makes interacting with this device a little bit easier.
So this is now in terminal running directly on this on this virtual machine without having to need to
interact with this one via ADB.
But more on this later.
All right.
I guess for now it's enough.
I have also included these steps in the cheat sheet.
So what you need to do at what point and provide some additional information, what exactly these options
are for in case if you have some problems, feel free to write me a message underneath this video and
otherwise, I'm looking forward to see you in the next one where we finally start.
Yeah.
Hacking and mobile applications.
So thanks for all this patience during the installation process.
And now.
Yeah, let's have some fun.
I'm really looking forward to see you there.