Root and recovery 5.1 - Nexus 5 Q&A, Help & Troubleshooting

Im getting a used N5 this week its already factory unlocked reset and Tmo and on 5.1. My question is in order to root and recovery do i just do the nexus toolkit backup N5 for 5.1 and unlock bootloader then root and recovery?

cell2011 said:
Im getting a used N5 this week its already factory unlocked reset and Tmo and on 5.1. My question is in order to root and recovery do i just do the nexus toolkit backup N5 for 5.1 and unlock bootloader then root and recovery?
Click to expand...
Click to collapse
Why would you backup a second-handed n5 which you never used?
I know nothing about toolkits, but here is how I do if I am doing the whole thing from zero:
I download and install 15 secs inataller http://forum.xda-developers.com/showthread.php?t=2588979
I download google usb drivers http://developer.android.com/sdk/win-usb.html
I download twrp http://dl.twrp.me/hammerhead/
I press and hold power+volume_down keys until my phone reboots to fastboot mode.
I comnect the phone.
I go to device manager and install the google usb drivers for the new unknown device.
I open CMD
I type fastboot oem unlock
Select yes on the phone
I restart the phone and let it boot up
I copy the latest supersu zip to the phone http://download.chainfire.eu/supersu
I reboot it to fastboot mode again
I cd to that folder in the CMD window where the twrp recovery image is.
I start typing fastboot flash tw and press the tab key to fill the rest of the twrp filename
I reboot the phone to recovery
I flash the supersu zip

Can someone chime in on using NRT 5.1 root and recovery and unlock bootloader? The phone is running factory 5.1 no root or recovery or unlocked bootloader just unlocked phone

cell2011 said:
Can someone chime in on using NRT 5.1 root and recovery and unlock bootloader? The phone is running factory 5.1 no root or recovery or unlocked bootloader just unlocked phone
Click to expand...
Click to collapse
I have to agree with bitdomo. It's much better not use the tool kit as you'll learn more about your device and how to get out of trouble down the road. There's a very good tut in the general forum on how to unlock the bootloader and root,http://forum.xda-developers.com/showthread.php?p=47025283. With that said nrt will work if that's what you want to do.
Sent from my Nexus 9 using XDA Free mobile app

jd1639 said:
I have to agree with bitdomo. It's much better not use the tool kit as you'll learn more about your device and how to get out of trouble down the road. There's a very good tut in the general forum on how to unlock the bootloader and root,http://forum.xda-developers.com/showthread.php?p=47025283. With that said nrt will work if that's what you want to do.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Well im use to using NRT and noticed that 5.1 and root and recovery and unlock bootloader are there so i think ill just go with that method. I just wanted to make sure im doing it right in order. Backup unlock BL and root and recovery

cell2011 said:
Well im use to using NRT and noticed that 5.1 and root and recovery and unlock bootloader are there so i think ill just go with that method. I just wanted to make sure im doing it right in order. Backup unlock BL and root and recovery
Click to expand...
Click to collapse
Yes, that will work
Sent from my Nexus 9 using XDA Free mobile app

Related

How do I root my nexus s 4g? I already have an unlocked bootloader.

Hey
I unlocked the boatloader, which wiped the phone, and rooted it when I first got it.
I got the new update recently and just found out I lost root. Is there a way to get root back without wiping the phone? I still have the unlocked bootloader since I have the little lock on the boot screen.
I read the guides, but they all seem to also do the fastboot thing that unlocks the bootloader or installs a new ROM. I just want to keep my phone the way it is (stock) and root it. I'm just really confused about how to do it.
Thanks!
Mount USB while in Android
Copy su.zip
Boot into cwm recovery
Install su.zip from sdcard
Done
Sent from my Nexus S using XDA App
I don't have unlocked anything. I'd like a rooted phone without having to wipe anything. Is it possible?
If the bootloader isn't unlocked then doing so will wipe.
If it's unlocked installing su and recovery as I described will wipe nothing.
Sent from my Nexus S using XDA App
Ok. And I suppose you cannot root a phone without unlocking the bootloader first?
athani said:
Ok. And I suppose you cannot root a phone without unlocking the bootloader first?
Click to expand...
Click to collapse
Not anymore. Need an unlocked bootloader to root now.
Sent from my Nexus S using XDA App

[Q] Recovery without bootloader unlock

