SecUpwN/Android-IMSI-Catcher-Detector — pull request #78 by xLaMbChOpSx (2014-06-18 09:02:10+00:00)
Title: Silent Sms Update

Reverted commits that changed Silent Sms to Flash Sms as these commits will hopefully enable detection of true TYPE 0 Sms messages.

Sms Broadcast receiver modified to look for true TYPE 0 Stealth Sms messages,
processing is now done within the PDU checking the first byte value of each received
message. If the first byte == 0x40 then as per 3GPP TS 23.040 9.2.3.9 a TYPE 0 message
has just been intercepted.

Unable to test this function as I have no ability to issue a true TYPE 0 Sms but I
believe other contributes are able to test this fully.

Added additional check for Message type indicator & the TP-PID value so if mti == 0
or TP-PID == 0x40 then we have a Silent TYPE 0 Sms.

Additional check added as framework seems to use both in different places.

Updated the service to disable the notification alert once the application becomes
visible to address the issue of the alert persisting.

Apk for testing is available here: http://d-h.st/2JP