diff --git a/patches-aosp/system/netd/0001-Configurable-offline-mode-iptables-for-frontend-acce.patch b/patches-aosp/system/netd/0001-Configurable-offline-mode-iptables-for-frontend-acce.patch index a631e00..632b565 100644 --- a/patches-aosp/system/netd/0001-Configurable-offline-mode-iptables-for-frontend-acce.patch +++ b/patches-aosp/system/netd/0001-Configurable-offline-mode-iptables-for-frontend-acce.patch @@ -1,4 +1,4 @@ -From 785894236964614b22f08fa85a11d7441e6747ff Mon Sep 17 00:00:00 2001 +From 83d17ee9f5f6a69f95358886790275edae63cc9c Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 8 Jun 2023 13:35:55 +0000 Subject: [PATCH 1/5] Configurable offline mode + iptables for frontend access diff --git a/patches-aosp/system/netd/0002-netd-use-216.58.215.78-6969-for-the-fullscreen-redir.patch b/patches-aosp/system/netd/0002-netd-use-216.58.215.78-6969-for-the-fullscreen-redir.patch index 618a33a..4794b08 100644 --- a/patches-aosp/system/netd/0002-netd-use-216.58.215.78-6969-for-the-fullscreen-redir.patch +++ b/patches-aosp/system/netd/0002-netd-use-216.58.215.78-6969-for-the-fullscreen-redir.patch @@ -1,4 +1,4 @@ -From 61a4946bf6291683f5a53647bed4a484871d5be7 Mon Sep 17 00:00:00 2001 +From 8fc738e2e8db919df06789329218b122b6f82491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= Date: Sat, 24 Jun 2023 15:21:34 +0000 Subject: [PATCH 2/5] netd: use 216.58.215.78:6969 for the fullscreen redirect diff --git a/patches-aosp/system/netd/0003-Remove-old-TA-endpoints.patch b/patches-aosp/system/netd/0003-Remove-old-TA-endpoints.patch index 2a56b32..1ab6aca 100644 --- a/patches-aosp/system/netd/0003-Remove-old-TA-endpoints.patch +++ b/patches-aosp/system/netd/0003-Remove-old-TA-endpoints.patch @@ -1,4 +1,4 @@ -From 088cbc2343b83760a1797926fbdf21324068a992 Mon Sep 17 00:00:00 2001 +From 7b537766aad291a900c18afcd80f487aa3755d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= Date: Wed, 20 Sep 2023 10:36:16 +0000 Subject: [PATCH 3/5] Remove old TA endpoints diff --git a/patches-aosp/system/netd/0004-Remove-hermes-dns-spoof-from-offline-mode.-It-is-not.patch b/patches-aosp/system/netd/0004-Remove-hermes-dns-spoof-from-offline-mode.-It-is-not.patch index f0d4a7b..c3550ec 100644 --- a/patches-aosp/system/netd/0004-Remove-hermes-dns-spoof-from-offline-mode.-It-is-not.patch +++ b/patches-aosp/system/netd/0004-Remove-hermes-dns-spoof-from-offline-mode.-It-is-not.patch @@ -1,4 +1,4 @@ -From 91ffc8109dd4116933210189aa5ed98c26591a60 Mon Sep 17 00:00:00 2001 +From b7d01b9fa9cf71c198c38382840c86ee86b6b262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= Date: Wed, 20 Sep 2023 10:47:21 +0000 Subject: [PATCH 4/5] Remove hermes dns spoof from offline mode. It is not diff --git a/patches-aosp/system/netd/0005-Add-www.tesla.com-to-offline-mode-domains.patch b/patches-aosp/system/netd/0005-Add-www.tesla.com-to-offline-mode-domains.patch new file mode 100644 index 0000000..276eb52 --- /dev/null +++ b/patches-aosp/system/netd/0005-Add-www.tesla.com-to-offline-mode-domains.patch @@ -0,0 +1,25 @@ +From 595e512c1d6edcc77a3058bcaf877eb7dcdf2c0a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20Gapi=C5=84ski?= +Date: Sun, 12 Nov 2023 12:38:44 +0000 +Subject: [PATCH 5/5] Add www.tesla.com to offline mode domains + +Change-Id: I7b82dfce45851e41a91ba3a1742e2050ddf24cd5 +--- + server/TetherController.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/server/TetherController.cpp b/server/TetherController.cpp +index a294399..fd175b5 100644 +--- a/server/TetherController.cpp ++++ b/server/TetherController.cpp +@@ -280,6 +280,7 @@ int TetherController::startTethering(bool usingLegacyDnsProxy, int num_addrs, ch + if(offlineModeEnabled == 1) { + argVector.push_back("--address=/connman.vn.tesla.services/104.248.101.213"); + argVector.push_back("--address=/www.teslamotors.com/104.248.101.213"); ++ argVector.push_back("--address=/www.tesla.com/104.248.101.213"); + argVector.push_back("--address=/connman.vn.cloud.tesla.cn/104.248.101.213"); + argVector.push_back("--address=/www.tesla.cn/104.248.101.213"); + } +-- +2.34.1 +