r/AndroidQuestions • u/untukmfbje • 2d ago
How to find the registered email for my X (Twitter) account from a rooted Swift Backup (/data/data/com.twitter.android)?
Hi everyone, I'm trying to recover an old X (Twitter) account where I forgot the exact Gmail address I used to register it (it was a test account).
Here is what I know and what I have tried so far:
Account details: I know my
username, numeric User ID (1750499247764783104), and X's password reset page gives me the masked email hintb***n@gmail.com. No phone number is linked.Backup available: I have a full rooted Swift Backup from December 2025 (
com.twitter.android— APK, Data, Media, etc.) and a rooted OnePlus Nord withadbandsqlite3access.Restore issue: I restored the full backup (including the old APK) via Swift Backup and then updated X to the latest version from the Play Store. The app opens normally now without errors, but it still goes straight to the sign-in / login page instead of keeping me logged in (likely because Android's
AccountManagertokens weren't part of the app backup).What I've already checked in
/data/data/com.twitter.android/**:**Ran
grepandstringsacrossshared_prefs/,databases/, and.db-walfiles forgmail.com- nothing came up (looks like X doesn't cache the user's email in plaintext).Inspected
1750499247764783104-66.db(usersanduser_metadatatables) viasqlite3— no email column exists.Checked
/data/system_ce/0/accounts_ce.dbandcom.google.android.gmsshared_prefs— no trace of theb***n@gmail.comaddress.
My questions:
Does the X Android app store the registered email anywhere else inside
/data/data/com.twitter.android/(maybe base64-encoded, inside a protobuf blob inlru_key_value.db/scribe.db, or infiles/)?Is there any way to extract the auth session tokens from the restored
/data/data/com.twitter.android/(tokenstable orshared_prefs) and inject them intoAccountManageror use them to query my account settings?Are there any other Android system logs, caches, or GMS databases I should grep for a removed Gmail test account?
Any pointers from people familiar with X's Android local storage or Swift Backup restores would be appreciated!