[Android Pro] Android FastBoot brush machine and get root privileges

Source: Internet
Author: User

Reference article: Https://developers.google.com/android/nexus/images

Reprinted from: http://www.inexus.co/article-1280-1.html

This article is labeled yellow to get the root permission of the part has been validated under the Android 5.1, the unlocking process is referenced by: https://developers.google.com/android/nexus/images

See below for video: http://www.inexus.co/article-1280-1.html.

Thanks again for the original author of this article.

Update record:
0310: Add Android 5.1 root approach
1215: Update the Android 5.0.1 root approach
1127: Update Cf-auto-root Package
1125: Add Nexus 6 Android 5.0 Root pack
1116: Add Nexus 4 Android 5.0root
1113: Added support for Android 5.0
0620 Update: Added support for Android 4.4.4
0603 Update: Add Android 4.4.3 Brush and Root tutorial
1210 Update: This tutorial does not need to modify the root support for Android 4.4.2.

Google released today's Android 5.1 system bottom pack, and Supersu's author temporarily did not update Autoroot to fit Android 5.1, small part of the thought of using third-party recovery such as TWRP to brush Supersu Zip package to achieve Android 5.1 root success, this article to the Nexus 5 as an example of writing a textbook, Nexus 6/7/9/10 principle, as you explain how to unlock, root Android 5. Nexus 6/7/9/10 principle is similar

I. Unlock tutorial: If you just want to unlock, install a third-party recovery, implement a free brush, and do not want root, you can use this tutorial.
Unlock method: Enter the relevant command to unlock (the user data will be emptied)
See http://www.inexus.co/thread-3741-1-1.html for specific measures
However, if you are a Nexus 6 or Nexus 9 user, unlock the need to open the OEM before you can, the specific way to see: http://www.inexus.co/thread-18509-1-1.html

two. Nexus 4/5/6/7/9/10 Android 5.1 root tutorial (automatically unlocked if not unlocked):

Option 1: Install a third-party recovery TWRP, using its install to brush into the supersu.zip to achieve root
first download Supersu to a directory on your phone, such as the download directory
Supersu The zip package that can be brushed in:Http://pan.baidu.com/s/1mgMJK1M

then download the installation TWRP:
Download TWRP:http://teamw.in/project/twrp2(get the corresponding TWRP package by searching your corresponding Nexus device)
put the phone into fastboot mode, the computer input fastboot Flash recovery TWRP file name. img To implement the installation TWRP

then enter recovery mode, use the TWRP install to select Supersu.zip, and then swipe in to restart the root of Android 5.1.
of course, if the Cf-auto-root implementation of the update for Android 5.1, you can consider the method 2. (cf work package is not updated, the current version is brushed into the degraded kernel, not recommended for everyone to use)


Method 2: Use Cf-auto-root (but because the Android 5.1 kernel has changed, and Cf-auto-root temporarily did not update, impatient Root Android 5.1 students can see methods 1)
The following description does not apply to Android 5.1:
The first thing to tell you is that the OTA upgrade will not work properly at least after root on Nexus 6 and Nexus 9, but you can upgrade to Android later with retention data.
Since the latest Cf-auto-root only supports Android 5.0, this root package of the big God is implemented to brush into the boot kernel package that carries Supersu's Android 5.0, but its boot does not make any changes to the Android 5.0 kernel, only adds Supersu, wants root Android 5.0.1, need to use this tool first to root (the process will be written to Android 5.0 kernel and Supersu), I personally recommend to complete, then manually brush into the Android 5.0.1 boot.img reboot (of course, if you are sure that Android 5.0.1 does not occur with Android 5.0 changes in the kernel version can not be manipulated).
The official website is: http://autoroot.chainfire.eu,

Nexus 4 Android 5.0 LRX215 One-click Root Pack Address: http://download.chainfire.eu/297 ... ko-occam-nexus4.zip

Nexus 5 Android 5.0 lrx21o One-click Root Pack Address: http://download.chainfire.eu/363/CF-Root/CF-Auto-Root/ Cf-auto-root-hammerhead-hammerhead-nexus5.zip

Nexus 6 Android 5.0lrx21o one-click Root pack: http://download.chainfire.eu/628 ... mu-shamu-nexus6.zip

Nexus 71-Generation WiFi version Android 5.0 lrx21p one-click Root Pack Address: http://download.chainfire.eu/295 ... r-nakasi-nexus7.zip

Nexus 72-Generation WiFi version Android 5.0 one-click Root Pack Address: http://download.chainfire.eu/347 ... lo-razor-nexus7.zip

Nexus 9 Android 5.0.1 one-click Root Pack Address: http://download.chainfire.eu/595 ... volantis-nexus9.zip

Nexus WiFi version Android 5.0.1 http://download.chainfire.eu/290 ... antaray-nexus10.zip

Note: This action will automatically unlock if your Nexus 5 is not unlocked, unlocking will empty your machine's data, unlocked without worrying

Steps:
1. Adjust your Nexus 5 to bootloader mode by shutting down the computer and then holding down the power and volume and volume keys while shutting down.


2. Connect the Nexus 5 to the PC via USB.

3. Download the Cf-auto-root version of Nexus 5 from http://autoroot.chainfire.eu (the specific link mentioned above)
Unzip the package after the download is complete.

4. Run the script to implement one-click root

If you're using a Windows system
---Double-click Run Root-windows.bat

-Linux
---chmod +x root-linux.sh
---running root-linux.sh

-Mac OS X
---chmod +x root-mac.sh
---running root-mac.sh


5. Follow the onscreen prompts for the next step, remember to focus on the computer and the Nexus 5 screen changes (if not previously unlocked, will also prompt you to unlock, use the volume keys to select Yes, and then use the Power key to confirm the process to unlock, unlock will erase the data).

6. After success, brush into Android 5.0.1 boot.img (Nexus 5 Android 5.0.1 relative to the Android 5.0 core does not change, you can not do this operation, the other device's Android 5.0.1 the core of whether the changes need you to determine, but the small part of the individual think should not be modified, otherwise the great God will not update CF)

Unlike the Android 5.0.1 official image pack for each Nexus device, you need to download the official image of your device from Https://developers.google.com/android/nexus/images and unzip the image. Then find a package like Image-xx.zip from the unpacking package, and then extract the boot.img from it.

Enter the relevant DOS command at the command prompt into the folder where the boot.img is located, then connect the device and the PC to make sure the device is in Bootloder state (if not, look at the description above to enter the bootloader state), enter FastBoot Flash Boot boot.img, and then reboot. This restores the kernel to the Android 5.0.1, and you will be surprised to find that root still exists after the reboot.

In general, the successful implementation of the Nexus device of the Android 5.0.1 root work, the other device tutorial similar, download different root package can, if you do this command found that Supersu disappeared, no relationship, reinstall on it, get root permission is certain.


Attached: Nexus 5 Android 4.4.4 one-click Root Video (Android 5.0.1 can refer to, because the operation is the same, only need to download the corresponding Cf-auto-root package):



Nexus 5 Android 4.4.4 one-click Root Video (Android 5.0 can refer to, because the operation is the same, only need to download the corresponding Cf-auto-root package):




Method Three: Use Nexus Rootkit (the software is not updated at the time of the mini-compilation, but you should be able to use the Android 4.4.3 root method to solve the Android 4.4.4root method):
Http://www.inexus.co/thread-4249-1-1.html

Three. Brush native Android 5.1 Save brick Tutorial: Specific reference http://www.inexus.co/thread-386-1-1.html

[Android Pro] Android FastBoot brush machine and get root privileges

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.