Root Android (Kali Linux NetHunter install)

David Bombal
9 Apr 202317:26

Summary

TLDRThis instructional video demonstrates the process of rooting an Android phone, specifically a OnePlus Seven T running Android 11, to prepare it for the installation of Kali NetHunter. The guide covers unlocking the bootloader, installing necessary drivers, and using Magisk to gain root access. It emphasizes the importance of using official software and drivers for safety and provides a step-by-step approach for educational purposes, with a focus on legality and ethical use.

Takeaways

  • πŸ“± The video demonstrates how to root an Android phone, specifically a OnePlus Seven T, to prepare it for the installation of software like Kali NetHunter.
  • πŸ”’ Rooting is necessary to utilize the full capabilities of Kali NetHunter, including attacking Wi-Fi networks and running HID attacks.
  • πŸ”„ The presenter chooses not to upgrade the phone to a later Android release to ensure the use of official drivers from the OnePlus website.
  • πŸ› οΈ The process involves unlocking the bootloader, enabling OEM unlocking and USB debugging, and installing necessary drivers for potential recovery from a 'bricked' state.
  • πŸ’Ύ The video mentions different versions of Kali NetHunter, including Rootless, Lite, and the full package with a custom kernel for supported devices.
  • πŸ”— The video provides guidance on downloading platform tools from Android Studio and emphasizes the importance of agreeing to the license terms.
  • πŸ”„ The presenter explains the steps to enter Fastboot mode and the importance of having the correct drivers installed on Windows for device recovery.
  • πŸ“ The script includes instructions on downloading and using a payload-dumper tool to extract the boot image file from the firmware.
  • πŸ”„ Magisk, a popular rooting solution, is used in the video to root the device by pushing the boot image to the phone and flashing it.
  • πŸ“² The video script provides a step-by-step guide, including the use ofADB commands, to ensure the phone is properly rooted.
  • πŸ›‘οΈ After rooting, the video suggests using a Root Checker app to verify that the phone has been successfully rooted for educational and lawful purposes.

Q & A

  • What is the purpose of the video?

    -The purpose of the video is to demonstrate how to root an Android phone, specifically a OnePlus Seven T, in preparation for installing software like Kali NetHunter.

  • Why is it necessary to root an Android phone for using Kali NetHunter?

    -Rooting an Android phone is necessary for using the full power of Kali NetHunter, including features like WiFi injection and HID attacks, which require a rooted device.

  • What are the different versions of Kali NetHunter mentioned in the video?

    -The video mentions three versions of Kali NetHunter: Rootless install, NetHunter Lite, and the full NetHunter package with a custom kernel for supported devices.

  • Why does the video recommend using a OnePlus device for learning how to root an Android phone?

    -The video recommends OnePlus devices because there are available instructions for rooting them, and they are commonly used for such demonstrations, making them a good choice for educational purposes.

  • What is the Android version used in the demonstration, and why was it chosen?

    -The Android version used in the demonstration is 11.0.9.1.HD65BA. It was chosen because it is the latest official release for the OnePlus Seven T at the time of the video, and it allows for obtaining official drivers from the OnePlus website.

  • What is the role of the Root Checker app in the video?

    -The Root Checker app is used to verify that the Android phone has been successfully rooted after following the steps demonstrated in the video.

  • What is the first step to enable on the phone before rooting?

    -The first step is to enable Developer Mode and Developer Options on the phone, which includes tapping the bold number seven times in the About Phone section.

  • What are the two options that need to be enabled in Developer Options for rooting?

    -The two options that need to be enabled in Developer Options are OEM unlocking and USB debugging.

  • Why is it important to install the Android Bootloader Interface drivers on the Windows computer?

    -Installing the Android Bootloader Interface drivers is important to ensure that if the phone is bricked during the rooting process, it can be un-bricked using the Windows computer.

  • What is the purpose of the payload-dumper tool downloaded from GitHub?

    -The payload-dumper tool is used to extract the boot image file from the firmware, which is necessary for modifying the boot image to include the rooting package like Magisk.

  • How does the video ensure that the rooting process is successful?

    -The video ensures the rooting process is successful by using the Root Checker app to verify root access after the phone has been rebooted and Magisk is installed.

Outlines

00:00

πŸ“± Preparing Android for Rooting and NetHunter Installation

