hi,
We are successfully ported the RIL in KITKAT 4.4.3 where are we are facing the problem in Oreo RIL porting.
We have received the latest RIL libraries from the vendor and ported in the same way as mentioned in there porting guide.
but we are unable to find the network settings and the SIM related setting in the GUI. We have attached the
"$logcat -b radio" log file to this. We are able to that modem is talking the RIL as AT commands are executing and we are getting the response from the modem.
Is there any modifications we have to do on the BSP to get the network related options in the GUI.
If it is true then tell us the modifications to get the network related settings in the IMX6SL Oreo.
Thanks in advance.
Regards,
A.Chandrasekhar
Hi All,
I have done the same experiment on imx6dl and Android Oreo 8.0. basically they have done it WiFi Only device in BSP which has to be changed to mobile_network enabled device. following files has to be changed.
1. device/fsl/imx6/imx6.mk
- ro.radio.noril=yes
+ ro.radio.noril=false --> make it false.
2. sabresd_6dq/overlay/frameworks/base/core/res/res/values/config.xml --> used to Override the superset config.xml present in Android Frameworks, so comment out few lines from this file.
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tething over USB this should
- be empty. An example would be "usb.*" -->
+ be empty. An example would be "usb.*"
<string-array translatable="false" name="config_tether_usb_regexs">
<item>usb0</item>
- </string-array>
+ </string-array> -->
<!-- List of regexpressions describing the interface (if any) that represent tetherable
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
- should be empty. An example would be "softap.*" -->
+ should be empty. An example would be "softap.*"
<string-array translatable="false" name="config_tether_wifi_regexs">
<item>"wlan0"</item>
- </string-array>
+ </string-array> -->
<!-- List of regexpressions describing the interface (if any) that represent tetherable
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
- should be empty. -->
+ should be empty.
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bt-pan"</item>
- </string-array>
+ </string-array> -->
<!-- Flag indicating whether we should enable the automatic brightness in Settings.
config_hardware_automatic_brightness_available is not set, so we will use software implementation -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- An Array of "[ConnectivityManager connectionType],
- [# simultaneous connection types]" -->
+ [# simultaneous connection types]"
<string-array translatable="false" name="radioAttributes">
<item>"1,1"</item>
<item>"7,1"</item>
<item>"9,1"</item>
- </string-array>
+ </string-array> -->
<!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
[associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
<!-- the 5th element "resore-time" indicates the number of milliseconds to delay
before automatically restore the default connection. Set -1 if the connection
does not require auto-restore. -->
- <!-- the 6th element indicates boot-time dependency-met value. -->
+ <!-- the 6th element indicates boot-time dependency-met value.
<string-array translatable="false" name="networkAttributes">
<item>"wifi,1,1,1,-1,true"</item>
<item>"bluetooth,7,7,2,-1,true"</item>
<item>"ethernet,9,9,2,-1,true"</item>
- </string-array>
+ </string-array> -->
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 zones as follows:
@@ -171,8 +171,8 @@
<integer name="config_undockedHdmiRotation">0</integer>
- <!-- This device is not "voice capable"; it's data-only. -->
- <bool name="config_voice_capable">false</bool>
+ <!-- This device is not "voice capable"; it's data-only.
+ <bool name="config_voice_capable">false</bool> -->
This changes keeps the default Android frameworks settings as it is which enables the mobile_network support.
Hello,
I suggest you follow the below links. Probably the information could help you.
Cellular modems on i.MX6 boards under Ubuntu - Boundary Devices
https://www.u-blox.com/sites/default/files/AndroidRIL-SourceCode_AppNote_(UBX-13002041).pdf
How to integrate GSM/2G Modem in Android – To establish data Connection | System on Module Blog
Hope it can help you.
Best regards,
Diego