Updating CM Nexus 7 to 4.2.2 without losing data? - Nexus 7 Q&A, Help & Troubleshooting

All of my info is in the attatchment, just wondering if its possible? I don't really want to lose my data etc.
Cheers in advance

jarrodstrachan said:
All of my info is in the attatchment, just wondering if its possible? I don't really want to lose my data etc.
Click to expand...
Click to collapse
Ummm, what?
You've got a CM10.1 nightly ROM with a Motley kernel, and you want to know "how do I get the upgrade"?
Upgrade to what, stock 4.2.2? How would that be an upgrade? It's a completely unrelated ROM!
Look, there are ROMs that are just a little too different to be exchanging body parts between. In some cases - for instance a steady progression of closely related ROMs, e.g. CM10.1 nightlies - you can just flash the new ROM over the top of the old without performing any wipes. But I wouldn't ever blindly mix all of /data between a stock and CM ROM.
Overflashing without a wipe will replace /system and the boot image but preserve:
- Market Apps & their data
- Data from (former?) System Apps & frameworks --- but their corresponding app at the same version may not be installed
It's the last bit that is the troublesome part, and it's why I said "steady progression of closely related ROMS". If the ROM being replaced is not a recent ancestor of the new ROM, you could have -
missing system apps (data present but no app for it) -- not too much of a problem
data present for a system app which is version mis-matched with the replacement System App (can be a problem)
Anyway, there are combinations of ROMs which are so far apart from each other, either in their frameworks or versions of Pre-installed apps, or their expectations of settings found in /data that it's just not a good idea to "overflash" one ROM on top of the data from another - there's just too large a chance of developing all sorts of troubles.
In those cases, you need a "completely New ROM" strategy:
- You make a FULL Nandroid backup of the existing ROM and get it stored off of the N7 someplace; this is for disaster recovery. Who knows - you might not like the new stuff, so it will let you go back to exactly where you were.
- You back up only Market Apps and their data from the old ROM; when they get restored, they will certainly match each other. You can use Titanium Backup (for root users) or the Carbon App (for non-root users) for this purpose. Also other** misc. backups.
- You perform a factory reset to wipe /data (excluding /data/media on the N7)
- You flash the new ROM, and boot it as a brand new device, entering your Google Creds
- Market Download (or sideload from prior backups) Titanium Backup or Carbon (depending on what you used)
- Restore your Market Apps and associated data.
- Reboot once. If you get warnings about "UID mismatch", you need to boot into a custom recovery again and run the "fix permissions" option in the custom recovery.
- Tweak or re-do settings as needed.
** there are some things that can be separately backed up with other apps such as SMS/MMS messages, APN settings, Bookmarks, etc. Or, Launcher/Home apps that let you save & restore your homescreen layouts. Feel free to experiment, or look at the TiBu capabilities here.
You can probably get away with overflashing newer ROMs within the same minor release group without wiping data. For instance, near-stock 4.2.1 -> 4.2.2 or 4.2.3, but not something like 4.1.2 -> 4.2.1. Same thing with CM - anything within the 10.1 grouping might be perfectly fine, but you certainly wouldn't want to overflash a CM9 ROM with a CM10 ROM (for example). At some point it is simply the better idea to install a ROM as if it were completely new, and then restore market apps & data back into that ROM.
If you want to try Pure Stock with "your data", go ahead and install it as above: start out as if it were a completely new tablet, and then finish up with TiBu or Carbon to install market apps & data from backup.
** Whether or not to use Google Cloud service to backup/restore "settings" is a good question; it would be nice if it could be restricted to just generic Android settings alone, but it wants to re-install all your market apps as downloads, too. This will exacerbate "UID mismatch" problems, as you will be restoring them from TiBu or Carbon.

