I used a nandroid backup to update my friends phone, thinking I could just add his gmail account and remove mine. I added his but can not remove mine without a factory reset..
I don't want to do that because that will undo a lot of the reason I updated his phone they way I did.
Is there any other way to remove my account completely from his phone?
Sent from my nonsensikal froyo using XDA App
If it is a rooted phone, use a root-aware file manager to remove
/data/system/accounts.db
see this post for more details.
Note that this seems to only delete account credentials; you probably want to use
Settings -> Applications -> Manage applications
to also delete the data associated with apps that have your private data stored in them, as mentioned in that (above) post
bftb0
PS. You can do all of this in an offline fashion using ADB and Amon_RA. Explanation is left as an exercise for the reader.
Hello, I was wondering how do you go about backuping email settings? I like flashing roms, but im getting tired of entering 5 emails over and over again. each rom is slightly different with yahoo. sometimes it recognizes it sometimes it doesnt, and my school email all which i have to add manual imap and smtp, so u can see it becomes dreadful. Any help would be greatly appreciated.
Before you go telling me to search i have and i only found topics on touch diamon 2 which is WM and not android. KTHXBYE
Use K9 mail in the market instead and then backup the app+data in either Titanium Backup or MyBackup Pro (and then restore when you flash a new ROM)?
doogald said:
Use K9 mail in the market instead and then backup the app+data in either Titanium Backup or MyBackup Pro (and then restore when you flash a new ROM)?
Click to expand...
Click to collapse
i will try this, but anyway using stock email app?
jareddlc said:
i will try this, but anyway using stock email app?
Click to expand...
Click to collapse
I'm assuming you mean the android email app and not the gmail app. The info is probably stored in data/data/com.android.email/databases. There are quite a few databases in there and I don't know which one stores your email settings. You could pull them all to your pc and push them back after flashing the new rom. I haven't tested this and don't use the android email app so I can't really test it but have done this with other apps. Can't guaruntee it will work though. Just do something like:
adb pull data/data/com.android.email/databases/* /desktop(or wherever you want them on your pc)
then to put them back just use:
adb push (name of database) data/data/com.android.email/databases/
Just something to try if your familiar with adb at all.
jareddlc said:
i will try this, but anyway using stock email app?
Click to expand...
Click to collapse
You can try using Titanium Backup to do this - it will certainly back up email data - but my belief is that the issue may be that you will not be able to go across Android versions with the data. Trying to restore the 2.3 email data to a 2.2 ROM (never mind to HTC Mail if you move to a Sense based ROM) could just cause FCs.
K9 mail is really (at least IMHO) much, much better than the stock email app anyway.
Conap said:
I'm assuming you mean the android email app and not the gmail app. The info is probably stored in data/data/com.android.email/databases. There are quite a few databases in there and I don't know which one stores your email settings. You could pull them all to your pc and push them back after flashing the new rom. I haven't tested this and don't use the android email app so I can't really test it but have done this with other apps. Can't guaruntee it will work though. Just do something like:
adb pull data/data/com.android.email/databases/* /desktop(or wherever you want them on your pc)
then to put them back just use:
adb push (name of database) data/data/com.android.email/databases/
Just something to try if your familiar with adb at all.
Click to expand...
Click to collapse
WOW conap himself
thx although i have issues with adb i tried getting droidexplorer to work. thx very much i guess its time to try to learn adb correctly
jareddlc said:
thx although i have issues with adb i tried getting droidexplorer to work. thx very much i guess its time to try to learn adb correctly
Click to expand...
Click to collapse
You can use a root-aware file manager to do the same things if you want to avoid adb. (Root Explorer ($) or ES File Manager (free) )
Put them in a folder on your SD card someplace.
Using either method you should probably make sure first that the E-mail app is not running.
As doogald pointed out, in general backing up and restoring files from the data area of an app is not guaranteed to work, especially between version changes of the app software; but for the same version of the app it will probably work. You'll have to try it to know.
okay thx everyone. Ive been a community manager before, and this community is excellent.
Ive "solved" my issue. Thanks to everyone who let me know where the db is located at. I tried titanium backup and it allows me to backup the data portion i just flashed gsb 1.6 from 1.5 and then restored the backup then rebooted, works flawless. However something to keep in mind, i might keep a backup of the email app currently using so if i ever need to restore the backup i may do so, ifnot i may give k9 a try anywho thx everyone.
for those new and wanting to know as well, let me break it down.
1. titanium backup (Free version is fine)
- this app backs up the data portion of the application (settings)
2. backup your app with titanium backup.
3. wipe,flash,restore
or many suggest to adapt to a new email app to prevent any inconsistencies in data storage techniques (try k9 email app)
again thx to everyone
titanium backup never worked for me (just email) i have donate/pro version and i've sent a query to support and never got an answer.. i am using mail droid now.. but lemme try the extraction method. should try again with the newest one perhaps it might work... even backing up sms wouldnt work... rest all other program works with it.. (for my part that is)
dhruvaz said:
titanium backup never worked for me (just email) i have donate/pro version and i've sent a query to support and never got an answer.. i am using mail droid now.. but lemme try the extraction method. should try again with the newest one perhaps it might work... even backing up sms wouldnt work... rest all other program works with it.. (for my part that is)
Click to expand...
Click to collapse
Same here as well, have tried multiple times & no luck. Any other solution available as of now?
My Back up pro has never restored email accounts either.
Fix?
would really like to get to the bottom of this as well.. quite annoying to restore accounts every time i flash a rom with wipe.
Bump...has a way to backup and restore all email settings of default email client been solved?
Restore default email with accounts with Titanium Backup Root
1. The key seems to be to restore "Accounts" from TiB (hope you have a backup) first.
2. Next, force stop the Email app from Settings and clear data.
3. Restore Email Data only
4. Reboot
5. Run Email
( I used Titanium Backup Root - free version)
I discovered that the app starts up with the restored Data from the App and immediately crashes with "account not found"
Email App stores the passwords in Accounts, so once Accounts are restored everything seems to work, (whew!)
Since I tried a number of things before Email started working, I'm not sure of the exact sequence of restoring the App and Data (I tried restoring the App and Data, which failed, then force stopped the app and restored the app only and then data only - someone please document the exact sequence, I don't want to risk losing my Email accounts as I don't remember the passwords )
I can confirm that your steps 1-5 work well (on CM 11), and that step 1 is essential for step 3.
Hey all. After installing a new rom I checked the 'keep my phone backed up with google' check box and it started installing apps that I hadn't used for ages. Now I dont want these apps so I reflashed and didnt tick the box but my question is, is there a way to view a list of the apps that are backed up and possible delete some of them from the computer?
If not, what is a way to manage these? Im guessing that I could start with a fresh rom, let it install the backed up apps, then manually uninstall them and let it sync back again - would that work?
Cheers guys
Bump, anyone?
Sent from my GT-N7000 using xda premium
I have my company's email configure on my phone, basically its gmail account. So I have google device policy app also installed.
I keep on flashing new roms, everytime I flash new rom, I have to ask my company's it administrator to reactivate my email.
I tried using titanium backup pro to backup and restore, its works. Can someone tell me exactly which app and data needs to be backup, so I don't have to backup all the app and data
Usual disclaimer... I tried searching, I really did. Xda and outside.
Must be very easy but I am frightened block.
I had one phone that used a google account (account1) and stored there its backups.
I had another phone that used a different google account (account2) and stored there its backups.
I have no more both, and have a new dual SIM phone instead.
Switch on, ask for account, provide account1, apps restored with configuration. (account1 is primary account...; backups done to account1)
Set up account2, but find no way to restore apps related to account2. I see backups stored in gdrive for account2
I was thinking in
- removing account1 and account2 (was warned that contacts will be removed as sms; but not apps while those will lose access to data until I reconnect with account1 and account2 - as I read in www guidingtech com/what-happens-remove-google-account-phone/ (dots remove due to lack of karma to publish urls)
- login again using account2
Would this ask me for restoring backup of account2?
The other idea would be to change the account used for backups, from account1 to account2...
Would I achieve what I am trying by this way?
TIA / CT :cyclops: