yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Chad_Petree:
I didn't install any custom roms or kernels on my nexus 4, just touch recovery which auto installed itself :confused:
[Nexus 5 Android Development] MLAM:
Thanks for this,

May I ask what version of Mac OS X are you using?

I'm on mavericks and I get "Root.Nexus.5" can't be opened because it is from an unidentified developer"

Granted I only tested it without the phone plugged in to see what it says.
[Nexus 5 Android Development] 530farm:
I notice all the tookits are specific to 1 task.

I want to root, unlock my bootloader and install twrp.

Is there a specific order that I should run the tool kits?
[Nexus 5 Android Development] thefoss:
1. unlock bootloader

2. install custom recovery

3. root
[Nexus 5 Android Development] 530farm:
Can I do all of that without a SIM Card installed?
[Nexus 5 Android Development] devaughnaw:
Yeah you're fine.

---------- Post added at 02:09 PM ---------- Previous post was at 02:07 PM ----------

Yes. I don't have a micro sim card yet. Everything installed pretty easily without it.
[Nexus 5 Android Development] envision:
I knew I got a nexus 5 for a reason only the first week and such awesome Mac tools thanks man
[Nexus 5 Android Development] adamsweeting:
You need to go into System Preferences, Security & Privacy, General tab. Click the padlock at the bottom left, bung your password in. Then click the "Anywhere" button under "Allow apps downloaded from:"
[Nexus 5 Android Development] 530farm:
I unlocked the bootloader, installed twrp but when I tried to reboot the phone so I could add the SuperSU zip to root, it gets stuck at the Google boot animation. Any help would be appreciated
[Nexus 5 Android Development] lazydesi:
you can

Enter into recovery mode and do a factory reset.
[Nexus 5 Android Development] 530farm:
I went into recovery, and did the "factory reset" ... and it failed. It said "E;Unable to mount storage"
[Nexus 5 Android Development] :
Thanks buddy.
[Nexus 5 Android Development] thefoss:
Does this install adb and for you? Or do I need to download the android sdk?
[Nexus 5 Android Development] techfanatic9:
ADB and Fastboot are included in each zip file
[Nexus 5 Android Development] techfanatic9:
If you want to root, all you need is the root toolkit.

The root toolkit will unlock bootloader, install TWRP and root your phone.
[Nexus 5 Android Development] lazydesi:
Then try this way

Firts unroot the ph

Then install recovery

Then root it again
[Nexus 5 Android Development] MLAM:
Thanks for that, you probably have saved me hours of head scratching! :)
[Nexus 5 Android Development] shdwslayer:
Thank you! This was fast and super easy!
[Nexus 5 Android Development] b.spec:
Worked like a charm, took all of 10 minutes. Cheers!
[Nexus 5 Android Development] HeartStrong07:
Excellent Toolkit: Newbie Friendly!

Great toolkit ... took 2 - 3 minutes and very newbie friendly ... definitely worth of donation!
[Nexus 5 Android Development] ftarules:
Total 2 mintues and done. Thanks for looking out for the mac guys. Awesome.
[Nexus 5 Android Development] jsarino:
Thanks for offering this! :)
[Nexus 5 Android Development] AceKingNYC:
Thanks given.

Appreciate the time and effort for releasing this! I'm fairly new to unrooting - watched your youtube vid for mac root and it was great. Good and simple explanation ! Will definitely use this tool kit very very soon
[Nexus 5 Android Development] jsarino:
I had already rooted my N5 (not through you, the old-fashioned way :p), but haven't installed custom recovery yet. So, your one-step TWRP recovery was simple and fast! Thanks again for providing this. :)
[Nexus 5 Android Development] akinandroid:
Can someone tell me how you upgrade the TWRP from 2.6.3.0 to 2.6.3.2? I have replaced the .img file inside the toolkit folder with the latest TWRP but when i boot into recovery following completed procedure it doesnt look to have updated?

Thanks
[Nexus 5 Android Development] kydkupa:
You can use the app Flashify to flash kernel boot images as well as recovery boot images. Its free on the Play Store.
[Nexus 5 Android Development] akinandroid:
Thanks kydkupa that worked!
[Nexus 5 Android Development] joshthewaster:
stuck booting

Bootloader is unlocked and TWRP is working but when I boot it just goes forever, let it go a good 5 min and just in case im trying again right now and setting a timer for 15 min. Anyway is there a rooted totally stock rom around? I don't want a custom one at this time.

Or if anyone knows what went wrong and how to fix it that would be great!