The video begins with an introduction to rooting an Android phone, specifically a OnePlus Seven T running Android 11, to prepare it for the installation of software like Kali NetHunter. The presenter explains that rooting is necessary to utilize the full capabilities of NetHunter, such as attacking Wi-Fi networks. The video will guide viewers through the rooting process, using the official Android drivers from the OnePlus website to avoid installing unreliable software. The presenter also mentions different versions of NetHunter, including NetHunter Pro for PinePhone, which will be demonstrated in a separate video. The video provides timestamps for viewers to navigate to specific sections and emphasizes that the instructions are for educational purposes only.

05:03

πŸ”§ Enabling Developer Mode and Installing Necessary Drivers

The second paragraph details the process of enabling developer mode on the OnePlus Seven T by tapping the 'Build number' in 'About Phone' seven times. It then instructs viewers to enable OEM unlocking and USB debugging in the 'Developer Options'. The presenter guides the audience through installing the necessary drivers on a Windows computer to handle potential issues like 'bricking' the phone. This includes checking for updates in Windows to find and install the 'Android Bootloader Interface' driver from Google Inc. The video also covers how to enter Fastboot mode on the phone and the importance of rebooting Windows to ensure the drivers are properly installed.

10:04

πŸ”„ Unlocking Bootloader and Initial Phone Setup

In this section, the video script explains how to unlock the bootloader of the OnePlus Seven T. This involves using the 'adb reboot edl' command in a terminal window to boot the phone into EDL mode and then using 'fastboot OEM unlock' to unlock the bootloader. The presenter warns viewers not to set up any security measures like face or fingerprint locks after the phone reboots, but to proceed with the initial setup. The video also guides viewers on how to download and install the payload-dumper tool from GitHub to extract the boot image file from the firmware, which is essential for the rooting process.

15:04

πŸ›  Rooting the Device with Magisk and Verifying Root Access

The final paragraph outlines the process of rooting the device using Magisk. The presenter instructs viewers to download and install the Magisk APK, select the boot image, and install it using the Magisk app. After the installation, the boot image file is pulled from the phone to the Windows computer using 'adb pull'. The patched boot image is then flashed back to the phone using 'fastboot flash boot'. The video concludes with verifying that the phone has been successfully rooted using the Root Checker app from the Play Store, and the presenter promises to show the installation of Kali NetHunter in a subsequent video.

Mindmap

Keywords

πŸ’‘Root Checker app

The Root Checker app is a software utility used to verify whether an Android device has been rooted or not. In the context of the video, it is used to confirm that the phone has been successfully rooted, which is a prerequisite for installing certain types of software, such as Kali NetHunter. The script mentions using the Root Checker app to verify the phone's rooted status after the rooting process.

πŸ’‘Rooting

Rooting refers to the process of gaining administrative access to an Android device's operating system. It allows users to bypass restrictions set by the manufacturer or carrier, enabling the installation of custom software and modifications. In the video, rooting is the main focus as it is a necessary step before installing Kali NetHunter to utilize its full capabilities.

πŸ’‘Kali NetHunter

Kali NetHunter is a penetration testing platform that turns an Android device into a powerful hacking toolkit. It is used for various security testing purposes, such as attacking Wi-Fi networks. The video script discusses the need for rooting an Android phone to fully utilize the capabilities of Kali NetHunter.

πŸ’‘OnePlus Seven T

The OnePlus Seven T is a specific model of smartphone used in the video as an example for demonstrating the rooting process. It is mentioned as the device being used for the tutorial, and the script provides detailed steps tailored to this particular phone model.

πŸ’‘Android 11

Android 11 is the version of the Android operating system that the OnePlus Seven T in the video is running. The script mentions that the presenter is not upgrading to a later release of Android to ensure the availability of official drivers, which is important for the rooting process.

πŸ’‘OEM unlocking

OEM unlocking is a feature that allows users to remove the manufacturer's restrictions on the device, enabling actions such as flashing custom recovery or rooting. In the video, enabling OEM unlocking is a step in the process of preparing the phone for rooting.

πŸ’‘USB debugging

USB debugging is a feature in Android that allows a computer to access and control the device over a USB connection. In the script, enabling USB debugging is necessary for the computer to communicate with the phone during the rooting process.

πŸ’‘Bootloader

The bootloader is a program that runs before the operating system, responsible for loading the OS into the device's memory. In the video, unlocking the bootloader is a critical step towards rooting the phone, as it allows the user to replace the stock operating system with a custom version.

