How to root the Nexus 5 on Android Marshmallow -[AndroidTutor2018]

AndroidTutor2018- If you've updated your Nexus 5 to Android 6.0 Marshmallow and want to root it, we have the tutorial for you below. The tutorial is for a Nexus running Android 6.0 and will work for any of the most recent builds (regardless of the monthly security patch number). We're rooting a Nexus 5 on build number MRA58N, and we'll also be installing a custom recovery to do it.
Nexus 5 tips and tricks
Nexus 5 Android update news
Prerequisites
There are a few things you need before we get started: an unlocked bootloader, USB Debugging enabled and ADB Tools installed on your computer. Please note that unlocking the bootloader will wipe your device, so please back up your data first.
Download ADB Tools
Unlock Nexus 5 bootloader and enable USB Debugging

Marshmallow gets even better with root. / © ANDROIDPIT
How to install a custom recovery on the Nexus 5
Because we're not rooted at this point, we'll need to flash a custom recovery without root. The steps below will take you through installing a custom recovery, flashing a rootable kernel (I'll be using ElementalX but there are others you can substitute) and then rooting your Nexus 5 with SuperSU installed.
1. On your computer, download TWRP for the Nexus 5.
2. Rename the file you just downloaded to recovery.img (if your computer doesn't show the .img extension just rename the file to recovery) and move it to the ADB Tools folder where the ADB and Fastboot files are located.
3. Grab your Nexus 5 and reboot to the bootloader. To do this turn it off, then press and hold Power and Volume Down until you see the menu with Start written in green. This is Fastboot mode, also known as the bootloader.
4. Connect your Nexus 5 to your computer with a USB cable.

It's so nice to be able to connect a Nexus wth a regular USB cable... / © ANDROIDPIT
5. If you followed the tutorial above, you should have an unlocked bootloader at this stage. If you don't, you can do it now, but be reminded that the process wipes your device, so again, make sure you have a backup of your data. If your bootloader is already unlocked, skip the next two steps and continue with flashing TWRP (step 8).
6. To unlock the bootloader, navigate to the ADB Tools folder on your computer, hold the Shift button and right-click the mouse, and select Open command window here. Type: adb devices to ensure your Nexus 5 is recognized. If it isn't, make sure you have the correct drivers installed on your computer and try again.

This is the command window. / © ANDROIDPIT
7. In the command window, type: fastboot oem unlock
8. Now we can flash a custom recovery (TWRP) via Fastboot. In the command window, type: fastboot flash recovery recovery.img
9. Disconnect the USB cable once the recovery file has finished writing.
10. On your Nexus 5, use the volume buttons to highlight recovery and press the Power button to select it.
11. On the TWRP screen, swipe the slider to the right to make TWRP your default recovery.
12. In TWRP, tap Reboot > System but do not let TWRP try to root your phone.

You can download CWM recovery instead if you don't like TWRP. / © ANDROIDPIT
How to root the Nexus 5 on Marshmallow
Now you can download a rootable kernel and SuperSU for your Nexus 5, which you can now flash through custom recovery on your phone. As mentioned above, I'm flashing ElementalX kernel but you can substitute another if you wish.
1. On your Nexus 5, download ElementalX kernel and SuperSU 2.52.
2. Once you've downloaded both files, reboot your Nexus 5 to the bootloader again (turn it off, press and hold Volume Down and Power).
3. Now, use the volume buttons to highlight recovery and press Power to enter TWRP.
4. Tap Install and navigate to the kernel you downloaded (unless you moved it, it should be in your Downloads folder).

Your files should be in the Downloads folder. / © ANDROIDPIT
5. Tap the kernel file and slide the slider to flash it.
6. Once the kernel has been flashed, tap the home button.
7. Tap Install and navigate to the SuperSU file (which should also be in your Downloads folder).
8. Tap the SuperSU file and slide the slider to flash it.

Once you've flashed both the kernel and SuperSU you can reboot your Nexus 5. / © ANDROIDPIT
9. Once it has completed, tap the Reboot System button.
10. Once your Nexus 5 has rebooted, go to the Play Store and install Root Checker to verify you now have root. When you get a green pass message, you're done (just be sure to grant Root Checker's superuser request when you launch the app).
Root Checker What's the first thing you're going to do with a rooted Nexus 5?
Where to buy Google Nexus 5
Best price LG Google Nexus 5 D821 Factory Unlocked, 16GB, White - International Model $179.99
$179.99 total
Check Offer
New LG Nexus 5 D821 Google 32GB Phone Black+Extra Gift 2 Year Warranty $229.00
$229.00 total
Check Offer
BRAND NEW UNOPENED - Google Nexus 5 Unlocked GSM Phone, 16gb (Red) $389.99
Shipping from $7.20

$397.19 total
Check Offer
New LG Google Nexus 5 D820 16GB Android 4G Black Unlocked Smartphone $500.00
$500.00 total
Check Offer
BNIB 16GB LG GOOGLE NEXUS 5 BRIGHT RED D821 FACTORY UNLOCKED 2013 LTE 4G NEW $689.00
$689.00 total
Check Offer
43 Shares
Share on Facebook Tweet on Twitter Share on Google+ 43 Shares
More from the web

These 8 Supplements Will Strengthen And Grow Your PhysiqueBodybuilding.com
Monterey Park, California: This Brilliant Company Is Disrupting a $200 Billion IndustryEverQuote Insurance Quotes
California Residents Rush to Qualify for Online Conceal Carry After Potential Full Ban on Bump Stocks!National Concealed
Pay Off Your Mortgage With California Stimulus ProgramFetcharate Mortgage Quotes
by Taboola by Taboola Sponsored Links Sponsored Links Promoted Links Promoted Links

19 comments
Write a comment!
Write new comment:
SubmitCancel



1 Sam Charles 7 months ago Link to comment
[RESOLVED] Stuck in a bootloop pls help!

I tried a bunch of different methods to root my nexus 5, but I was unable to reach the final steps until these instructions. I did everything here, but with updated twrp, kernel, and SuperSU. Now I am stuck in a bootloop and I dont know what to do. Please help

-twrp-3.0.3-0-hammerhead.img
-BETA-SuperSU-v2.52
-ElementalX-N5-6.27

Solution: flash back to latest stock
0
Reply


1 Rob D 8 months ago Link to comment
This works for me on 6.0.1, using the files described, however the USB no longer gets recognised after the elementalx kernel gets installed. I saw another post on upgraded files being used, but this also didnt work. The updated files I used are:
- twrp-3.0.3-0-hammerhead.img
- ElementalX-N5-6.27
- SuperSU-v2.79-201612051815

Any pointers? The wifi functionality appears to be broken using the new files, not sure, no networks are showing up now... :(
0
Reply


1 Rob D 7 months ago Link to comment
So I got this working. I started again using a factory reset, then did the exact procedure but omitting the ElementalX step. Everything (inc USB, wifi etc) appears to be working fine now.
0
Reply


1 nugendar 10 months ago Link to comment
followed everything on the list. surprise surprise! it doesn't work. avoid this instruction.
0
Reply


1 Sebastian 10 months ago Link to comment
I'm pretty sure it is because of the old kernel for 6.0.0. If you have 6.0.1 then download the new kernel: [KERNEL] [Dec 7] ElementalX 6.27 (Marshmallow) on XDA
Also, there is a new version of TWRP: twrp-3.0.2-0-hammerhead.img
And SuperSU: [STABLE][2016.09.01] SuperSU v2.78 on XDA
0
Reply


1 Satish Kumar 11 months ago Link to comment
Its not working.
0
Reply


1 Dylan Cliff Aug 12, 2016 Link to comment
Flashing the recovery on the device essentially doesn't work. Recovery is not an available tool on the adb tools bootloader. So whenever i try to apply get it to install the new recovery img it just gives me a list of commands and doesn't do anything.
0
Reply


1 Oscar Aguirre Jul 17, 2016 Link to comment
Please help my phone isnt loading android and i cant download kernel and/or su in the phone
0
Reply


1 David Turchak Aug 2, 2016 Link to comment
Same with me. Did you able finally to finish process?
0
Reply


1 Bilal Yaqoob Apr 13, 2016 Link to comment
The first thing ill do is HIBERNATE GOOGLE APPS which are always running ever when your phone is off
0
Reply


1 Gabriel Romo Feb 7, 2016 Link to comment
Muchas gracias al equipo androidpit, trabaja de maravilla, Excelente trabajo.
thanks to androidpit team, works grat, good job
0
Reply


2 embedsol Jan 11, 2016 Link to comment
works great !
1 Omar Hamwi
Reply


1 Roman Turzák Dec 8, 2015 Link to comment
Please ... I rooted my mobile with TWRP ... Is it a big problem?
0
Reply


1 Roman Turzák Dec 8, 2015 Link to comment
Now it is loading screen all the time ...
0
Reply


1 Amin Behizad Dec 7, 2015 Link to comment
Thank you so much for this tutorial!!!!!!!
0
Reply


4 lookgod88 Nov 27, 2015 Link to comment
Will I still get OTA update notification after root?
0
Reply


2 Ronnie Dunn Nov 26, 2015 Link to comment
You don't have to Miss Carli...but by rooting your phone (if your not hip to it) it allows you to not only customize it like you've never known,but you can also download certain REALLY COOL apps that you couldn't download unless your phone was rooted! Those are just a couple reasons...so if you'd like to learn more...GOOGLE IT GIRL!!
0
Reply


1 Carlos Monroy Nov 26, 2015 Link to comment
It works! :)
0
Reply


2 Marco Antônio Nov 24, 2015 Link to comment
Any news about root Moto X 2014 on Marshmallow?
0
Reply
Write a comment!

Subscribe to receive free email updates:

0 Response to "How to root the Nexus 5 on Android Marshmallow -[AndroidTutor2018]"

Post a Comment