Hi there, my friend has a Nexus 5 (like me) , and he wanted root so bad , and I tought him to root through Towelroot , however , he didn't unlock his bootloader, he got rooted and he got Xposed module on and running , but now he wants to have S2W which is achievable through flashing a kernel, but he doesn't have a recovery and he's bootloader locked , how can he achieve that SAFELY ?
1) flash a recovery using an app called flashify
Or
2) unlock the bootloader using an app called bootunlocker
Sent from my Nexus 5 using Tapatalk
seaskyways said:
Hi there, my friend has a Nexus 5 (like me) , and he wanted root so bad , and I tought him to root through Towelroot , however , he didn't unlock his bootloader, he got rooted and he got Xposed module on and running , but now he wants to have S2W which is achievable through flashing a kernel, but he doesn't have a recovery and he's bootloader locked , how can he achieve that SAFELY ?
Click to expand...
Click to collapse
as long as he already has root, he can flash a new recovery without unlocking the bootloader. first, grab the recovery you want to flash and put it in the storage of your phone(in a .img form). next, grab the flashify app from the play store. now open the flashify app, chose to flash a recovery, find your recovery in your storage, now chose your recovery and flash it. thats all. now boot into recovery to make sure it flashed.
simms22 said:
as long as he already has root, he can flash a new recovery without unlocking the bootloader. first, grab the recovery you want to flash and put it in the storage of your phone(in a .img form). next, grab the flashify app from the play store. now open the flashify app, chose to flash a recovery, find your recovery in your storage, now chose your recovery and flash it. thats all. now boot into recovery to make sure it flashed.
Click to expand...
Click to collapse
You can download recoveries directly through flashify
Sent from my Nexus 5 using Tapatalk
rootSU said:
You can download recoveries directly through flashify
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
really?
didnt know that, ive always grabbed them from their official sites. not like it makes a difference, im still on an older twrp, like version 2.6.3.4 :angel:
Makes no difference for me either. Latest philz always comes from my computer
Sent from my Nexus 5 using Tapatalk
if this procedure is being done on a stock rom (OTA updated), don't forget about /system/recovery-from-boot.p and /system/install-recovery.sh. Either rename or delete them.

[Q]Reflash stock rom

Is there any tool that will reinstall the stock rom on a Nexus 5 with LOCKED bootloader? Something like emergency reflash from LG Support Tool.
LG Support Tool? There's something LG Flashtool and that works.
albwh said:
Is there any tool that will reinstall the stock rom on a Nexus 5 with LOCKED bootloader? Something like emergency reflash from LG Support Tool.
Click to expand...
Click to collapse
If you have to reinstall the stock firmware why do you care? Just unlock the bootloader, you're going to lose everything anyway.
What situation are you in. There may be ways to save your data
Sent from my Nexus 5 using XDA Free mobile app
The ideea is that I want to root this phone with Towelroot and I've heard that if Google detects a change in the system you can't install any more OTA updates. If this is true, I want to find a method to reflash the stock so I cand get the updates.
albwh said:
The ideea is that I want to root this phone with Towelroot and I've heard that if Google detects a change in the system you can't install any more OTA updates. If this is true, I want to find a method to reflash the stock so I cand get the updates.
Click to expand...
Click to collapse
If you're rooted but otherwise completely stock, you should get OTA updates no problem.
albwh said:
The ideea is that I want to root this phone with Towelroot and I've heard that if Google detects a change in the system you can't install any more OTA updates. If this is true, I want to find a method to reflash the stock so I cand get the updates.
Click to expand...
Click to collapse
Well if you modify any system files you don't get the ota. Your best bet is to root and then flash a custom recovery with flashify and then flash a stock rom zip that will be created shortly after any updates come out. You can also unlock the bootloader without wiping data with boot unlocker after your rooted.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Well if you modify any system files you don't get the ota. Your best bet is to root and then flash a custom recovery with flashify and then flash a stock rom zip that will be created shortly after any updates come out. You can also unlock the bootloader without wiping data with boot unlocker after your rooted.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
There's a whole sticky on returning to stock so you can get OTAs. </thread>
If you're able to flash the stock ROM, you should be past the point where you need to worry about being able to get any updates.
Yeah. I'd highly recommend just flashing a prerooted busybox stock ROM. You can always do a dirty flash over stock ROM and still keep data.
jd1639 said:
Well if you modify any system files you don't get the ota. Your best bet is to root and then flash a custom recovery with flashify and then flash a stock rom zip that will be created shortly after any updates come out. You can also unlock the bootloader without wiping data with boot unlocker after your rooted.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
You do get the OTA, but if you modify /system/ or something else, the OTA won't install.
It takes 10 minutes to return to stock for an OTA. Just do what you want with the phone now and enjoy!
The next OTA will be months from now. Return to stock then.
You dont need any tool. Download factory image and flash that by executing flash-all.bat (for windows, if you use linux execute flash-all.sh). Flash a custom recovery. Then remove hidden tampered flag by flashing tampered flag remover zip. Then flash stock recovery and lock bootloader by typing fastboot oem lock.
yashade2001 said:
You dont need any tool. Download factory image and flash that by executing flash-all.bat (for windows, if you use linux execute flash-all.sh). Flash a custom recovery. Then remove hidden tampered flag by flashing tampered flag remover zip. Then flash stock recovery and lock bootloader by typing fastboot oem lock.
Click to expand...
Click to collapse
You can do the last 2 steps using bootunlocker from play
Sent from my Nexus 5 using Tapatalk
rootSU said:
You can do the last 2 steps using bootunlocker from play
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yes that is an awesome app.
yashade2001 said:
Yes that is an awesome app.
Click to expand...
Click to collapse
Yeah agreed. I use it to keep my bootloader locked but so I can unlock it without a wipe on the fly.
rootSU said:
Yeah agreed. I use it to keep my bootloader locked but so I can unlock it without a wipe on the fly.
Click to expand...
Click to collapse
Why do you keep your bootloader locked?
yashade2001 said:
Why do you keep your bootloader locked?
Click to expand...
Click to collapse
So no one can get my data
rootSU said:
So no one can get my data
Click to expand...
Click to collapse
How someone can get my data if i have a unlocked bootloader?
yashade2001 said:
How someone can get my data if i have a unlocked bootloader?
Click to expand...
Click to collapse
Locking the bootloader isn't enough on its own.
Android: adb pull data, MTP (Screen lock can prevent)
Custom recovery: adb pull data, flash zip to turn off android lock screen (Recovery lock can prevent)
Lock bootloader: Prevent replacing locked recovery with unlocked recovery,

