RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.
Kotlin airtagalprandroidandroid-autoanti-surveillancebluetooth-low-energybody-cameracounter-surveillancedrone-detectionflock-safetyimsi-catcher-detectorpolice-detectorpolice-scannerprivacyremote-idrtl-sdrsdrsurveillance-detectiontracker-detectionwifi
Android Auto screenshots in the README; car map polish
CIS-C00d8fec5946d8
diff --git a/README.md b/README.mdindex eb5da4b..2ae50d4 100644--- a/README.md+++ b/README.md@@ -30,7 +30,10 @@ <img src="docs/screenshots/radar-dedsec.jpg" width="270" alt="Radar view with demo detections (DedSec theme)" /></p>-<p align="center"><sub>List and radar views (DedSec theme, demo data). <a href="#themes">See all 12 themes</a>.</sub></p>+<p align="center">+ <img src="docs/screenshots/android-auto/navigation.jpg" width="560" alt="Android Auto: live map with nearby devices and OpenStreetMap navigation" />+</p>+<p align="center"><sub>List and radar views (DedSec theme), and the Android Auto live map with navigation. Demo data. <a href="#themes">See all 12 themes</a> · <a href="#android-auto">Android Auto</a>.</sub></p><p align="center"><a href="https://github.com/CIS-C0/RFSentinel/stargazers"><img src="docs/star-banner.svg" width="560" alt="Like RF Sentinel? Give it a star on GitHub - it's free, takes one click and helps others find it" /></a>@@ -199,17 +202,38 @@ Menu → **Export all devices...** or **Export...**:RF Sentinel runs in Android Auto as a driver-safe, template-based app:+<p align="center">+ <img src="docs/screenshots/android-auto/home.jpg" width="400" alt="Android Auto home screen with the threat headline" />+ <img src="docs/screenshots/android-auto/flagged.jpg" width="400" alt="Android Auto list of flagged devices" />+</p>+<p align="center">+ <img src="docs/screenshots/android-auto/live-map.jpg" width="400" alt="Android Auto live map with the devices around you" />+ <img src="docs/screenshots/android-auto/cameras.jpg" width="400" alt="Android Auto live map zoomed out with known cameras" />+</p>+<p align="center"><sub>Home, flagged devices, live map, and known cameras (demo data).</sub></p>+- **Home screen:** the threat headline, live counts, Start/Stop, and a speakerbutton that mutes or unmutes all alert sound.- **Device lists** (flagged, drones & trackers, all nearby) and **device details**with Whitelist, Watch and Favorite actions. **Navigate** opens your car'snavigation app for drones with a known position.-- **Devices around me map:** the devices heard around you on the car's map, like- the phone map, in the list and radar colours - flagged ones first, then the- strongest ordinary ones (Android Auto shows about six places at a time).- Tap one for its details.-- **Cameras map** (the *Cameras* button): the closest known plate, speed and- red-light cameras (OpenStreetMap) and Remote ID drones, with distances.+- **Live map:** RF Sentinel's own OpenStreetMap map on the car screen, with+ every device heard around you in the list and radar colours, the known plate,+ speed and red-light cameras, and your position. Drag, pinch or use **+ / −** to+ look around; **◎** follows the car again. Needs Android Auto with car API+ level 7 (recent versions); older ones get the car-drawn maps below.+- **Navigation (OpenStreetMap):** *Navigate to...* searches a destination with+ [Nominatim](https://nominatim.org) (only when you submit or tap the search -+ no search-as-you-type), keeps your recent destinations on the phone, and+ plans a driving route with the [OSRM](https://project-osrm.org) demo server.+ The route is drawn on the live map with the next turn, arrival time and+ distance left; turns are spoken, and it re-routes when you leave the route.+ Those servers see the search, your position and destination, and your IP+ address - never your scans.+- **Device and camera lists on the car's map** (also for older Android Auto):+ the devices around you (flagged first) and the closest cameras and drones,+ with distances; tap a camera to centre on it, with **Navigate** to hand it to+ your navigation app.- **Alerts** appear as a heads-up on the car screen. While connected, they playthrough the car speakers as navigation-guidance audio, briefly lowering yourmusic.@@ -272,8 +296,9 @@ Pick a theme in the setup wizard or under **Settings → Appearance**.overpass.private.coffee when it's busy. Those servers see your IP address andthat area - like the map tiles - never your scans. Turn off *Show known camerasautomatically* in Settings to fetch only when you tap *Download known cameras*.- Map data- © OpenStreetMap contributors (ODbL).+ In Android Auto, navigation also uses OpenStreetMap's Nominatim (destination+ search) and the OSRM routing server, only when you search or start a route.+ Map data © OpenStreetMap contributors (ODbL).- **Data leaves the phone only when you export or share it.**- **Optional permissions:** *Nearby devices → connect* is asked only to read thenames of your paired Bluetooth devices when you pick your car; *Display overdiff --git a/app/build.gradle.kts b/app/build.gradle.ktsindex 44baa1b..768ff8e 100644--- a/app/build.gradle.kts+++ b/app/build.gradle.kts@@ -45,6 +45,10 @@ android {}buildTypes {+ debug {+ // Installs next to the release app (demo data, screenshots) without touching it.+ applicationIdSuffix = ".debug"+ }release {signingConfig = signingConfigs.findByName("release")isMinifyEnabled = falsediff --git a/app/src/main/java/com/rfsentinel/app/MainActivity.kt b/app/src/main/java/com/rfsentinel/app/MainActivity.ktindex 3f0a18a..4a22ba2 100644--- a/app/src/main/java/com/rfsentinel/app/MainActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/MainActivity.kt@@ -124,6 +124,8 @@ class MainActivity : AppCompatActivity() {// Debug builds only: made-up devices for screenshots (see DemoData).if (BuildConfig.DEBUG && intent.getBooleanExtra("demo", false)) {demoMode = true+ // So the Android Auto screens show the demo as a running scan too.+ ScanForegroundService.isRunning = trueintent.getStringExtra("view")?.let { Prefs.setRadarView(this, it == "radar") }val anchor = runCatching {@Suppress("MissingPermission")diff --git a/app/src/main/java/com/rfsentinel/app/car/CarMapRenderer.kt b/app/src/main/java/com/rfsentinel/app/car/CarMapRenderer.ktindex f8478f9..4fa8541 100644--- a/app/src/main/java/com/rfsentinel/app/car/CarMapRenderer.kt+++ b/app/src/main/java/com/rfsentinel/app/car/CarMapRenderer.kt@@ -208,7 +208,7 @@ class CarMapRenderer(private val carContext: CarContext, private val scope: Coro}devices.add(Marker(m).apply {position = GeoPoint(lat, lon)- icon = MapIcons.dot(dp, color, if (DeviceColors.isFlagged(s)) 16 else 9)+ icon = MapIcons.dot(dp, color, if (DeviceColors.isFlagged(s)) 18 else 11)setAnchor(Marker.ANCHOR_CENTER, Marker.ANCHOR_CENTER)setInfoWindow(null)})@@ -217,7 +217,7 @@ class CarMapRenderer(private val carContext: CarContext, private val scope: Corocameras.items.clear()if (m.zoomLevelDouble >= 9.0) {val box = m.boundingBox.increaseByScale(1.4f)- val icons = KnownCamera.Kind.entries.associateWith { BitmapDrawable(m.context.resources, MapIcons.cameraIcon(dp, it)) }+ val icons = KnownCamera.Kind.entries.associateWith { BitmapDrawable(m.context.resources, MapIcons.cameraIcon(dp * 1.6f, it)) } // car screens sit further awayAlprStore.cameras.asSequence().filter { it.lat in box.latSouth..box.latNorth && it.lon in box.lonWest..box.lonEast }.take(600)diff --git a/app/src/main/java/com/rfsentinel/app/car/LiveMapScreen.kt b/app/src/main/java/com/rfsentinel/app/car/LiveMapScreen.ktindex 82d49cc..0d533b9 100644--- a/app/src/main/java/com/rfsentinel/app/car/LiveMapScreen.kt+++ b/app/src/main/java/com/rfsentinel/app/car/LiveMapScreen.kt@@ -80,7 +80,7 @@ class LiveMapScreen(carContext: CarContext) : LiveScreen(carContext, periodMs =private fun summaryRows(list: ItemList.Builder) {val (devices, cameras) = renderer.counts()list.addItem(Row.Builder()- .setTitle(if (ScanForegroundService.isRunning) "$devices devices · $cameras cameras on the map" else "Not scanning")+ .setTitle(if (ScanForegroundService.isRunning) "$devices device${if (devices == 1) "" else "s"} · $cameras camera${if (cameras == 1) "" else "s"} on the map" else "Not scanning").addText(if (renderer.following) "Drag or pinch the map to look around" else "Tap ◎ to follow the car again").build())list.addItem(Row.Builder()diff --git a/app/src/main/java/com/rfsentinel/app/ui/AboutDialog.kt b/app/src/main/java/com/rfsentinel/app/ui/AboutDialog.ktindex 43a7edc..6256a6f 100644--- a/app/src/main/java/com/rfsentinel/app/ui/AboutDialog.kt+++ b/app/src/main/java/com/rfsentinel/app/ui/AboutDialog.kt@@ -19,7 +19,8 @@ object AboutDialog {connects to, jams or spoofs any device. Scans, detections, history and traces stayon this phone. Internet is used only for OpenStreetMap: map tiles while the map isopen, and the list of known plate, speed and red-light cameras for the area you look at on- screen. Those servers see your IP and that area, never your scans or detections.+ screen; in Android Auto, destination search (Nominatim) and routes (OSRM) when you+ navigate. Those servers see your IP and that area or trip, never your scans or detections.Map data © OpenStreetMap contributors (ODbL).<br/><br/><b>What a match means</b><br/>diff --git a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.ktindex 033852a..3b14bcd 100644--- a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt@@ -108,7 +108,7 @@ class SetupActivity : AppCompatActivity() {header("Welcome to RF Sentinel", "A quick setup - about a minute. You can change everything later in Settings.")para("RF Sentinel listens - passively - to the Bluetooth and WiFi signals devices around you already broadcast, and flags equipment such as body cameras, license-plate cameras, drones, trackers following you and camera glasses.")bullet("It never transmits to, connects to or interferes with any device.")- bullet("Scans, detections and history stay on this phone. Internet is only used for OpenStreetMap maps (including known plate, speed and red-light camera locations for the area you look at - can be turned off in Settings).")+ bullet("Scans, detections and history stay on this phone. Internet is only used for OpenStreetMap maps (including known plate, speed and red-light camera locations for the area you look at - can be turned off in Settings - and, in Android Auto, destination search and routes when you navigate).")bullet("A match means a device with that signature is nearby - not proof of who is there.")para("Check your local laws before use. This is not legal advice.", small = true)}diff --git a/docs/screenshots/android-auto/cameras.jpg b/docs/screenshots/android-auto/cameras.jpgnew file mode 100644index 0000000..6f64334Binary files /dev/null and b/docs/screenshots/android-auto/cameras.jpg differdiff --git a/docs/screenshots/android-auto/flagged.jpg b/docs/screenshots/android-auto/flagged.jpgnew file mode 100644index 0000000..0e45331Binary files /dev/null and b/docs/screenshots/android-auto/flagged.jpg differdiff --git a/docs/screenshots/android-auto/home.jpg b/docs/screenshots/android-auto/home.jpgnew file mode 100644index 0000000..58ced1aBinary files /dev/null and b/docs/screenshots/android-auto/home.jpg differdiff --git a/docs/screenshots/android-auto/live-map.jpg b/docs/screenshots/android-auto/live-map.jpgnew file mode 100644index 0000000..867c7a1Binary files /dev/null and b/docs/screenshots/android-auto/live-map.jpg differdiff --git a/docs/screenshots/android-auto/navigation.jpg b/docs/screenshots/android-auto/navigation.jpgnew file mode 100644index 0000000..f7885efBinary files /dev/null and b/docs/screenshots/android-auto/navigation.jpg differ