From ef32dacb30b5c938d48ba294ff660b0cd5777dd6 Mon Sep 17 00:00:00 2001 From: Tad Date: Mon, 18 Apr 2016 09:27:27 -0400 Subject: [PATCH] Implement hostname Randomization Change-Id: I00bfb9235979c2c80191cb0871716adaa3583e06 --- MAC_Rand.patch | 120 +++++++++++++++++++++++++ res/values/cm_strings.xml | 4 + res/xml/wireless_settings.xml | 6 ++ src/com/android/settings/WirelessSettings.java | 14 +++ 4 files changed, 144 insertions(+) create mode 100644 MAC_Rand.patch diff --git a/MAC_Rand.patch b/MAC_Rand.patch new file mode 100644 index 0000000..48ad1ec --- /dev/null +++ b/MAC_Rand.patch @@ -0,0 +1,120 @@ +From e84a1e030313cbc2875c9d3ee1f016808d33dab3 Mon Sep 17 00:00:00 2001 +From: Tad +Date: Mon, 18 Apr 2016 08:53:03 -0400 +Subject: [PATCH] Implement MAC Randomization + +Change-Id: Id074d011eac7c33af267de4c1649670c32770cb5 +--- + res/values/cm_strings.xml | 4 ++++ + res/xml/wireless_settings.xml | 6 ++++++ + src/com/android/settings/WirelessSettings.java | 24 +++++++++++++++++++++++- + 3 files changed, 33 insertions(+), 1 deletion(-) + +diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml +index 128660e..8aa4785 100644 +--- a/res/values/cm_strings.xml ++++ b/res/values/cm_strings.xml +@@ -1187,4 +1187,8 @@ + + + Network operators ++ ++ ++ Randomize MAC addresses ++ Assign random MAC addresses when network devices are enabled + +diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml +index 8882003..4a2d5d0 100644 +--- a/res/xml/wireless_settings.xml ++++ b/res/xml/wireless_settings.xml +@@ -19,6 +19,12 @@ + android:title="@string/radio_controls_title"> + + ++ ++ Randomize MAC addresses Assign random MAC addresses when network devices are enabled + + + Randomize network hostname + Assign random network hostname on boot diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml index 4a2d5d0..905e8de 100644 --- a/res/xml/wireless_settings.xml +++ b/res/xml/wireless_settings.xml @@ -25,6 +25,12 @@ android:persistent="false" /> + +