Application data corrupt after backup/restore - GT540 Optimus General

Hi,
Just changed rom from pcfighter 2.3.7 CM7 V2 (kernel 2.6.32) to mike's AOSP 2.3.7 v5.0
I backed up everything before with MyBackup root (data and apps data+apk),
wiped cache and data in recovery and installed the new rom. Then I restored everything in MyBackup.
Things seemed to be fine after reboot, except many apps started to force close on start. Wiping those apps' data seemed to bring them back to life one by one, so it looks like their data got somehow corrupted during the process.
Not a big problem, since I didn't have any really valuable data in the misbehaving apps, but I'd like to avoid similar hassle in the future.
Has anybody encountered this before or have any idea what I might have done wrong here?

cgx said:
Hi,
Just changed rom from pcfighter 2.3.7 CM7 V2 (kernel 2.6.32) to mike's AOSP 2.3.7 v5.0
I backed up everything before with MyBackup root (data and apps data+apk),
wiped cache and data in recovery and installed the new rom. Then I restored everything in MyBackup.
Things seemed to be fine after reboot, except many apps started to force close on start. Wiping those apps' data seemed to bring them back to life one by one, so it looks like their data got somehow corrupted during the process.
Not a big problem, since I didn't have any really valuable data in the misbehaving apps, but I'd like to avoid similar hassle in the future.
Has anybody encountered this before or have any idea what I might have done wrong here?
Click to expand...
Click to collapse
i always use titanium backup and dont have problems ..

andreas__ said:
i always use titanium backup and dont have problems ..
Click to expand...
Click to collapse
Yeah, I think I will try with titanium next time I have to do this. Or maybe I will backup with both and compare the results...

I didnt have that problem, but once when I updated my phone through fastboot i backed up my apps and personnal data using my backup root, and my personnal data got corrupted so I couldnt restore it, thankfully all I had that mattered was my contacts and they were synced with my google account so it was no problem really, was just kinda annoyed.

Nearly all of the apps that I backed up which was on the SD card (using App2SD method), didn't even backup when it said it did. Lots of corruption going on.

jhonnyx1000 said:
Nearly all of the apps that I backed up which was on the SD card (using App2SD method), didn't even backup when it said it did. Lots of corruption going on.
Click to expand...
Click to collapse
Was this also on MyBackup root? Now that I think of it, all my apps with corrupted data were also installed on SD card on previous rom.

cgx said:
Was this also on MyBackup root? Now that I think of it, all my apps with corrupted data were also installed on SD card on previous rom.
Click to expand...
Click to collapse
No it's MyBackup Pro, it has root capabalities though.
I use Titanium Backup now.

Related

Uninstall and reinstall the market (processocom.android.vending)

2 days ago, when i tried to open the market, (wifi) i got an error (A Server error has occurred. Retry, or cancel and return to the previous screen)
and after this, it says that i have to terminate the market applicazion (processocom.android.vending)
what can i do to work the market?
thanks
ps: i have cyanogen 3.9.7 and i tried to put another build or upgrade this versione (without wipe) but the problem is the same
Same thing here
Mine started the same thing today I reflashed (without a wipe) as well and removed a theme to see if it would help. I am wondering if it is a market error or something.
Happened to me just now after I wiped.
EDIT. Wiped again and made sure NOT to restore anything related to the market and it works fine now.
what can i do if i want not wipe it?
@Gamempire:
Don't use the market if you don't want to wipe.
not very good xD where can i download the apk?
Got Mine Working
I figured out why mine wasn't working. I used the TA Utility to move my Appstore Cache to my SD card and when I loaded a new theme for some reason or another it moved it back to the internal memory. I went back into the TA Utility and moved it back to the SD card and it worked fine. When you did a wipe, it must have recreated the cache folder for you.
You could always go to the com.android.vending folder and delete the data for just market. OR go to application information for market and clear the data/cache
Grab the app called Backup for Root. Backup everything with it.
Nandroid back up (just in case)
Wipe,
log in your phone,
then restore everything except market using Backup for Root
There, now it's just like you never wiped and Market will work,
Umm never tried the backup for root before, guess I will have to give it a go. I did try to clear cache from the apps at first and that did not work. Maybe the idea for deleting the folde would have
Mine did this when I used TA Utilities then deleted the cache on my sd. When I ran TA Utilites again it worked fine.
I DID IT!
i move the cache with ta utility from internal memory to sd and it works now!!!
woooooooooooooooow
Pinesal said:
Grab the app called Backup for Root. Backup everything with it.
Nandroid back up (just in case)
Wipe,
log in your phone,
then restore everything except market using Backup for Root
There, now it's just like you never wiped and Market will work,
Click to expand...
Click to collapse
How do you know what restore and what exclude with Backup for Root?
I have been trying this, excluding some files (I think com.android.vending, etc.) but after I do the restore the problem comes back.

