#!/bin/bash # # W A R N I N G: # # ******************************************************************* # This script will DELETE ALL YOUR CONTACTS without possibility of # restoring them # ******************************************************************* # # # Delete the entire contact database from the Android default contacts # application database. # # This was written and tested on Android 1.5 (Cupcake). # # The script only delete the entries in the "people" table, there are a # bunch of triggers in that table that nicely cleans all the other tables. # # You need: # # * adb shell access to your phone # # * the adb utility, which comes with the # Android SDK (http://developer.android.com/sdk) # # * a basic shell able of here document (Bourne's, Korn's, or bash will do). # # # Usage: # # 1) plug your Android phone to your machine running a UNIX like OS # via a USB cable. # # 2) Take 5 minutes to think about what you are about to do. # # 3) run this script through a shell, e.g.: # bash Android_delete_all_contacts # # # This is free software under the GNU General Public License. # http://www.gnu.org/copyleft/gpl.html # # Copyright Yves Dorfsman, 2009 # adb shell <