‫Instructor: Hi, within those lecture,
‫we're going to discuss how we can root the Android devices
‫and if we really need to root them or not.
‫So this is actually very different when we compare it
‫to the iOS devices, because iOS devices
‫are actually much more restrictive
‫when we compare them to the Android.
‫So you can do a lot of things in your Android devices
‫even though you don't have root privileges.
‫Of course, it doesn't mean that
‫you don't have to root your devices.
‫There are some other advantages as well,
‫but you may want to consider this as an option
‫if you already don't have any kind of devices
‫to spare for rooting.
‫For example, if you only have one Android device
‫and if you're using it as a daily device like a phone,
‫then I suggest you don't do that
‫because it will just expire the warranty.
‫It can't cause some kind of installation problems and stuff.
‫So it's better not to take any risk.
‫But I'm going to show you how to root it.
‫So over here, if you search for best rooting tools
‫for Android, you will see a lot of options
‫and we're going to have a look at that later on.
‫But right now, I'm just going to show you something.
‫So I'm going to open Android Studio
‫and I'm going to open any app, for example,
‫the 10 minutes app that we have worked on,
‫and I'm just opening it in order to open my emulator.
‫So you don't have to do that,
‫you just don't have to practice
‫what I'm doing right now, okay.
‫You can just try to take notes
‫and stuff because we are not going to do much over here.
‫All we are trying to understand is,
‫is how to install APKs into our devices.
‫So in iOS section, we have seen that we have to use
‫some Cydia Impactor tool in order to make this happen,
‫but it's actually much more easier in an Android device.
‫I'm going to use my emulator to display
‫how we can do that to you.
‫So I'm going to just take an APK file from here,
‫so it can be any APK, I'm going to show you a lot of APKs
‫during the iOS reverse and Android
‫reverse engineering sections.
‫But right now, I'm just going to display this,
‫you don't have to do that, okay?
‫Considering that I have an APK.
‫So this is the final product of Android development.
‫We're going to work with APKs often.
‫If I just take it and drag it on my emulator,
‫it will just install it, like this, here you go.
‫So I can just click on it and I can try to
‫just start working on this application, so it's fantastic.
‫If that doesn't work, there are a couple of other ways
‫to do so.
‫So let me show you the most anticipated ones.
‫For example, you can go to any
‫file transfer websites like files.fm.
‫So this is kind of WeTransfer,
‫but WeTransfer blocks the transfer of APK files.
‫So filesfm doesn't do that.
‫You can just send APK files with filesfm.
‫And you can create the link, okay,
‫with filesfm and you can open that link
‫on your emulator or on your Android device
‫and you can download whatever APK you are looking for
‫and just install it on your emulator
‫or on your Android device, which is cool, right?
‫So let me open my terminal.
‫And this is terminal Mac and this is cmd on Windows, okay?
‫So you know how to work with cmd.
‫If you don't know, you can go over the lower left side
‫of your Windows and click on the Windows sign
‫and just write cmd, okay?
‫It will open the comment prompt for you
‫and you can just run adb.
‫So adb is actually for Android debugging bridge.
‫So it is a command to work with emulators.
‫As you can see, it doesn't recognize adb
‫even though I have it.
‫So if I search for adb in my Mac,
‫you can do the same thing on Windows as well.
‫You can find the adb.exe on your files and folders.
‫So it should be in the Android SDK folder
‫that you have chosen to be downloaded
‫when you first installed Android Studio, right?
‫So remember we have downloaded something called SDK,
‫and in the SDK, we have a lot of folders
‫and you're gonna look for platform tools.
‫So there is my adb, for example.
‫If I just take this adb and put it on my terminal,
‫you can do the same thing on your Windows as well
‫or you can right click on it and just go to properties
‫or get info, in order to see where it's located,
‫and you can manually write it over here as well, like this.
‫Then it will work for you.
‫If I hit enter, it will show me the documentation of adb,
‫which means that it's actually working.
‫Now if I run adb list with all the thing,
‫yeah, it doesn't understand the list,
‫so let me run help and see what I'm looking for.
‫Adb actually working for me right now,
‫but I cannot find the appropriate command, I believe.
‫Yeah, we're looking for install, but before that,
‫yeah, it's devices, it's dash L.
‫So if you run adb devices, it will show you
‫or L, yeah, it doesn't work as well.
‫Let me run devices, it will show you
‫the current devices like this.
‫Here you go, this is my emulator.
‫Since I have already one emulator running up,
‫it's showing up on the list.
‫Now if I run adb install and just write the APK file
‫that I want to install over here,
‫it will just install this APK on my emulator.
‫And this is the third way.
‫Let me go to desktop by writing cd desktop
‫because it's on the desktop, right?
‫And then let me run adb install and EVABS APK, for example.
‫As you can see, it's already started installing.
‫And since it's already installed, I believe it failed,
‫but I have just shown you three ways to install APKs
‫on your Android devices.
‫You can just email them, you can just drag and drop them.
‫You can use adb install, if it's a real Android device,
‫you're just gonna have to email them, okay?
‫And if you search for download APK Android,
‫you can find millions of results to do that as well.
‫So for example, there is a website called APKPure,
‫and I believe we have APKMirror, androidapksfree.com,
‫like yeah, APKMirror is my choice most of the time.
‫You can actually find the real APKs of
‫the real world applications like Instagram, Facebook,
‫any other applications you may think of,
‫and you can download their APKs
‫and you can just install them to your emulator,
‫to your Android device so that you get to work on them.
‫And when you deal with Android reverse engineering,
‫it will be very great for you to find those APKs
‫because we're going to need the APKs.
‫So that's how you find them, and that's how you install them
‫on your emulator or on your devices.
‫So in iOS, we need additional tools.
‫And in Android, you get to do it
‫with very easily, with just one click
‫or one drag and drop or one command or one upload, okay?
‫All you had to make sure that you find the APK
‫and you can just work on it.
‫So this is not about rooting, I know,
‫but I'm just trying to make this point
‫that you don't have to have root
‫in order to do this stuff on Android.
‫We're going to discuss this issue further in next lecture.