Coder Social home page Coder Social logo

android_root_update's Introduction

android_root_update

Update android 5.x while preserving root.

##Prerequisites

ADB, fastboot and the (RIGHT) system image to be installed. An unlocked bootloader. Custom recovery. ( Can also be installed after step 7)

Do it on your own risk!

$ fastboot oem unlock

Unlocking will DELETE all your private data on the phone.

###Install Prerequisites

$ sudo apt-get install android-tools-adb android-tools-fastboot android-tools-adbd android-tools-fsutils  

###Get image For Nexus devices get the factory images here. For others manufacturers check their website.

Process

Check hashsum of the image to verify its integrity

$ sha1sum IMAGE_NAME.tgz

Extract the image from the .tgz

$ tar -xvf IMAGE_NAME.tgz

Move into the extracted folder

$ cd IMAGE_NAME

Prepare your phone

Push the supersu.zip to your sdcard ( you can use adb shell to find the right path on your phone). Or sideload it later using a custom recovery. Reboot into bootloader.

adb push supersu.zip /storage/sdcard0 
adb reboot-bootloader

Flash new bootloader and radio

fastboot flash bootloader bootloader-IMAGE_SPECIFIC_NAME.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-IMAGE_SPECIFIC_NAME.img
fastboot reboot-bootloader
sleep 5

Extract the zip

7z x image-IMAGE_SPECIFIC.zip
cd image-IMAGE_SPECIFIC

Flash the stuff we're interested in

fastboot flash boot boot.img
fastboot flash system system.img

Boot into recovery and reinstall root. Reboot into new android.

android_root_update's People

Contributors

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