Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ivanoez
Old
#41  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Sep 2009
Default i found a method!

i wrote a fast howto to solve all your problems. (as mine!)
www .ivanru. com/it/mobile/32-android-21-hero-root-and-delete-gmail-account
read it.
 
ilos
Old
#42  
ilos's Avatar
Senior Member
Thanks Meter 60
Posts: 1,001
Join Date: Jun 2007
Location: Lyon

 
DONATE TO ME
Quote:
Originally Posted by lokiUnbound View Post
( CORRECTED... )

You can modify the user directly using sqlite3, if you have root access. This prevents you from losing your contacts.

First, do a full backup using JF recovery console.

Then do a backup of your contacts DB, just in case and for reference:

Code:
adb shell
su
cd /data/data/com.android.providers.contacts/databases
cat accounts.db > /sdcard/accounts.db
Then copy it from the SD card to your computer.

Modify your account:

Code:
adb shell
su
sqlite3 /data/data/com.google.android.googleapps/databases/accounts.db << EOF
update accounts set username = 'MYACCOUNT@gmail.com';
delete from authtokens;
EOF
sqlite3 /data/data/com.android.providers.contacts/databases/contacts.db << EOF
update groups set _sync_account = 'MYACCOUNT@gmail.com' where system_id = 'Contacts';
EOF
sqlite3 /data/data/com.google.android.gm/databases/gmail.db << EOF
update accounts set user_name = 'MYACCOUNT@gmail.com';
EOF
and reboot. Go to Settings -> Data Sync, press Menu and Sync Now.

I am not sure if there's any additional action required to sync contacts, because I don't sync my contacts to gmail. You might have to touch the _sync columns in the contacts database.
just a modification, tested on Nexus S =>

update accounts set username = 'MYACCOUNT@gmail.com';

change to

update accounts set name = 'MYACCOUNT@gmail.com';

and reboot. I don't used over options ie sync et gmail
Galaxy S3 : Rom Omega JB V36
Kernel : Boeffla-Kernel
Baseband: BUELK1
Sorry for my bad english... i try to do my best...
 
pmczm
Old
#43  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: May 2012
Default No to hard reset for google

Hello!
My problem is,I still can't login to my new google acct despite trying things stated here like CLEARING DATA of google or gmail stuff etc. My MARKET/PLAY STORE already gave me option to log in either on my old or new add. Still, the others require my mail,first account. My phone is not rooted.PLEASE HELP.
 
demkantor
Old
#44  
demkantor's Avatar
Senior Member
Thanks Meter 982
Posts: 3,135
Join Date: Nov 2011
Location: mpls
try to add new account and make sure it is linked, then clear market data and user data, then remove old account
 
pmczm
Old
#45  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: May 2012
I only have MARKET UPDATER and MARKET FEEDBACK AGENT because I already cleared something beforehand which I don't remember what;o What do I do then? Thanks for the help!
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...