diff options
| author | Ahmad Rulim <personal@rulim34.dev> | 2022-12-31 22:16:00 +0700 | 
|---|---|---|
| committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 22:04:15 +0530 | 
| commit | c57d49aa889527f985fe02b869d5ed41a1e8c726 (patch) | |
| tree | aa35822927a00f027677c71a26883b227c7ef9f8 | |
| parent | 39d12df3fbb341a0fbbea17d372109a8ae81a5be (diff) | |
veux: overlay: Set default hotspot SSID based on ro.boot.board_id
Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
19 files changed, 367 insertions, 1 deletions
| @@ -314,7 +314,13 @@ PRODUCT_PACKAGES += \      SettingsProviderOverlayS88107BA1 \      SystemUIOverlayVeux \      TelephonyOverlayVeux \ -    WifiOverlayVeux +    WifiOverlayVeux \ +    WifiOverlayS88006AA1 \ +    WifiOverlayS88007AA1 \ +    WifiOverlayS88007EA1 \ +    WifiOverlayS88008BA1 \ +    WifiOverlayS88106BA1 \ +    WifiOverlayS88107BA1  # Partitions  PRODUCT_BUILD_SUPER_PARTITION := false diff --git a/rro_overlays/WifiOverlayS88006AA1/Android.bp b/rro_overlays/WifiOverlayS88006AA1/Android.bp new file mode 100644 index 0000000..e3b7e10 --- /dev/null +++ b/rro_overlays/WifiOverlayS88006AA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88006AA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88006AA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88006AA1/AndroidManifest.xml new file mode 100644 index 0000000..0781f83 --- /dev/null +++ b/rro_overlays/WifiOverlayS88006AA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88006AA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88006AA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88006AA1/res/values/config.xml b/rro_overlays/WifiOverlayS88006AA1/res/values/config.xml new file mode 100644 index 0000000..a6168ff --- /dev/null +++ b/rro_overlays/WifiOverlayS88006AA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">Redmi Note 11 Pro 5G</string> + +</resources> diff --git a/rro_overlays/WifiOverlayS88007AA1/Android.bp b/rro_overlays/WifiOverlayS88007AA1/Android.bp new file mode 100644 index 0000000..8188676 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88007AA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml new file mode 100644 index 0000000..e5d6112 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88007AA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88007AA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88007AA1/res/values/config.xml b/rro_overlays/WifiOverlayS88007AA1/res/values/config.xml new file mode 100644 index 0000000..d6deed9 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007AA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">Redmi Note 11E Pro</string> + +</resources> diff --git a/rro_overlays/WifiOverlayS88007EA1/Android.bp b/rro_overlays/WifiOverlayS88007EA1/Android.bp new file mode 100644 index 0000000..7ec1b01 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007EA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88007EA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88007EA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88007EA1/AndroidManifest.xml new file mode 100644 index 0000000..55158f4 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007EA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88007EA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88007EA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88007EA1/res/values/config.xml b/rro_overlays/WifiOverlayS88007EA1/res/values/config.xml new file mode 100644 index 0000000..16988a7 --- /dev/null +++ b/rro_overlays/WifiOverlayS88007EA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">Redmi Note 11 Pro+ 5G</string> + +</resources> diff --git a/rro_overlays/WifiOverlayS88008BA1/Android.bp b/rro_overlays/WifiOverlayS88008BA1/Android.bp new file mode 100644 index 0000000..a6661b8 --- /dev/null +++ b/rro_overlays/WifiOverlayS88008BA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88008BA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88008BA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88008BA1/AndroidManifest.xml new file mode 100644 index 0000000..f0b1cdc --- /dev/null +++ b/rro_overlays/WifiOverlayS88008BA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88008BA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88008BA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88008BA1/res/values/config.xml b/rro_overlays/WifiOverlayS88008BA1/res/values/config.xml new file mode 100644 index 0000000..a6168ff --- /dev/null +++ b/rro_overlays/WifiOverlayS88008BA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">Redmi Note 11 Pro 5G</string> + +</resources> diff --git a/rro_overlays/WifiOverlayS88106BA1/Android.bp b/rro_overlays/WifiOverlayS88106BA1/Android.bp new file mode 100644 index 0000000..a178a9c --- /dev/null +++ b/rro_overlays/WifiOverlayS88106BA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88106BA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88106BA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88106BA1/AndroidManifest.xml new file mode 100644 index 0000000..3ce9eda --- /dev/null +++ b/rro_overlays/WifiOverlayS88106BA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88106BA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88106BA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88106BA1/res/values/config.xml b/rro_overlays/WifiOverlayS88106BA1/res/values/config.xml new file mode 100644 index 0000000..1ead554 --- /dev/null +++ b/rro_overlays/WifiOverlayS88106BA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">POCO X4 Pro 5G</string> + +</resources> diff --git a/rro_overlays/WifiOverlayS88107BA1/Android.bp b/rro_overlays/WifiOverlayS88107BA1/Android.bp new file mode 100644 index 0000000..fab1d42 --- /dev/null +++ b/rro_overlays/WifiOverlayS88107BA1/Android.bp @@ -0,0 +1,5 @@ +runtime_resource_overlay { +    name: "WifiOverlayS88107BA1", +    sdk_version: "current", +    product_specific: true +} diff --git a/rro_overlays/WifiOverlayS88107BA1/AndroidManifest.xml b/rro_overlays/WifiOverlayS88107BA1/AndroidManifest.xml new file mode 100644 index 0000000..99f2ba7 --- /dev/null +++ b/rro_overlays/WifiOverlayS88107BA1/AndroidManifest.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" +    coreApp="true" +    package="com.android.wifi.resources.overlay.S88107BA1" +    android:versionCode="1" +    android:versionName="1.0"> + +    <application android:hasCode="false" /> +    <overlay android:targetPackage="com.android.wifi.resources" +        android:targetName="WifiCustomization" +        android:requiredSystemPropertyName="ro.boot.board_id" +        android:requiredSystemPropertyValue="S88107BA1" +        android:isStatic="true" +        android:priority="0"/> +</manifest> diff --git a/rro_overlays/WifiOverlayS88107BA1/res/values/config.xml b/rro_overlays/WifiOverlayS88107BA1/res/values/config.xml new file mode 100644 index 0000000..1ead554 --- /dev/null +++ b/rro_overlays/WifiOverlayS88107BA1/res/values/config.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 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. +--> + +<!-- These resources are around just to allow their values to be customized +     for different hardware and product builds.  Do not translate. + +     NOTE: The naming convention is "config_camelCaseValue". Some legacy +     entries do not follow the convention, but all new entries should. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + +    <!-- Default access point SSID used for tethering --> +    <string name="wifi_tether_configure_ssid_default" translatable="false">POCO X4 Pro 5G</string> + +</resources> | 
