I don't know if I'm the only one having this issue, but I'd figure I'd lay out my findings for everyone to see if we can get to the bottom of it. Since the EB01 leak was released, I've noticed that after a while my installed apps will not remember their preferences anymore, think everytime is the first run, etc...
First time I flashed EB01 was using ROM Manager and an old "green" version of CWM. After the first instance of these issues cropping up, I went back DI01 using a FULL Odin restore (rom, kernel, radio, novinand, etc, w/ re-partitioning), then flashed to an EB01+CWM+Root package using Odin instead of CWM. Again, after a day or two, apps started forgetting their preferences. I then got a new phone as a warranty replacement, went from EA28 to EB01 using Odin: still having the same issues.
The only thing I noticed out of place (I'm no developer) in a logcat trace is:
Code:
Line 745: E/ApplicationContext(31797): Couldn't rename file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml to backup file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml.bak
Line 745: E/ApplicationContext(31797): Couldn't rename file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml to backup file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml.bak
Line 745: E/ApplicationContext(31797): Couldn't rename file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml to backup file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml.bak
Line 745: E/ApplicationContext(31797): Couldn't rename file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml to backup file /dbdata/databases/com.speedsoftware.rootexplorer/shared_prefs/com.speedsoftware.rootexplorer_preferences.xml.bak
Just a few other things I've noticed
*System application do not seem to be affected
*/dbdata/databases/ is full if entries for apps that are no longer installed. I don't know if that is normal or if they are supposed to be cleared out when an app is removed.
*deleting the entry in /dbdata/databases/ for a particular app seems to force it re-create the entry, allowing it save it's preferences.....until they change again.
*reading from dbdata seems to work fine, just writing isn't working.
*only certain apps seem to act up. The first ones to show signs of issues are usually Tapatalk, Root Explorer, & Titanium Backup. Apps like Dropbox and Facebook don't seem to be affected this time around.
I question weather this a corruption due to the installation method (outdated CWM) or a bug in EB01 itself and only folks who add/delete apps frequently like myself are more prone to notice it.
Thoughts?
First, this shouldn't be posted here. This has nothing to do with Development, so it should have gone in the General forum.
Next, have you tried to do a factory reset after the issue pops up and try again? I realize that you did the full Odin wipe, but did you try wiping data anyway? Also, are you on Voodoo or no-voodoo?
1. Apologies, I figured since this was an issue with software under development and is likely a code issue, that it belongs here more than anywhere.
2. Yes, many wipes of data & cache partitions, restores to DI01, etc. The full restore & re-formatting was a last resort. Plus, it's doing the same thing with an entirely new device.
3. Non-voodoo
What I would suggest is reset your phone and reset your data restoring, AKA clearing it from google's servers the best way to do that is reflash a froyo rom, wipe all the cache's and then when it asks you to login with your google account skip that step and then login using Settings->Accounts & Sync add your google account And then in Settings->Privacy Uncheck Backup my data and Automatic Restore. There is a chance there is a app or a setting being pulled from google that could be screwing it up, you could also try formating your SD card.
You mentioned Titanium Backup. It has an "Auto-sync TB settings" is supposed to auto restore it's settings from the SD card after a wipe. Maybe you have a setting in there that is causing an auto-restore to happen of the data from some of your apps.
And definitely check to make sure that you don't have Automatic Restore checked in Settings->Privacy. The best way to do this is just like jazzyjames mentioned. After a wipe, don't log into Google on the first boot, but first go in and uncheck the auto restore. Then you can log into your Google account.
It happens to those who use voodoo, but it was worse with 2.2 for some reason.
I fixed it using and all in one odin 2.2 version. It'll repartition the file system and restore your dbdata.
Done problem solved...
I found the Google Auto-Restore was enabled, so I disabled it to clear everything and did a factory wipe and re-did everything with pretty much every automated backup or sync service turned off.
We'll see how things go.
DISCLAIMER : This guide assumes that you already know how to flash a custom ROM. Also, these instructions work well on my Desire HD running ICS. They should ideally work on any device/ROM/Recovery combination, just that you may have to figure out the system settings/apps that correspond to the ones that I'm referring to. But remember that if you choose to follow these steps, you are doing it at your own risk, and you assume any and all potential consequences, including (but not limited to) loss of data, corrupting your sdcard, bricking your device, physical damage to your phone or self, and/or loss of bladder control.
WARNING : Following this guide may lead to ORD, or worsen your condition of ORD.
When you flash a custom ROM, a full wipe is always recommended. And it definitely is a stressful process, especially if you like to try out a lot of different ROMs. I now follow a method which I find is quite reliable, not as stressful and is fast, so I thought i should share it. I must warn you though, that this is quite an organized approach, so it will require patience from your part to set it up. But I assure you, once you've done it, your ROM wiping and flashing process becomes much easier
I'm going to detail this out in both offline and online methods. With the "Offline(OFF)" method, you will not require an Internet connection to restore all your data. Everything is backed up using Titanium Backup. With the "Online(ON)" method, part of your data will be restored from the amazing "Cloud"
Most of this guide is common to both methods, so I've highlighted the specific methods accordingly. If you're following the offline(OFF) steps, then you dont need to follow the online(ON) steps, and vice versa
APPS YOU'LL NEED
1) Titanium Backup - The free version will serve the purposes of this guide, but its just easier and faster to restore using the Pro version. The Pro version doesnt ask you to tap "Install" every time you restore an app. And if you forget to backup something, you can retrieve it from your Nandroid Backup(provided you remembered to do that ).
2) ES File Explorer - This app allows you to backup an app to the sdcard. Any other file manager/app that can do the same thing will work too..
(ON) 3) SMS Backup+ - This app allows you to backup all your call logs and sms/mms to your Gmail account.
INITIAL SETUP
1) Open Titanium Backup
2) Choose Menu->Filters
3) Tap the "Create Label" button, name your label, and then tap the "Add/Remove elements" button to pick which apps this label will be assigned to.
I have an "Important" label - for apps that I absolutely need on every flash, an "Extras" label - for more occasionally used apps, and a "Games" label. Make sure you dont add any system settings like Accounts, Application widgets, Bluetooth Pairings etc. to any of these labels. We will be handling them separately.
4) Choose Menu->Preferences and enable Auto-sync TB settings
(ON) 5) Now open SMS Backup+
(ON) 6) Set it up to backup your call logs, sms and mms to your Gmail account. You can assign labels to each of them so that they are neatly categorized in your GMail. You can also setup auto-backup for convenience.
1ST BACKUP
1) Open Titanium Backup
2) Choose Menu->Filters, scroll down, select all your labels and tap Apply.
3) Choose Menu->Batch->Backup all user apps + system data.
You'll need to backup system settings separately -
4) Choose Menu->Filters, and in Filter by type, choose System
5) Scroll down and make sure none of your custom labels are selected and then tap Apply.
6) Backup the following, these are the ones important to me, you may want to add more to this -
i) Accounts
ii) Application Widgets - Widgets placed on the homescreen of your favorite launcher.
(OFF) iii) Calendar Storage
(OFF) iv) Contacts Storage - Your contacts and call logs.
(OFF) v) Phone/Messaging Storage - Your sms/mms
vi) Settings Storage - Be careful when you restore this. For eg: its not a good idea to restore CM9 settings to an AOKP ROM or vice versa. This is best used when you know exactly what you are doing. Also, a lot of differences between ROMs will probably be the fact that it provides some new customization options in the settings. So restoring this doesnt make sense unless you know for sure that they are the same. Handle with care.
vii) User Dictionary
viii) Wi Fi Access Points
(OFF) Now you need to backup Titanium Backup itself, since thats the first app you will want to install, after a ROM flash.
(OFF) 8) Open ES File Explorer,
(OFF) 9) Choose Menu->Manager->App Manager.
(OFF) 10) Press and hold Titanium Backup and then choose Backup(the apk will be saved in /sdcard/backups/apps)
(ON) 11) Now open SMS Backup+ and tap Backup
Thats it !! You're all set now !
See post #2 for info on how to easily backup and restore your data.
Hope this helps in making ROM flashing an easier task
If you thought this was helpful, hit "Thanks" !
If you have any suggestion that might make this an even easier process for everyone, please do share !
And Happy Flashing !
Now before you flash any new ROM, just follow these steps.
BACKUP
1) Open Titanium Backup, make sure none of your filters are selected, then choose Menu->Batch->Redo backups for modified data
(OFF) 2) You can optionally backup Titanium Backup's apk again using ES File Explorer. This is only to ensure that when you install it in the new ROM, you have the latest version
3) Take a Nandroid Backup if you wish to(recommended).
Perform a full wipe, flash the new ROM, and reboot.
When the startup wizard pops up -
(OFF) Skip the sign in to Google part, but complete the wizard.
(ON) Sign in using your Google account, and complete the wizard.
RESTORE
(OFF) 1) Open the File Manager that came with the ROM, and go into backups/apps(or wherever you saved your apk) and tap on the Titanium Backup apk to install it
(ON) 1) Open Play Store, and download Titanium Backup
2) Open Titanium Backup, and go to Backup/Restore
3) Choose Menu->Filters, scroll down, select your label("Important") and hit Apply.
4) If any of your "Important" apps are already installed, tap it and choose Restore->Data Only.
5) After that Menu->Batch->Restore missing apps with data
6) Deselect the apps that you dont need and tap "Run the batch operation"
7) You can repeat steps 3,4,5 and 6 for all your labels now or at a later time.
(OFF) Before proceeding, you need to make sure that all the apps that were added to the Accounts & Sync section in the previous ROM, are now installed in the current ROM. Apps like Google+, Facebook, HaxSync, LinkedIn, Twitter, Whatsapp etc. This is because we are about to restore the Accounts, and these apps need to be there if you want their "Accounts" to get restored correctly. Also, when we eventually restore Contacts, the restoration will be more complete if the accounts related to those contacts already exist. So we need to set this up beforehand.
This is where you start restoring System data. Now you need to be careful with this. ROMs that are completely different from each other may start acting buggy if you restore this data. I would suggest not doing this across different versions of Android. And if you know that the 2 ROMs are from different bases then you should definitely pick what you're restoring here.
8) Choose Menu->Filters.
9) In Filter by status, choose Backed up
10) In Filter by Type, choose System and hit Apply
11) And then Menu->Batch->Restore all system data. Now before you run the operation, deselect Contacts Storage. If your new ROM is very different from your old one, then deselect Settings Storage too. If you see anything else that you feel may not be compatible, deselect those too.
12) Tap "Run the batch operation"
13) Reboot(or Hot Reboot)
(OFF) 14) Now open Titanium Backup, Backup/Restore, tap Contacts Storage and restore Data Only
(OFF) 15) Reboot(or Hot Reboot)
(ON) 14) By now, your Calendar and contacts should have gotten sync'ed automatically. Just add other accounts to your Settings->Accounts&Sync section, and the rest of your data should get sync'ed up
(ON) 15) Open SMS Backup+ and Restore your call logs and sms/mms.
wow. after posting it feels like a really really long process !
but trust me, its just how i've explained it. Once you set it up, its a piece of cake
Ha ha quality post for persons that are unaware of how simple this is.
I use MyBackup pro myself for apps and data. Does the same thing imo. But also does a great job of everything else. Sms, bookmarks, dictionary, ect ect all in one application
Sent from my Desire HD using xda premium
Guys when I was on Sense roms I was able to restore my syncs accounts and all my emails accounts with Titanium... but since I'm on ICS, no matter what I do, I can't seem to restore those two things....
I restore data from Accounts (something backed up from TB itself) and data from Email but no go...
Anyone?
Restoring Accounts has worked for me on ICS. There are 2 things you need to do.
1)Before restoring, make sure all the apps needed for those sync accounts are already installed/restored. For eg: Facebook, Google+, Whatsapp, HaxSync, etc...
2) After restoring Accounts, reboot/hot reboot your phone.
crazyjc81 said:
Restoring Accounts has worked for me on ICS. There are 2 things you need to do.
1)Before restoring, make sure all the apps needed for those sync accounts are already installed/restored. For eg: Facebook, Google+, Whatsapp, HaxSync, etc...
2) After restoring Accounts, reboot/hot reboot your phone.
Click to expand...
Click to collapse
Normal sync accounts, ie FB Twitter Google etc, I also can restore...
The problem is restoring email and exchange accounts... no matter what I do, cannot seem to restore them... they don't appear on the sync accounts nor inside the email app...And of course, I reboot the phone...
I guess the problem is probably from Titanium...
Too bad that the support for the TB is crappy as hell...
Strange. Not sure why it is not working for you.
I got a chance to test this out today, and it worked.
1) Restore Accounts. reboot
2) Restore Email app - Data only.
Assuming exchange accounts would work the same way.
Next time I'm going to try again... thkx for the feedback...
This can't be the first guide for how to backup before flashing can it?
rootingdestroyer said:
This can't be the first guide for how to backup before flashing can it?
Click to expand...
Click to collapse
I'm sure you'll find other "how to backup" topics, but I've not found one as in-depth as this one. This is just the way I feel is the easiest to do it, specially because I like to flash ROMs a lot, and am very particular about my data. If that is the case, this is a really good way to do it.
Sent from my HTC Desire HD using XDA
Thanks for the tutorial.
After restore the apps that should auto launch after reboot only start auto launch after I open them once. After that everything runs smoothly. Is there any option I'm missing in order to prevent having to open this apps one by one?
Thanks in advance.
I'm not sure I understand the question. Are you asking about the app defaults? Like say of you have 2 browser apps and you set one of them as the default, you want that to be restored? I'm not sure how :-(
Sent from my Desire HD using XDA
Nope that's not the question. For example tasker or accuweather when i restore them they will only start working on the background after i open each of them manually first.
That's a good point. I'm not sure where the "start at boot" data is stored. SystemUI maybe? Something to try for my next ROM flash
Sent from my A500 using XDA
If you find out, please let know
Sorry i havent tested this out yet, but if it is in the system settings or SystemUI, I wouldn't recommend restoring it, since most ROMs differ from each other in these areas. It might just screw things up.
Will let you know once I find out.
Sent from my A500 using XDA
Tested it out.
1) Restore the app.
2) Restore settings storage
3) Reboot twice.
I dont know the reason. But when you reboot the second time, the app automatically starts.
Try it out and let me know.
Sent from my A500 using XDA
Just happen to have found this post via search. Just a quick question.
Any way we can manage batch restores without the hassle of tapping "install" and "done" for almost every app? Thanks.
Sent from my GT-I9505 using Tapatalk 4 Beta
wEgGiE_wORm said:
Just happen to have found this post via search. Just a quick question.
Any way we can manage batch restores without the hassle of tapping "install" and "done" for almost every app? Thanks.
Sent from my GT-I9505 using Tapatalk 4 Beta
Click to expand...
Click to collapse
If you buy titanium you don't have to do that.
Sent from my HTC Desire HD using xda app-developers app
I rooted my Motorola Droid 2 R2D2 with no problem. Everything was working fine until today, I went to look up one of my contacts and it closed. The only information I have found talks about Yahoo, but I only use Gmail and my contacts are linked to my phone. I have been looking for an example of the /system/app file so I can compare it to what is currently in my file? I thought I had made a backup but I did not do a nandroid backup.
I rooted my Motorola Droid 2 R2D2 with no problem.
Click to expand...
Click to collapse
you posted like 3 times that, you couldn't get rooted
that said nothing you did, should have effected contacts
first try to backup contacts
1 are contacts synced with Backup Assistantâ„ Plus: Contacts or Contacts.Google.com?
2 also backup contacts on sd card, open contacts app/menu/import/export select export to storage/ok
3 use "sms backup +", for texts and call log
un-sync google account(s) menu/settings/accounts & sync/ uncheck contacts
then you can try menu/settings/apps/all/contacts force stop, then clear data, then reboot
if contact still not working menu/settings/apps/all/contact storage app/ force stop and clear data then reboot
re-sync google contacts, wait for contacts to re-sync
Thank you
I used the CD iso to root my phone like you advised me to do. I forgot to go back to that Thread and post that. Thank you for the help on rooting my phone. I will go through the steps that you posted and I will let you know how that works out.
I am using Contacts.Google.com.
Still cannot open individual contacts
I went through all of the steps that you provided me and when I open a contact it goes right back to the contact list. What would you suggest next?
did you wipe app data and reboot, and wipe cache?
could try wiping dalvik cache in cwm advanced options
phone will take a few mins to reboot after that
fix permissions in cwm
factory restore
or flash sbf (ezsbf for r2d2 622)
Sent from my XT862 xda premium
same problem after factory reset
sd_shadow said:
did you wipe app data and reboot, and wipe cache?
could try wiping dalvik cache in cwm advanced options
phone will take a few mins to reboot after that
fix permissions in cwm
factory restore
or flash sbf (ezsbf for r2d2 622)
Sent from my XT862 xda premium
Click to expand...
Click to collapse
I reset the factory defaults but I still cannot add a new contact with my phone or open the information about any of my contacts. Below is a link to a list of all of the files that are in my /system/app.
https://drive.google.com/?tab=mo&authuser=0#folders/0B5we9wI-7IurZ3laUWR0T2Rpelk
Same problem
bryansailer said:
I reset the factory defaults but I still cannot add a new contact with my phone or open the information about any of my contacts. Below is a link to a list of all of the files that are in my /system/app.
I had the same problem after rooting my phone. I would try to save a new contact (all other contacts had been saved under google and back up assistant so they weren't a problem) and it would revert back to the home screen. What I did was reflash A955.2.3.4.fixed.sbf file and then run RootDroid2.bat which fixed things. I also think it is possible that I deleted too many motorola blur apps possibly messing with the contacts, either way doing this fixed it. You can find the root files in the forum..the packaged file is called RootDroid2update I think.
Click to expand...
Click to collapse
Hello, since my system had been unstable recently, I used Keis to backup my Note PRO and did a hardware reset. I selected all to backup everything and also selected all to recover everything. Unfortunately, after the recovery, I found:
1. Some settings were set incorrectly or disappeared.
2. One photo became corrected
3. Stored passwords to google, yahoo, Facebook are gone. I need to re-enter everything
4. The mails that I sent to people using the mail address from my phone company are all gone.
So, Keis 3 is not a reliable app to backup the device?
Keis 3 is not a complete backup software it will only save samsung and minor system settings. You need to be rooted to backup data files which hold most of what you have missing.
It's sad that we can't have a full backup of all needed settings and files. There are some solutions like https://play.google.com/store/apps/details?id=com.koushikdutta.backup&hl=en_GB Helium which is the only 9 new that will not need rooting the device.
Wish you the best in your journey
Chris
Sent from my SM-P900 using Tapatalk