[Q] Update to Lollipop without USB and with root - Nexus 5 Q&A, Help & Troubleshooting

Hi, my N5 has a problem, it has the USB port broken so i can't connect it to the PC. It now has KitKat 4.4.4.
Here is my problem:
I want to update to Lollipop but i can't do it with Factory image and/or Sideload because the USB problem.
I tried to "unroot" but i couldn't do it right, i've downloaded the 5.0 OTA and my phone rebooted with a red triangle and it said "error" i know this is because i still keep my phone rooted.
So i would like to know 2 things:
1) How do i unroot definitely? because i did it before but it seems it didn't do right, i clicked "unroot" on SuperSU (i read that sometimes when you press "unroot" it doesn't erase all the folders and files so you have to do by your own, but what files and what folders are they?)
2) If i unroot and i if update to Lollipop, can i be root without using the USB port?

Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium

Pain-N-Panic said:
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Is really needed to flash a custom kernel to get root on Lollipop? I'm asking because in this thread [ROM] [STOCK] Android 5.0 LRX21O - Stock/Flashable (11/12/14) FAQ nº 2 it says:
Q: How do I get root?
A: If you want to keep the stock kernel, use CF-Auto-Root. If you flash a custom kernel, just flash the newest SuperSU ZIP afterwards.
Click to expand...
Click to collapse
So i understand that we can have root with stock kernel, is this ok or did i misunderstood something?
If i want to flash a custom kernel, where can i get "SuperSU" Zip to get root? and does it need to clean something after or before flashing this file? caché, data, etc?

Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.

Pain-N-Panic said:
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Click to expand...
Click to collapse
Thanks!!!
It worked perfectly!
I tried first with CF AutoRoot but it failed, but it worked with SuperSU.

Related

Update from 4.4.2 to .4.4.3

If this was already answered in another thread please link me.
So, i have a Moto G Dual-SIM Retail on 4.4.2 and i've been noticing some minor bugs, but i think the OTA updates would be able to solve it for me. But on the other hand, my device is rooted and i have quite a lot of things (XPosed Modules and etc) on it, as well as a custom recovery (I think it is CWM). How do i update, only gotta restore stock recovery and update normally via OTA? No need to reset anything? Root will remain along with my Xposed Modules?
Thanks in advance.
You need stock recovery (some have reported that philz recovery also works) and stock kernel with stock modules. Root remains. You just need to reinstall xposed framework from installer. Modules remain.
Quick way is flash 4.4.3 vesion for Bazil utmsds ( for dual sim).
Sent from my XT1033 using Tapatalk 4
Where can i get the stock recovery and how to flash it? Currently using PhilZ but it doesn't let me do the OTA update.
And there's a thread on this section that shows how to restore stock firmware, but i'm already running it and would not wan't to wipe out the phone or anything just to update.
Thanks anyway guys!
PS: Now that i tried this without success, phone goes on rebooting to Philz Recovery after a while in attempt to update (and fails everytime of course)
EDIT again: Done it by getting recovery.img from stock firmware and flashing via fastboot (Android SDK), but now getting error while phone tries to update and when it boots get "update unsuccessful" warning.
Because u use Xposed and some module. Best way u should use Titanium Backup, backup all you apps,after that,use Root Explore ,copy whole sdcard to yr PC, flash stock 4.4.3,root and copy back all detail to sdcard, use Titan backup all apps lost and all data. Done. If not ,u still have to unroot,uninstall Xposed with all module, i mean must do yr phone like stock rom,and update it.
Sent from my XT1033 using Tapatalk 4

[MOD] Remove Root without formatting!

Hi everyone!
Today, I made a zip file that removes root privileges from your android device
I made this to prevent reflashing a stock rom just to remove the root
It WILL keep the same recovery though.
HOW TO INSTALL?
1) Download the zip file
2) Flash it with a custom recovery
la2o said:
Hi everyone!
Today, I made a zip file that removes root privileges from your android device
I made this to prevent reflashing a stock rom just to remove the root
It WILL keep the same recovery though.
HOW TO INSTALL?
1) Download the zip file
2) Flash it with a custom recovery
Click to expand...
Click to collapse
Use SuperSU, no need for custom recovery, and unroot. No need to flash stock rom to unroot.
Ah interesting, I did not know that. Thanks
OTA?
I can after this use in OTA? or changed for ofiicaly systems for get ota update?

