Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
oot by Chromium
Tweet
Thanks: 6,506
Like
+1
FORUMS
Nexus 5 General
Nexus 5 Q&A, Help & Troubleshooting
Nexus 5 Accessories
Reply
11
51
Subscribe
101
Last
SearchThread
Downloads
Download a custom recovery of your choice and the SuperSU zip below. Place both files
(recovery image and root zip) in the platform-tools folder located on your desktop within the
android-sdk-windows folder.
Custom Recovery:
SuperSU
Information
Rooting a nexus device is actually quite a simple and easy process. Before you begin, it is
recommended that you at least try to understand what each part of the process will do.
Although this guide will elongate each step in order to show all of the details, the method
used can be broken up into 3 main steps: Unlocking the Bootloader, Installing a Custom
Recovery and finally Rooting. Each new step relies on the previous step to have been
completed, and a basic summary of each part is:
1. Unlocking Bootloader: Opens the door to the internal memory of the device to be
written on to. This allows you to flash images onto the main partitions of the phone.
2. Installing a Custom Recovery: A custom recovery is flashed onto the recovery partition
of the device and overwrites the stock recovery that exists by default. Custom
recoveries bring lots of functionality and give you the ability to perform wipes, install
flashable zips, create full backups of your NAND (Nandroid backup), and various other
features. An unlocked bootloader is needed to install a custom recovery.
3. Rooting: You can gain root by either flashing via recovery a pre rooted custom rom, or
flashing a zip containing the SuperSU binaries. A custom recovery is necessary to do this.
LOGIN REGISTER
After completing these steps your phone will be rooted, the phone will have a custom
MOST THANKED
ALL-TIME
131
Chromium OP
14
search
plus is built-in
(quote) The driver
the device, so it
will install
recovery installed, and the phones bootloader will be unlocked. This, in my opinion, is the
Kortxero
adb/fastboot knowledge, and should hopefully help you have a decent understanding of
12
has. Using a toolkit will only make things worse in the long run...learn to do it properly. It has
Chromium OP
most practical and beneficial method for rooting your phone. It gives you some basic
what is going on. Also this method will work regardless of what android version your phone
been proven that every time you use a toolkit, god kills a kitten. Save the kittens.
If you are confused by anything in this guide, I would highly suggest getting it clarified being
before moving on. Ask your question in this thread and I or someone else will likely answer.
Also I'd suggest that you read over the whole thread a few times before actually doing
anything to the phone.
Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume
2013-Nov-01 20:13
abaaaabbbb63
1. Unlocking Bootloader
2013-Nov-14 15:20
Primokorn
2013-Nov-01 19:56
2014-Jan-03 6:08
Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume
down + power.
Plug the phone into your PC, then open a command prompt window window and type:
Code:
cdDesktop/androidsdkwindows/platformtools
Code:
fastbootdevices
This command will list the connected devices. If your phones serial number shows up
you are good to go and may continue. If the phone is NOT listed this indicates that your
drivers are not installed correctly. In order for you to continue you must fix your drivers
so that your phone is listed under fastboot devices.
If the phone has been recognized by the command above, proceed to unlocking the
bootloader with the following command:
Remember that this step will wipe EVERYTHING off the phone
Code:
fastbootoemunlock
On the phone a screen should pop up asking whether or not you would like to unlock
the bootloader. Use the volume rockers to highlight "Yes" then press power to confirm
the action.
After the above command has finished excuting, run the following (DO NOT skip this
May 9, 2016
logo and a progress bar (this may take up to ten minutes to complete). Wait until the
phone has fully booted up into android, then proceed onto the next section of the
guide.
May 9, 2016
May 7, 2016
TAGS
desktop.
Code:
cdDesktop/androidsdkwindows/platformtools
Root
Unlock
Tutorial
Code:
fastbootflashrecoveryrecovery.img
On the phone, use the volume buttons to scroll onto "Restart Bootloader" and hit power
to select it. After the bootloader reloads, use the volume buttons to scroll onto
"Recovery Mode" and power to select it. You should then be greeted with your newly
installed custom recovery.
Bootloader
Recovery
3. Rooting
Now that your phone has an unlocked bootloader and a custom recovery installed you have
a two options to gain root (Pick one or the other. You don't need to do both)
Option A) Flash SuperSU binaries which will give you root with the stock rom
Confirm that you have downloaded the SuperSU zip from the downloads section above
and that it is located in the platform-tools folder inside of the android-sdk-windows
folder on your desktop.
Turn the phone off then boot into the bootloader. (volume down + power). Once in the
bootloader use the volume rockers to scroll onto Recovery Mode, then press power to
select it. This should bring you into your newly installed custom recovery. Leave the
phone at the home page of the custom recovery.
Open a command prompt window and run the following commands:
Code:
cdDesktop/androidsdkwindows/platformtools
Code:
adbpushUPDATESuperSUvX.XX.zip/sdcard/
This will copy the SuperSU zip onto your phone. Once the command has completed
continue.
Instructions for TeamWin Recovery Project (TWRP):
Install > browse to SuperSU zip and select the it
Swipe to confirm the installation. Then reboot.
Keep in mind that the first boot after installing a custom rom & wiping the phone may take
longer than usual, as the phone will need to rebuild the dalvik cache and initialize other first
boot stuff.
Congrats! That is all! Your phone now has an unlocked bootloader, a custom recovery
installed and is rooted...Plus you saved a kitten. Enjoy
The Following 725 Users Say Thank You to Chromium For This Useful Post: [ View ]
Chromium
OP
Thanks: 6,506
Recognized Contributor
What you are seeing is the stock recovery, meaning that the custom recovery that you
flashed did not install correctly. Try the following suggestions:
Make sure you are using the USB cable that came with your phone. Only use other ones,
if the stock one isn't working
Try using different USB ports. USB 2.0 ports (the ones that ARE NOT blue) are preferable.
USB 3.0 ports (the blue ones) may cause problems with connectivity.
If you are on a desktop, use the ports on the back of the tower instead of the ones in
the front. These ports are directly connected to the motherboard, rather than the ones
in the front which are usually attached to a header cable which then indirectly connects
to the motherboard.
My phone wont boot into android. I can only access the bootloader and custom
recovery. What do I do?
CWM Instructions:
Boot into recovery
wipe data/factory reset
wipe cache partition
advanced > wipe dalvik cache
Reboot
Download a ROM onto your computer. If you don't have time to look for a ROM, just
download the stock ROM.
Move the downloaded ROM onto your desktop, and rename the file to "ROM.zip"
(without the quotation marks)
Boot phone into recovery
Open command prompt and run the following commands:
Code:
cdDesktop
adbpushROM.zip/sdcard/
Wait for it to finish copying the file, then flash the ROM. If you need further details on
how to flash a ROM take a look at the OP, section 3. Rooting, Option B)
My phone wont boot into android. I can only access the bootloader. What do I
do?
The Following 131 Users Say Thank You to Chromium For This Useful Post: [ View ]
dombera
Senior Member
Thanks: 41
Awesome post. Got a question: if I ONLY unlock bootloader will I still be able to get and
install OTA updates?
The Following User Says Thank You to dombera For This Useful Post: [ View ]
Chromium
OP
Thanks: 6,506
Recognized Contributor
Quote:
Originally Posted by dombera
Awesome post. Got a question: if I ONLY unlock bootloader will I still be able to get
and install OTA updates?
Sent from my Nexus 4 using Tapatalk
Yes, if you only unlock the bootloader you will still be able to get ota's. The lock state of your
bootloader will not affect your ability to receive ota's.
The Following 12 Users Say Thank You to Chromium For This Useful Post: [ View ]
Thanks: 41
Senior
dombera
Member
2nd November 2013, 01:14 AM | #5
Thanks: 41
Quote:
Originally Posted by Chromium_
Yes, if you only unlock the bootloader you will still be able to get ota's. The lock state
of your bootloader will not affect your ability to receive ota's.
Awesome, thx
Sent from my Nexus 4 using Tapatalk
The Following User Says Thank You to dombera For This Useful Post: [ View ]
timvdlinde
Senior Member
Thanks: 46
Xero258
Junior Member
Thanks: 4
Quote:
Originally Posted by Chromium_
Yes, if you only unlock the bootloader you will still be able to get ota's. The lock state
of your bootloader will not affect your ability to receive ota's.
What about if you unlock the boot loader and root, will you be able to get OTAs then? I
guess a better question is what's the point of no return (without reflashing the factory
image) where you break OTA updates? Thanks for the thread btw!
The Following User Says Thank You to Xero258 For This Useful Post: [ View ]
Whyzor
Senior Member
Thanks: 351
Can people please post confirmation of TWRP or CWM recoveries + rooting working without
problems if they've done it? I know it's unofficially supported at this time, but getting some
data collected would be useful.
---------- Post added at 01:43 AM ---------- Previous post was at 01:41 AM ----------
Quote:
Originally Posted by Xero258
What about if you unlock the boot loader and root, will you be able to get OTAs then?
I guess a better question is what's the point of no return (without reflashing the
factory image) where you break OTA updates? Thanks for the thread btw!
If you unlock bootloader & root, and modify some system files, OTAs may not be able to pass
some pre-install checks, at least this has happened to me on N4 before. I added one line to
some pre-install checks, at least this has happened to me on N4 before. I added one line to
/etc/build.prop, also one of the older SuperSU versions had to be uninstalled for pre-install
OTA checks to pass.
The Following User Says Thank You to Whyzor For This Useful Post: [ View ]
abaaaabbbb63
Thanks: 3,386
Recognized Contributor
Quote:
Originally Posted by Whyzor
Can people please post confirmation of TWRP or CWM recoveries + rooting working
without problems if they've done it? I know it's unofficially supported at this time, but
getting some data collected would be useful.[COLOR="Silver"]
There isn't *yet* a booting custom recovery for the Nexus 5. Give it a couple of days.
Nbsss
Thanks: 1,011
Senior Member
talz13
Senior Member
Thanks: 11
Is unlocking the bootloader going to be the same as on my GNex, where it wipes the device
Read More
in the process? If so, this will be the first thing I do when I get it out of the box on Monday.
Reply
Page 1 of 229
Subscribe to Thread
11
51
101
Last
Tags
bootloader, nexus 5, root, save a kitten, unlock
Previous Thread
Go Advanced
Next Thread
[OTA UPDATE GRA-L09] Android 6.0 Marshmallow & EMUI 4.0 Download
Nexus 5 General
Nexus 5 General
Android General
Nexus 5 General
xda-developers Google Nexus 5 Nexus 5 General [GUIDE] Nexus 5 - How to Unlock Bootloader, Install Custom Recovery and Root by Chromium
We're Social
XDA Developers was founded by developers, for developers. It is now a
valuable resource for people who want to make the most of their mobile
devices, from customizing the look and feel to adding new functionality.
Are you a developer?
More info
Contact Rules Android Guides Suggest Content Privacy Policy XDA App Root Any Device Remove ads on XDA
Copyright xda-developers. Hosted by Leaseweb
-- XDA 2015