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
Germany, Spain and Italy presets (Motorola VB400 / BOS radios, Sepura; Axon, Teltronic; Leonardo / Selex radios, Selea and Elsag plate readers), Germany driving notice
CIS-C03a5279c6dd52
diff --git a/README.md b/README.mdindex a656335..b48e3cc 100644--- a/README.md+++ b/README.md@@ -116,7 +116,7 @@ headline as you get closer (strong within 50 m, fading out by 500 m). Full refer- **Fake cell tower signs** checked every 15 s, with persistence, call and border suppression (modelled on [EFF's Rayhunter](https://github.com/EFForg/rayhunter) as far as Android allows without root)- **Hidden WiFi networks** identified from WPS data, Cisco AP names and vendor elements, and linked to the visible network on the same router- Ordinary devices named precisely: exact AirPods / Beats model, device class, IEEE registrant; decoded Apple Continuity, iBeacon, Eddystone, Fast Pair-- Editable **watchlist** (exact addresses, prefixes, name / vendor rules) with Global, Canada, US, France, UK and Portugal presets; per-category on/off switches+- Editable **watchlist** (exact addresses, prefixes, name / vendor rules) with Global, Canada, US, France, UK, Portugal, Germany, Spain and Italy presets; per-category on/off switches- Bluetooth 5 extended advertising and LE Coded (long range) where the phone supports it**Known cameras**diff --git a/app/src/main/assets/oui_presets/germany.json b/app/src/main/assets/oui_presets/germany.jsonnew file mode 100644index 0000000..7182b11--- /dev/null+++ b/app/src/main/assets/oui_presets/germany.json@@ -0,0 +1,82 @@+[+ {+ "prefix": "4C:CC:34",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:1F:92",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:18:85",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:04:7D",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "10:74:6F",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "B8:E2:8C",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "9C:86:2B",+ "label": "Motorola Solutions - in Germany: VB400 body cams of several state police forces and BOS digital radios (200,000+ TETRA terminals)",+ "source": "IEEE MA-L registry; Motorola VB400 contracts in Thuringia, Saxony-Anhalt and Mecklenburg-Western Pomerania; BDBOS-certified TETRA terminals. Weak: the same blocks carry other radios and gear",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:1E:96",+ "label": "Sepura (BOS digital radios of police, fire and rescue services)",+ "source": "IEEE MA-L registry (Sepura Limited); BDBOS-certified TETRA terminals. Weak: also other users",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:23:B9",+ "label": "Airbus Defence and Space (BOS digital radio network maker)",+ "source": "IEEE MA-L registry (Airbus Defence and Space Deutschland GmbH). Weak: also defence equipment",+ "confidence": "candidate",+ "score": 45,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:25:DF",+ "label": "Axon (body cam / TASER)",+ "source": "IEEE MA-L registry (Axon Enterprise)",+ "confidence": "confirmed",+ "score": 75,+ "category": "BODY_CAM"+ }+]\ No newline at end of filediff --git a/app/src/main/assets/oui_presets/italy.json b/app/src/main/assets/oui_presets/italy.jsonnew file mode 100644index 0000000..29d8f98--- /dev/null+++ b/app/src/main/assets/oui_presets/italy.json@@ -0,0 +1,50 @@+[+ {+ "prefix": "00:17:28",+ "label": "Selex Communications (Leonardo TETRA radios of the Polizia di Stato network)",+ "source": "IEEE MA-L registry (Selex Communications); Leonardo / Selex ES built the Polizia di Stato TETRA network. Weak: also other users",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "70:B3:D5:11:1",+ "label": "Leonardo Sistemi Integrati (public-safety communications)",+ "source": "IEEE MA-S registry (Leonardo Sistemi Integrati S.r.l.). Match all 36 bits. Weak",+ "confidence": "candidate",+ "score": 45,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "78:13:05:A",+ "label": "Leonardo SpA (secure / public-safety communications)",+ "source": "IEEE MA-M registry (Leonardo SpA). Match all 28 bits. Weak: also defence",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:07:98",+ "label": "Selea (Italian plate-reader cameras, used by local police for Targa System style checks)",+ "source": "IEEE MA-L registry (Selea SRL); Italian ALPR maker",+ "confidence": "candidate",+ "score": 55,+ "category": "ALPR"+ },+ {+ "prefix": "00:40:DE",+ "label": "Elsag Datamat (Leonardo plate-reader cameras)",+ "source": "IEEE MA-L registry (Elsag Datamat spa); Elsag ALPR",+ "confidence": "candidate",+ "score": 55,+ "category": "ALPR"+ },+ {+ "prefix": "00:25:DF",+ "label": "Axon (body cam / TASER)",+ "source": "IEEE MA-L registry (Axon Enterprise). Italian police body cams are being bought (law 80/2025, supplier not public)",+ "confidence": "confirmed",+ "score": 75,+ "category": "BODY_CAM"+ }+]\ No newline at end of filediff --git a/app/src/main/assets/oui_presets/spain.json b/app/src/main/assets/oui_presets/spain.jsonnew file mode 100644index 0000000..f3d8b50--- /dev/null+++ b/app/src/main/assets/oui_presets/spain.json@@ -0,0 +1,18 @@+[+ {+ "prefix": "00:25:DF",+ "label": "Axon (body cams of the Policia Nacional; TASER)",+ "source": "IEEE MA-L registry (Axon Enterprise); Policia Nacional body-cam contract (2020, with Nidec Defense Group)",+ "confidence": "confirmed",+ "score": 75,+ "category": "BODY_CAM"+ },+ {+ "prefix": "00:04:18",+ "label": "Teltronic (Spanish TETRA radio maker: public-safety and transport networks)",+ "source": "IEEE MA-L registry (Teltronic S.A.U.). Weak: not confirmed for a given police force",+ "confidence": "candidate",+ "score": 45,+ "category": "PUBLIC_SAFETY"+ }+]\ No newline at end of filediff --git a/app/src/main/java/com/rfsentinel/app/detect/FlockNoise.kt b/app/src/main/java/com/rfsentinel/app/detect/FlockNoise.ktindex d812428..5b39907 100644--- a/app/src/main/java/com/rfsentinel/app/detect/FlockNoise.kt+++ b/app/src/main/java/com/rfsentinel/app/detect/FlockNoise.kt@@ -6,7 +6,7 @@ package com.rfsentinel.app.detect* generic "FS-<hex>" name are shared with speakers, scooters, bulbs and meeting-room boxes:* - a module-prefix match is dropped when the device names itself as something else* (a Flock module has no name or a Flock-style one);- * - outside Flock's market (France, UK or Portugal preset on, US and Canada off) both are dropped entirely.+ * - outside Flock's market (a European preset on, US and Canada off) both are dropped entirely.* Strong Flock signatures (Penguin / Falcon / Raven names, Flock's own service, the* battery name, XUNTONG ID) are never touched.*/diff --git a/app/src/main/java/com/rfsentinel/app/oui/OuiWatchlist.kt b/app/src/main/java/com/rfsentinel/app/oui/OuiWatchlist.ktindex 73675ef..5dc22ea 100644--- a/app/src/main/java/com/rfsentinel/app/oui/OuiWatchlist.kt+++ b/app/src/main/java/com/rfsentinel/app/oui/OuiWatchlist.kt@@ -40,7 +40,7 @@ object OuiWatchlist {)/**- * False when a non-Flock region (France, UK, Portugal) is on without US / Canada: Flock+ * False when a European region (France, UK, Portugal, Germany, Spain, Italy) is on without US / Canada: Flock* isn't deployed there, so its weak module-prefix clues are ignored (see FlockNoise).*/@Volatile@@ -56,10 +56,10 @@ object OuiWatchlist {private var state = State(emptyMap(), emptyList(), emptyList(), emptyMap(), emptyMap(), emptyList())/** Load order: regional presets after "global", so their labels win for shared prefixes. */- val availablePresets = listOf("global", "canada", "us", "france", "uk", "portugal")+ val availablePresets = listOf("global", "canada", "us", "france", "uk", "portugal", "germany", "spain", "italy")/** Regions where Flock isn't deployed: their presets turn the weak Flock clues off (FlockNoise). */- private val NON_FLOCK_REGIONS = setOf("france", "uk", "portugal")+ private val NON_FLOCK_REGIONS = setOf("france", "uk", "portugal", "germany", "spain", "italy")@Synchronizedfun load(context: Context) {diff --git a/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt b/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.ktindex 0af3381..84d9d0a 100644--- a/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt@@ -321,7 +321,10 @@ class SettingsActivity : AppCompatActivity() {"• United Kingdom: Motorola VB400 / VB300 and Axon body cams, Sepura and Motorola Airwave radios, " +"Jenoptik SPECS / VECTOR ANPR and speed cameras.\n" +"• Portugal: Motorola SIRESP radios of PSP, GNR and INEM; PSP / GNR body cams are still being bought.\n" +- "French drone electronic IDs are decoded in every region. With France, UK or Portugal on (and not US / Canada), " ++ "• Germany: Motorola VB400 body cams of several state police forces, Motorola and Sepura BOS digital radios.\n" ++ "• Spain: Axon body cams of the Policia Nacional, Teltronic TETRA radios.\n" ++ "• Italy: Leonardo / Selex TETRA radios of the Polizia di Stato, Selea and Elsag plate readers.\n" ++ "French drone electronic IDs are decoded in every region. With a European preset on (and not US / Canada), " +"the weak Flock clues are ignored: Flock isn't used there."),Section("alerts", binding.headerAlerts, binding.sectionAlerts,"Threshold: \"Weak\" alerts on every match (more false alarms); \"Strong only\" on near-certain ones.\n\n" +@@ -797,6 +800,10 @@ class SettingsActivity : AppCompatActivity() {binding.presetFrance.setOnCheckedChangeListener { _, on -> if (on) com.rfsentinel.app.ui.RegionNotice.show(this, "france") }binding.presetUk.isChecked = "uk" in enabledPresetsbinding.presetPortugal.isChecked = "portugal" in enabledPresets+ binding.presetGermany.isChecked = "germany" in enabledPresets+ binding.presetGermany.setOnCheckedChangeListener { _, on -> if (on) com.rfsentinel.app.ui.RegionNotice.show(this, "germany") }+ binding.presetSpain.isChecked = "spain" in enabledPresets+ binding.presetItaly.isChecked = "italy" in enabledPresets// Alertsval threshold = Prefs.alertThreshold(this)@@ -1069,6 +1076,9 @@ class SettingsActivity : AppCompatActivity() {if (binding.presetFrance.isChecked) presets.add("france")if (binding.presetUk.isChecked) presets.add("uk")if (binding.presetPortugal.isChecked) presets.add("portugal")+ if (binding.presetGermany.isChecked) presets.add("germany")+ if (binding.presetSpain.isChecked) presets.add("spain")+ if (binding.presetItaly.isChecked) presets.add("italy")OuiWatchlist.setEnabledPresets(this, presets)Prefs.setAlertThreshold(diff --git a/app/src/main/java/com/rfsentinel/app/ui/RegionNotice.kt b/app/src/main/java/com/rfsentinel/app/ui/RegionNotice.ktindex 58f23a1..d6d4898 100644--- a/app/src/main/java/com/rfsentinel/app/ui/RegionNotice.kt+++ b/app/src/main/java/com/rfsentinel/app/ui/RegionNotice.kt@@ -4,9 +4,9 @@ import android.content.Contextimport androidx.appcompat.app.AlertDialog/**- * Shown when a regional preset with driving rules worth knowing is switched on: France bans- * apps that signal speed cameras. Elsewhere (UK, Portugal...) camera warnings are allowed, and- * RF Sentinel doesn't detect radar, so there's no notice.+ * Shown when a regional preset with driving rules worth knowing is switched on: France and+ * Germany ban apps that signal speed cameras. Elsewhere (UK, Portugal, Spain, Italy...) camera+ * warnings are allowed, and RF Sentinel doesn't detect radar, so there's no notice.*/object RegionNotice {@@ -17,9 +17,16 @@ object RegionNotice {"and Waze police reports, and don't use RF Sentinel to locate speed-enforcement equipment. " +"You are responsible for complying with the law."+ const val GERMANY = "In Germany, drivers may not use radar warners or apps that warn about speed cameras " ++ "(StVO § 23 Abs. 1c: €75 fine and 1 point), and that includes having such a warning running on the phone.\n\n" ++ "If you drive in Germany, turn off speed-camera and red-light camera warnings (Settings > Known cameras) " ++ "and Waze police reports, and don't use RF Sentinel to locate speed-enforcement equipment. " ++ "You are responsible for complying with the law."+/** The notice for a preset key, or null when that region has none. */fun textFor(preset: String): Pair<String, String>? = when (preset) {"france" -> "Driving in France" to FRANCE+ "germany" -> "Driving in Germany" to GERMANYelse -> null}diff --git a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.ktindex 86bdd25..8f0c839 100644--- a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt@@ -161,7 +161,10 @@ class SetupActivity : AppCompatActivity() {"us" to "United States","france" to "France - Motorola VB400 body cams of the Police nationale and Gendarmerie, Zepcam, TETRAPOL radios","uk" to "United Kingdom - Motorola and Axon body cams, Sepura / Motorola Airwave radios, Jenoptik ANPR cameras",- "portugal" to "Portugal - Motorola SIRESP radios of PSP, GNR and INEM"+ "portugal" to "Portugal - Motorola SIRESP radios of PSP, GNR and INEM",+ "germany" to "Germany - Motorola VB400 body cams, Motorola and Sepura BOS digital radios",+ "spain" to "Spain - Axon body cams of the Policia Nacional, Teltronic radios",+ "italy" to "Italy - Leonardo / Selex police radios, Selea and Elsag plate readers").forEach { (key, label) ->check(label, key in enabled) { on ->if (on) enabled += key else enabled -= keydiff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xmlindex e4e8c2f..00c7d27 100644--- a/app/src/main/res/layout/activity_settings.xml+++ b/app/src/main/res/layout/activity_settings.xml@@ -188,6 +188,9 @@<CheckBox android:id="@+id/presetFrance" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="France" /><CheckBox android:id="@+id/presetUk" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="United Kingdom" /><CheckBox android:id="@+id/presetPortugal" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Portugal" />+ <CheckBox android:id="@+id/presetGermany" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Germany" />+ <CheckBox android:id="@+id/presetSpain" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Spain" />+ <CheckBox android:id="@+id/presetItaly" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Italy" /></LinearLayout><!-- ================= Alerts ================= -->diff --git a/app/src/test/java/com/rfsentinel/app/ui/RegionNoticeTest.kt b/app/src/test/java/com/rfsentinel/app/ui/RegionNoticeTest.ktindex 0753520..0db022f 100644--- a/app/src/test/java/com/rfsentinel/app/ui/RegionNoticeTest.kt+++ b/app/src/test/java/com/rfsentinel/app/ui/RegionNoticeTest.kt@@ -13,11 +13,14 @@ class RegionNoticeTest {assertNotNull(RegionNotice.textFor("france"))assertNull(RegionNotice.textFor("portugal"))assertNull(RegionNotice.textFor("uk"))+ assertTrue(RegionNotice.textFor("germany")!!.second.contains("23 Abs. 1c"))+ assertNull(RegionNotice.textFor("spain"))+ assertNull(RegionNotice.textFor("italy"))assertNull(RegionNotice.textFor("us"))}@Testfun newRegionsAreAvailable() {- assertTrue(OuiWatchlist.availablePresets.containsAll(listOf("france", "uk", "portugal")))+ assertTrue(OuiWatchlist.availablePresets.containsAll(listOf("france", "uk", "portugal", "germany", "spain", "italy")))}}