4G LTE Module resets when APN is selected

VIM3 - Android 32bit 230329 or 64bit 230130 or 64bit 230408

Official Quectel EM06 4G LTE is used.

If “Access Point Names” is selected in the “Mobile Network” settings the settings disappear and the LTE module seems to reset.

It is also very slow to register on the network after power on.

@Tron71

Sorry, we don’t have the APN function on our VIM3, because we use the SDK of the TV section, and the APN function is not supported on TvSetting

I have not installed the Android TV version.

You will see that the option to configure the Access Point Name (APN) is available but when selected it with cause a reset of the LTE module and exit settings (crash).

It is important to be able to adjust the APN for multiple reasons. If it can’t be adjusted the LTE module is useless in a lot of installations.

Is a solution to the APN configuration issue being developed?

Sorry for replying to you so late. Recently we thought about how to use the APN function on VIM3.

Because APN is an exclusive function of mobile phones and our TV settings do not support it, I have tried to compile the Android native Settings into the VIM3 system in the past two days and retain the TvSettings settings. I found that the APN function can jump to the native setting normally. Settings’ com.android.settings/.Settings$ApnSettingsActivity service, so this method is feasible. I will post the places that need to be modified below.

Just add Settings under the device/khadas path and compile it.

diff --git a/common/products/mbox/product_mbox.mk b/common/products/mbox/product_mbox.mk
index 1e930fe..3b5e63b 100755
--- a/common/products/mbox/product_mbox.mk
+++ b/common/products/mbox/product_mbox.mk
@@ -111,6 +111,7 @@ endif
 
 #Tvsettings
 PRODUCT_PACKAGES += \
+    Settings \
     TvSettings \
     DroidTvSettings \
     SchPwrOnOff \

When there are two settings in the system, a selection box will pop up at startup to let you choose one as the main setting. If you don’t want to see this selection box, follow the modifications below to remove LAUNCHER and FallbackHome.
Under the device/khadas path

diff --git a/kvim3/overlay/packages/apps/Settings/AndroidManifest.xml b/kvim3/overlay/packages/apps/Settings/AndroidManifest.xml
index aca050a..a620916 100644
--- a/kvim3/overlay/packages/apps/Settings/AndroidManifest.xml
+++ b/kvim3/overlay/packages/apps/Settings/AndroidManifest.xml
@@ -119,7 +119,6 @@
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.DEFAULT" />
-                <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
         </activity-alias>
@@ -2404,18 +2403,6 @@
             </intent-filter>
         </activity>
 
-        <!-- Triggered when user-selected home app isn't encryption aware -->
-        <activity android:name=".FallbackHome"
-                  android:excludeFromRecents="true"
-                  android:screenOrientation="nosensor"
-                  android:theme="@style/FallbackHome">
-            <intent-filter android:priority="-1000">
-                <action android:name="android.intent.action.MAIN" />
-                <!-- <category android:name="android.intent.category.HOME" /> -->
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-        </activity>
-
         <activity android:name=".CryptKeeper$FadeToBlack"
             android:immersive="true"
             android:launchMode="singleTop"
diff --git a/kvim3l/overlay/packages/apps/Settings/AndroidManifest.xml b/kvim3l/overlay/packages/apps/Settings/AndroidManifest.xml
index aca050a..a620916 100644
--- a/kvim3l/overlay/packages/apps/Settings/AndroidManifest.xml
+++ b/kvim3l/overlay/packages/apps/Settings/AndroidManifest.xml
@@ -119,7 +119,6 @@
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.DEFAULT" />
-                <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
         </activity-alias>
@@ -2404,18 +2403,6 @@
             </intent-filter>
         </activity>
 
-        <!-- Triggered when user-selected home app isn't encryption aware -->
-        <activity android:name=".FallbackHome"
-                  android:excludeFromRecents="true"
-                  android:screenOrientation="nosensor"
-                  android:theme="@style/FallbackHome">
-            <intent-filter android:priority="-1000">
-                <action android:name="android.intent.action.MAIN" />
-                <!-- <category android:name="android.intent.category.HOME" /> -->
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-        </activity>
-
         <activity android:name=".CryptKeeper$FadeToBlack"
             android:immersive="true"
             android:launchMode="singleTop"

Under the packages/apps/Settings path

diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 27132165b9..6e5e526fff 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -132,7 +132,6 @@
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.DEFAULT" />
-                <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts"/>
         </activity-alias>
@@ -2346,19 +2345,6 @@
             </intent-filter>
         </activity>
 
-        <!-- Triggered when user-selected home app isn't encryption aware -->
-        <activity android:name=".FallbackHome"
-                  android:excludeFromRecents="true"
-                  android:label=""
-                  android:screenOrientation="nosensor"
-                  android:theme="@style/FallbackHome">
-            <intent-filter android:priority="-1000">
-                <action android:name="android.intent.action.MAIN" />
-                <category android:name="android.intent.category.HOME" />
-                <category android:name="android.intent.category.DEFAULT" />
-            </intent-filter>
-        </activity>
-
         <activity android:name=".CryptKeeper$FadeToBlack"
             android:immersive="true"
             android:launchMode="singleTop"