Root Nexus 5 Marshmallow without wiping - Nexus 5 Q&A, Help & Troubleshooting

Hey guys,
I would like to change my LTE Bands with some software and guide I found here. I need root for this.
I am willing to root but not wiping data, if it can't be done without it, I would rather not root it.
Can you guys point me to a guide for Marshmallow? Found some on KK and some on Lollipop, none on Marshmallow.
Thanks a lot!
Dan

Almost the same as LP. Install or boot to TWRP recovery and use one of these solutions:
1. Use a custom kernel and flash SuperSU 2.52
2. Flash SuperSU 2.62
User data aren't wiped when rooting a Nexus 5.
EDIT: you must have an unlocked BL though. If it's not the case, you can't root without wiping user data.

BL is unfortunatelly locked. So basically I do need to wipe it. I think I would rather live without 4g until I upgrade to N5X.

If your bootloader is locked is no way to root without wipe data..to root M we need to flash custom kernel and custom recovery..its mean we need to unlock bootloader and it will wipe our data in intetnal storage

Related

Quick ? Can you install Root with stock recovery?

OTA just updated Nexus 5 to 4.4.2. I've lost TWRP and ROOT. Can I use stock recovery to install superuser, if so, how? The reason I'm asking is I don't to start over from scratch if the bootloader has to be unlocked.
Note: I didn't loose Hotspot tethering after OTA 4.4.2 update. It kept all my settings.
Update: I think I've figured out my own question. The bootloader has to be unlocked, so you'll lose your settings and data. Lesson learned; just update using zip in recovery mode next time.
Either use cf-root or twrp to get root, only time the phone gets wiped is if you unlock the bootloader, and ota updates never relock the bootloader.

[Q] Can I obtain Root on the stock ROM and keep over the air updates?

if so can anyone point out a tutorial?
Hello,
If your stock with only a custom recovery, you will need to download the OTA zip file and flash it via custom recovery.
However, if you have a custom kernel/mods installed then you will need flash the stock images and then flash the OTA zip via recovery.
Yes
You'll get the official OTA updates as long as you have the stock ROM(even if it is rooted) and Recovery.
But you may lose the root after the update.
Have a read: http://forum.xda-developers.com/showthread.php?t=2523217
Can I achieve root without re-flashing the device? if not how can I backup my devices current configuration including apps etc?
Gilligan94 said:
Can I achieve root without re-flashing the device? if not how can I backup my devices current configuration including apps etc?
Click to expand...
Click to collapse
You need to flash the SuperSU zip via recovery to have root access. Flashing supersu doesn't wipe your device's configuration or files. Unlocking the bootloader wipes it!
Use Helium to backup your apps when you're unrooted. Once you have root access, I would recommend using Titanium Backup!
vin4yak said:
You need to flash the SuperSU zip via recovery to have root access. Flashing supersu doesn't wipe your device's configuration or files. Unlocking the bootloader wipes it!
Use Helium to backup your apps when you're unrooted. Once you have root access, I would recommend using Titanium Backup!
Click to expand...
Click to collapse
When would I need to unlock the bootloader? only if I changed to a custome ROM right?
Gilligan94 said:
When would I need to unlock the bootloader? only if I changed to a custome ROM right?
Click to expand...
Click to collapse
the bootloader has to be unlocked to flash/boot to twrp/cwm, which is required for root.
please read this thread: http://forum.xda-developers.com/showthread.php?t=2508292
Gilligan94 said:
When would I need to unlock the bootloader? only if I changed to a custome ROM right?
Click to expand...
Click to collapse
I think you should head over to general section and read the Stickies first before tinkering with your device!
This is the flow...:
1. Unlock the bootloader (Wipes everything off the phone)
2. Flash custom recovery
3. Flash SuperSU.
Hoorah! You're rooted!
Rooting
And if your not sure how to root your phone i would really read up on it first or you may brick it,untill your sure you can do it.......If it aint bust dont fix it

[Q] Ota with unlock bootloader, root and recovery