πŸ’‘Magisk

Magisk is a popular tool used for rooting and customizing Android devices. It provides a way to gain root access while maintaining the device's ability to receive official updates. The script describes using Magisk to root the OnePlus Seven T by patching the boot image.

πŸ’‘Payload-dumper

Payload-dumper is a tool mentioned in the script used to extract specific files from a firmware payload, such as the boot image. This tool is necessary for modifying the boot image to integrate Magisk, which is a step towards rooting the device.

πŸ’‘ADB

ADB stands for Android Debug Bridge, a command-line tool that allows users to communicate with an Android device for various purposes, including installing and debugging apps. In the video, ADB commands are used to manage the connection between the computer and the phone, and to push and pull files during the rooting process.

Highlights

Introduction to rooting an Android phone for the installation of advanced software like Kali NetHunter.

Rooting is necessary to utilize the full capabilities of Kali NetHunter, such as attacking Wi-Fi networks.

Kali NetHunter can be run on various devices, including virtual machines and dual-boot configurations.

The demonstration uses a OnePlus Seven T phone with Android 11 for the rooting process.

Avoiding the upgrade to a later Android release to ensure the installation of official drivers.

Instructions for enabling OEM unlocking and USB debugging on the OnePlus Seven T.

The importance of installing drivers to recover a bricked phone using the Android Bootloader Interface.

Steps to enter Fastboot mode and the necessity of having the correct drivers installed on Windows.

The process of unlocking the bootloader and the precautions to take during the initial phone setup post-unlocking.

Different versions of Kali NetHunter and their requirements, such as Rootless, Lite, and the full package.

Recommendation of OnePlus devices for learning how to root Android phones and plans to cover additional devices in future videos.

The use of a PowerPoint presentation for written instructions alongside the video demonstration.

A reminder that the rooting process should only be used for educational purposes and not for illegal activities.

Downloading and using the payload-dumper tool to extract the boot image from the firmware.

Instructions on using Magisk to patch the boot image and the subsequent installation process.

Verification of the successful rooting of the phone using a Root Checker app.

Conclusion and a preview of the next video which will cover the installation of Kali NetHunter on a rooted phone.

Transcripts

play00:00

- Here I've got an Android phone.

play00:02

But if I selected the Root Checker app,

play00:04

I can verify that this phone has been rooted.

play00:07

In this video,

play00:08

I'm gonna show you how to root an Android phone

play00:10

in preparation for the installation of software

play00:12

such as Kali NetHunter.

play00:14

You need to root your phone

play00:15

if you want to use the full power

play00:18

of Kali NetHunter, for example, to attack wifi networks.

play00:22

(electronic sounds)

play00:27

Kali can run on many types of devices.

play00:29

You could run it within a virtual machine.

play00:31

You could dual boot your computer.

play00:33

But in this example, we're gonna use a mobile device.

play00:36

We're going to use NetHunter,

play00:38

but there are two versions of NetHunter.

play00:40

We've got NetHunter Pro,

play00:41

which you would use on a PinePhone.

play00:44

I'll demonstrate that in a separate video.

play00:46

In this video,

play00:47

we're going to look at rooting the Android phone

play00:50

in preparation for installing NetHunter.

play00:52

Various phones are supported.

play00:55

So you could use a Nexus phone as an example, and Nokia,

play00:57

various other phones.

play00:58

But the phone that we are using for this demonstration

play01:02

is a OnePlus Seven T.

play01:03

So on this device, I'll go to Settings, About Phone.

play01:07

You can see that it's a OnePlus Seven T.

play01:10

In this case, we're using Android 11.

play01:12

And this specific bold number.

play01:14

Now in this example,

play01:14

I'm not gonna upgrade the phone

play01:16

to a later release of Android.

play01:18

The reason for doing that is I want to get official drivers

play01:21

for the phone.

play01:22

I don't wanna install some kind of dodgy software.

play01:24

On the OnePlus website. For the OnePlus Seven T.

play01:28

The latest software that I can download is 11.0.9.1.HD65BA.

play01:35

And that's the version of software running on this phone.

play01:38

If I look at System,

play01:39

there is an upgrade to the software.

play01:41

So I could install Oxygen OS12.

play01:44

But in my tests that didn't work. So I'm not gonna do that.

play01:48

