Android privacy: In search of possibilities using adb
#359
Replies: 2 comments 3 replies
-
Warning I have not tested these commands. A couple recommendations: [Performance] Disable transition animation scales, improving device performance by reducing animation overhead.
[Security] Disable 2G connectivity, protecting the device against Stingrays aka IMSI Catchers.
The private static final String[] PREFERRED_NETWORK_LABELS = {
"GSM/WCDMA preferred",
"GSM only",
"WCDMA only",
"GSM/WCDMA auto (PRL)",
"CDMA/EvDo auto (PRL)",
"CDMA only",
"EvDo only",
"CDMA/EvDo/GSM/WCDMA (PRL)",
"CDMA + LTE/EvDo (PRL)",
"GSM/WCDMA/LTE (PRL)",
"LTE/CDMA/EvDo/GSM/WCDMA (PRL)",
"LTE only",
"LTE/WCDMA",
"TDSCDMA only",
"TDSCDMA/WCDMA",
"LTE/TDSCDMA",
"TDSCDMA/GSM",
"LTE/TDSCDMA/GSM",
"TDSCDMA/GSM/WCDMA",
"LTE/TDSCDMA/WCDMA",
"LTE/TDSCDMA/GSM/WCDMA",
"TDSCDMA/CDMA/EvDo/GSM/WCDMA ",
"LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA",
"NR only",
"NR/LTE",
"NR/LTE/CDMA/EvDo",
"NR/LTE/GSM/WCDMA",
"NR/LTE/CDMA/EvDo/GSM/WCDMA",
"NR/LTE/WCDMA",
"NR/LTE/TDSCDMA",
"NR/LTE/TDSCDMA/GSM",
"NR/LTE/TDSCDMA/WCDMA",
"NR/LTE/TDSCDMA/GSM/WCDMA",
"NR/LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA",
"Unknown"
}; By setting the preferred network mode to a value that excludes 2G (GSM) networks, you effectively disable 2G communications.
Warning The Note This protects the device against Stingrays, but Hailstorms are still effective. [Privacy] Enable Private DNS with AdGuard:
Using private DNS allows DNS queries to be sent in a non-vulnerable-to-espionage way to the DNS resolver. Using the AdGuard servers, also enables users to block ads. |
Beta Was this translation helpful? Give feedback.
-
Warning: I have not tested these commands. Android 12: Getting the old WiFi toggle back under Quick SettingsSince Android 12, the WiFi quick toggle button has been changed. A tap no longer activates or deactivates the WiFi interface; instead, a selection of different network connections is displayed. Only setting the slider changes the connectivity - but it can be adjusted via ADB:
Reversion code:
Translated with DeepL.com (free version) from https://www.kuketz-blog.de/android-12-alten-wifi-toggle-unter-quick-settings-wiederbekommen/ |
Beta Was this translation helpful? Give feedback.
-
Android support will be added (#324) without any definitive timelines when the collection reaches some maturity.
🔍🧐 Please provide any docs/projects about what we can configure regarding privacy using
adb
on Android.Beta Was this translation helpful? Give feedback.
All reactions