Is there a particular place apps store data?
The reason for this question is as follows:
Awhile back before the cupcake releases I was using the JF RC33 build I flashed to one of Haykuro's builds (an H build I think but I don't remember). It never synced my contacts so I reverted back to RC33 via nandroid.
Originally on RC33 I had Market Millionaire installed and when I flashed to Haykuros build the data was lost and I entered new data. When I restored via nandroid my old data came back.
Than when the JF ADP 1.5 came out I flashed to that from RC33 with my original data. After flashing to JF ADP 1.5 the data I entered in Haykuros build showed up and the data from RC33 went missing.
How did the data from Haykuros build reappear after I had removed it via a nandroid restore to a previous state?
I got lost somewhere in all that.
For one.
Stop flashing different roms over each other using nandroid.
Pick one stick with it, back it up and enjoy. lol
Nanroid was not/is not meant to be recovered onto any rom.
It is meant to be recovered onto the same rom you originally backed up.
adp -> adp
rc8 -> rc8
t-mobile -> t-mobile
etc
Plus this is has nothing to do with developing the G1 for the better so im moving it to G1 general.
If nothing is to be contributed to development, look in the general for questions and answers AFTER you have searched.
Thanks
Nandroid makes a complete backup and when I use it to restore I restore completely. That is specifically what it was for. If you use nandroid to reimage your phone you go to the build you were on at the time of the backup. flashing boot, data and system.img removes the build you are overwriting and replaces it with the one in the img files.
How does asking where app data is stored not fall into development? Further this is directly related to app data reappearing after moving to another build. I think maybe you are being overzealous. Can I direct you to the 140 some odd pages in the shhhhhh.... thread that are all basically off topic repeats of each other instead? Also I did search, I've searched a ton of times over the last month or so and there isn't an answer, so i asked it. Searching will only find you things that have already been discussed. This hasn't.
all data is in /data
almost everything you'll care about is in /data/data
logcat helped me narrow the issue down a bit I think
W/Settings( 747): Setting android_id has moved from android.provider.Settings.S
ystem to android.provider.Settings.Secure, returning read-only value.
Pre-Cupcake you could edit the database in android.provider.Settings.S
ystem but post cupcake android.provider.Settings.Secure is hidden, unaccesible or something like that.
Cupcake, I think changed my ANDROID_ID which this app uses to maintain data.
Related
This is my first question; so apologies f I'm not clear.
I've been messing around a little with my phone. I have root, Amon_Ra's Recovery and I'm currently using MoDaCo's Enhanced ROM. Out of curiousity, I thought I'd try CyanogenMod and see what that was like.
So I wiped my Nexus, flashed Cyanogen and booted up. After linking to my Google Account, I noticed that none of my settings or apps from the cloud had been synced and nothing I did allowed me to access them. (I think I remember seeing that there is no automatic option for this, so that might have been the reason.)
Next, I tried MoDaCo's Froyo ROM for rooted phones, as I'm really curious about it. Same problem, nothing was synced.
Rather worried, I restored my phone to the Original Shipping image (keeping Amon_Ra's recovery) and not only did nothing sync, but starting any update would restart the phone, load up the Recovery and then fail to update with a verification error.
Rather irritated, I wiped and then flashed to MoDaCo's ROM. Lo and behold, all my apps and settings were restored from Google's Cloud.
I am so unbelievably confused, it's not funny. If I made a backup using Nandroid, would that restore my apps and settings when I changed to a new ROM? Or am I way off base here?
(I'm rather new at this, so apologies in advance.)
Any help would be appreciated.
Thanks a lot!
The last cyan rom I used (5.0.6?) did not have cloud restoring of apps, I always thought this was a froyo feature/?
Nandroid does a complete backup of your system including apps, settings, rom etc... so technically yes it does restore your apps, just not from the cloud.
Thanks behelit, but I'm not interested in restoring the original ROM, just the Apps and settings should I change to a different ROM.
Anyone have an idea why I can't access cloud from Froyo or Original stock ROM? Maybe I'm doing something wrong...
So I was updating my rom from 1.5 to a 2.1 rom. Everything was cool except I didn't work Titanium back up right and didn't have any of the apps I had before and there was one in particular I really wanted and didn't see in the market. So.... I decided to go back to the old rom until I got titanium straight and could get my apps. I booted into recovery, wiped, then for some stupid reason, instead of hitting the command to go back to the backed up rom, I hit back up. So I backed up a wiped phone. Is there anyway I can find that original back up now?
Thanks for any helpful replies.
I believe each back up is given a unique name with date and time. Just go back to recovery and look for your old back up.
they are all stamped with time and date. so just restore the one that's older
Mod. edit: not dev related, moved to q&a
That is correct. In the ../nandroid folder there will be a folder that, I believe, is a unique identifier for your phone. Inside that folder there will be a folder for each of your backups. When you use the menus to restore it should ask you which one you want to use. The oldest should be at the top and the newest should be at the bottom.
I recently sold my hero to a guy. here's the problem, he's having issues activating it on his account. in my mind i'm thinking it's because it's running the 2.2 froyo CM6 extremely blue and there's no access to the ## codes. i'm not nearly as well versed with android as i am with blackberry and winmo. i hate starting new threads but i can't find anything on this except that a sprint based rom "should" have the ## codes in it. He doesn't want to flash it back to stock and lose root access. Any help would be greatly appreciated.
This is what he has to do:
1) Nandroid to create a backup of the system as-is.
2) Wipe and reinstall a rom based on Sense -- don't use Sprint's RUU or any updates from them. When I did this, I nandroided back to an old copy of Fresh 1.5. But any version of Sense should work. Just make sure it's not from Sprint. Check the Development forum in this CDMA section and pick one.
3) Once that is up and running, he can use the ## codes in the Sense dialer app to do whatever he needs to do to provision the phone.
4) Reboot phone into recovery mode and wipe. Don't worry, wiping does not clear out anything done with ## codes.
5) Restore from the Nandroid backup created earlier. Reboot and wait while the phone rebuilds the cache files. Could take 10 minutes to do this.
6) Phone should now be working.
see i haven't messed with nandroid backups, but he hasn't had a chance to really set anything up on the phone. could we just wipe the phone, flash something like damage control (2.1 sprint based sense), get the phone programmed, then flash back to the 2.2?
Yeah but it would probably just be easier to nand backup, lash a sprint based ROM, then nand restore when finished.
ok last question (i think). and recommendations on a sprint based rom that definitely has the ## codes in it? it's hard for me to get internet access at my job so i kinda have to dl to my sd card before i go in. i already have damagecontrol on the card if that would work?
p3tr0s said:
ok last question (i think). and recommendations on a sprint based rom that definitely has the ## codes in it? it's hard for me to get internet access at my job so i kinda have to dl to my sd card before i go in. i already have damagecontrol on the card if that would work?
Click to expand...
Click to collapse
DC should work fine.
awesome guys thanks. i'll post back after i make the attempt
I currently have Cognition beta 6 installed and want to reflash or update to beta 9. How can I backup my apps, settings and media? It’s my understanding that TiB is for only apps and will not do non-app-phone-settings (possibly not app settings ether?)? Correct me if I’m wrong on that. Also, should I use Nandroid?
________________________
From the CogWiki:
Can I do an Nandroid Backup when the install is done?
If you are running CogYo beta 6 or later OR Cognition for Eclair, yes, as we can once again get back into Clockwork Recovery.
If you are running beta 5.5 or earlier, no, you can't currently do a clockwork nandroid backup as its not compatible with 2.2's new recovery (3e) without performing the "kernel swap" trick. You can update to a newer version of CogYo or revert to Eclair to re-institute this functionality.
__________________________
I am at CogB6 so this applies but I’m not entirely sure what it means.
In summary what can I do to get a comprehensive backup and subsequent restore after a reflash?
Thanks,
JOe K.
Several different things to address first your main question. Yes you need titanium backup. Its a great app and a lifesaver. As for moving phone settings thats when things get tricky. I tried restoring system apps and had horrible luck. It is going to mess things up bc the settings won't be the same and will cause funky bugs. Save your self some time and don't try to move your system settings from version to version.
2nd question clockwork basically makes a complete copy of your phone with all settings apps texts contacts etc. but it is only useful if you screw something up and need to restore your phone to a previous version
Sent from my SAMSUNG-SGH-I897 using XDA App
I recently had to get a new Hero due to damage to my original one. After I rooted and did a back-up I installed cm6. After a few days I decided to go back to check for any prl updates since I forgot to check before I flashed. Once my backup was restored I noticed some ... funky-ness ... unlike usual, none of my stuff was in the right place and the Market is missing.
Discounting all this here is my question...I'm still kind of new so excuse me if this sounds really stupid... Would there be any issues in restoring a back-up from my previous hero? I saved them to my computer to keep a back-up of my back-ups.
My wife had a back (nandroid) of Fresh 2.4. When a new PRL came out I read that we can update them from that rom so I flashed back to her nandroid of Fresh and hers updated right away. I decided to take her Fresh nandroid from her sd card and put it on my sd card, it let me flash back to it BUT it would not update PRL. In fact it wouldnt do much of anything! I flashed back to cm6 download Fresh, flashed and updated with no problem. I think something in the build prop or something messes it up when putting it on a diff phone.