Edit: It doe not boot no matter how long I let it run, I also cant seem to mount the system to my computer.

I really need my phone to work.

Edit 2: got it
[Nexus 5 Android Development] loki980:
Does rooting using this toolkit wipe your data?
[Nexus 5 Android Development] AceKingNYC:
yes
[Nexus 5 Android Development] James12:
Same problem here. What was your solution?
[Nexus 5 Android Development] TheDudeAbides:
Could not have been easier to install TWRP.
[Nexus 5 Android Development] Chad_Petree:
How can I restore the stock recovery? TWRP will prevent me from getting OTAs right? :crying:
[Nexus 5 Android Development] giaris:
I know you'll be prevented from receiving ota only if you will install a custom kernel and or custom Roms. Maybe I'm wrong...

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Android Development] Chad_Petree:
I'm not sure anymore, I think being rooted is having a custom kernel, right? :confused: I mean to be rooted you NEED a custom kernel
[Nexus 5 Android Development] giaris:
You can root your device by unlocking the boot loader and installing a custom recovery (IE CWM).
[Nexus 5 Android Development] Chad_Petree:
OK , I found out already , we can have a rooted stock ROM , and an unlocked bootloader but having a custom recovery WILL prevent us from getting OTAs do you know how to reflash the stock recovery ? :confused:
[Nexus 5 Android Development] WolfpackFan1970:
TWRP Bricked my Nexus 5.

Luckily was able to flash back to stock.
[Nexus 5 Android Development] alltechinside:
How did you brick it? Worked fine to me?
[Nexus 5 Android Development] AceKingNYC:
Finally got around ot using this toolkit to root and unlock bootloader. Literally a few minutes and im good to go. Everything working smoothly:good:
[Nexus 5 Android Development] neags23:
In the same boat. Anyone?
[Nexus 5 Android Development] letmedanz:
Thank you so much! Worked like a charm.. no issues, no hassles, just a quickly rooted & awesome Nexus 5!
[Nexus 5 Android Development] NYCguy2020:
Mine is bricked as well. I have tried to restore back to stock (Option 6) but phone stuck at boot animation.Tried 3 times already and no dice :(

Any help will be greatly appreciated.
[Nexus 5 Android Development] alltechinside:
Did you guys follow the instruction as in transfer supersu zip file before flashing twrp?

I had been stuck on the boot animation because of this mistake so I had to unroot and go back to stock ( also used this tool for that).

Hopefully this helps! I might make a video on how to use this tool if you guys want to see it.
[Nexus 5 Android Development] techfanatic9:
After using the stock/unroot toolkit enter into recovery mode and do a factory reset, clear partition cache, and then reboot.
[Nexus 5 Android Development] Sir_Zuul:
Quick question I couldn't find. Does unrooting uninstall TWRP so I can return to stock? I take it I should unroot and then lock the bootloader if I needed to (say for an RMA) do I need to do any extra steps to get rid of TWRP? Thanks and thanks a lot of an awesome toolkit
[Nexus 5 Android Development] ldubs:
Unrooting doesn't uninstall twrp. If you flash the phone back to stock it will overwrite twrp with stock recovery. Lock the bootloader and done.

sent from my hammerhead
[Nexus 5 Android Development] Chad_Petree:
How can I flash the stock recovery without flashing the stock image ? I wanna keep root I just don't wanna have twrp so I can receive otas in the future
[Nexus 5 Android Development] ldubs:
I don't think that's possible...

sent from my hammerhead
[Nexus 5 Android Development] wund3rground:
You have to have fastboot working and fastboot flash the stock recovery. I don't mess around with toolkits, as IMO they cause trouble.

---------- Post added at 11:48 AM ---------- Previous post was at 11:46 AM ----------

Yes it is. If you download the factory image and unpack the zip all of the images are in there. Bootloader, recovery, system, radio, etc.

---------- Post added at 11:49 AM ---------- Previous post was at 11:48 AM ----------

You get it working?
[Nexus 5 Android Development] mobiilisti:
Thank you!! :)

2U2099541M4832246
[Nexus 5 Android Development] mobiilisti:
Something strange happened... Nav bar is no more transparent and boot does not help? This happened after I used camera and took a couple of pics...
[Nexus 5 Android Development] interqd:
please help....

i got a bootloop after install twrp recovery

i didnt do the thing where the script told to transfer super su.zip

may it be the problem ?