hi, i have a noob question. I'm not a true noob but i never had a "nexus".
Today i unlocked bootloader, installed twrp recovery and rooted my device. Then i flashed only franco kernel to try new screen firmware update.
So i'm stock with cm11s without kernel.
When an update will be released,unchecked CM recovery update, can i update or i have to unlock bootloader again before?
after updated iìll be with bootloader lock or unlock?
Thanks to everyone
The OnePlus One is not a nexus device but it is very close to being one.
No you do not have to relock your bootloader, leave your bootloader unlocked. There is no point in relocking it unless you're doing warranty.
Just untick "Update CM Recovery" in Developer Options if you haven't already. You can flash the new OTA with TWRP.
Hi guys.
I'm also having some questions about the OTA updates and the root/bootloader.
Currently i'm still having the 25R, i unlocked it, rooted it with TWRP, all fine.
I've been using Nexus 4 before, and after lots of Roms i kept using CM for a very long time, so normally i just updated it, and i was still rooted and everything.
But now i keep reading that you will lose root and bootloader if you update the CMs (with OTA?).
So then i have to unlock and root again, so i will need to wipe all data again?
Or is there a simple method to just update and still keep all root etc?
greetings
GirlKillu said:
Hi guys.
I'm also having some questions about the OTA updates and the root/bootloader.
Currently i'm still having the 25R, i unlocked it, rooted it with TWRP, all fine.
I've been using Nexus 4 before, and after lots of Roms i kept using CM for a very long time, so normally i just updated it, and i was still rooted and everything.
But now i keep reading that you will lose root and bootloader if you update the CMs (with OTA?).
So then i have to unlock and root again, so i will need to wipe all data again?
Or is there a simple method to just update and still keep all root etc?
greetings
Click to expand...
Click to collapse
Nothing will happen to the bootloader. If root is lost after applying OTA, just reflash SuperSU. You can apply OTAs using TWRP.
No wipe needed.

[Q] Related to stock recovery/ROM.

Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Anyone?
drag00n619 said:
Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Click to expand...
Click to collapse
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
arya5 said:
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
Click to expand...
Click to collapse
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
drag00n619 said:
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
Click to expand...
Click to collapse
A recovery can be flashed from recovery, but only if you have it on a flashable zip, if you have it on img format, you need to use mototools or fastboot from pc. This second option is more recommendable
Concerning second question, I think I don't understand you. Original recovery can be found at the original firmware, this means that if you flash the original stock firmware it comes with the stock recovery, but I am not sure that you will recover stock recovery restoring a previous backup. Sorry

[Q] Rooting Nexus 5 with Lollipop without PC, Possible?

Few weeks ago, when I was over Kitkat 4.4.4, I could use Towelroot tool to root my Nexus 5, it unlocked the bootloader and rooted my phone like charm without needing to wipe data, installing a custom recovery or connect it to a PC. The idea now that after upgrading to Lollipop, Towelroot tells that Nexus 5 is not a supported device!
Any alternatives?
ahmedmelm said:
Few weeks ago, when I was over Kitkat 4.4.4, I could use Towelroot tool to root my Nexus 5, it unlocked the bootloader and rooted my phone like charm without needing to wipe data, installing a custom recovery or connect it to a PC. The idea now that after upgrading to Lollipop, Towelroot tells that Nexus 5 is not a supported device!
Any alternatives?
Click to expand...
Click to collapse
No, you need a custom recovery to root without a PC, but if you have upgraded already, you need root to flash a custom recovery. Vicious circle.
rootSU said:
No, you need a custom recovery to root without a PC, but if you have upgraded already, you need root to flash a custom recovery. Vicious circle.
Click to expand...
Click to collapse
And can I manage this without wiping phone data?
If your bootloader is locked, no - but you can back up apps and data using Helium without rooting (it uses ADB) and then unlock/root and then restore data afterwards
Rootsu you don't have to have a custom recovery
You could use an apk such as vroot or kingroot. you can get vroot at mgyun.com/vroot and you can get kingroot at kingroot.net and if those don't work you can try downloading this Chinese appstore mobile.baidu.com/?source=mobres&from=1010680m#/item?pid=825114773 and look up root there are various kinds of apps to root almost all phones.
be wary of viruses/malware, etc. i wouldn't get anything from a chinese store.
Beekay you are right I'd would recommend a antivirus I use one all the time I'll scan unknown apps or sources other google play keep caution
Sent from my C6530N using XDA Free mobile app

Categories

Resources