I'm trying to replace sms and contacts database on Android emulator with some other (extracted from other phone).
I've already succesfully pushed files into emulator (using adb push
), but I have to restart emulator to see if anything changes.
In my log there is statement saying that phone is running form backup:
04-23 11:22:00.064: I/SystemServer(81): Backup Service
04-23 11:22:00.135: I/BackupManagerService(81): Found stale backup journal, scheduling
04-23 11:22:00.145: I/BackupManagerService(81): com.android.inputmethod.latin
04-23 11:22:00.145: I/BackupManagerService(81): com.android.browser
04-23 11:22:00.145: I/BackupManagerService(81): com.android.providers.settings
04-23 11:22:00.165: I/BackupManagerService(81): android
04-23 11:22:00.175: I/BackupManagerService(81): com.android.providers.userdictionary
04-23 11:22:00.204: I/BackupManagerService(81): Backup enabled => true
While watching file system in eclipse I can see that journal file is created in /data/data/com.android.providers.telephony/databases
, grows, then dissapears, and my mmssms.db file (previously pushed by command line) shrinks, which gaves my empty database ;/
Any ideas?