HERO gone nutso... (NANDROID useless?)

I'm kinda pissed, I'm running Modaco 1.1 but already had WaveSecure when I installed the rom. I tried to remove WaveSecure via App Manager and after, my phone started showing no wireless connection so I soft reset.
On restart, I had about 20 Force Closes, and still no signal. Time for Nandroid Restore right? Wrong...
Did a Nandroid Restore, and the same thing happened. Still getting Force Closes, still no wireless signal. Apps that weren't on my phone at the time of the Nandroid Backup, are still on. So what is Nandroid actually for, because I thought it was a complete copy of your phone, and would return it to the time I made the backup?
I guess my only option now is to completely wipe my phone and start over....?
So I am currently working on integrating apps2sd in to my rom (fresh rom) because users who currently have apps2sd on their phones via modaco are receiving errors during install.
I have been working with apps2sd and getting it in my rom for 8 hours now and personally I have come to dislike it. It is a wonderful amazing idea and will be great once it's supported by google or HTC.
But think of it this way... apps2sd stores all apps on your SD card. nandroid doesn't backup your sd card or do anything with it. We have all come to rely on nandroid but if you need to restore because an app you installed broke something and that app is installed on your sd... nandroid isn't going to remove it.
Something to think about before everyone starts using apps2sd...
flipzmode said:
We have all come to rely on nandroid but if you need to restore because an app you installed broke something and that app is installed on your sd... nandroid isn't going to remove it.
Click to expand...
Click to collapse
I thought about this, but I thought that just because the app is installed on the SD card, doesn't mean the info to find it on the SD is on the phone.
But, if this is the problem, just make a backup of your SD at the same time as each Nandroid, and you can revert each time together.
Just realized... maybe just wipe the ext portion of the SD card, where all the app2sd is, and it will rewrite itself on reboot, just like when installed the rom? or is it the rom that writes the apps over to sd?
jirafabo said:
Just realized... maybe just wipe the ext portion of the SD card, where all the app2sd is, and it will rewrite itself on reboot, just like when installed the rom? or is it the rom that writes the apps over to sd?
Click to expand...
Click to collapse
What I do is I nandroid restore to the backup I made of the stock rom, then go into the recovery, wipe the ext partition, then install what custom rom I want.
I did a clean/wipe from the recovery image, and it left the modaco rom on there. Thought this would've returned the phone to the original rom, but guess not.
Sounds like your ext2 partition got hosed. Effectively your /data/app got wiped. You need to replace them somehow. Downloading and installing the apps from the market might be worth a shot, that might save your data and stuff.

[Q] Using backups that I have created...

This is probably a really dumb question but how do I use the backups I've created?
When I flash a ROM that I don't like and I try to restore to an earlier backup I've created it is not working. It either says something about the MD5sum or just aborts in general...
What process do I take in order to restore the phone to an earlier backup?
And better yet, if I install a new ROM and don't want to go through the process of installing all my apps again is there a way to just restore my files from a backup?
You can do an advanced restore and restore only data to get your apps, etc. back. There is also titanium backup that is great for backing up and restoring between roms (the only way to restore apps when using a different rom... restore data from one rom onto another can cause serious issues).
If you're getting MD5 sum errors, the backups are being corrupted. So unless your messing with them on your sdcard, then there may be some bad areas on that sdcard and it might be time for a new one.
danaff37 said:
You can do an advanced restore and restore only data to get your apps, etc. back. There is also titanium backup that is great for backing up and restoring between roms (the only way to restore apps when using a different rom... restore data from one rom onto another can cause serious issues).
If you're getting MD5 sum errors, the backups are being corrupted. So unless your messing with them on your sdcard, then there may be some bad areas on that sdcard and it might be time for a new one.
Click to expand...
Click to collapse
Wait so in order to keep my apps I can go to advanced restore and restore only data but it could cause serious issues? So basically it is possible but risky?
and normally should my restore points flash just like a rom when I go to "Restore"? do I need to wipe everything before I restore?
I did copy and paste them onto my computer so I had them in two places... maybe that corrupted them. Anyways a new, bigger, faster SD card is in the mail so that's kind of a coincidence.
a restore in clockwork is an image restore, so everything in that partition will be wiped anyways.

