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
2
votes
1 answer

Android RIL socket and phone calls encryption?

Now I'm testing something in Android phone calls encryption. I have Hook some method in RIL.java by using Xposed framework if ( lpparam.packageName.contains("com.android.phone")){ XposedBridge.log("damowang Loaded app: " +…
Keith.L
  • 21
  • 4
2
votes
1 answer

Connecting external GSM modem with android emulator?

Is it possible to connect the external GSM modem to the android emulator, so that the real RIL function can be observed?
Waseem
  • 291
  • 1
  • 6
  • 20
2
votes
1 answer

Send raw RIL request

I would like to know if someone has some example of how I can send RIL request for android using the RIL constants like RIL_REQUEST_GET_SIM_STATUS RIL_REQUEST_DIAL RIL_REQUEST_SEND_SMS and how to get the results from request using Android java…
Alex
  • 3,301
  • 4
  • 29
  • 43
2
votes
4 answers

Should I use Mutex OR Critical Section for Windows Mobile RIL

I am using Radio Layer Interface (RIL) Native APIs in Windows Mobile application. In this API, the return values / results of most functions are not returned immediately but are passed through a callback function which is passed to the RIL API. Some…
Afriza N. Arief
  • 7,696
  • 5
  • 47
  • 74
2
votes
2 answers

Intercept commands on SIM STK Menu

I need to intercept which command is sent when the user selects one option in STK menu of the SIM card. I've searched a lot and i saw that there is the RIL protocol, but i have no success yet. In my case, i need to know the command to simulate the…
Leonardo
  • 228
  • 3
  • 10
2
votes
2 answers

what is ril and how can it help me to read low level info.?

I'm beginner in android and I want to read low level info. like RSCP, CQI, RAC and BCCH. Some people said That use the internal of the API can help me doing that. I tried to learn about RIL but it was difficult to me because there is no full answer…
Mohammad Alshaar
  • 523
  • 4
  • 21
2
votes
1 answer

Calling RILD layer functions for implement call conferencing in android

I want to implement Call conferencing in android, for this I am trying to call RILD functions from my android code, but not able to get the way of how to call RILD functions. I know how to call c and c++ functions from android using NDK, I also got…
mark
  • 503
  • 5
  • 27
2
votes
0 answers

Android vs Linux power consumption

I'm currently trying to compare the overhead of running Android over bare linux on the Nexus S. Towards this, I've built a TINY_ANDROID image that I'm using to compare against stock AOSP (4.1.1_r4). I noticed a discrepancy in the power consumption…
Guru Prasad
  • 4,053
  • 2
  • 25
  • 43
2
votes
0 answers

how can i transplant the Android layer of RIL code to Linux platform?

I have already complied the layer of RIL code successfully on linux platform and it has run already. The RIL just like the server, it Communicates with client through socket. Now i have written a client. The client can binded the server…
jackieqian
  • 21
  • 2
2
votes
1 answer

RIL logs regarding signal strength

When i run the android emulator i get this as radio logs for signal strength: D/RIL ( 32): onRequest: SIGNAL_STRENGTH D/AT ( 32): AT> AT+CSQ D/AT ( 32): AT< +CSQ: 7,99 D/AT ( 32): AT< OK E/RILC ( 32): invalid…
kriswiz
  • 141
  • 1
  • 13
2
votes
1 answer

Which class does this RIL SIMPBD refers in the "I/RIL SIMPBD( 1409): [1409] debug, main: entered"

I/RIL SIMPBD( 1409): [1409] debug, main: entered I/RIL SIMPBD( 1409): [1409] info, await_modem_powered_on: Wait to be triggered... I/RIL SIMPBD( 1409): [1409] info, await_modem_powered_on: SIM_PHONEBOOK Normal startup... I/RIL SIMPBD( 1409): [1409]…
Nihar
  • 553
  • 1
  • 10
  • 29
2
votes
1 answer

Has anybody tested android telephony with mock-ril included in hardware/ril?

The codes of mock-ril were released with android codes. It could run, but only provide with basic function, like sim card state and signal. I don't know if google tests telephony with this code. I also searched for mock-ril in google, but found no…
1
vote
1 answer

Audio feedback using RIL Audio on SmartPhone

We're working on a SIP softphone and we get audio feedback when we call from one phone to the other. However, when we call from a normal SIP Phone (software or hardware) to our app, then it all works fine - it's only when calling from one phone…
DoKi
1
vote
1 answer

How to integrate pre-compiled binaries into AOSP Android build?

I have to modify my AOSP build so that it includes the following pre-compiled (arm64) binaries and library. /system/bin/chat /system/etc/ppp/ip-up /system/etc/ppp/ip-down /vendor/lib/libreference-ril.so Where can I put these files in AOSP so that…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
1
vote
0 answers

Missing RILJ log lines for matching android call state

There is sometimes an error occurring when monitoring call state of my android phones (Samsung Galaxy S6-8; os: Android 6-8) using RILJ output in adb logcat and I have no idea where this might come from. What I am doing: Read adb logcat oputput via…
Helmutchecker
  • 53
  • 1
  • 5