[Q] Can I obtain Root on the stock ROM and keep over the air updates? - Nexus 5 Q&A, Help & Troubleshooting

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

Related

do I get root after unlocking the device and installing custom rom or superSU?

as title. Thanks!
mrjayviper said:
as title. Thanks!
Click to expand...
Click to collapse
Yes, just install custom rom then you have root. (root build-in custom rom). No need to install superSU, however you need to flash TWRP first inorder to flash custom rom.

[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] Help with installing lollipop on unlocked phone

Hello !
I recently bought a used Z3 6603, and wanted to update it to lollipop.
But it seems it has a unlocked bootloader (according to service menu) and when i recieved it, it was factory reset, but some 3rd party apps were still installed.
One of them Super SU, so it was rooted.
I was told that i could update the firmware if i just used the Full Uninstall feature in Super Su, so i did that.
I still can't update using sony companion, becouse it knows the software is not the original one.
And i cant reinstall super su, its saying that there is no SU binary installed and the program cant install it.
I have flashed phones before, but it was really a long time ago, so im asking for some help to fix this.
Its running 4.4.4 build 23.0.1.A.5.77 and stock rom i think.
Please tell me what to do, and what info you might need !
I want to have the phone in lollipop, but everything stock, no root, no bootloader etc.
And somewhere I read something about DRM keys. Please help me with fixing that aswell thank you.
Regards ImmoralCore
ImmoralCore said:
Hello !
I recently bought a used Z3 6603, and wanted to update it to lollipop.
But it seems it has a unlocked bootloader (according to service menu) and when i recieved it, it was factory reset, but some 3rd party apps were still installed.
One of them Super SU, so it was rooted.
I was told that i could update the firmware if i just used the Full Uninstall feature in Super Su, so i did that.
I still can't update using sony companion, becouse it knows the software is not the original one.
And i cant reinstall super su, its saying that there is no SU binary installed and the program cant install it.
I have flashed phones before, but it was really a long time ago, so im asking for some help to fix this.
Its running 4.4.4 build 23.0.1.A.5.77 and stock rom i think.
Please tell me what to do, and what info you might need !
I want to have the phone in lollipop, but everything stock, no root, no bootloader etc.
And somewhere I read something about DRM keys. Please help me with fixing that aswell thank you.
Regards ImmoralCore
Click to expand...
Click to collapse
Your DRM keys are lost forever.
TheTeslaCoil said:
Your DRM keys are lost forever.
Click to expand...
Click to collapse
Ok, so they are lost even if I use the first backup that was made by the person I bought it from ?
DRM=Hardcoded=Once unlocked, always DRM free, even if you use the recovery image ?
And the rest of the questions, what am I supposed to do to get stock lollipop?
In the matter of fact it does not matter if its unlocked or locked, I just want legit lollipop, with the possibility to update regularly. (But if root is possible at the same, it can still be rooted)
Thanks for your reply !
You need the TA backup. Not system backup.
And careful not to restore some other TA.
If the previous owner backed up TA, good. If not, no chance to recover them.
Download your specific firmware in ftf format and flash it with Flashtool.
Make a clean install.
You cannot recieve OTA with an unlocked bootloader, only if you relock, but there is no point in doing that if the DRM keys are lost.
So, from where you stand, keep it rooted and unlocked, because you can do much more with it : Custom ROM' s [at the moment stock is best]...custom kernels with recovery...mods...etc.
After you flash the ftf, flash via adb a custom kernel with recovery and from recovery flash SuperSU update, as a flashable zip, that will root the phone and install SuperSU.Search also for busybox flashable zip.
TheTeslaCoil said:
You need the TA backup. Not system backup.
And careful not to restore some other TA.
If the previous owner backed up TA, good. If not, no chance to recover them.
Download your specific firmware in ftf format and flash it with Flashtool.
Make a clean install.
You cannot recieve OTA with an unlocked bootloader, only if you relock, but there is no point in doing that if the DRM keys are lost.
So, from where you stand, keep it rooted and unlocked, because you can do much more with it : Custom ROM' s [at the moment stock is best]...custom kernels with recovery...mods...etc.
After you flash the ftf, flash via adb a custom kernel with recovery and from recovery flash SuperSU update, as a flashable zip, that will root the phone and install SuperSU.Search also for busybox flashable zip.
Click to expand...
Click to collapse
Ok, I will try that then, but if I use flashtool to update to lollipop, will I still be able to root easy, or should I reinstall 4.4.4 clean, then root, fix recovery kernel and everything, and then lollipop or what goes first?
Does flash/kernel etc affect the fact that it has an unlocked bootloader ? do i need to do anything with that, or do it stay unlocked?
ImmoralCore said:
Ok, I will try that then, but if I use flashtool to update to lollipop, will I still be able to root easy, or should I reinstall 4.4.4 clean, then root, fix recovery kernel and everything, and then lollipop or what goes first?
Does flash/kernel etc affect the fact that it has an unlocked bootloader ? do i need to do anything with that, or do it stay unlocked?
Click to expand...
Click to collapse
If you have unlocked the bootloader it is always a trivial matter to root.
Just flash an insecure kernel.
If one does not exist use [NUT]'s online kernel builder to make one with recovery incorporated in it. Its very straightforward and an automated process.
So, update using flashtool, flash your custom kernel, and you have root and recovery.
gregbradley said:
If you have unlocked the bootloader it is always a trivial matter to root.
Just flash an insecure kernel.
If one does not exist use [NUT]'s online kernel builder to make one with recovery incorporated in it. Its very straightforward and an automated process.
So, update using flashtool, flash your custom kernel, and you have root and recovery.
Click to expand...
Click to collapse
1. Sorry for my noobish question, but define insecure kernel?
2. Did I get it right? I read about ppl downgrading their phones to 4.4.4 and then installing stuff. And for me it does not matter wich version it is, becouse the unlocked bootloader makes it easy to flash, even what version you are running?
ImmoralCore said:
1. Sorry for my noobish question, but define insecure kernel?
2. Did I get it right? I read about ppl downgrading their phones to 4.4.4 and then installing stuff. And for me it does not matter wich version it is, becouse the unlocked bootloader makes it easy to flash, even what version you are running?
Click to expand...
Click to collapse
1) a rooted kernel.
2) If you have unlocked there is no need to follow any of the locked bootloader guides, they are a waste of your time. One of the points point of unlocking the phone is to easily get root. You just flash a custom kernel to gain root.
If you have a locked bootloader then you have to go through all the fuss of downgrading etc etc.... but with an unlocked bootloader its so easy and straightforward
gregbradley said:
1) a rooted kernel.
2) If you have unlocked there is no need to follow any of the locked bootloader guides, they are a waste of your time. One of the points point of unlocking the phone is to easily get root. You just flash a custom kernel to gain root.
If you have a locked bootloader then you have to go through all the fuss of downgrading etc etc.... but with an unlocked bootloader its so easy and straightforward
Click to expand...
Click to collapse
Ok, thank you very much for your answers both of you!
I understand everything much better, now its just some flashing to do, c ya ! :good:
ImmoralCore said:
Ok, thank you very much for your answers both of you!
I understand everything much better, now its just some flashing to do, c ya ! :good:
Click to expand...
Click to collapse
Good luck.

