Works with *rooted* Android devices. 400x800 are the screen dimensions of a typical handheld smartphone.
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
You must have the android sdk installed with 'adb' executable on your system. This is just a way to loop over files in a folder using 'find' to locate and install android apps. Show Sample Output
Connects to the last adb connection in history. Show Sample Output
Might not work if your devices is older than Lollipop (5.0). Verified on macOS, and most likely work on Linux as well.
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.
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
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: