Now, I want to walk you through some steps
here with ADB getting connected.
So I have connected this device to my computer,
and I want to see what this looks like in my VM.
So I'm going to click on the command prompt.
Now, let me read you that since that popped up.
I'm going to click on the command prompt,
and I'm going to type adb--
let me zoom in here--
adb, space, devices.
And it's scanning.
It's saying list of attached devices.
And I'm purposely going to ignore something.
It says Unauthorized when you see this,
my phone is asking me, do you want
to allow USB debugging from the fingerprint of this computer?
I'm going to select Always allow from this computer and Allow.
Now, what I'm going to do is press the up arrow again--
adb devices.
And we can see we have information about this device.
So we can see we have--
it tells me this device is attached.
Fantastic.
If you need more information, if you do adb devices -l,
it tells you a little bit more.
It's saying, OK, this is a Samsung model SM-G970U1.
You have that information.
This is the first step in having success.
So here is exactly what we're looking at.
We have adb.
If nothing appears, like you see on that left-hand screenshot,
it's because, one, maybe your device isn't connected,
two, maybe you didn't enable USB to bugging, three,
did you go and revoke USB debugging?
And then four, this sounds crazy,
but try a different cable.
If it says unauthorized, which you'll see in the next screen,
you have to do what I did and trust the device.
If it says device, you have success.
So at this point, you can start typing different ADB commands
to interact with that actual phone.