bftb0 said:
Ummm, what?
You've got a CM10.1 nightly ROM with a Motley kernel, and you want to know "how do I get the upgrade"?
Upgrade to what, stock 4.2.2? How would that be an upgrade? It's a completely unrelated ROM!
Look, there are ROMs that are just a little too different to be exchanging body parts between. In some cases - for instance a steady progression of closely related ROMs, e.g. CM10.1 nightlies - you can just flash the new ROM over the top of the old without performing any wipes. But I wouldn't ever blindly mix all of /data between a stock and CM ROM.
Overflashing without a wipe will replace /system and the boot image but preserve:
- Market Apps & their data
- Data from (former?) System Apps & frameworks --- but their corresponding app at the same version may not be installed
It's the last bit that is the troublesome part, and it's why I said "steady progression of closely related ROMS". If the ROM being replaced is not a recent ancestor of the new ROM, you could have -
missing system apps (data present but no app for it) -- not too much of a problem
data present for a system app which is version mis-matched with the replacement System App (can be a problem)
Anyway, there are combinations of ROMs which are so far apart from each other, either in their frameworks or versions of Pre-installed apps, or their expectations of settings found in /data that it's just not a good idea to "overflash" one ROM on top of the data from another - there's just too large a chance of developing all sorts of troubles.
In those cases, you need a "completely New ROM" strategy:
- You make a FULL Nandroid backup of the existing ROM and get it stored off of the N7 someplace; this is for disaster recovery. Who knows - you might not like the new stuff, so it will let you go back to exactly where you were.
- You back up only Market Apps and their data from the old ROM; when they get restored, they will certainly match each other. You can use Titanium Backup (for root users) or the Carbon App (for non-root users) for this purpose. Also other** misc. backups.
- You perform a factory reset to wipe /data (excluding /data/media on the N7)
- You flash the new ROM, and boot it as a brand new device, entering your Google Creds
- Market Download (or sideload from prior backups) Titanium Backup or Carbon (depending on what you used)
- Restore your Market Apps and associated data.
- Reboot once. If you get warnings about "UID mismatch", you need to boot into a custom recovery again and run the "fix permissions" option in the custom recovery.
- Tweak or re-do settings as needed.
** there are some things that can be separately backed up with other apps such as SMS/MMS messages, APN settings, Bookmarks, etc. Or, Launcher/Home apps that let you save & restore your homescreen layouts. Feel free to experiment, or look at the TiBu capabilities here.
You can probably get away with overflashing newer ROMs within the same minor release group without wiping data. For instance, near-stock 4.2.1 -> 4.2.2 or 4.2.3, but not something like 4.1.2 -> 4.2.1. Same thing with CM - anything within the 10.1 grouping might be perfectly fine, but you certainly wouldn't want to overflash a CM9 ROM with a CM10 ROM (for example). At some point it is simply the better idea to install a ROM as if it were completely new, and then restore market apps & data back into that ROM.
If you want to try Pure Stock with "your data", go ahead and install it as above: start out as if it were a completely new tablet, and then finish up with TiBu or Carbon to install market apps & data from backup.
** Whether or not to use Google Cloud service to backup/restore "settings" is a good question; it would be nice if it could be restricted to just generic Android settings alone, but it wants to re-install all your market apps as downloads, too. This will exacerbate "UID mismatch" problems, as you will be restoring them from TiBu or Carbon.
Click to expand...
Click to collapse
That is a fantastic response and I can only thank you for taking so much time to answer my question, after reading that I understand why mix and matching is a bad idea. Either way thanks alot for the response, I think I will backup my apps and media and completely wipe/reflash a new ROM. Thanks again buddy, much appreciated.

Why I love XDA....
"...there are ROMs that are just a little too different to be exchanging body parts between..."
--by bftb0--
Quotes like this are pure gold... even if I did choke on my cigar whilst reading it.
Rgrds,
Ged.

Related

[Q] Quick question about Clockwork Recovery ROM's "Data restore"

I like Viper's latest 2.2 rom...
But I also have a very good backup of the apps I normally use from Quantom's rom... and I would like to restore just the "Data"... but, as nature would have it, I have several apps (in some cases older versions) in the backup, that could possibly overwrite newer, better versions of the apps in Viper's rom. Will the data overwrite the newer apps, or will the older data skip past the newer data
Do two backups.
1. A backup with ALL your current information for safety in case of Install failure.
2. Reboot, and delete all your old stuff that you don't want to overwrite the new stuff on the ROM.
3. Do a new backup and use that data restore once you have installed the new rom with the newer programs.
Does this fix your problem?
Streamline8 said:
Do two backups.
1. A backup with ALL your current information for safety in case of Install failure.
2. Reboot, and delete all your old stuff that you don't want to overwrite the new stuff on the ROM.
3. Do a new backup and use that data restore once you have installed the new rom with the newer programs.
Does this fix your problem?
Click to expand...
Click to collapse
LOL, I was going to do that, but wanted to make sure that I did not need to...
I guess what I was going to do is
Backup all of the stuff from the new ROM..
Then clear Data, and then restore all of the stuff from the old backup...
then restore stuff from the newer backup...
If you're looking for more granular control of your restore, look at thread, "Expand a nandroid image file" here in epic development.
sent from my RAZR

