diff --git a/common.mk b/common.mk
index 09c259c..46e0e76 100644
--- a/common.mk
+++ b/common.mk
@@ -339,6 +339,10 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
+# Tethering
+PRODUCT_PACKAGES += \
+ TetheringConfigOverlay
+
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index cfe806e..1fd56f2 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -30,62 +30,6 @@
http://www.google.com/oha/rdf/ua-profile-kila.xml
-
-
- - "usb\\d"
- - "rndis\\d"
-
-
-
-
- - "softap0"
- - "wlan0"
-
-
-
-
- - "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
-
-
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..2b220b6
--- /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..a04a22d
--- /dev/null
+++ b/rro_overlays/TetheringOverlay/res/values/config.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+ - "usb\\d"
+ - "rndis\\d"
+
+
+
+
+ - "softap0"
+ - "wlan0"
+
+
+
+
+ - "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
+
+