How to contact android ril daemon directly

I want to contact the Rroid android daemon with my demon directly.

Could you tell me how to do this without using the telephony level.

Sincerely.

+3
source share
1 answer

First and foremost not worth it! Let the Android framework handle ril, or you can put the daemon in undefined state.

With this denial you need to look into

./frameworks/base/telephony/java/com/android/internal/telephony/gsm 
./frameworks/base/telephony/java/android/telephony/gsm

For specificity. Actual commands are passed through the rild socket, so you will also need to run as root or belong to a radio group in order to gain access.

+2
source

Source: https://habr.com/ru/post/1772984/


All Articles