[Q] Noob questions galore ;)

Hi guys,
First of all (in case you didn't realize it), I'm an android noob. This is my first Android phone (my employer tried to give me an iPhone, but caved when I told them I'd just stick it in my drawer and save it as an emergency phone) and I just rooted it
Now...I made a backup of it after rooting. This should get me back to stock if I need it, right? Should I copy it off the phone? I guess it will be removed if I have to wipe...?...
Also; will I retain my settings, sms/mms etc etc if I use a custom ROM? This is my main concern at the moment, as I want something more fancy and hopefully less energy consuming ROM.
Cheers!
tiwas said:
Hi guys,
First of all (in case you didn't realize it), I'm an android noob. This is my first Android phone (my employer tried to give me an iPhone, but caved when I told them I'd just stick it in my drawer and save it as an emergency phone) and I just rooted it
Now...I made a backup of it after rooting. This should get me back to stock if I need it, right? Should I copy it off the phone? I guess it will be removed if I have to wipe...?...
Also; will I retain my settings, sms/mms etc etc if I use a custom ROM? This is my main concern at the moment, as I want something more fancy and hopefully less energy consuming ROM.
Cheers!
Click to expand...
Click to collapse
Hi there!
if you made the backup just after rooting, if you run that Backup (through CWM etc) it will revert the phone back to how it was at the time of the backup, so if you didnt have any settings,sms,Apps etc they will not show. you can copy the backup file if you wish to but i believe (not 100%) the backups are stored on External SD and as a result are not lost on a Factory Reset/Wipe
Some Custom ROMS (Litening ROM i use) allow you to flash with no loss of data, including all your apps, SMS and settings. Basically you have the exact same phone layout but with a Spiffy,fast,Fresh rom they are really easy to flash with ODIN, now im not sure if other Roms (Villain, Cognition, etc) retain the Data partition on flashing you would need to check out the specific Threads on the Android Development section of the forum
hope that helped !
Thanks - that was helpful I will look into the other ROMS and decide from there.
Do you know if any of the SGS2 ROMs have more themes available? I get bored easily, and it would be great to change the look and feel every now and then
well being that the phone is still relatively new and still not available for the North American market, the development for it is still small. However, the CM7 team are developing roms for it, and a lot of other custom roms are based off CM7, so there should be a good selection of roms in the near future. the sgs2 is one of, if not the most anticipated android device this year, so i'm sure rom selection wouldn't be a problem.
Thanks, guys
I just bought Titanium Backup after some recommendation in another thread. Is there anything I should be aware of, or any recommendations, when making a backup before trying out other ROMs?
tiwas said:
Thanks, guys
I just bought Titanium Backup after some recommendation in another thread. Is there anything I should be aware of, or any recommendations, when making a backup before trying out other ROMs?
Click to expand...
Click to collapse
Whenever i do anything such as update/change my ROM, i do a Ti backup of all my apps (incase they go missing) then a CWM backup of my System which i can roll back to if i have any problems
Also, just to 2nd what p00kienrayray Said, the only ROMS i know of which support themes are MIUI and CM7 which should hopefully work fully soon
tiwas said:
Thanks, guys
I just bought Titanium Backup after some recommendation in another thread. Is there anything I should be aware of, or any recommendations, when making a backup before trying out other ROMs?
Click to expand...
Click to collapse
Yes, there *definitely is* a recommendation, when making a backup before trying a rom which wipes your phone, check out the message I sent to TB developer..
"Hi, I bought titanium few days ago to help the transition from my Magic to the new Galaxy S2. I used to use My backup Pro but appreciated the apps freezing function of Titanium that could possibly help avoid the battery drain problem on the S2 due to the Samsung WiFi sharing bug.
I had quite a bad experience, though, regarding a hard reset I had to perform on the phone, which I previously backed up with Titanium: the default backup directory is /mnt/sdcard but that corresponds to the internal memory on the S2, while the external one is located in /mnt/sdcard/external_sd (if I am not wrong). That led to losing a week worth of photos (the one part I couldn't really get back, given that I had a week old backup made with SMS Backup & Restore + Call Log backup & Restore made on the Magic).
Ok, lesson learnt for me but may I suggest that the default directory can be automatically set to /mnt/sdcard/external_sd if the terminal is an S2, for future users not to be unsatisfied? Is it something that could be implemented in TB?
Thanks for listening,
*************
PS well, shame on Samsung as well for such a weird choice... I would have set /mnt/sdcard for the external one and /mnt/internal_sd for the internal one... and don't understand why the hard reset (performed through the *2737*3655# code - if I remember correctly) does reset the internal memory which if I am not wrong is a separate partition from the system."
CONFIGURE YOUR TB BACKUP DIR TO /mnt/sdcard/external_sd BEFORE DOING ANYTHING ELSE
Not to mention that some apps like SMS Backup & Restore do not allow you to change the dir, therefore you have to manually move the backup results after you have finished

[Feedback][ROM][021011][v3.0][ROOTED]Stock GB 2.3.5 / 3.06.405.1[NAND & BOOTMANAGER C

[Feedback][ROM][021011][v3.0][ROOTED]Stock GB 2.3.5 / 3.06.405.1[NAND & BOOTMANAGER C
I would like to give some feedback to the thread
[ROM][021011][v3.0][ROOTED]Stock GB 2.3.5 / 3.06.405.1[NAND & BOOTMANAGER Compatible]
http://forum.xda-developers.com/showthread.php?t=1272543
As a newbie in this forum I am not allowed to answer directly, so I hope it is ok to post here.
Coming from a branded Desire HD with Stock Android 2.3.3/Sense 2.1 I had the wish to use VPN on my telephone to contact my Fritz!Box router. So I need to root the phone. I wanted to keep the system as it is, because I am happy with it. With the help of this and other forums I succeeded so far. Thanks for all the excellent explanations.
After "backup > goldcard > downgrade > root > s-eng off > flash radio > flash rom > restore backup" Android 2.3.5 / Sense 3.0 is running on my phone and I am very happy with it. The whole process took me about two days, mostly reading. I would like to thank fshami for the ROM. It was difficult to find a rooted stock rom.
The ROM works perfectly. I flashed it with the ROM Manger / NAND. To flash the radio I used the QuickRadioInstall with the recommended radio.
All applications I expected are there. No suprises, which is just great for me.
The phone can be mounted as usb drive without problems. I don't have the issue SsZzliMm reported. Root access is still there.
The only issue I have found so far is a minor Sense issue with the contacts application. When I select the Google addressbook "Own contacts" only, the contacts from the phone appear as well. HTC should fix that.
The Sense update from 2.1 to 3.0 is very remarkable. There are lots of improvements and I would definetly recommend the update. I am happy that I don't have to wait/hope on T-Mobile to release it.
Looking at the whole process the worst part is the backup / restore topic. It is not documented well and from my perspective it is nearly impossible to do it right. Correct me, if I am wrong, but as long as you don't have root access, all backups are limited to the applications itself (apk) and supported data like contacts. Other data like savegames cannot be backuped without root, right?
My experience with MyBackup Pro is:
Overall it does its job, but:
- Backup without root: Loss of unsupported (unaccessible?) data. Mostly savegames.
- Restore after upgrade from Android 2.2 to Android 2.3.5: Some applications (mostly games) crash and need reinstall via market.
If somebody from the experts would spend some time on explaining how to do backup and restore with and without root, it would be greatly appreciated.
I hope this feedback is somewhat helpful for other people with the same target: Just get root access and keep stock htc sense android.
All I can say is that it is never recommended to restore any data using any backup programs unless you really, really need to since it often the cause to most FC:s and general problems.
If you got root access just download titanium backup and press menu, then batch and there you can select to backup apk, apk+data, system data and more.
I never ever restore any system data since that usually just f***s everything up. I use it to restore apk:s and I only restore data for those apps that needs it i.e. Angry Birds, time recording, SwiftKey and a few more.
And just wait till fshami releases 4.0 to the public. I just say buckle up and be prepared for that rom is fast.

[Q] Restoring from Titanium backup across ROMs? (keep getting Force Close)

Hello all. I have a question about restoring "everything" from a Titanium backup across different roms. (This is a separate thread from my previous question)
Here's my scenario:
I recently learned how to switch my ROM from SD to NAND. Luckily the ROM I chose long ago just experimenting was AmeriCanAndroid on SD, which happened to have a NAND counterpart so using Titanium Backup I was able to completely backup and restore everything with no problem/no quirks.
I now want to change my NAND ROM from AmeriCanAndroid to RUNNYMEDE 0.82.401.1 - Android 2.3.5 - Sense 3.5 (because I have a heartOn for sense).
I got the hang of using CWM recovery, and changing the cache and data sizes, but the hurting started when I got into the ROM and used Titanium to restore the backup I made in AmeriCan to use in this new one. I now keep getting Force Close errors.
I've done it about 5 times now, with different options checked in Titanium, like restoring the libs, and not, un-checking all of the red system apps from restoring, even did a permissions reset from Rom Manager, all with the same results. I get Force Close messages constantly.
"android.process.acore", " com.android.htccontacts", "com.android.mms", "com.android.phone" are the main ones and I can't open many "system" apps at all after the restore.
Is there something I'm missing in this process? Mostly what I care about are the sms/mms, mail, contacts, call log, ect (of that nature), but I would like to keep setings and wallpapers, ect as well if I can. Is this accomplish-able? If so how, if not, how can I come close?
Try doing a fix permissions in cwm
Thanks samsamuel. I know I didn't specify it, but when I tried the permissions fix in Rom manager, I also started the process over and tried it in CWMr, to the same effect. So I think I've rules out it being a permissions problem.
well if it were me changing roms, id do a cwm backup, then 'wipe data / factory reset', flash the new rom, let it boot all the way to the welcome screen, reboot into cwm and then selectively restore data and sd ext, , but since i've only played with cm7 roms, and not that much, i couldn't tell you how well it will work.
Cant hurt to try tho, eh?

[Q] What do i have to backup before changing rom?

Applications backup but not cache or data?
System backups?
Sms and call logs?
And system backups?
Are those all to do? If i backup those, when i restore, will i be able to have my desktop widgets, desktop icons sorted correctly ?
I think the best answer is "it depends on what you want to restore to".
When I change roms, I make a full backup using CWM, that way, no matter what the new rom breaks, I can go back to exactly where I was before.
But if you really want the new rom and think the problem is in one app or setting, you can backup only the apps .apk, the apps data and the rom settings, then you can restore everything individually and see where the problem is.
This all assuming you are not changing major android versions (like from froyo to gingerbread) or not changing roms "types" (like from stock to CM or to miui). If you are, then the partial backup is not recommended since it may not work.
In this last case, your best hope is to backup the apps .apk and store all other data somewhere where you can import to android (like storing the contacts in google account), since you shouldn't really restore anything else.
paulo_andre said:
I think the best answer is "it depends on what you want to restore to".
When I change roms, I make a full backup using CWM, that way, no matter what the new rom breaks, I can go back to exactly where I was before.
But if you really want the new rom and think the problem is in one app or setting, you can backup only the apps .apk, the apps data and the rom settings, then you can restore everything individually and see where the problem is.
This all assuming you are not changing major android versions (like from froyo to gingerbread) or not changing roms "types" (like from stock to CM or to miui). If you are, then the partial backup is not recommended since it may not work.
In this last case, your best hope is to backup the apps .apk and store all other data somewhere where you can import to android (like storing the contacts in google account), since you shouldn't really restore anything else.
Click to expand...
Click to collapse
I want a full back up; calendars sms call logs applications data system data etc. For sms i use go-sms backup, i hope it will restore without any problem. When i backup with cwm and restore, will my settings (system( be protected as before?
With CWM if you restore you will get all data, including Rom, Kernel, sms, calls, etc All you data that is in internal memory. Don't worry. If you restore it, you will get the phone like it was when you made the backup.
Titanium capabilities
I was wondering if it is possible to backup app (with their data), sms and contacts....all in one go using Titanium (non-pro version) (I think we call it batch backup)? I am totally new to the ROOTING and CUSTOM ROM worlds and I am literally freaking out with all the huge info on this topic on the internet. I am using a CM10 on I9000. Please help!
Yes i wonder too.
Boot in recovery
select backup to ext sd
run...
you have back up everythin like ghost in pc....
( so you can try another rom and if you dont like it restore your back up and you have you old rom
working with all data app contacts etc )
you must youse the same cwm version for restore with the one that you use for backup
Cursed Chico said:
Applications backup but not cache or data?
System backups?
Sms and call logs?
And system backups?
Are those all to do? If i backup those, when i restore, will i be able to have my desktop widgets, desktop icons sorted correctly ?
Click to expand...
Click to collapse
Are you attempting to backup so that you can move the apps/sms/settings to the new ROM or backing up in case you want to restore? Titanium backup is probably the thing you want in the former case and either with cwm backup or with linux dd backup in the latter. Personally I had problem moving system settings between roms, but apps should work just fine.

Categories

Resources