Giter Club home page Giter Club logo

rilproxy's Introduction

Utilities for B2G RIL Connection

This repo contains a utility to forward the rild socket connection out to non radio account owned processes. It creates a socket on the device under /dev/socket/rilproxy. This socket can also be forwarded via adb, e.g.:

adb forward localfilesystem:/tmp/rilproxy localfilesystem:/dev/socket/rilproxy

The Makefile gives a few hints on the usage. In order to build and run it you need a full Android Open Source Project (AOSP) checkout and the Native Development Kit (NDK) installed. Then set the environment variables AOSP_ROOT and NDK_ROOT accordingly. You can e.g. build and run the rilproxy via:

AOSP_ROOT=/home/username/src/android/aosp NDK_ROOT=/home/username/src/android/android-ndk-r14b make

If it doesn't start up some other process (probably com.android.phone might access the /dev/socket/rild. To prevent that you can make it point somewhere else. Edit from AOSP the frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java and change the value(s) of the SOCKET_NAME_RIL constant to something else.

The doc directory contains some information that is outdated, but it still contains some valuable bits, hence it wasn't removed.

rilproxy's People

Contributors

qdot avatar vmx avatar ferjm avatar michaelwu avatar tdz avatar dhylands avatar jaoo avatar vicamo avatar rvandermeulen avatar vvuk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.