Open-source anti-theft protection for Android — your phone guards itself.
No cloud account. No subscription. No server — everything works over plain SMS.
English | Türkçe
PhoneGuard turns a stolen or lost phone into a trap: it silently reports its location, blasts a siren, photographs the thief and can wipe itself — all triggered by simple SMS commands that you send from any other phone. There is no server, no account, no internet requirement: if the SIM card survives, you stay in control.
| 📍 | Remote location — replies with a Google Maps link (GPS + network) |
| 🔔 | SIM-change alarm — thief swaps the SIM? Your trusted number gets an instant alert + location |
| 🚨 | Loud siren — max volume even in silent mode, screen lights up |
| 📸 | Intruder selfie — front-camera photo after 3 wrong PIN attempts (app or SMS) |
| 🔒 | Remote lock — lock the screen, optionally set a new passcode |
| 💣 | Remote wipe — factory reset via Device Admin |
| 🕵️ | Hidden mode — app vanishes from the launcher; only an SMS brings it back |
| ♻️ | Boot persistence — protection survives reboots |
| 🔋 | Samsung-proof — battery-optimization exemption request (tested on One UI 6/7) |
Prefix every command with your PIN. If your PIN is 482913:
482913 locate → 📍 map link with live position
482913 alarm → 🚨 start the siren (works in silent mode)
482913 stop → silence the siren
482913 lock 9999 → lock screen + set new passcode 9999
482913 wipe → 💣 factory reset
482913 photo → 📸 secret front-camera selfie
482913 info → battery, carrier, line, admin status report
482913 hide → hide the app icon
482913 show → restore the app icon
482913 ring → reset ringer to normal
Turkish keywords also work in every language build:
konum,alarm,durdur,kilit,sil,foto,bilgi,gizle,ac,ses— so commands never break, no matter what language the phone uses.
- Grab the latest APK from Releases
- Open it and allow "install unknown apps"
- Complete the 4-step setup inside the app:
- Set a PIN (min. 6 digits) + a trusted number (a second phone you own)
- Enable Device Admin (required for remote lock/wipe)
- Grant permissions (SMS · Location · Phone · Notifications)
- Exclude from battery optimization
- On Samsung/One UI: also remove the app from the sleeping apps list
- Android 8.0+ (targeting Android 14)
- A second phone as the trusted number (any dumbphone works!)
The UI follows the device system language automatically:
🇬🇧 English (default) · 🇹🇷 Türkçe · 🇩🇪 Deutsch · 🇪🇸 Español · 🇫🇷 Français · 🇸🇦 العربية
Missing your language? Open a PR adding values-xx/strings.xml — it's ~60 strings.
# 1) create your signing key
keytool -genkeypair -v -keystore app/koruma.keystore -alias koruma \
-keyalg RSA -keysize 2048 -validity 10950 \
-storepass YOURPASS -keypass YOURPASS -dname "CN=PhoneGuard"
# 2) signing config lives OUTSIDE the repo
cat > koruma-signing.properties <<EOF
storeFile=app/koruma.keystore
storePassword=YOURPASS
keyAlias=koruma
keyPassword=YOURPASS
EOF
# 3) build
./gradlew assembleRelease
# → app/build/outputs/apk/release/app-release.apkTags starting with v automatically produce a debug-signed APK via GitHub Actions.
Does it work without internet / mobile data?
Yes. Everything runs over SMS and GPS. No data connection is ever needed.Thieves force-reboot the phone with the side buttons — can that be blocked?
Honestly: no app can block the hardware key-combo reboot. It is handled below Android (kernel / power-controller level) by design, so it works even when the OS is frozen. PhoneGuard instead makes the reset pointless:- 🔄 Reboot alert — the moment the phone boots again, your trusted number receives "phone rebooted" + a fresh GPS location (toggle in the app)
⚠️ Shutdown alert — a normal (menu) power-off also triggers a last-location SMS- 🛡 Instant re-arm — after every boot the SIM check and all receivers are active again automatically
- 🚫 Safe Mode block — see the Device Owner section below: thieves commonly reboot into Safe Mode to disable security apps; as Device Owner, PhoneGuard disables Safe Mode entirely at OS level
Advanced: Device Owner mode (blocks Safe Mode)
Plain Device Admin cannot restrict Safe Mode; Android only allows Device Owner to setDISALLOW_SAFE_BOOT. If you accept a one-time ADB setup:
# uninstall any existing copy first, then install the APK and run:
adb shell dpm set-device-owner com.ediz.koruma/.AdminReceiver
# then open PhoneGuard once and enable Device AdminWhen PhoneGuard runs as Device Owner, it automatically applies the safe-boot restriction in onEnabled. Note: device owner provisioning is easiest on a freshly reset device without accounts.
What if the thief turns the phone off?
Commands are processed when the phone next boots and unlocks. The SIM-change alert fires as soon as the new SIM registers.Can I track my own family's phones?
Technically yes, but installing surveillance software on devices you don't own — or without the owner's informed consent — is illegal in most jurisdictions. This tool is for protecting your own hardware.Why isn't it on Google Play?
Google Play policies restrict default-SMS-handler and background-location apps of this type. Sideloading keeps it permission-complete and free.Is the APK reproducible?
Releases are built by GitHub Actions from this exact source. You can always build it yourself.Translations, bug fixes and features are welcome! See CONTRIBUTING.md. Security issues → SECURITY.md.
This software is intended solely for protecting devices you own or have explicit permission to monitor. Installing it on another person's device without their knowledge and consent may violate criminal law (e.g., TCK, GDPR, computer fraud & abuse statutes). The authors assume no liability for misuse.
MIT © 2026 — free to use, modify and share.