I'm gonna stay with this release of Android 11

play01:51

per this download.

play01:53

Now you can use the timestamps

play01:54

to jump to a specific part of this video.

play01:56

I wanna talk about the reasons that I'm using this phone.

play01:58

I want to talk about Kali NetHunter,

play02:00

the different types of Kali NetHunter that you have.

play02:02

Again, use the timestamps

play02:03

if you're only interested in certain parts of the video.

play02:06

Now there are different additions of Kali NetHunter.

play02:08

You have a Rootless install.

play02:10

Have a look at this video

play02:11

if you wanna see how to install Kali NetHunter

play02:13

using a rootless installation.

play02:15

That's the simplest installation of all.

play02:18

There's also NetHunter Lite,

play02:20

which is a full Nethunter package

play02:23

for rooted phones without a custom kernel.

play02:25

And then you have the full NetHunter package

play02:27

with custom kernel for supported devices.

play02:30

To be honest, if you want the power of NetHunter,

play02:32

you need to use a rooted device.

play02:33

As an example, if you want to use WiFi injection,

play02:36

you need a rooted device running NetHunter.

play02:39

If you wanna run HID attacks, you need to use NetHunter,

play02:43

not NetHunter Lite or NetHunter Rootless.

play02:45

So again, what I'm gonna show you in this video

play02:47

is how to root the device in preparation

play02:49

for the NetHunter installation.

play02:51

I'll do the actual NetHunter installation

play02:53

in a separate video.

play02:53

In this video I just wanna show you how to root this device.

play02:56

OnePlus devices are my recommended device

play02:58

if you wanna learn how to root an Android phone.

play03:00

There are instructions out there

play03:02

on how to root other devices.

play03:03

Please let me know in the comments below

play03:05

if there are any other devices

play03:06

that you want me to demonstrate.

play03:08

I will be covering additional devices.

play03:10

But in this example, we're doing a NetHunter installation

play03:13

for the OnePlus Seven T, version 11.

play03:16

So that's the NetHunter software

play03:18

that I'm going to want to download.

play03:20

But before I even get to that,

play03:22

there are various steps that you need to complete.

play03:25

And to make this easier for you,

play03:26

my team and I have created a PowerPoint presentation.

play03:29

So download the PDF below

play03:31

if you want to have written instructions,

play03:33

rather than just follow the video.

play03:35

As always,

play03:36

do not use the information that I'm showing you here

play03:38

for illegal activities.

play03:39

It's only for educational purposes.

play03:41

What you need to do, this is a Windows 10 or 11 computer.

play03:44

Now you can use other operating systems.

play03:45

But because most people use Windows,

play03:47

I'm gonna be demonstrating this with a Windows computer.

play03:49

If you want to install Kali NetHunter,

play03:51

you need a virtual machine as an example running Kali Linux,

play03:55

so that you can compile the Kali NetHunter kernel.

play03:57

Again, I'll show you that in a separate video.

play03:59

You also need a USB-C data cable,

play04:02

and obviously you need a phone.

play04:03

So in this example, the OnePlus Seven T.

play04:05

Okay, so as mentioned,

play04:06

we're not gonna upgrade the phone to Android 12.

play04:09

We're gonna use Android 11.

play04:11

Next step is we need to download the platform tools.

play04:14

So we go to developer Android.com, studio releases,

play04:18

Platform Tools, and in this example,

play04:20

I'm gonna download the SDK Platform Tools for Windows.

play04:24

You have to agree to the license

play04:25

and make sure that you read that.

play04:26

Agree to the license and then download the platform tools.

play04:30

I'm gonna save that to my desktop

play04:32

and what I'll do is extract that software.

play04:37

So I've now got the software extracted.

play04:40

What we now need to do is unlock the bootloader

play04:42

on the phone.

play04:43

So I'm gonna go to Settings once again on the phone.

play04:46

I'm gonna scroll down to About Phone.

play04:49

And I'm gonna tap the bold number seven times.

play04:54

And what we're told now is we've become a developer.

play04:56

We need developer mode

play04:58

because what we want to do is go to System Settings,

play05:02

Developer Options.

play05:03

And what we want to do is enable OEM unlocking.

play05:09

And we want to enable USB debugging.

play05:12

And you need to accept those two options.

play05:14

So again, we need both OEM unlocking,

play05:17

as well as USB debugging enabled.

play05:19