i can go to the twrp recovery, but bootloop always :(

please help someone..
[Nexus 5 Android Development] alltechinside:
Then unroot your phone (that means relock bootloader and get rid of twrp). You can use this toolkit to unroot.

I've had the same problem so I fixed it by doing this :D
[Nexus 5 Android Development] alltechinside:
Hey everyone! From [MENTION=4570798]techfanatic9[/MENTION]'s one click root toolkit, I've added the latest TWRP Recovery and SuperSU. They have been modified slightly and tested by me. All credits should be given to techfanatic9. All I did was change a few lines lol

https://www.dropbox.com/s/ckt3wzc9c11j7sp/Root Nexus 5.zip
[Nexus 5 Android Development] lucasj:
nice thanks! support you!
[Nexus 5 Android Development] rotz055:
Stupid question. Will this work to root 4.4.2?
[Nexus 5 Android Development] alltechinside:
Yes it will. Confirmed it myself. Use my link above if you want to have the latest twrp & SuperSU.
[Nexus 5 Android Development] TomReigate:
help

Can someone please confirm the process of going back to all stock using the toolkit? I want to receive OTA updates. I have downloaded both stock.unroot and lockbootloader. Which order should I do this in?

Thanks.
[Nexus 5 Android Development] alltechinside:
Just do the unroot part. No need to lock the bootloader. Confirmed this myself
[Nexus 5 Android Development] TomReigate:
Thanks for your help
[Nexus 5 Android Development] AntikytheraTech:
Brilliant! Thumbs up to [MENTION=4713629]alltechinside[/MENTION] and [MENTION=4570798]techfanatic9[/MENTION] for these contributions. I had already unlocked bootloader and had been rooted (with stock ROM, stock kernel and stock recovery) on 4.4.1 - then yesterday I got the 4.4.2 OTA which installed just fine (FWIW, receiving and flashing an OTA works fine if you are rooted, as long as you have stock recovery, ROM and kernel).

Once I was booted back up in 4.4.2 I had lost root (Naturally, because the OTA I got from Le Goog did not come pre-rooted) - which brought me to a search on rooting 4.4.2 and I stumbled across this thread. I was in search of a way to root my fresh new 4.4.2 stock ROM and install TWRP but ALREADY had an unlocked bootloader (so I wanted to skip that part)

I assumed that since I already have an unlocked bootloader I would be able to skip this step in the 1-click toolkit :fingers-crossed: - but just to be safe, I backed everything up. When I ran the 1-click I soon found that it runs the unlock procedure as step one, no way around it, BUT it recognized the bootloader was already unlocked! When I ran this first procedure, it gave a message that unlocking bootloader failed due to already being unlocked and then allowed me to proceed with the remainder of the procedures (flash TWRP via fastboot and then flash root via TWRP) all without losing any data. :highfive:

This is a great toolkit for us OSX users! Thank you again so much for this contribution!

Again: just to be clear, as stated in the OP, this 1-click toolkit will wipe your data as this is a necessary process in unlocking the boot loader. If your boot loader is already unlocked, then data will be preserved but ALWAYS backup just to be safe ;)
[Nexus 5 Android Development] Saftwear:
To those worried about not getting OTA updates.

You will still get OTA updates. TWRP will not stop this from happening.

The issue will be when you go to install the OTA update.

But the TWRP allows you to manually install the update.

You will however lose root when you flash a new update.
[Nexus 5 Android Development] nickvp:
Bootloop

My Nexus 5 is stuck in a bootloop, where the colored circles go in and out. What should I do? This happened after I restarted after installing supersu.
[Nexus 5 Android Development] Linkey:
It worked with no problems. Thank you!
[Nexus 5 Android Development] Chad_Petree:
Will this kit root stock 4.4.2? Also I downloaded the One klick root toolkit and I get the message it will erase all the files from my phone, I don't want that , is it impossible to get root with this toolkit without losing my data, I already unlocked the bootloader when I got my phone :cowboy:
[Nexus 5 Android Development] alltechinside:
Please search the forum beforehand because all the questions you asked has been answered.

Yes it will work with android 4.4.2. If you already unlocked the bootloader, you won't loose any data. (Yes, I've done this myself to confirm it)

You can use my download link(right above your post) to get the latest twrp and supersu. It's been slightly modified from op's post.
[Nexus 5 Android Development] Chad_Petree:
Thank you :) I swear last time I checked your posts weren't there , my device appears to be rooted but for example I cannot open adblock, it freezes, my apps are taking forever to install on the play store and when I tried to use root checker it won't tell me if my device is rooted, it says ""please wait for root checker to complete. System appears to be running very slow" I flashed the update.zip again but I still face the same situation :(
[Nexus 5 Android Development] alltechinside:
Not sure if i follow. Why do you need to flash update.zip? Did you follow the instructions carefully?

