Project

General

Profile

Issue #1819

radiooptions command is returning an error

Added by Thomas Kitchin almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Category:
Telephony and mobile data
Target version:
Start date:
07/04/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Galaxy S 2 (I9100)

Description

Any attempt to use the 'radiooptions' command in terminal returns an error on Replicant 6.

For instance, every so often when coming out of airplane mode my radio will not turn back on. I would normally do a 'radiooptions 0' and the problem would remedy itself. But since I can't use this command I have to actually restart my phone which is a waste of 5 minutes.

History

#1

Updated by Wolfgang Wiedmeyer almost 3 years ago

  • Category set to Telephony and mobile data
  • Assignee set to Wolfgang Wiedmeyer

radiooptions has the following help text:

Usage: radiooptions [option] [extra_socket_args]
           0 - RADIO_RESET, 
           1 - RADIO_OFF, 
           2 - UNSOL_NETWORK_STATE_CHANGE, 
           3 - QXDM_ENABLE, 
           4 - QXDM_DISABLE, 
           5 - RADIO_ON, 
           6 apn- SETUP_PDP apn, 
           7 - DEACTIVE_PDP, 
           8 number - DIAL_CALL number, 
           9 - ANSWER_CALL, 
           10 - END_CALL 
          The argument before the last one must be SIM slot 
           0 - SIM1, 
           1 - SIM2, 
           2 - SIM3, 
           3 - SIM4, 
          The last argument must be modem-socket style 
           0 - one modem for one debug-socket, 
           1 - one modem for multiple debug socket 

So if you want to send a RADIO_RESET, you will need to run radiooptions 0 0 0 as root. Does that work for you?

#2

Updated by Thomas Kitchin almost 3 years ago

Yes. The syntax is different apparently in Android 6. I saw the help output and found it unclear: the most I had tried was 'radiooptions 0 0', and met with failure. Thank you.

Now to figure out if the radio is resetting on a successful command entry and still not fixing the intermittent problem I'm having or what the hell.

Also available in: Atom PDF