[Q] Help for Rooting.

Hi all.
Can anyone lend a hand to help me get my phone rooted again? I had originally rooted it when it first turned up, by using the guide on these forums. Since then I (stupidly) did the OTA upgrade not thinking about losing root. I went from 33r to 38r. The first I knew was when Titanium back up wouldn't back up.
My problem is that neither of my computers (desktop - XP) (Laptop - Windows 7) will now see my phone. They will both make a sound when connecting via the USB cable but neither of them show the phone via My Computer. I've un-installed/installed the drivers again and I have tried putting the phone in Fastboot and clicking on Unlock Bootloader, via the Toolbox V3, but the phone will only "reboot" to the home screen. I'm needing a bit of help from someone who knows what they are doing
Thanks in advance for any help... Foz
Once you unlock the bootloader, I don't think you need to unlock it again. If you lose root after an OTA, I think all you need to do is reflash superuser from recovery. And don't touch those toolboxes. They don't help you learn to solve these problems by yourself.
Sent from my A0001 using XDA Free mobile app
I've tried that but it fails...
Turn off phone.
volumedown and on
phone enters cyanogen recovery
apply update
internal storage
(locate to SuperSU -v2.02.zip
INSTALL FAILS.
OKay
reboot system, back to my normal settings/homescreen.
I have SuperSu on my phone BUT get the warning that no binary is installed and I need to re root, hencmy posting here.
adamfoz said:
I've tried that but it fails...
Turn off phone.
volumedown and on
phone enters cyanogen recovery
apply update
internal storage
(locate to SuperSU -v2.02.zip
INSTALL FAILS.
Click to expand...
Click to collapse
If re-downloading the zip doesn't work you should try a newer SuperSU version.
meekrawb said:
If re-downloading the zip doesn't work you should try a newer SuperSU version.
Click to expand...
Click to collapse
I believe I have the latest version from the play store ( 2.14).
adamfoz said:
I believe I have the latest version from the play store ( 2.14).
Click to expand...
Click to collapse
Should have clarified, you should try a newer version of the zip.
download.chainfire.eu/supersu
Just looked again when in cyan recovery. The Supersu is 2.02 and yet google says I have the 2.14 installed.... (and I have to wait betweening posting arrggghh) Ok, Ill have a play and see what happens. thanks guys
adamfoz said:
Just looked again when in cyan recovery. The Supersu is 2.02 and yet google says I have the 2.14 installed.... (and I have to wait betweening posting arrggghh) Ok, Ill have a play and see what happens. thanks guys
Click to expand...
Click to collapse
I think your problem may be that when you installed the OTA, you also clobbered any custom recovery that was there. Next time, uncheck the option to install recovery.
sparkdroid said:
I think your problem may be that when you installed the OTA, you also clobbered any custom recovery that was there. Next time, uncheck the option to install recovery.
Click to expand...
Click to collapse
So... Do I bite the bullet, factory reset and......?
Sent from my A0001 using XDA Free mobile app
adamfoz said:
So... Do I bite the bullet, factory reset and......?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
no flash twrp or any custom recovery in adb and then you can flash the root zip.
I'm following this guide for rooting http://forum.xda-developers.com/showthread.php?t=2788632 .
I'm assuming that I'm doing things ok to a point, as the CMD prompt is saying adb version is 1.0.32 but when i put the phone in fast boot, and type "fastboot devices" the phone will show up in the cmd prompt. Its when I "fastboot oem unlock" and"fastboot reboot", the phone will reboot as normal. No setting up of the phone. All my apps and settings are still there, indicating to me that something is wrong :/
I'm assuming that my drivers are ok otherwise I wouldn't be seeing the above in the cmd prompts but...
Can someone tell me if my mobile should show up in "my computer" ? it has in the past, but no longer does. and I'm wondering if this could have someing to do with my problems??
Thanks again..Foz
If your rooted, you have already unlocked the boot loader unless you relocked it. Did you? If not don't worry about unlock and flash custom recovery and flash supersu zip
I did have a rooted phone until I did an ota update. This lost my root and i have been trying to get root back, but I'm having no luck. Im guessing if I am still struggling tomorrow night, ill factory reset. I have recent back ups so...
Sent from my A0001 using Tapatalk
adamfoz said:
I did have a rooted phone until I did an ota update. This lost my root and i have been trying to get root back, but I'm having no luck. Im guessing if I am still struggling tomorrow night, ill factory reset. I have recent back ups so...
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
All you need to do is flash SuperSU again. It's normal to lose root during an OTA update.
EDIT: didn't read properly. Have you gotten TWRP to flash yet?
Transmitted via Bacon
Nope. As in post 12. Phones connecting to the pc, its not wiping any data etc after any commands for unlocking boot loader
Sent from my A0001 using XDA Free mobile app
adamfoz said:
Nope. As in post 12. Phones connecting to the pc, its not wiping any data etc after any commands for unlocking boot loader
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Why are you trying to unlock the bootloader again though? Did you relock it manually at some point?
Transmitted via Bacon
timmaaa said:
Why are you trying to unlock the bootloader again though? Did you relock it manually at some point?
Transmitted via Bacon
Click to expand...
Click to collapse
I'm (wrongly) assuming bootloader needed unlocking again after the ota update because twrp would not install again. I assumed the whole phone needed all 3 processes to gain root again.
Sent from my A0001 using XDA Free mobile app
adamfoz said:
I'm (wrongly) assuming bootloader needed unlocking again after the ota update because twrp would not install again. I assumed the whole phone needed all 3 processes to gain root again.
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
The bootloader shouldn't lock again unless you do it yourself. The recovery (unnecessarily because you can uncheck the 'update cm recovery' option in Developer Options to keep your custom recovery) and root (no way around it) are lost during the OTA but the bootloader should remain unlocked. What response do you get when issuing the following command?
Code:
fastboot oem device-info
Please paste the results here.
Transmitted via Bacon
As soon as I'm home, I'll let you know.....
Thanks
Sent from my A0001 using XDA Free mobile app
Is there any way to root without using a pc like I did with my G3 using Stumproot?

How to unlock the bootloader of a Verizon Galaxy S3 (i535) running 4.4.2

Hey everyone,
So, I have a verizon Galaxy s3 4g (i535) and I have been searching for days now for a way to unlock my bootloader so that I can flash a recovery and then flash some new ROMS. I tried flashing a recovery through odin but it failed, I tried flashing it through the apps available in appstore like TWRP Manager, ROM Manager, Flashify even used the terminal emulator and then entered the code to flash the recovery image I had in my sd card etc but everytime I use these tools it says that the recovery has been flashed and then when I reboot to recovery, I get the screen which says that a wrong version of android was flashed and that I should contact verizon and that screen keeps on coming even when i restart the phone, until I get my phone into download mode and then restart it. I have read alot of threads but couldn't find any at all. So is there any way to unlock my bootloader or to flash a recovery and then flash ROMS without unlocking the bootloader?
Would be really thankful if anyone could help.
hamid.ishfaq said:
Hey everyone,
So, I have a verizon Galaxy s3 4g (i535) and I have been searching for days now for a way to unlock my bootloader so that I can flash a recovery and then flash some new ROMS. I tried flashing a recovery through odin but it failed, I tried flashing it through the apps available in appstore like TWRP Manager, ROM Manager, Flashify even used the terminal emulator and then entered the code to flash the recovery image I had in my sd card etc but everytime I use these tools it says that the recovery has been flashed and then when I reboot to recovery, I get the screen which says that a wrong version of android was flashed and that I should contact verizon and that screen keeps on coming even when i restart the phone, until I get my phone into download mode and then restart it. I have read alot of threads but couldn't find any at all. So is there any way to unlock my bootloader or to flash a recovery and then flash ROMS without unlocking the bootloader?
Would be really thankful if anyone could help.
Click to expand...
Click to collapse
When the bootloader is locked, especially on this specific phone the SCH-I535 your stuck with it and there is no way to unlock the bootloader. You can't run custom roms or a custom recovery either
You can however install safestrap as a recovery and there are a few bootloader locked roms you can also install
Sent from my Nexus 5
hamid.ishfaq said:
Hey everyone,
So, I have a verizon Galaxy s3 4g (i535) and I have been searching for days now for a way to unlock my bootloader so that I can flash a recovery and then flash some new ROMS. I tried flashing a recovery through odin but it failed, I tried flashing it through the apps available in appstore like TWRP Manager, ROM Manager, Flashify even used the terminal emulator and then entered the code to flash the recovery image I had in my sd card etc but everytime I use these tools it says that the recovery has been flashed and then when I reboot to recovery, I get the screen which says that a wrong version of android was flashed and that I should contact verizon and that screen keeps on coming even when i restart the phone, until I get my phone into download mode and then restart it. I have read alot of threads but couldn't find any at all. So is there any way to unlock my bootloader or to flash a recovery and then flash ROMS without unlocking the bootloader?
Would be really thankful if anyone could help.
Click to expand...
Click to collapse
Yea I had the same issue like he said there's no way to unlock it only way you can flash ROMS is buy a rooted S3 that's what I did cause I couldn't take being on a locked bootloader phone I got mine from Ebay that's one way you can fix that problem now I'm running AOSB 4.4.4
I know how to unlock the BL,look at the screenshot.
Sent from my SCH-I535 using XDA Free mobile app
PS:the baseband is locked.
yuzhongdatou said:
I know how to unlock the BL,look at the screenshot.
Sent from my SCH-I535 using XDA Free mobile app
Click to expand...
Click to collapse
You do realize this photo proves nothing, right? This post could just as easily come from someone with an unlocked bootloader who subsequently flashed AOKP and also the VRUDNE1 modem. I'm using SlimKat with the same modem, doesn't mean my bootloader was locked with the VRUDNE1 4.4.2 update.
Sent from my SCH-I535 using Tapatalk
SlimSnoopOS said:
You do realize this photo proves nothing, right? This post could just as easily come from someone with an unlocked bootloader who subsequently flashed AOKP and also the VRUDNE1 modem. I'm using SlimKat with the same modem, doesn't mean my bootloader was locked with the VRUDNE1 4.4.2 update.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Amen to that man, people don't seem to get that the bootloader cannot be unlocked once the OTA is taken. I grow seriously tired of repeating myself a million times
Sent from my Nexus 5
So what's the deal then? You know there's a $1,400+ reward for unlocking it if you're serious. I'll gladly give you props for being first if you're right.
Sent from my SCH-I535 using XDA Free mobile app
o8o.o0880o.o8o said:
So what's the deal then? You know there's a $1,400+ reward for unlocking it if you're serious. I'll gladly give you props for being first if you're right.
Sent from my SCH-I535 using XDA Free mobile app
Click to expand...
Click to collapse
I'm unsure of what information your looking for exactly
Sent from my Nexus 5

Categories

Resources