You need to use twrp to flash supersu.

Can you tell me how you rooted your phone? And are you using ART or dalvik?
[Nexus 5 Android Development] Chad_Petree:
This update file I'm talking about is the zip that comes with the toolkit ,the one you have to copy to your SD card and then flash using twrp , I'm using dalvik :'(

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Android Development] alltechinside:
Try clearing data on your supersu. So in the root checker, are there any messages that pop up? Or just doesn't do anything?
[Nexus 5 Android Development] Chad_Petree:
But that's a funny thing too ,supersu wasn't automatically installed after I rooted my device , is that normal ? Yes I get this message

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Android Development] alltechinside:
Ya that's the problem.

This means your phone isn't rooted right now.(or isn't properly installed)

When you try to use the toolkit, the procedure is suppose to be:

1)Unlock bootloader (if already done, then the toolkit will skip this step)

2) turn your phone on and complete setup screen.(you can ignore this if you have setup already)

3) transfer supersu zip file to your phone(you HAVE to do this manually)

4)go back to fastboot mode and then flash twrp(toolkit will do this for you)

5) now on twrp flash the supersu file.

And done.

If you have done this and you still have a problem. You should probably backup your apps, unroot and then try again.
[Nexus 5 Android Development] Chad_Petree:
This is exactly how I did it ,I even transfered the file via the android /Mac file manager :'( and now how do I unroot ? :'( via adb ? The toolkit just has an option to restore the phone , aka lose all my settings and apps :'(

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Android Development] alltechinside:
Ya that means you'll probably have to unroot. Backup your apps. I use helium or titanium for that
[Nexus 5 Android Development] Spider_Pig27:
I just wanted to say thank you for this very useful tool
[Nexus 5 Android Development] rillo561:
Thanks
[Nexus 5 Android Development] poplectic:
Brilliant work!
[Nexus 5 Android Development] CJSnet:
I recommend that you explain in the instructions, after unlocking the bootloader, to complete Android first-time setup, and wait for and install any System Updates. If I root before the system updates to 4.4.2, then in messes up root. Root has to be the last system process done.
[Nexus 5 Android Development] ohemetophobia:
Worked like a charm, thanks a lot! An option for CWMR would be nice, though.
[Nexus 5 Android Development] augoza:
Is this still a good guide for Mac? I only have access to a Mac and I only have experience with unlocking and rooting with windows. Kind of nervous. But I read it and it sounds much easier than windows.
[Nexus 5 Android Development] gwstmar:
Worked just fine for me 10 days ago.
[Nexus 5 Android Development] venusxx:
Does this toolkit support 4.4.2, please?
[Nexus 5 Android Development] Ripx2000:
Great to see support for Mac!

Good job!
[Nexus 5 Android Development] techfanatic9:
Yes it supports Android 4.4.2! :fingers-crossed:
[Nexus 5 Android Development] Jrmiller:
gonna give this a try tomorrow
[Nexus 5 Android Development] T3hBraveBoss:
Thanks for making this, big help. Was not able to do this on boot camp on windows 8; thinking it may be USB 3.0 problems
[Nexus 5 Android Development] Sagar4995:
Hi there,

Firstly, thank u for the instuctions & guidance on the thread.

I was hoping to root tonight, just wanted to chk if the toolkit is updated or if any updates have come through since you posted the update.

Thanks in advance =)
[Nexus 5 Android Development] alltechinside:
That post had outdated stuff and I noticed the link was dead.

I uploaded the newest twrp 2.7.0.0 and SuperSu v1.93.

Tell me if there's a new update again so that I'll reupload it on dropbox.

https://www.dropbox.com/s/ckt3wzc9c11j7sp/Root Nexus 5.zip
[Nexus 5 Android Development] Sagar4995:
the process went smoothly. took me about 3-4 mins.

thank you again friend.
[Nexus 5 Android Development] Shallwhat:
Worked like a charm. Thank you. Took less then 10 minutes to do!
[Nexus 5 Android Development] Hotbread:
[MENTION=4570798]techfanatic9[/MENTION] So I would like to use this toolkit, but just want to get it straight... Reading the OP suggests that there is just one application that handles everything described, but when I click on the download link, it takes me to another article with separate download zips for each function... Now I'm looking at some of the latest posts and people are sharing a single link.

I guess I'm just confused which one is "the one" zip I should download. Can you point me in the right direction? Also, TWRP is now up to 2.7.0.1, is that what's included?

