Questions tagged [ril]

Radio Interface Layer provides interface which handles communication between radio hardware and telephony services in mobile phones.

The Android Open Source Project provides a Radio Interface Layer (RIL) between Android telephony services (android.telephony) and the radio hardware. It consists of a stack of two components: a RIL Daemon and a Vendor RIL. The RIL Daemon talks to the telephony services and dispatches "solicited commands" to the Vendor RIL. The Vendor RIL is specific to a particular radio implementation, and dispatches "unsolicited commands" up to the RIL Daemon.

56 questions
1
vote
1 answer

Android 8 RIL socket is missing?

I have been researching about ril and I have noticed in Android 8 ril socket is missing. rild socket is missing in /dev/socket/. Did it move any where else ? I see a new folder called qmux_radio and inside (on Nexus 5X) srw-rw---- 1 radio radio 0…
user1546570
  • 287
  • 3
  • 13
1
vote
0 answers

AT commands with Android

I am trying to pass an authentication key to the sim card in order to return the response of sim internal algorithms related to gsm authentication but i could not find a way to do that. Is there a way to execute AT commands to a non-rooted phone in…
1
vote
2 answers

RIL_REQUEST_SETUP_DATA_CALL Params

I'm doing some work on RIL, and I am a little confused about RIL_REQUEST_SETUP_DATA_CALL and RIL_REQUEST_SET_INITIAL_ATTACH_APN requests. I know that if we change the APN setting, the request RIL_REQUEST_SET_INITIAL_ATTACH_APN will be dispatched…
WinnieZ
  • 35
  • 1
  • 5
1
vote
2 answers

android using GSMPhone to communicate with rild

I'm working on a non phone device that run Android 2.3.3. We have a custom Android version (with some additionnal driver) and my application has "system" privileges since we build our apps with the same key used to build android. I had unlocked full…
Zedday
  • 19
  • 2
1
vote
1 answer

Is it possible to read RIL logs from app continuously?

I want to check for some events that are only reported in RIL logs like when call is active, message is delivered, etc. I know the log statements that are relevant but can't figure out how to continuously access them from RIL logs and use in my app.
Imdad
  • 683
  • 1
  • 9
  • 27
1
vote
2 answers

Android RIL speech_codec_info

Im trying to modify the android source code in order to get the voice speech codec which is negotiated in each GSM call. At the beginning I dived into source files like AudioPolicyManager and some others soc files of the Linux kernel. What you get…
Chus Muñoz
  • 120
  • 8
1
vote
1 answer

Send RIL requests for Android

I would like to know, how to send requests for RIL on Android, these requests are listed in ril.h, for example, follows some macro for requests: RIL_REQUEST_GET_SIM_STATUS RIL_REQUEST_ENTER_SIM_PIN RIL_REQUEST_ENTER_SIM_PUK RIL_REQUEST_DIAL ... I…
Alex
  • 3,301
  • 4
  • 29
  • 43
1
vote
2 answers

Sending RIL command on galaxy / nexus

I wonder how can I send commands to rild - not rild-debug. I have root and the program may be in c / java. I tried radiooptions ( https://github.com/mozilla-b2g/android-hardware-ril/blob/master/rild/radiooptions.c ). but radiooptions uses rild-debug…
AK87
  • 613
  • 6
  • 24
1
vote
1 answer

Getting multiple cell ids for triangulation - c# windows mobile

I've been trying to get CellIDs for multiple cellular towers to triangulate the position of a windows mobile phone in a C# application. I am able to get the lat/long of the currently connected cell tower using David Tiger's WMLocationInfo dll from…
smichigan
  • 11
  • 2
1
vote
0 answers

AOSP RIL access of Nexus-S

My Objective : My objective is to access RIL layer of AOSP and try to access radio layer to know about Primary and Secondary PDP bearer creation by using "AT" command. Also i want to access ISIM authentication parameters of SIM card to handle…
Meraj Ansari
  • 21
  • 1
  • 3
1
vote
2 answers

How to get available network operators? (using RIL and non-API methods)

Disclaimer - I know how calling non-API methods can affect my application. It's not going to be published on Google Play, I'm creating it just for personal use. Task - get available network operators on rooted phone (Android 2.3.3). Model is…
Dmitry Zaytsev
  • 23,650
  • 14
  • 92
  • 146
1
vote
0 answers

The effect of different vendor RIL implementations of URC's on Android

I'm wondering if anyone can explain to me the following. I have two devices, an HTC Desire and a Samsung Galaxy Nexus. I have the same app running on both. The app has a foreground service listening to Cell Location and Signal Strength updates by…
black
  • 781
  • 1
  • 7
  • 22
0
votes
0 answers

OEM Hook APIs support in Android 12

We had an app which was using below two OEM Hook APIs to interact with Android telephony/RIL side in order to get vendor specific data in raw form: RIL_REQUEST_OEM_HOOK_RAW RIL_REQUEST_OEM_HOOK_STRINGS It seems that unfortunately the support of…
0
votes
2 answers

How to debug the code of the radio interface layer of Android devices?

I would like to know to debug the RIL code.I would like to know how to debug the code of the radio interface layer Layer (Ril) of Android devices. For example, if we use uiautomatorviewer.bat, we can get all the information about screen: text,…
0
votes
2 answers

Unable to get any other values other than CID and LAC using RIL WM6

Unable to get any other values other than CID and LAC using RIL WM6 using GetCellTowerInfo, any info is welcome.
rsapru
  • 688
  • 14
  • 30