Android 8.1 : 4G option not visible under Preferred Network type List in Network Settings UI

619 views
Skip to first unread message

suha...@gmail.com

unread,
Aug 29, 2020, 1:05:32 AM8/29/20
to Android-x86

I'm building AOSP x86 image from source, i see that after flashing the built oreo image to the target system, 4G(recommended) option shown in above attached image is not visible in the Preferred network type drop down list.

I have set ro.telephony.default_network=9 in device.mk as given below. This ro.telephony.default_network=9 is also reflected under build.prop of the target system.

PRODUCT_PROPERTY_OVERRIDES :=
ro.ril.hsxpa=1
ro.ril.gprsclass=10
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
media.sf.hwaccel=1
media.sf.omx-plugin=libffmpeg_omx.so
media.sf.extractor-plugin=libffmpeg_extractor.so
rild.libpath=/vendor/lib64/librapid-ril-core.so
ro.telephony.default_network=9

I can see 4G(recommended) selected by default in Preferred network type, but if i click on Preferred network type menu and go inside i see only 3G and 2G Radio buttons. 4G(recommended) is missing in the drop down menu.

Once i select one of the 3G or 2G Radio button, there is no way i can switch back to 4G(recommended) which was selected by default by the OS.

NOTE: i'm successfully able to get 4G download speeds when 4G(recommended) selected by default in Preferred network type. Changing to 3G and 2G will successfully get respective speeds and able to see corresponding network type indicator icon in status bar. So functionally Internet data connectivity is working fine in all 3 modes (4G , 3G and 2G).

Kindly help me in modifying source files to make the 4G(recommended) radio button visible under Preferred network type as indicated in attached image link

Also want to mention i'm not able to enter engineering mode by dialing *#*#4636#*#* (any answers to enable this also grateful)

network-3.png

Julian Nischler

unread,
Aug 29, 2020, 9:35:38 AM8/29/20
to Android-x86

Hey suha,

 

maybe I got something wrong, but I believe android-x86 is sill lacking cellular support.

So, I am quite confused seeing your screenshot ... did you integrate cellular support?

 

Thanks, and best regards

Julian

Guillaume Stols

unread,
Aug 29, 2020, 9:45:12 AM8/29/20
to andro...@googlegroups.com

Cellular support is there but it is poor, for instance "Telecom Service" seems not to be here, and of course you must add the drivers form your modem's manufacturer.

For your 4g choice, you must set config_enabled_lte to true (<bool name="config_enabled_lte" translatable="false">true</bool>) in packages/services/Telephony/res/values/config.xml.

See for instance

https://android.googlesource.com/platform/packages/services/Telephony/+/bf321b9/res/values/config.xml

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/5776a048-d752-4b39-bc1e-c429e30f31cbn%40googlegroups.com.

suha...@gmail.com

unread,
Aug 31, 2020, 7:54:31 AM8/31/20
to Android-x86
Thanks :) This did the trick

Detailed Document is also available in :

suha...@gmail.com

unread,
Aug 31, 2020, 7:56:33 AM8/31/20
to Android-x86

Consequently, Can you guys tell why *#*#4636#*#* dial code is not working?  Is there a similar config change to enable this Network Engineering settings menu.??
Reply all
Reply to author
Forward
Message has been deleted
0 new messages