I have recently broken my Android's screen. (Again)
Its a T-Mobile G2
Trying to keep up with my busy technology related life is hard enough without losing my link with everyone.
I have rooted the phone and have the USB Debugging already turned on.
Does anyone know how I would check my recent SMS Messaged from the adb shell so I can keep up with work while i save up to get a new phone or a replacement screen.
Thanks for anyone that has any information regarding this.
EDIT
Response to eldarerathis
C:\android-sdk\platform-tools>adb shell
$ cd /data/data/com.android.providers.telephony/databases
cd /data/data/com.android.providers.telephony/databases
$ sqlite3 mmssms.db
sqlite3 mmssms.db
sqlite3: permission denied
$
cant chmod the file. do you know actually where it is ?
$ chmod +x sqlite3
chmod +x sqlite3
Bad mode
$
su leaves me with only basic commands
$ su
su
# cd /data/data/com.android.providers.telephony/databases
cd /data/data/com.android.providers.telephony/databases
# sqlite3 mmssms.db
sqlite3 mmssms.db
sqlite3: not found
#
Corrected
sqlite was not installed
C:\android-sdk\platform-tools>adb shell
$ cd /data/data/com.android.providers.telephony/databases
cd /data/data/com.android.providers.telephony/databases
$ sqlite3 mmssms.db
sqlite3 mmssms.db
SQLite version 3.6.22
Enter ".help" for instructions
sqlite>
Also to Access the database I needed to be root.
C:\android-sdk\platform-tools>adb shell
$ su
# cd /data/data/com.android.providers.telephony/databases
cd /data/data/com.android.providers.telephony/databases
# sqlite3 mmssms.db
sqlite3 mmssms.db
SQLite version 3.6.22
Enter ".help" for instructions
sqlite>
Thanks a lot eldarerathis
sqlite3
binary on your device. The first link in my answer has instructions to help you install it to/system/bin
. Here is a link to the binary itself.