Okay, so the next step is we need to install drivers,

play05:21

so that if we brick the phone, we can un-brick it.

play05:24

Some people struggle with this.

play05:25

What you have to do is hold the up and down volume button

play05:29

and power button at the same time.

play05:31

So you might see the volume go up or something else happen,

play05:35

but basically you just need to hold it

play05:37

and the phone will reset and we'll go into faster boot mode.

play05:41

If you have a problem,

play05:42

make sure up and down volume button held at the same time

play05:45

as the power button.

play05:46

Keep holding it until it goes into Fastboot mode.

play05:49

Okay, so back on Windows,

play05:51

we're going to go the Windows update.

play05:54

We're gonna make sure that we check for updates.

play05:56

Go to Advanced Options, Optional Updates.

play05:59

And what you wanna see is Google Inc.,

play06:02

Other hardware, Android BootLoader Interface.

play06:05

If you don't see that,

play06:06

make sure that you press those three buttons again.

play06:09

Volume up and down, power button.

play06:11

Make sure that you see the Fastboot mode.

play06:13

Go back into Windows.

play06:15

Click Check for Updates, Advanced Options, Optional Updates.

play06:19

And we want to see the software.

play06:21

Okay, so what we need to do is select the Google Inc.,

play06:24

Other Hardware, Android Bootloader Interface

play06:27

and click Download and Install and install that software.

play06:30

We want that once again,

play06:32

in case we brick the phone and we need to un-brick it.

play06:35

Okay, so if I check for updates now, software's up to date.

play06:38

Now I've had problems if I don't do this.

play06:41

So the next step is to restart Windows.

play06:43

(gentle dinging)

play06:45

Okay, we need to make sure that the phone

play06:47

is plugged back into the Windows computer.

play06:49

What I'll do is press the power button

play06:53

to start the phone again.

play06:54

Okay, phone has rebooted. I'm gonna allow USB debugging.

play06:58

In the Platform Tools, I'm gonna open up a terminal.

play07:02

LS shows us the software.

play07:03

I'm gonna use the command adb devices

play07:07

to see if devices are attached.

play07:08

You can see if this device is attached.

play07:11

You may see that it says, "Service is starting,"

play07:13

and you might have to run this again.

play07:15

You may have to unplug the phone and plug it back in again.

play07:18

You basically need to have a device attached.

play07:20

Okay, we need to boot into EDL mode.

play07:23

So we're gonna use the command, adb, reboot, edl.

play07:30

Phone reboots now.

play07:31

So if you don't see that,

play07:33

make sure that the device is attached.

play07:35

Reboot your Windows computer if necessary.

play07:37

Type the right commands to get the phone rebooted.

play07:41

Okay, we're going to run the Windows update software again.

play07:44

So Check for Updates, Advanced Options, Optional Updates.

play07:48

And what you should see now

play07:49

is that the drivers are displayed.

play07:51

Again, we need this in case we need to un-brick the phone.

play07:54

So I'm gonna download and install that.

play07:59

Okay, Check for Updates, Advanced Options,

play08:02

nothing available now,

play08:03

because we've installed the right drivers.

play08:07

And again, at this point, you may have to reboot Windows.

play08:09

I've had problems with Windows if I don't reboot it.

play08:12

Okay, so the next thing I need to do

play08:14

is hold the up and down volume and power button

play08:17

at the same time to get it to reboot.

play08:19

We wanna boot into Fastboot Mode.

play08:21

Okay, so there you go.

play08:22

You might just have to hold it. Takes time, okay?

play08:25

And once that boots,

play08:26

then you press the power button to get it to boot up.

play08:30

Phone is now rebooting.

play08:31

The phone may prompt you to allow USB debugging.

play08:34

So if you've asked that, then make sure that you permit it.

play08:38

Okay, in the Platform Tools directory, once again,

play08:40

I'm gonna open up a terminal.

play08:42

LS shows us our software.

play08:44

I'm gonna use the command ADB devices

play08:47

to see if the device is connected.

play08:49

Okay, I'm gonna need to allow USB debugging.

play08:52

You can see that it says device unauthorized

play08:55

because I had to allow USB debugging.

play08:57

Now it's showing as a device

play08:59

because I allowed USB debugging.

play09:01

Okay, now we're gonna use adb reboot bootloader.

play09:05

Phone reboots as you can see over there.

play09:11

And we should see this on the screen.