How to flash OTA update on rooted phone with custom recovery?

Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?
That's not even possible (as far as I know)...
XDA Visitor said:
Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?
Click to expand...
Click to collapse
Removing a custom recovery while preserving data is not possible, you should backup all your data, remove the custom recovery, flash 5.0 and then restore your custom recovery.
Are you using the Nexus Root Toolkit? It's incredibly easy and I use it for almost all my flashing, rooting, etc.
You can't apply an OTA on a rooted phone. On Kitkat and before you could end up in a boot loop. After Lollipop the OTA changed to system-level verification, and any change to the ROM stopped the OTA - all you get is a reboot to an unchanged system.
In any case, major ROM jumps usually work best with a total wipe and clean install of the new ROM. somerandomatoms is right - back up and install the new ROM. But why go to 5? You may as well go straight to 6.0.1.

[Q] Restore without downloading stock firmware?

I have Indian moto g 16 GB Android 4.4.4 I have a few questions
1. I just want to root it without any custom recovery or rom. Only to try apps which require root. I am not interested in custom roms, happy with stock rom. I found Modaco's method for it. But many users did not find it working. Is there any other SIMPLE AND STABLE method for it without messing up with stock rom and recovery?
2. If I successfully root it without custom recovery what will be steps to unroot it and revert it back to stock 4.4.4 so that I could receive future OTA. (i had rooted my HTC one x with custom recovery so I know about unlocking bootloader). Will this process include flashing stock rom as there is already stock rom in phone
3. Is is necessary to download stock firmware if someone decide to revert back from rooted phone to stock. I mean not everyone has fast Internet connection to download those big 400-500 mb . Zip files. I read somewhere that we can backup the entire rom after rooting. So why not flash that backed up rom for reverting process. Why need to download..and For backing up the stock rom do we need to root with custom recovery or the Modaco's method (stock recovery root) will work.
You may find my third question stupid but I am not much into this stuff.
Please answer my all questions whether it is yes or no. You need not to provide detailed descriptions but just clear my confusion. I couldn't find these type of questions anywhere else on Internet. So may be useful for other users too. Thanx
???
Anybody???
Guru.Eclairs said:
Anybody???
Click to expand...
Click to collapse
Hey...yes you can root it but doing so requires an unlocked bootloader(which wipes all data on the phone..so backup)
To revert root you'll need stock recovery(since you say you don't want a custom recovery, skip flashing the stock recovery) and untouched stock ROM...
you can either download a stock fresh stock ROM[recommended]
Or
You can revert all root changes you did to the ROM(Xposed, root,busybox, e.t.c.)
Cheers mate
thanx for replying..
Ok reverting will be enough? I thought stock rom is no more Pure after we root it either by stock recovery or custom recovery. And if i choose the reverting method, how much total apps will i have to delete/uninstall?
Guru.Eclairs said:
Ok reverting will be enough? I thought stock rom is no more Pure after we root it either by stock recovery or custom recovery. And if i choose the reverting method, how much total apps will i have to delete/uninstall?
Click to expand...
Click to collapse
You'll will have to remove all root adjustments you made...if you can't remember them all, it's best to flash a new zip...but in my case it was only Xposed and root so I uninstalled Xposed within the app, then went to supersu to revert root.
Good luck
itouchables said:
You'll will have to remove all root adjustments you made...if you can't remember them all, it's best to flash a new zip...but in my case it was only Xposed and root so I uninstalled Xposed within the app, then went to supersu to revert root.
Good luck
Click to expand...
Click to collapse
Thanx sir, Good Day
1. Try Paul O´Brien´s (that guy from Modaco) method. I rooted my Moto G with stock 4.4.4 like a month ago. No need to mess with the recovery, easy and simple.
2. There is an option in SuperSU that deletes all SU binaries from the phone. It is not needed to update though. You can update with SU installed, unless you modified any system files that the OTA wants to patch.
3. No, as mentioned in 2. Just unroot, uninstall xposed and you are done.
2207
knizmi said:
1. Try Paul O´Brien´s (that guy from Modaco) method. I rooted my Moto G with stock 4.4.4 like a month ago. No need to mess with the recovery, easy and simple.
2. There is an option in SuperSU that deletes all SU binaries from the phone. It is not needed to update though. You can update with SU installed, unless you modified any system files that the OTA wants to patch.
3. No, as mentioned in 2. Just unroot, uninstall xposed and you are done.
Click to expand...
Click to collapse
Thanks i'll try MoDaCo's method after getting android L OTA

[Q] Flash stock recovery

Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)
kapucho19 said:
Hey guys, yesterday I rooted my phone using KingRoot and XZRecovery to flash Super SU and now I want to flash back the stock recovery again because I want install future system updates without problems.
How can I flash it again? (I have my bootloader locked)
Click to expand...
Click to collapse
There is no accessible stock recovery on Xperia phones, the actual recovery partition will still be there. Dual recovery is installed on the system partition.
If your bootloader is locked you will be able to OTA, but you will lose root. The best thing to do is flash a pre-rooted flashable zip in the dual recovery you have. As soon as there is an update you can make a new pre-rooted flashable zip using PRFCreator.

Categories

Resources