Upgrade rooted 4.4.4 to 5.1? - Nexus 10 Q&A, Help & Troubleshooting

I have a Nexus 10 with unlocked bootloader and 4.4.4.
Recovery running Philz.
What is the safest way to upgrade to 5.1 while keeping all userdata and 3 accounts?
Can I use NRT with keep user data setting on?
Are there any pitfalls to avoid bricking? Will my N10 be encrypted after flashing?
Sent from my XT1032 using XDA Free mobile app

Anyone, I'd like to upgrade soon.
Is it safe to upgrade from 4.4.4 to 5.1 in one go by flashing the factory image while keeping userdata?
If not, just say so.. It's not that bad with Titanium Backup (or is that a bad idea from KK -> L?)

Quark^2 said:
Anyone, I'd like to upgrade soon.
Is it safe to upgrade from 4.4.4 to 5.1 in one go by flashing the factory image while keeping userdata?
If not, just say so.. It's not that bad with Titanium Backup (or is that a bad idea from KK -> L?)
Click to expand...
Click to collapse
you can restore from TiBu from KK to LP just don't restore any data

OK will skip data when restoring from TiBu.
But still my original question remains: what is the easiest + safest way to upgrade?
Is flashing the 5.1 factory image while keeping the userdata partition safe?
Sent from my XT1032 using XDA Free mobile app

Quark^2 said:
OK will skip data when restoring from TiBu.
But still my original question remains: what is the easiest + safest way to upgrade?
Is flashing the 5.1 factory image while keeping the userdata partition safe?
Sent from my XT1032 using XDA Free mobile app
Click to expand...
Click to collapse
Easiest way: OTA
Safest way: Factory images
Userdata partition: If you keep your KK userdata partition, you might run into issues since its a major upgrade you want to do (KK -> L); Take a look at this thread -> http://forum.xda-developers.com/google-nexus-5/general/sdcard-problems-upgrading-android-t2938749

Related

Flashing and data question

Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
Yes. to prevent any issues it is advised to wipe all data before flashing. One of the things you learn to deal with when flashing custom roms.
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
You'll want to wipe your data partition when you flash between ROMs. You can use Titanium Backup to backup your user apps before you flash CM (it might be a good idea to copy the TitaniumBackup folder off of your phone after you've made the backup if you aren't familiar with flashing or wiping, if you wipe the internal SD you're backups will be deleted!). Once you've flashed CM you can download Titanium Backup from the market and restore from your backup.
While you can backup/restore system apps as well you'll get weird results between ROMs (which usually results in wiping and starting over again anyway), so my advice is to only restore system apps/data when flashing the same ROM.
Your virtual SD card will not be wiped.
Sent from my Nexus 4 using Tapatalk 2
Thx very helpful.
Sent from my Nexus 4 using xda app-developers app

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

Jumping from AOKP to Stock. How?

I'm stuck on AOKP 4.2, and would like to upgrade to stock 4.4 + xposed (been hearing great things about it). And I have a bunch of questions before I do the deed.
1. Can I just wipe apps + data and flash the stock image? Will that preserve my recovery (TWRP) and root?
2. Should I also get a 4.4-specific baseband?
3. I'd like to backup my contacts, along with the merged/linked data. How do I do that?
You don't need to wipe anything beforehand. If you want to preserve recovery, you'll have to flash each image separately instead of doing the flash all or remove the recovery image from the stock package, as that will prevent it from being overwritten. No, root can't be preserved because you are flashing a new system partition. You can simply flash superuser.zip afterwards, or TWRP may offer to root for you.
You don't necessarily need a new radio. Personally, I'm still using an older hybrid, for LTE purposes.
The best way would be having your contacts synced with Google. Otherwise, you'll need Titanium Backup for contacts and all other data anyway.
Sent from my Nexus 4 using XDA Premium 4 mobile app
1) how are you flashing? if you use the autoflash through fastboot, youll lose everything. however, if you flash each partition manually through fastboot, you can preserve your current recovery.
2) if you aren't having issues now, i would stay with the radio you are currently using. radios are cross compatible between android versions.
3) there are a few root apps in the play store for contacts backup. if you have a google account, they should all be auto backed up (provided that you saved every contact to your google account and not your sim card)
exchequer598 said:
I'm stuck on AOKP 4.2, and would like to upgrade to stock 4.4 + xposed (been hearing great things about it). And I have a bunch of questions before I do the deed.
1. Can I just wipe apps + data and flash the stock image? Will that preserve my recovery (TWRP) and root?
2. Should I also get a 4.4-specific baseband?
3. I'd like to backup my contacts, along with the merged/linked data. How do I do that?
Click to expand...
Click to collapse
I recommend you to use an official stock ROM, and install it. It will not preserve anything, so you should export your contacts, and restore them later.
After restoring stock ROM, you can install any recovery and root from fresh.
https://developers.google.com/android/nexus/images
sent from nexus4 pa4beta2

[Q] Restore SYSTEM partition?

I dun goofed and erased my system partition. I have backed up my DATA partition and have a few things.... but i would like to know if i can simply flash the system partition back from a stock rom, instead of having to system restore everything and have to re-root, etc.
Thanks.
(Nexus 7 2012)
Yes you can, use
fastboot flash system <system.img>
but it needs to be the same version you erased otherwise you might get a boot loop.
Sent from my Nexus 7 using xda app-developers app
Simple fix
NullUserID said:
I dun goofed and erased my system partition. I have backed up my DATA partition and have a few things.... but i would like to know if i can simply flash the system partition back from a stock rom, instead of having to system restore everything and have to re-root, etc.
Thanks.
(Nexus 7 2012)
Click to expand...
Click to collapse
if you have recovery like twrp just flash the system image back. if you dont you might have to restore it.
Wugs tool kit works if you get stuck on flashing system see my response to this thread http://forum.xda-developers.com/showthread.php?t=2625843
click thanks if i helped

Android 5.1 Update

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

Categories

Resources