play09:13

Make sure that you see something like this,

play09:15

where we see Start as an example at the top.

play09:17

And now we can use the command fastboot devices.

play09:22

So you can see the device is shown as fastboot

play09:24

and then we're gonna use fastboot OEM unlock.

play09:29

You should see it says okay,

play09:30

finished in a certain amount of time.

play09:32

And now we're going to use the volume button

play09:35

to move down to unlock the phone.

play09:38

So we're gonna unlock the bootloader

play09:40

and then we're gonna press the power to reboot the phone.

play09:45

Now this wipes the phone, may take it a while.

play09:47

Wait until you see a Hello message.

play09:50

It's important that you don't set up any face

play09:52

or fingerprint or screen lock once the phone restarts.

play09:56

But you can set up the phone normally

play09:57

with that caveat or caution.

play09:59

Okay, so there you go.

play10:00

The phone has rebooted, Hello's displayed.

play10:03

I can press start to get started.

play10:05

Agree to the license agreement.

play10:06

In this case I'll skip connecting to a mobile network.

play10:10

But what I'll do is connect to a WiFi network.

play10:12

I'm not gonna copy apps.

play10:14

Okay, I need to log in with my Google account.

play10:17

Click I Agree.

play10:18

Okay, I'm not gonna enable all the services, click Accept.

play10:22

Okay, so I'm not gonna enable the assistance,

play10:24

so I'm gonna do that later.

play10:25

I'll skip Google Play, I'll accept Co-Creation Labs.

play10:31

I'll skip the screen lock.

play10:33

Click Next. Click Next. Click Start.

play10:36

Do the home screen thing like normal and press Start.

play10:39

Okay, so now I've set up the phone as normal.

play10:42

I didn't set up fingerprint or face ID.

play10:44

Didn't put a pin on the phone.

play10:46

Next thing I need to do

play10:47

is get the model information once again.

play10:49

I'll go to About, Android version is 11.

play10:52

This is the bold number.

play10:53

That's really important because I need to download

play10:55

the right version of software.

play10:57

So in this example, this phone is a 1903 phone. HD 1903.

play11:01

That's because it's a European phone.

play11:03

So I'm gonna download the software from this link.

play11:06

If you've got a Chinese phone as an example,

play11:08

you use this link.

play11:09

If you've got an Indian phone, you'll use this link.

play11:11

US Global is this link.

play11:13

And then if it's T-mobile US,

play11:15

you have to go to the XDA forums

play11:17

'cause you're gonna have to change that phone

play11:19

to a global US phone.

play11:21

So in my example,

play11:22

this is the version of software that I'm running.

play11:24

Phone that I've got is a Seven T.

play11:27

So the version that I want for my example

play11:30

is this 11.0.9.1.HD65BA.

play11:34

Make sure that you use the right software

play11:37

that it matches your phone.

play11:38

As mentioned previously, I don't wanna upgrade this,

play11:41

because this is the only version available.

play11:43

So I'm going to download that software to my computer.

play11:47

Okay, software is downloaded, it's 2.6 gig in size.

play11:50

What I'm gonna do is extract the file.

play11:55

(fast-forwarding sounds)

play11:58

And there you go. The file is extracted.

play12:01

Notice we've got a payload.bin file.

play12:03

What I'm actually gonna do with this file

play12:05

is copy it to the Platform Tools folder

play12:10

that we've been using previously.

play12:11

It's easier for me just to put all the files in one place.

play12:14

So the payload.bin file has now been copied

play12:16

to that directory.

play12:17

So next step is to go to GitHub

play12:20

and download the payload-dumper tool.

play12:22

So I'm gonna click on the link in the PowerPoint slide.

play12:26

I'm gonna go to latest

play12:27

and I'm gonna download the dumper tool for Windows AMD 64

play12:33

because that's the operating system that I'm using

play12:35

and I can't open this.

play12:37

So I'm gonna download Seven-Zip.

play12:41

So download the executable and I'll run that software,

play12:45

install it so I can right click on that tar.gz file.

play12:50

I'm gonna show more options here.

play12:53

Seven-Zip extract the files. That is now extracted.

play12:58

But it's a tar file here,

play13:01

so I'm gonna have to show more options.

play13:03

Seven-Zip extract that file.

play13:06

So now I've got the go-dumper tool.

play13:09

And what I'm gonna do to make it easier