[Q] I just unlocked my bootloader. How do I root now?

Hi
I just unlocked my bootloader, so what do I do know for rooting?
I don't really care about my DRM keys and I unlocked, so I did not need to do all that downgrade, flash, root, update firmware again and so.
So how do I root now?
Thanks in advance
Faspaiso said:
Hi
I just unlocked my bootloader, so what do I do know for rooting?
I don't really care about my DRM keys and I unlocked, so I did not need to do all that downgrade, flash, root, update firmware again and so.
So how do I root now?
Thanks in advance
Click to expand...
Click to collapse
Find one of the kernels repacked with built-in recovery - It needs to be one that matches whatever build you've got running in /system
Flash it with fastboot
Flash the latest SuperSU flashable ZIP in recovery
Entropy512 said:
Find one of the kernels repacked with built-in recovery - It needs to be one that matches whatever build you've got running in /system
Flash it with fastboot
Flash the latest SuperSU flashable ZIP in recovery
Click to expand...
Click to collapse
Thanks, but bricked when flashing TWRP.img. In a bootloop now. Trying to get back to stock.
Xperiafirm->Stock firmware->Fastbootmode->Flashtool->Flash it
Right?

[Q] Just want to use the "Titanium Backup" app

I am using Stock Kernel and CM 12.1 on my Oneplus One. I just want to use the "Titanium Backup" app (that running on Root device only). What exactly I need to do with my phone: ???
Just Unlock my Bootloader and run SuperSU ?
Can I still be able to use Rom OTA with the Unlock Bootloader ?
Thanks!
Too late for Titanium backup now!
Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
To answer your question briefly, in order to use Titanium Backup, you need a rooted device.
To root your device you need:
unlocked bootloader
custom recovery (i.e. TWRP )
When you unlock your bootloader, you will lose all your data - your phone will be wiped!
Long story short, it is now too late for you to use Titanium backup to backup your apps & data.
Please note that there are methods to backup your apps which do not require root access, but you will have to use adb & the command line - not for everyone, and not what you had in mind I imagine.
You might just want to make a list of your favourite apps, backup their data & settings as much as you can, and then once you've got some sort of backup done, proceed to unlock your bootloader (and wipe your device), install TWRP, gain root, and profit.
Once again: Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
ohussain said:
Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
To answer your question briefly, in order to use Titanium Backup, you need a rooted device.
To root your device you need:
unlocked bootloader
custom recovery (i.e. TWRP )
When you unlock your bootloader, you will lose all your data - your phone will be wiped!
Long story short, it is now too late for you to use Titanium backup to backup your apps & data.
Please note that there are methods to backup your apps which do not require root access, but you will have to use adb & the command line - not for everyone, and not what you had in mind I imagine.
You might just want to make a list of your favourite apps, backup their data & settings as much as you can, and then once you've got some sort of backup done, proceed to unlock your bootloader (and wipe your device), install TWRP, gain root, and profit.
Once again: Please read this guide very carefully. It covers everything you need to know: [GUIDE] Unlock/Root/Flash for OnePlus One
Click to expand...
Click to collapse
First thanks for your answer! Do I lose the rom OTA Update after unlock my bootloader and install TWRP ? Do I must change to the TWRP recover or I can use the stock one?
Sent from my A0001 using xda premium
You're welcome. You cannot use the stock recovery, and you will not receive OTAs once you've unlocked your bootloader, installed TWRP, and rooted.
Trust me, you are not missing out on anything - OTAs will be rare, and the quality of the OS provided by Cyanogen is low.
Once you have TWRP installed, you can choose to install other ROMs. I highly recommend XenonHD. Light, stable, AOSP-based (not a CM clone), with full layers support, and a balanced feature-set.
There are many ROMs available for the OnePlus One for you to choose from, and you could also run CM or OxygenOS - it's up to you.
Just make sure you read & follow Heisenberg's guide, and you'll be fine. :good:
Since you're coming from Cyanogen's lollipop build, you should pay special attention to the note at the end of section 2 of Heisenberg's guide ('How To Install A Custom Recovery On Your Device').
xperia_88 said:
First thanks for your answer! Do I lose the rom OTA Update after unlock my bootloader and install TWRP ? Do I must change to the TWRP recover or I can use the stock one?
Sent from my A0001 using xda premium
Click to expand...
Click to collapse
Unlocking your bootloader has no effect on the ability to take OTA updates. However, having a custom recovery and root do. If you want to take an OTA in future you just need to flash the stock recovery and the stock system.img and OTA's will work perfectly.
ohussain said:
You're welcome. You cannot use the stock recovery, and you will not receive OTAs once you've unlocked your bootloader, installed TWRP, and rooted.
Click to expand...
Click to collapse
This isn't entirely true, the unlocked bootloader doesn't matter.
Heisenberg said:
This isn't entirely true, the unlocked bootloader doesn't matter.
Click to expand...
Click to collapse
You're God damn right.
That's what I meant, but thank you for clearing up precisely what precludes one from receiving OTA updates. :good:
Heisenberg said:
Unlocking your bootloader has no effect on the ability to take OTA updates. However, having a custom recovery and root do. If you want to take an OTA in future you just need to flash the stock recovery and the stock system.img and OTA's will work perfectly.
Click to expand...
Click to collapse
Thanks for your clear answer!!!
Since I just want to use my favorite Titanium Backup but still using OTA update I would appreciate if you'LL guide me what is the easier way to do that.
I know now that to Unlocking my bootloader has no effect on the ability to take OTA but the custom recovery and root do so where I can find link to the stock recovery and the stock system.img and do I must to flash them after the Unlocking my bootloader ?
10X
xperia_88 said:
Thanks for your clear answer!!!
Since I just want to use my favorite Titanium Backup but still using OTA update I would appreciate if you'LL guide me what is the easier way to do that.
I know now that to Unlocking my bootloader has no effect on the ability to take OTA but the custom recovery and root do so where I can find link to the stock recovery and the stock system.img and do I must to flash them after the Unlocking my bootloader ?
10X
Click to expand...
Click to collapse
In order to use Titanium you need to unlock your bootloader, then flash TWRP recovery, then use TWRP recovery to flash SuperSU. You'll have root now and Titanium will work. Once you get to the point where you want to take an OTA you can extract the system.img and the recovery.img from the fastboot zip which you'll find here:
http://forum.xda-developers.com/showthread.php?t=2906746
Flash them and then OTA updates will work. There are detailed instructions in my guide:
http://forum.xda-developers.com/showthread.php?t=2839471

Categories

Resources