[Q] Quick way to (re)install multiple apps

Is there a quick way to (re)install all my apps after changing ROMs?
Been using Pongster's awesome NAND HyperDroid build since v5 and have been upgrading along the way by reinstalling the data section from my CWM backup. Recently on v11 I started having a few glitches and upgrading to v12 only made matters much worse. I just want to start a fresh on v12, but is there a way quicker than writing down all my apps then selecting each from the market. Have looked in Android Market on using desktop PC and it only lists 11 apps. Thanks.
SheenaIsAPunkRocker said:
Is there a quick way to (re)install all my apps after changing ROMs?
Click to expand...
Click to collapse
I believe Titanium Backup Pro is the most popular choice, it can restore all your apps and data automatically, plus there's an option to repair missing market links.
That rom uses an ext partition, so as well as restoring the data partition after a fresh flash, if you also restore the sd-ext partition (same method), all your installed apps will be restored, complete with all their settings still in place, since you are restoring data too.
D'oh, and double d'oh. Thanks for the tips. I backed everything up using Titanium backup. Being running HyperDroid without an EXT partition so while I was in the process of installing v12 again, I thought I'd use the handy partition function in ClockworkMod. However, what it fails to mention is in re-partition my SD Card for me it would handily wipe everything Looks like I'm hosed now anyway!
nooOO!, hah, oh well, it happens, and theres no better learning curve than seeing mistakes in action.
I literally had the SD card in my desktop to copy everything on it, but before I did, I put the SD back into the phone to do something else ... never got around to doing that copy. At least phone numbers are backed up on Google (I hope!), but I guess I'll have to start again on Tower Raiders 2, that's the real loss!!
since you are at a fresh start, you COULD try reinstalling all the apps, and THEN restore the data partition, which (unless im wrong) holds settings? ,,though i know some stuff uses folders on the fat32 part of the sd card too, , so may not work, , worth a try if you're in an investigative frame of mind.

[Q] Flashing ICS ROM, but keeping data from GB (CM7)

I read a few threads on the matter, but replies are a bit confusing and not much info for HD2 in particular, so I decided to start a new thread.
I am considering the option of flashing an ICS based ROM such as NexusHD2, but would like to preserve my settings and apps from my current CM7 ROM. I currently use Dorimanx ROM ver 2.3.7 (CM 7.4.5) with highly customized GoLauncher, a2sd (1 GB partition, 256 MB SWAP). The device is the EU model.
I wouldn't want to have to reconfigure all over again so I was wondering what would be the best option to preserve my settings and apps to the new ROM. I found some mixed responses on the use of Titanium Backup. It seems that some apps would get corrupted and restoring settings and data from CM7 to CM9 using TB causes a number of errors. There are many other backup programs, but it seems that most of them are doing the same thing as TB and may fail.
Is there a good tool that was proven to work well in porting CM7 apps and settings into a CM9 ROM? What would be the best plan when doing the upgrade considering the current software details described above?
Thanks for thesupport.
Only a couple of apps have differing GB and ICS versions, and for the apps which don't, Titanium Backup has never failed me. It will backup all of your apps and app data, and I've never had any corrupted backups. Another thing which you could do would be to backup in CWM, flash the new ROM and then advanced restore the data.
Nigeldg said:
Only a couple of apps have differing GB and ICS versions, and for the apps which don't, Titanium Backup has never failed me. It will backup all of your apps and app data, and I've never had any corrupted backups. Another thing which you could do would be to backup in CWM, flash the new ROM and then advanced restore the data.
Click to expand...
Click to collapse
I've been thinking about advanced restoring /data only in CWM, but wasn't sure if there are any other CM7 specific stuff inside. Thanks for your prompt reply. I'll be backing up all in CWM and TB and will be playing around a little bit. Still open to suggestions, though, so please let me know if you hav any other advice. Eventually, I'll be posting the results here for future reference.
Why do you want to do that?
You can use some backup app like Titanium Backup

Categories

Resources