EDIT: Ok. After doing a bit of reading and watching a YT video, I guess the latest link posted by [MENTION=4713629]alltechinside[/MENTION] is the latest and greatest. Thanks! PS: the additional links in the download article threw me for a loop. :P
[Nexus 5 Android Development] rudyy:
Excellent and easy to use.

Thanks.
[Nexus 5 Android Development] Chad_Petree:
What does exactly the unroot/stock toolkit does? Does it flash the stock image or just flashes the stock (unrooted) kernel? :confused:
[Nexus 5 Android Development] symonchristopher:
For some reason mine would never boot after rooting - and TWRP would fail when I tried to wipe to fix the boot issue. Any ideas?
[Nexus 5 Android Development] SneakerKween:
Same thing happened to me. Does anybody have any idea how to fix this?
[Nexus 5 Android Development] GrantHeppes:
Will this remove the tamper flag if I have to send my device back?
[Nexus 5 Android Development] puckman:
Is there a difference in ROM for various world regions?

Only one question. I noticed that the stock.unrootnexus thing is the biggest one so I guess that has the restore image in it. Does it make a difference what version of Nexus 5 you have? I have an Asian one, from Japan, we have different frequency bands here. Could this give me a problem?
[Nexus 5 Android Development] techfanatic9:
Nope you shouldn't have a problem since the stock images were gotten officially from Google. https://developers.google.com/android/nexus/images#hammerhead
[Nexus 5 Android Development] puckman:
Great stuff, I have just unlocked my phone. All seems ok!
[Nexus 5 Android Development] Miisham9:
Will this work also on a nexus 7 2013?
[Nexus 5 Android Development] dcxgod:
OP,

Thank you for this entire toolkit set. I have to say, it's awesome. I've been having some issues with SuperSU over the last few days and ended up deciding to reset to stock unlocked and then go through the whole unlock and root all over again to see if it works. Are these files still up-to-date, or should I flash new files via TWRP?
[Nexus 5 Android Development] Brian Rubin:
This worked like a CHAMP. Thank you SO much!
[Nexus 5 Android Development] cubskru:
Installed twrp with the toolkit on 4.4.4 and booted into recovery. Right before i rebooted it asked me if I wished to install supersu, and now my phone will not boot. I tryed to wipe, the device but it failed. Any advice?
[Nexus 5 Android Development] Danny 0311:
Just wondering if this toolkit is out of date. Is there an update that i can use? Thanks.:confused:
[Nexus 5 Android Development] SteveMurphy:
It'll still work on KK, can't speak to LP. Just make sure you follow the instructions and everything will work.
[Nexus 5 Android Development] F'n Amazing:
bump, worked like a charm, thanks for this
[Nexus 5 Android Development] Lynx901:
Will this work on Android 5.0.1 stock? I'm thinking rooting and i don't know how to...
[Nexus 5 Android Development] techfanatic9:
Toolkits have been updated to support Lollipop, enjoy! :D
[Nexus 5 Android Development] SteveMurphy:
Thank you for your continued support, my friend!
[Nexus 5 Android Development] fairyshacker:
Edit: Solution found
[Nexus 5 Android Development] l Frosty l:
Or to not allow EVERY app to open from the internet

Just right click the app and hit "open"

You will get a popup again warning you but you are good to go using it
[Nexus 5 Android Development] Danny 0311:
Tried it twice with no luck. I'm on 5.0.1, and the bootloader is locked!!!:confused:

---------- Post added at 12:29 ---------- Previous post was at 12:10 ----------

Once i get to recovery, and hit the power button, the phone reboots. I can't get to the screen that says "install". Any help would be greatly appreciated. Thanks.:confused:
[Nexus 5 Android Development] SteveMurphy:
Works fine for me, perhaps you should try another browser, or more drastically a VPN?
[Nexus 5 Android Development] yanksrock1000:
To the OP...I just want to say thanks. I have been with my Nexus 5 since xmas of 2013, and today is my final day with the guy. I have used this toolkit from day one to unlock the bootloader, install twrp, ect...and the power button broke on my Nexus 5, and now I am selling it on eBay for parts/not working. I used the unroot/back to stock for my final day. I just want to say thanks for working flawlessly back in 2013 as well as today in 2015. My glorious Nexus 5 ride would NOT have gone so smoothly if it wasn't for these awesome Mac Tookits.
[Nexus 5 Android Development] fairyshacker:
was on stock lollipop

install toolkit, unlocked, flashed twrp & restart to recovery...

still at teamwin logo....