GithubHelp home page GithubHelp logo

k3v1991 / how-to-flash-android-kernel-and-recovery Goto Github PK

View Code? Open in Web Editor NEW
20.0 2.0 2.0 74 KB

How-To flash a Android Kernel and Recovery with ADB and Fastboot

adb android boot bootloader cmd debugging developer fastboot how-to image

how-to-flash-android-kernel-and-recovery's Introduction

How to flash a Android Kernel and Recovery with ADB & Fastboot




Requirements:

  • Windows OS
  • USB Driver for your Device or Universal ADB Driver
  • Unlocked Bootloader
  • ADB & Fastboot++ - GitHub

Enable Developer Options & USB Debugging:

  1. Install the USB Driver for your Phone or Universal Adb Driver
  2. On your Phone, go to Settings > About Phone. Find the Build Number and tap on it 7 times to enable Developer Options
  3. Now enter System > Developer Options and find USB debugging and enable it
  4. Plug your Phone into the Computer and change it from Charge only to File Transfer Mode
  5. On your Computer, browse to the Directory where you extracted/installed ADB & Fastboot++
  6. Use the Open CMD.bat or ADB & Fastboot++ Shortcut to launch a Command Prompt
  7. Once you’re in the Command Prompt, enter the following Command:
adb devices
  1. System is starting the ADB Daemon (If this is your first Time running ADB, you will see a Prompt on your Phone asking you to authorize a Connection with the Computer. Click OK.)
  2. Succesful enabled USB Debugging

Unable to connect to ADB:

  1. AMD Bug - XDA Thread
  2. Switch Device from "Charging" to "File Transfer" Mode
  3. Install the latest Device Driver or Universal USB Driver
  4. Try another USB Cable
  5. Use another USB Port (USB 3.0 Port to USB 2.0)
  6. Try to execute Fastboot Command without connecting your Phone and once it says "waiting for device" plug in your USB Cable
  7. Windows: Click "Change advanced power setting" on your chosen Plan and expand "USB Settings". Under "USB Settings" Section, expand "USB selective suspend setting" and change it to "Disabled" for On Battery and Plugged In
  8. Try another PC

How-To:

  1. Download and extract/install ADB & Fastboot++
  2. Browse to the Directory where you extracted/installed ADB & Fastboot++
  3. Place the Kernel or Recovery Image in the Tool Folder
  4. Plug your Phone into the Computer
  5. Launch a Command Prompt with the Open CMD.bat or ADB & Fastboot++ Shortcut
  6. Once you’re in the Command Prompt, enter the following Command:
adb devices

and hit Enter

  1. Rebooting the Device to Bootloader:
adb reboot bootloader

and hit Enter

Flash Kernel:

fastboot flash boot <kernel file name>.img

and hit Enter

Flash Recovery:

fastboot flash recovery <recovery file name>.img

and hit Enter

Reboot to System:

fastboot reboot

and hit Enter

how-to-flash-android-kernel-and-recovery's People

Contributors

k3v1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.