Android 5.1 Update - Nexus 4 Q&A, Help & Troubleshooting

Hi, So the Android 5.1 OTA is finally available for N4, I'm rooted with custom recovery and was wondering how can I flash the OTA?
I know a way which I should unroot and install stock recovery, but other than this is there any way?

Backup data, Wipe factory data and flash OTA update from custom recovery.

athibanvasanth said:
Backup data, Wipe factory data and flash OTA update from custom recovery.
Click to expand...
Click to collapse
You can't flash an ota in a custom recovery. You can only flash it by sideloading in the stock recovery.
PO, you have to be 100 % stock, system, kernel and recovery to flash the ota. It's just as easy to flash the 5.1 factory image.
Sent from my Nexus 5 using XDA Free mobile app

I always just flash the factory image. As jd1639 says, it's just as easy. And you don't have to go to the trouble of returning to stock. Just make sure you don't wipe out your data, unless that's what you want to do.

so to flash ota i would neet to loose data and go to stock right?
is there factory image i could use without going to stock then? Thanks

jojkos said:
so to flash ota i would neet to loose data and go to stock right?
is there factory image i could use without going to stock then? Thanks
Click to expand...
Click to collapse
If you're on 5.0.1, flash the system, boot, and recovery images with fastboot from it. Boot into recovery and sideload the ota with adb. You shouldn't lose any data. Then re-Root.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
If you're on 5.0.1, flash the system, boot, and recovery images with fastboot from it. Boot into recovery and sideload the ota with adb. You shouldn't lose any data. Then re-Root.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, i got it to work with NRT using no wipe stock

Related

JWR66Y

hello,
how i can upgrade from JWR66V to JWR66Y without lost anything... i am with stock rom + root+ custom recovery
There's an updated stock rooted in the dev section you can download and flash
http://forum.xda-developers.com/showthread.php?t=2010887
Sent from my Nexus 4 using xda app-developers app
Yes, dirty flash the rom in the link ^. Do not wipe data and if your recovery asks to fix root, choose no. Just wipe dalvik cache and reboot.
Sent from my Nexus 4 using Tapatalk 4
If you'd like a second option, you can also do it manually.
1) Download the factory image from Google's developer site.
2) Unzip the contents of the zip. It'll give you 4 .img files: System, Boot, Recovery, and Userdata.
3) Using fastboot, flash all the files except userdata (that's the one that erases all your stuff).
4) re-root the device.
Enjoy!
thanks a lot guys

Stock unrooted MF9 zip? Or tar.md5 that won't wipe data?