play13:12

is I'm gonna copy that file

play13:14

into my Platform Tools directory.

play13:16

Okay, so LS in my directory.

play13:18

I'm gonna use the command payload-dumper.

play13:23

Path to firmware, which I've put in that directory.

play13:26

So it's payload bin.

play13:27

And notice the files are being extracted.

play13:29

The file we actually want is the boot image file.

play13:32

Okay, so under extracted now, there's our boot image.

play13:36

So I'm gonna copy that

play13:37

and I'm gonna put it in Platform Tools

play13:40

so that I've got all the files in one directory.

play13:41

You don't have to do it that way.

play13:43

I just prefer having the files in one directory.

play13:45

So back on the phone, go to Settings.

play13:47

We're gonna go to About Phone,

play13:49

and then we are going to select Software Version

play13:51

or bold number, depends on your phone.

play13:53

But actually, I'm gonna do bold number

play13:55

and I am now a developer.

play13:58

Under System Developer options,

play14:00

I'm gonna enable USB debugging.

play14:05

Allow that. So I'll clear the screen here.

play14:08

And now I can use adb push boot image.

play14:15

And make sure that you get the spelling correct.

play14:18

So it's sdcard, lowercase.

play14:20

Download with an uppercase D,

play14:22

and it's Download, not Downloads.

play14:25

So we're gonna push that software to the phone

play14:27

and you can see that the software has now been pushed.

play14:30

Okay, so on the phone, once again,

play14:32

open up a browser and I'm gonna search for Magisk on GitHub.

play14:36

First hit is my GitHub link. So you can see Magisk here.

play14:40

I'm gonna scroll down to the latest release, which is 25.2.

play14:45

I'm gonna download the first file, which is the APK file.

play14:49

I'm gonna click Okay to install it, click Open, Settings.

play14:54

Allow that to be installed, go back, install the software,

play15:00

press to open it.

play15:01

So Magisk is now installed.

play15:03

I'm gonna select Install, select a patch file,

play15:08

go to File Manager, go to Download, select Boot Image.

play15:14

Select Let's Go. Software is now being installed.

play15:17

Okay, so that's been completed. Now all done, go back.

play15:20

Go to File Manager. Say Okay, go to Downloads.

play15:25

Make sure that you take a note of the name of the file

play15:28

because now back on Windows, we're gonna pull that file.

play15:31

So in Windows adb, pull, sdcard, Download, Magisk,

play15:42

patch 25200.

play15:49

And press Enter.

play15:50

Okay, so you can see that so many bytes

play15:53

were copied in so many seconds, so that's good.

play15:55

So I'll just do a sanity check here.

play15:57

I'm gonna do LS and make sure that Magisk is shown.

play16:01

And you can see here

play16:03

that that file is in my directory on my computer.

play16:06

So I'm gonna do adb reboot bootloader

play16:10

to reboot the phone.

play16:12

As you can see there, the phone is rebooted.

play16:14

Now we're gonna do fastboot flash boot, Magisk patched file.

play16:21

So that's the file

play16:22

that we copied to our Windows computer previously.

play16:25

And I'm gonna press Enter. That's been sent to the phone.

play16:29

And you can see that it's now finished.

play16:32

Now we need to make sure that we're on Start

play16:34

as we can see there.

play16:35

And then press the power button. Phone will reboot now.

play16:40

Okay, phone is now rooted.

play16:41

I'm gonna allow USB debugging.

play16:43

Under my apps, I can see Magisk. So Magisk is installed.

play16:48

So on Magisk, once again,

play16:50

as you can see now, Magisk is installed.

play16:53

So in the Play Store,

play16:54

I'm now gonna search for Root Checker

play16:57

to check that the phone is actually rooted.

play16:59

It is rooted at this point,

play17:01

but I'm gonna install this app to verify that is the case.

play17:04

So I'm gonna open up the software.

play17:06

Say Agree. And I'm gonna verify Root Grant access.

play17:11

And as you can see there, the phone has been rooted.

play17:14

Okay, congratulations, phone has now been rooted.

play17:17

I'll put a link below to the next video,

play17:19

where I'll show you how to install Kali NetHunter

play17:22

on a rooted phone such as this.

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Android RootingKali NetHunterOnePlus Seven TMagisk GuideDevice SecurityCustom KernelWiFi AttackRoot CheckerEducational PurposeTech Tutorial