This Python application reads SMS messages directly from your Android phone using ADB (Android Debug Bridge) and displays them in a modern, filterable Tkinter GUI.
- View all received SMS from your phone's inbox.
- Filter messages by:
- Read / Unread / All
- Phone number
- Keywords in message body
- Message counts: Total, Read, Unread
- Works via USB with real-time filtering
- Install Python 3.8 or higher: https://www.python.org/downloads/
- Download from: https://developer.android.com/tools/releases/platform-tools
- Extract the platform-tools folder.
Add the path to adb.exe
to your system's environment variables:
- Right-click
This PC > Properties > Advanced system settings
. - Click on
Environment Variables
. - Select Path under System variables.
- Click Edit > New and paste the path to your
platform-tools
folder.
Example: C:\Users\Downloads\platform-tools
-
Enable Developer Options:
- Go to:
Settings > About phone > Tap Build number 7 times
.
- Go to:
-
Enable USB Debugging:
- Go to:
Settings > Developer Options > Enable USB Debugging
.
- Go to:
-
Connect Your Phone via USB:
- Authorize the computer when prompted on your phone.
Install dependencies Only tkinter is needed (already built-in on most Python installs): pip install tk pip install tkcalendar pip install pyserial pip install pyserial tk pip install requests pip install mysql-connector-python
Running the Project cd "D:\My Projects\Python\SMS_Read_Delete_Save_Into_Database_After_Discussion\After Discussion with DB input\sms_reader"
python -m cli.run_once
Windows or Linux — Python command to list COM ports: python -m serial.tools.list_ports