Coder Social home page Coder Social logo

shakhawat3742 / nethunter-lrt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from offensive-security/nethunter-lrt

0.0 2.0 0.0 1.81 MB

The Nethunter Linux Root Toolkit is a collection of bash scripts which install Nethunter onto a supported device.

License: GNU General Public License v2.0

Shell 100.00%

nethunter-lrt's Introduction

Kali NetHunter Linux Root Toolkit (LRT)

The NetHunter Linux Root Toolkit is a collection of bash scripts that setup and install Kali Linux NetHunter from a Linux/OSX environment onto a NetHunter supported device.

##1. Installation Prerequisites

  • USB debugging enabled on the phone.
  • USB debugging RSA fingerprint approved for the computer.
  • adb and fastboot installed and present in $PATH (higher than v1.0.31)
  • tar && unzip installed and present in $PATH

Use Google if you don't know how to install adb or fastboot; the Android SDK is the best way although you can also use the binaries available at: http://tools.android.com/download.

Assumptions: The device is normally booted, USB debugging is enabled, and the device is plugged into the Linux/OSX machine via a USB cable.

IMPORTANT NOTE: To ensure a hassle free installation, use USB 2.0 ports during the installation. When installations fail inexplicably, it's most likely a USB version standard issue. We use a powered USB 2.0 hub to connect our OPO to a computer during installation.

##2. LRT Setup Instructions

  1. Clone this repository and cd to the Nethunter-LRT/ folder.

  2. Download the correct Factory Image for your device and put it in the folder /stockImage:

  3. Download the correct TWRP image for your device from TWRP WEB and put it in the folder /twrpImage.

  4. Download the latest SuperSu (BETA) from XDA_Chainfire post and put it in the folder /superSu.

  5. Put the NetHunter zip image you downloaded or built in the /kaliNethunter folder.

NOTE: Don't rename or decompress the downloaded zip files or images. The scripts will handle it for you.

###2.1 OEM Unlock:

If your device needs to be unlocked, you can use this script (for both Nexus and OnePlus devices). Skip this if your phone bootloader is already unlocked.

The unlock script needs to be launched like so: ./oemUnlock.sh.

###2.2 Flash Stock:

####Nexus Flash Stock (For Nexus devices only) To flash your Nexus device back to the stock image, use the stockNexusFlash.sh script. This way, you will get a clean phone to install NetHunter on. This will delete all existing device data.

This script needs to be launched like so: ./stockNexusFlash.sh.

Once your phone is flashed, don't forget to make sure it's in Developer mode and you have accepted the RSA Key Dialog.

####OPO Flash Stock (For OnePlus One devices only) To flash your OnePlus One device back to the stock image, use the stockOpoFlash.sh script. This way, you will get a clean phone to install NetHunter on. This will delete all existing device data.

This script needs to be launched like ./stockOpoFlash.sh 16gb for the 16GB version or ./stockOpoFlash.sh 64gb for the 64GB version.

Once your phone is flashed, don't forget to make sure it's in Developer mode and you have accepted the RSA Key Dialog.

###2.3 Custom Recovery (TWRP) + SuperSU (root) + Kali Linux NetHunter

This script will install TWRP, SuperSU, and flash Kali NetHunter on your Nexus or OnePlus device. This should be run on top of a clean ROM install.

This script needs to be launched like so: ./twrpFlash.sh.

If you are using an Aroma version of the Kali Linux NetHunter zip, you will need to do a little interaction with the installer, then the script will end the installation and reboot the phone.

##3. Rejoice in your newly installed NetHunter

Be joyful and merry! You have now finished installing NetHunter on your phone and are ready for world domination. Check out some of our NetHunter Post Installation tips to get started.

DISCLAIMER

These scripts are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Pull requests are welcome.

nethunter-lrt's People

Contributors

binkybear avatar dookie2000ca avatar g0tmi1k avatar jmingov avatar kitsunedev avatar offensive-security avatar slashie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.