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.

55 questions
42
votes
2 answers

How does Modem code talk to Android code

I would like to know high level idea of how Android Modem code will call/pass message to Android application layer. Say we take SMS for example. If network sends SMS and Modem (say Qualcomm C code parses it) how is it transmitted to Android…
David Prun
  • 7,349
  • 14
  • 56
  • 81
13
votes
2 answers

Where can I get an open source Radio driver and RIL for an android phone?

I am looking for a phone (preferably android) where I can use software to have full control over the cellular radio hardware. anyone know of such a device? preferably a popular device on the market :) My last topic on this was rather rapidly closed…
Chozabu
  • 975
  • 1
  • 8
  • 33
12
votes
2 answers

Android Radio Interface Layer (RIL) and /dev/

Does anyone know how the RIL (/hardware/reference/reference-ril/) determines what gets mounted in /dev/ when the baseband radio gets initiated? In older phones and in other documentation, GSM phones use /dev/smd0. Not all phones use /dev/smd0. I am…
bertoe
  • 141
  • 2
  • 5
11
votes
2 answers

How to Connect to rild Socket

I'm trying to write an app to talk to the rild. And Yes, I know this is not politically correct, but it's an embedded industrial telemetry app so I'm not concerned about user experience, portability and all that stuff. The problem is that when I…
DontPanic
  • 1,574
  • 4
  • 17
  • 39
5
votes
0 answers

GSM Calls with RILD in Android?

Is there way to initiate GSM call with Radio Interface Layer Daemon and it's AT Commands in Android? My real intention is encrypt voice data and send it from gsm network. Can RILD is able to send encrypted voice data over GSM?
Alican Beydemir
  • 343
  • 4
  • 13
4
votes
1 answer

Communicate with the android RIL daemon or Intercept Messages from the RIL android daemon

Is it possible to communicate with the android RIL daemon using the android NDK ? I would like to get notifications from the RIL daemon or better i would like to grab the messages which are sent to the upper Aplication Framework and modify/filter…
Marek Szanyi
  • 2,248
  • 2
  • 22
  • 27
4
votes
1 answer

difference between target SharedLib and target Symbolic and target Strip

i compiled libhuaweigeneric-ril library for android and generated three files: target SharedLib: libhuaweigeneric-ril(.../LINKED/libhuaweigeneric-ril.so) target Symbolic:libhuaweigeneric-ril (.../symbols/system/lib/libhuaweigeneric-ril.so) target…
sayyed mohsen zahraee
  • 2,872
  • 3
  • 26
  • 41
4
votes
1 answer

How to use rild command

In android and under /system/bin/ there is a rild command which should be used as following: rild -l [--] However I don't know how to use the command and how could control the baseband modem? Any…
Hex
  • 145
  • 1
  • 2
  • 12
4
votes
1 answer

Communicate with android RIL

I'm looking to get access to get low level network information on an android device that isn't available through the api. Is there a way to talk to the RIL to get more information?
nwnoga
  • 547
  • 3
  • 12
  • 22
3
votes
1 answer

How to communicated with android ril daemon directly

I want to communicate with android RIL daemon with my daemon directly. Could you tell me how to do it without using telephony layer. Best regards.
user368916
  • 163
  • 2
  • 3
  • 8
3
votes
0 answers

Android: NeighboringCellInfo.getRssi() returning weird data for UMTS cells

According to the Android developer documentation, NeighboringCellInfo.getRssi() is specified as follows: received signal strength or UNKNOWN_RSSI if unknown For GSM, it is in "asu" ranging from 0 to 31 (dBm = -113 + 2*asu) 0 means "-113 dBm or…
user149408
  • 4,098
  • 1
  • 25
  • 46
3
votes
1 answer

Get Multiple Cell IDs for location using Cellular Towers C# Windows Mobile

Following Microsoft's documentation on RIL I've been able to implement a code that retrieves Cell ID, LAC, MCC, MNC and Signal Strength. Using these data and http://www.opencellid.org/ I'm able to retrieve latitude and longitude of that cell tower.…
MrCujo
  • 934
  • 2
  • 16
  • 37
2
votes
1 answer

In android, which layer of code handles multiple RILs, e.g. 3G vs 4G

I'm trying to figure out the preferred way of handling more than one "vendor RIL" on an android device. Suppose I have two distinct radios, one 3G and one 4G, each with its own vendor RIL (assume Gingerbread release). Some questions: Would this…
Cesar Maiorino
  • 553
  • 5
  • 16
2
votes
1 answer

Selinux Denies Starting Service on Android 8

Recently I am working on Android 8 and blocked with selinux issue… I create a “ppp” service in init.rc to start pppd as below: service ppp /system/bin/pppd call gprs user root group system radio disabled oneshot But it failed when starting this…
WinnieZ
  • 35
  • 1
  • 4
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
1
2 3 4