1. Root the machine.
2. Install Busybox Installer from Play Store.
3. Install sqlite3
4. Use adb shell to log in to the machine.
5. Using the sqlite3 function:
sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db
6. Execute this two command:
UPDATE data SET...