Dump android contacts, sms

adb pull /data/data/com.android.providers.contacts/databases/contacts2.db ; sqlite3 -batch <<EOF contacts2.db <CR> .header on <CR> .mode tabs <CR> select * from data; <CR> EOF
Crude, but works. Note for security, /data/ will be inaccessible unless your device has been *rooted*. On the other hand, if a device has been rooted, its data is now wide open to anyone with a USB cable and the above "one-liner". `adb` is one of the platform tools in the android SDK. To get SMS messages: adb pull /data/data/com.android.providers.telephony/databases/mmssms.db ; sqlite3 -batch <<EOF contacts2.db <CR> .header on <CR> .mode tabs <CR> select * from sms; <CR> EOF

2
By: mhs
2012-12-26 11:35:23

What Others Think

The best possible advice, I highly recommend you contact your local supplier or the Manufacturer. Dyck-O'Neal inc phone harassment
Casper · 90 weeks ago
Affordability of our Psychology Writing Services is another attribute that makes us the best Psychology Research Paper Writing Service and Psychology Term Paper Writing Service provider in the industry.
florahwilliams · 86 weeks and 4 days ago
I’ve stopped wasting my time thanks to WritePaperFor.Me. Now, I do my homework much faster and chill out. Look best article
TomNill · 77 weeks and 5 days ago
Android won't let you edit contacts imported by facebook, there are a couple of options you can do though depending on what you want to do. Blunt Soft
Casper · 64 weeks and 5 days ago
I truly have. there replace into this female in my college who "acted" quite functional to me. Click here
Casper · 64 weeks and 5 days ago
Discover the awesome .iogames we built with passion for our players. We are constantly growing our games so you will be entertained for a lifetime!
bestcrazygames · 38 weeks and 1 day ago
As the flowers die back and dry out, it is important to snip off the individual florets or flower heads to encourage more flowering hrynoponic gardening.
nipem · 32 weeks and 3 days ago
Thanks a lot for sharing the code that helps in dumping Android contacts and SMS and what we have to do is just try the code they have here which helps in doing the process William Jan Berry so hope it will be helpful for those who are searching for this
Kaitlyn · 17 weeks and 3 days ago
WhatsApp GB latest free version mieenxx for Android
SallyNorman · 15 weeks and 4 days ago
You will get the details regarding the various types of commands through these websites. These kinds of websites help king size brass bed students to learn more about how to use the commands. Students get an idea about how to use all these commands through these kinds of websites and experts' opinions. Keep sharing more updates here.
Alyssalauren · 14 weeks and 4 days ago
This was such helpful content in which they are discussing the ways to dump Android contacts SMS using the code and also have provided a brief description about the code that is shared here which makes the code much more clear Magicard 600
Juvanta · 13 weeks and 3 days ago
This was such a helpful content in which they are discussing the ways to dump Android contacts SMS using the code and also have provided a brief description about the code that is shared here which makes the code much more clear Magicard 300
Dwyane · 13 weeks and 3 days ago
https://bluntsoft.com/ is asoftware company and is provided seo contant writting etc ana also provide web development etc
muhammadmubashir · 3 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: