diff --git a/common.mk b/common.mk
index f1dc4bb..62a7ba2 100644
--- a/common.mk
+++ b/common.mk
@@ -298,6 +298,7 @@ PRODUCT_PACKAGES += \
libwifi-hal-qcom \
libwpa_client \
WifiOverlay \
+ TetheringConfigOverlay \
wpa_cli \
wpa_supplicant \
wpa_supplicant.conf
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index af9b23e..350ee74 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -98,54 +98,6 @@
- evdo:4094,87380,524288,4096,16384,262144
-
-
- - bnep\\d
- - bt-pan
-
-
-
-
- - 192.168.42.2
- - 192.168.42.254
- - 192.168.43.2
- - 192.168.43.254
- - 192.168.44.2
- - 192.168.44.254
- - 192.168.45.2
- - 192.168.45.254
- - 192.168.46.2
- - 192.168.46.254
- - 192.168.47.2
- - 192.168.47.254
- - 192.168.48.2
- - 192.168.48.254
- - 192.168.49.2
- - 192.168.49.254
- - 192.168.50.2
- - 192.168.50.254
- - 192.168.51.2
- - 192.168.51.254
-
-
-
-
- - 0
- - 1
- - 5
- - 7
-
-
-
-
- - usb\\d
- - rndis\\d
-
-
diff --git a/rro_overlays/TetheringOverlay/Android.bp b/rro_overlays/TetheringOverlay/Android.bp
new file mode 100644
index 0000000..17796ee
--- /dev/null
+++ b/rro_overlays/TetheringOverlay/Android.bp
@@ -0,0 +1,22 @@
+//
+// Copyright (C) 2020 The Android Open-Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+runtime_resource_overlay {
+ name: "TetheringConfigOverlay",
+ resource_dirs: ["res"],
+ product_specific: true,
+ sdk_version: "current",
+}
diff --git a/rro_overlays/TetheringOverlay/AndroidManifest.xml b/rro_overlays/TetheringOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..4753dc0
--- /dev/null
+++ b/rro_overlays/TetheringOverlay/AndroidManifest.xml
@@ -0,0 +1,11 @@
+
+
+
+
diff --git a/rro_overlays/TetheringOverlay/res/values/config.xml b/rro_overlays/TetheringOverlay/res/values/config.xml
new file mode 100644
index 0000000..dc1dd6e
--- /dev/null
+++ b/rro_overlays/TetheringOverlay/res/values/config.xml
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+ - bnep\\d
+ - bt-pan
+
+
+
+
+ - 192.168.42.2
+ - 192.168.42.254
+ - 192.168.43.2
+ - 192.168.43.254
+ - 192.168.44.2
+ - 192.168.44.254
+ - 192.168.45.2
+ - 192.168.45.254
+ - 192.168.46.2
+ - 192.168.46.254
+ - 192.168.47.2
+ - 192.168.47.254
+ - 192.168.48.2
+ - 192.168.48.254
+ - 192.168.49.2
+ - 192.168.49.254
+ - 192.168.50.2
+ - 192.168.50.254
+ - 192.168.51.2
+ - 192.168.51.254
+
+
+
+
+ - 0
+ - 1
+ - 5
+ - 7
+
+
+
+
+ - usb\\d
+ - rndis\\d
+
+