Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scintill committed Feb 7, 2015
1 parent 069d7fb commit cf7859f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -25,3 +25,13 @@ Android 5.0 appears to have introduced a public [iccExchangeSimIO\(\)](https://d
## Privacy

There are several places where potentially sensitive information (your phone number, your [TMSI](https://en.wikipedia.org/wiki/Mobility_management#TMSI), your [LAI](https://en.wikipedia.org/wiki/Location_area_identity)) is sent to `logcat`. Beware, other apps or users could view this log and learn these data about your phone/SIM card.

## Building

Something is wrong with the build process. To reliably build the RilExtender (injected service), you have to build twice. The first build doesn't properly package the secondary dex file in to the app.

## Logs

Example logcat command to filter to output from this app (also shown on the app's screen):

adb logcat -s SIMFileReader,RilExtender,RilExtenderCommandsInterface,AtCommandInterface,CommandsInterfaceFactory,TelephonySeekServiceCommandsInterface,SIMRecords,Parcel,librilinject,CMDProcessor,lib__hijack.bin__.so,System.err,su
Expand Up @@ -50,6 +50,9 @@ public abstract class AtCommandTerminal {
public static AtCommandTerminal factory() throws UnsupportedOperationException {
AtCommandTerminal term = null;

// QCom: /dev/smd7, possibly other SMD devices. On 2 devices I've checked,
// smd7 is owned by bluetooth:bluetooth, so that could be something to sniff for if
// it's not always smd7.
File smdFile = new File("/dev/smd7");
if (smdFile.exists()) {
try {
Expand Down

0 comments on commit cf7859f

Please sign in to comment.