Is there a zip we can flash in TWRP or CWM to go back to stock? I'm stock rooted with a couple tweaks (like hotshot mod) and I want to revert to full stock to take the MJA OTA. I'd of course need to manually flash the stock recovery afterwards via odin for the OTA to work.
I know I can odin back to stock, but that wipes data (and possibly the internal sd card as well, the thread isn't clear). I want keep data, since there shouldn't be anything incompatible with full stock.
I suppose I could backup the internal sd card, backup data with TWRP, odin to MF9, take the OTA, use cf to get root, odin TWRP back on, restore the internal sd from backup, and restore data from TWRP. But it would certainly be a lot easier and faster if there was a way to just go to stock without wiping data...
Sent from my SPH-L720 using Tapatalk
Ingenium13 said:
Is there a zip we can flash in TWRP or CWM to go back to stock? I'm stock rooted with a couple tweaks (like hotshot mod) and I want to revert to full stock to take the MJA OTA. I'd of course need to manually flash the stock recovery afterwards via odin for the OTA to work.
I know I can odin back to stock, but that wipes data (and possibly the internal sd card as well, the thread isn't clear). I want keep data, since there shouldn't be anything incompatible with full stock.
I suppose I could backup the internal sd card, backup data with TWRP, odin to MF9, take the OTA, use cf to get root, odin TWRP back on, restore the internal sd from backup, and restore data from TWRP. But it would certainly be a lot easier and faster if there was a way to just go to stock without wiping data...
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
If you had research. Restoring data on 4.3 messes up your phone. You should stick with mf9 for now really. The only good thing about 4.3 is gear support but come with knox security which is being a pain in the a** for people now. But thats my opinion
Sent from my SPH-L720 using xda app-developers app
ROMANTiC KiD said:
If you had research. Restoring data on 4.3 messes up your phone. You should stick with mf9 for now really. The only good thing about 4.3 is gear support but come with knox security which is being a pain in the a** for people now. But thats my opinion
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
4.3 should have the TRIM support (the main reason that I was interested in it)
ROMANTiC KiD said:
If you had research. Restoring data on 4.3 messes up your phone. You should stick with mf9 for now really. The only good thing about 4.3 is gear support but come with knox security which is being a pain in the a** for people now. But thats my opinion
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
I did research, the concensus was that titanium backup restoring wasn't working, and that was only when restoring the app itself (installing from the Play Store then restoring data only works). But restoring the actual data partition should be fine.
Or if that's an issue, and I had to wipe data, then I would just restore data right after odining to stock MF9 before taking the OTA.
Sent from my SPH-L720 using Tapatalk
Ingenium13 said:
Is there a zip we can flash in TWRP or CWM to go back to stock? I'm stock rooted with a couple tweaks (like hotshot mod) and I want to revert to full stock to take the MJA OTA. I'd of course need to manually flash the stock recovery afterwards via odin for the OTA to work.
I know I can odin back to stock, but that wipes data (and possibly the internal sd card as well, the thread isn't clear). I want keep data, since there shouldn't be anything incompatible with full stock.
I suppose I could backup the internal sd card, backup data with TWRP, odin to MF9, take the OTA, use cf to get root, odin TWRP back on, restore the internal sd from backup, and restore data from TWRP. But it would certainly be a lot easier and faster if there was a way to just go to stock without wiping data...
Sent from my SPH-L720 using Tapatalk
Click to expand...
Click to collapse
If you use the stock mf9 tar to return to stock, all of your data will still be there, it does not wipe your data. Your system partition will be overwritten along with recovery, bootloader, and modem. But it will not touch your data. Download the one from sammobile and you should be fine.
Sent from my GT-N5110 using Tapatalk 4
jj14 said:
4.3 should have the TRIM support (the main reason that I was interested in it)
Click to expand...
Click to collapse
Yeah trust me, there's a lot more good to 4.3 than just gear support. Trim support was my most anticipated feature i was looking forward to as well, but I can tell a huge difference In the clarity of the screen, and colors as well. Battery life on stock kernel has been ridiculously good.
Sent from my Nexus 7 using Tapatalk 2

D803, will I lose root if I factory reset?

I rooted using ioroot, flashed twrp with freegee. Just curious if I factory wipe will I lose root?
Also, is it best to factory reset from the settings menu or through twrp?
I'm used to running cwm on a gnex, so this is a whole new set or rules to learn...
Thanks!
Sent from my LG-D803 using xda app-developers app
madboymatt said:
I rooted using ioroot, flashed twrp with freegee. Just curious if I factory wipe will I lose root?
Also, is it best to factory reset from the settings menu or through twrp?
I'm used to running cwm on a gnex, so this is a whole new set or rules to learn...
Thanks!
Sent from my LG-D803 using xda app-developers app
Click to expand...
Click to collapse
Yesterday I was factory-reseting my D802 with Volume Down + Power buttons. After that it was still rooted. I suppose the same would be on D803 too. I don't know about custom recovery though, as I used stock one.
madboymatt said:
I rooted using ioroot, flashed twrp with freegee. Just curious if I factory wipe will I lose root?
Also, is it best to factory reset from the settings menu or through twrp?
I'm used to running cwm on a gnex, so this is a whole new set or rules to learn...
Thanks!
Click to expand...
Click to collapse
You will keep root after a factory reset.
I always factory reset in my recovery app. Simply custom wipe data and cache. Then wipe dalvik cache.
If you want to flash a new ROM, just custom wipe system, data and cache. Then wipe dalvik cache.

Wipe phone? How do I do it without loosing root?

Hi there, my phone has been acting wonky the past week or so. I'd like to just factory reset (under settings or safestrap) not sure which one is better.
I am rooted running stock with some apps frozen.
What's the best way to reset without loosing root and safestrap?
Thanks!!
do I have to unfreeze everything first?
I tried searching (as I know search is my friend but I was getting contradictory information.
Thanks for your help!
You will not lose root from a factory data reset. All an FDR does is wipe caches, davlik, and system cache. It does not replace files or software, like it would if someone were to odin a firmware tar.
warpedmind0u812 said:
You will not lose root from a factory data reset. All an FDR does is wipe caches, davlik, and system cache. It does not replace files or software, like it would if someone were to odin a firmware tar.
Click to expand...
Click to collapse
Thanks for getting back to me! So can I just reset? Or should unfreeze my apps first?
So it would just have the stock apps that come with the phone on it after a reset?
Thanks!
It's been so long since I've had to do this lol
warpedmind0u812 said:
You will not lose root from a factory data reset. All an FDR does is wipe caches, davlik, and system cache. It does not replace files or software, like it would if someone were to odin a firmware tar.
Click to expand...
Click to collapse
you are totally wrong lol. a fdr does wipe the system so he would need to have a rom.zip stored on his internal storage/ext sdcard... if he uses SS to do a factory reset he will not boot until he flashes a rom.
now if he does an advanced wipe and selects only the caches thats a different story
Sent from my SM-G900V using XDA Free mobile app
elliwigy said:
you are totally wrong lol. a fdr does wipe the system so he would need to have a rom.zip stored on his internal storage/ext sdcard... if he uses SS to do a factory reset he will not boot until he flashes a rom.
now if he does an advanced wipe and selects only the caches thats a different story
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
yikes! So I won't use SS to wipe. If I just factory reset under settings....should I unfreeze all my apps first? When I boot up again the phone will have all the stock apps, and nothing more correct?
Thanks guys!
putney1477 said:
yikes! So I won't use SS to wipe. If I just factory reset under settings....should I unfreeze all my apps first? When I boot up again the phone will have all the stock apps, and nothing more correct?
Thanks guys!
Click to expand...
Click to collapse
worst that will happen u will have to odin a stock tar and reroot.. i would back up all your pictures n everything onto a ext sdcard or pc.. essentially, a fdr from settings or the stock android recovery will make it like new again if you havent flashed a custom rom but i never use it.. i would always just odin a stock tar or use ss fdr and flash a stock rooted rom.zip through ss
Sent from my SM-G900V using XDA Free mobile app
elliwigy said:
worst that will happen u will have to odin a stock tar and reroot.. i would back up all your pictures n everything onto a ext sdcard or pc.. essentially, a fdr from settings or the stock android recovery will make it like new again if you havent flashed a custom rom but i never use it.. i would always just odin a stock tar or use ss fdr and flash a stock rooted rom.zip through ss
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Oh boy lol....
Ok so if I odin back to nha, take Ota to ni2, odin stock ncg kernel, root with towelroot, odin stich ni2, reboot. I should be fresh out of the box right?
Then I can download ss and install.
Holy crap that's a lot of steps.
Thanks!
Heather
putney1477 said:
Oh boy lol....
Ok so if I odin back to nha, take Ota to ni2, odin stock ncg kernel, root with towelroot, odin stich ni2, reboot. I should be fresh out of the box right?
Then I can download ss and install.
Holy crap that's a lot of steps.
Thanks!
Heather
Click to expand...
Click to collapse
yup.. if u have to.. like i said, if ur already rooted with ss installed you might as well wipe in ss and just flash a stock rooted ni2 rom
Sent from my SM-G900V using XDA Free mobile app
putney1477 said:
yikes! So I won't use SS to wipe. If I just factory reset under settings....should I unfreeze all my apps first? When I boot up again the phone will have all the stock apps, and nothing more correct?
Thanks guys!
Click to expand...
Click to collapse
elliwigy said:
you are totally wrong lol. a fdr does wipe the system so he would need to have a rom.zip stored on his internal storage/ext sdcard... if he uses SS to do a factory reset he will not boot until he flashes a rom.
now if he does an advanced wipe and selects only the caches thats a different story
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Just to clear this up a factory data reset from the settings menu and safestrap do the same thing. It resets the settings, removes any user installed apps as it wipes data folder where your user installed apps are stored. It will be the same ROM you flashed minus any user apps, root and safestrap will remain. If you enter safestrap and do a advanced wipe with system checked and try to boot without flashing a ROM you will have to Odin back to stock to boot back up because the system will be gone. Lastly if you enter the stock recovery and reset from there it will do the same thing as SS and the settings menu. The only way to return to stock is Odin. Hope this clears up any confusion.
Misterxtc said:
Just to clear this up a factory data reset from the settings menu and safestrap do the same thing. It resets the settings, removes any user installed apps and wipes data. It will be the same ROM you flashed minus any user apps, root and safestrap will remain. If you enter safestrap and do a advanced wipe with system checked and try to boot without flashing a ROM you will have to Odin back to stock to boot back up because the system will be gone. Lastly if you enter the stock recovery and reset from there it will do the same thing as SS and the settings menu. The only way to return to stock is Odin. Hope this clears up any confusion.
Click to expand...
Click to collapse
what he said lol. i was just going off my past experience.. wiping via stock recovery caused me to have to odin back to stock.. it bootlooped and i didnt have ss recovery any longer.. ss default fdr has system wipe on as default so if you use tge default wipe you need to have another rom available to flash in ss or you will need to odin. Or of course do advanced wipe and unselect the wipe system portion.
theoretically, stock fdr should only wipe as misterxtc stated.. i suggest back up your stuff and try it and let us know how it goes lol
Sent from my SM-G900V using XDA Free mobile app
elliwigy said:
what he said lol. i was just going off my past experience.. wiping via stock recovery caused me to have to odin back to stock.. it bootlooped and i didnt have ss recovery any longer.. ss default fdr has system wipe on as default so if you use tge default wipe you need to have another rom available to flash in ss or you will need to odin. Or of course do advanced wipe and unselect the wipe system portion.
theoretically, stock fdr should only wipe as misterxtc stated.. i suggest back up your stuff and try it and let us know how it goes lol
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Okay so I did exactly what you said. I wiped the phone from inside settings. When I booted it back up it was back to stock, because I'm not running a ROM. I did notice that when I signed into Google some of my apps started automatically redownloading. Actually almost all of them did. I am still rooted, & I do still have safestrap on my phone.
My question at this point is, I no longer have the safestrap app or the towel root app in my app drawer, but should I redownload them just so that they are in my app drawer? Will that affect the phone at all?
Thanks again
putney1477 said:
Okay so I did exactly what you said. I wiped the phone from inside settings. When I booted it back up it was back to stock, because I'm not running a ROM. I did notice that when I signed into Google some of my apps started automatically redownloading. Actually almost all of them did. I am still rooted, & I do still have safestrap on my phone.
My question at this point is, I no longer have the safestrap app or the towel root app in my app drawer, but should I redownload them just so that they are in my app drawer? Will that affect the phone at all?
Thanks again
Click to expand...
Click to collapse
No you don't need them anymore. SS is where it needs to be regardless if it's in your app drawer or not. As long as you see it on boot up your good. Towelroot can be uninstalled after the root process is done, it's a one shot deal unless you Odin back to stock.
Misterxtc said:
No you don't need them anymore. SS is where it needs to be regardless if it's in your app drawer or not. As long as you see it on boot up your good. Towelroot can be uninstalled after the root process is done, it's a one shot deal unless you Odin back to stock.
Click to expand...
Click to collapse
Awesome! Thanks again.
It's funny, I have been rooting and flashing roms for 5 years and I feel like I still have so much to learn.
putney1477 said:
Awesome! Thanks again.
It's funny, I have been rooting and flashing roms for 5 years and I feel like I still have so much to learn.
Click to expand...
Click to collapse
No problem, I started about one year ago. I learned very early that a good backup and Odin are your best friends. lol It's pretty hard to mess up the phone beyond Odin or a backup, I've done some pretty risky things.
putney1477 said:
Awesome! Thanks again.
It's funny, I have been rooting and flashing roms for 5 years and I feel like I still have so much to learn.
Click to expand...
Click to collapse
ive been on xda since the first galaxy phone made.
i also work for a cellular company..
i have never done a factory reset on my phone (obviously haha) i always use backups or just fresh installs
Sent from my SM-G900V using XDA Free mobile app

Can I flash OTA without losing TWRP?

So I basicly want to flash a new update, but I don't feel like losing TWRP. I don't mind wiping my data and system partitions, since it is easy to recover using FlashFire.
Any tips?
Can't you save the recovery with flashfire?
Just reflash twrp after update
Sent from my Pebble Time
peachpuff said:
Can't you save the recovery with flashfire?
Click to expand...
Click to collapse
I flashed mine and unticked "recovery" then on reboot it got rid of the recovery.
Yes you can I have done it see here,
http://forum.xda-developers.com/showpost.php?p=66411670&postcount=42

Categories

Resources