Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A Android-IMSI-Catcher-Detector
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 162
    • Issues 162
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CellularPrivacy
  • Android-IMSI-Catcher-Detector
  • Issues
  • #322
Closed
Open
Issue created Feb 13, 2015 by Administrator@rootContributor

Immediate listener dump of all cell info to DBi_measure table

Created by: E3V3A

Apparently we're not using the phone state listeners to immediately populate the measurement table (new: DBi_measure and DBi_bts, old: locationinfo). Instead this seem controlled by some kind of polling mechanism, which is way to slow (25 seconds by default) to detect anything interesting.

This is very unfortunate as it means:

  1. We cannot get the latest current cells in the Database Viewer such as in the BTS Measurements and EventLog tables.
  2. We cannot use SQL to make quick detections and populate the correct colored pins on the map.
  3. We cannot use SQL to do LAC/CID detection without messing with phone receiver and polling mechanism.
  4. Make it much harder to revert detections once detected.

These are the listeners we need:

LISTEN_CALL_FORWARDING_INDICATOR        : Listen for changes to the call-forwarding indicator. 

LISTEN_CALL_STATE                       : Listen for changes to the device call state. 

        CALL_STATE_IDLE                 Device call state: No activity.
        CALL_STATE_OFFHOOK              Device call state: Off-hook. At least one call exists that is dialing, active, or on hold, and no calls are ringing or waiting. 
        CALL_STATE_RINGING              Device call state: Ringing. A new call arrived and is ringing or waiting. In the latter case, another call is already active. 

LISTEN_CELL_INFO                        : Listen for changes to observed cell info.
LISTEN_CELL_LOCATION                    : Listen for changes to the device's cell location.

LISTEN_DATA_ACTIVITY                    : Listen for changes to the direction of data traffic on the data connection (cellular). 

        DATA_ACTIVITY_DORMANT           Data connection is active, but physical link is down
        DATA_ACTIVITY_IN                Data connection activity: Currently receiving IP PPP traffic.
        DATA_ACTIVITY_INOUT             Data connection activity: Currently both sending and receiving IP PPP traffic.
        DATA_ACTIVITY_NONE              Data connection activity: No traffic.
        DATA_ACTIVITY_OUT               Data connection activity: Currently sending IP PPP traffic. 

LISTEN_DATA_CONNECTION_STATE            : Listen for changes to the data connection state (cellular).

        DATA_CONNECTED                  Data connection state: Connected. IP traffic should be available. 
        DATA_CONNECTING                 Data connection state: Currently setting up a data connection.
        DATA_DISCONNECTED               Data connection state: Disconnected. IP traffic not available. 
        DATA_SUSPENDED                  Data connection state: Suspended. The connection is up, but IP traffic is temporarily unavailable. For example, in a 2G network, 
                                        data activity may be suspended when a voice call arrives. 

LISTEN_SERVICE_STATE                    : Listen for changes to the network service state (cellular). 

        STATE_EMERGENCY_ONLY            The phone is registered and locked. Only emergency numbers are allowed.
        STATE_IN_SERVICE                Normal operation condition, the phone is registered with an operator either in home network or in roaming.
        STATE_OUT_OF_SERVICE            Phone is not registered with any operator, the phone can be currently searching a new operator to register to, or not searching 
                                        to registration at all, or registration is denied, or radio signal is not available.
        STATE_POWER_OFF                 Radio of telephony is explicitly powered off. 

        Also provide: 
        * Roaming indicator
        * Operator name, short name and numeric id
        * Network selection mode 

LISTEN_SIGNAL_STRENGTHS                 : Listen for changes to the network signal strengths (cellular). 

This issue is directly related to #284 (closed).

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Assignee
Assign to
Time tracking