Skip to content

Commit 9e0d801

Browse files
committed
Merge pull request #593 from SecUpwN/development
Unchaining WIP-Release v0.1.33-alpha-build-00
2 parents 1108dad + 7b901a1 commit 9e0d801

File tree

67 files changed

+6553
-2860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+6553
-2860
lines changed

.gitignore

+11-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# built application files
1+
# Built application files
22
*.apk
33
*.ap_
44

5-
# files for the dex VM
5+
# Files for the Dalvik VM
66
*.dex
77

88
# Java class files
99
*.class
1010

11-
# built native files
11+
# Built native files
1212
*.o
1313

14-
# generated files
14+
# Generated files
1515
bin/
1616
gen/
1717

18-
# Ignore gradle files
18+
# Gradle files
1919
.gradle/
2020
build/
2121

@@ -25,12 +25,12 @@ local.properties
2525
# Proguard folder generated by Eclipse
2626
proguard/
2727

28+
# Log Files
29+
*.log
30+
2831
# Eclipse Metadata
2932
.metadata/
3033

31-
# Mac OS X clutter
32-
*.DS_Store
33-
3434
# Intellij IDEA (see https://intellij-support.jetbrains.com/entries/23393067)
3535
.idea/workspace.xml
3636
.idea/tasks.xml
@@ -44,10 +44,11 @@ proguard/
4444
.directory
4545
ehthumbs.db
4646
Thumbs.db
47+
*.DS_Store
4748

4849
# Android Studio
4950
.idea
50-
#.idea/workspace.xml - uncomment this and comment/delete .idea if it better suit your needs
51+
#.idea/workspace.xml - uncomment this and comment/delete .idea if it better suits your needs
5152
.gradle
5253
/*/local.properties
5354
/*/out
@@ -63,3 +64,4 @@ gradle.properties
6364
signing.properties
6465
import-summary.txt
6566
manifest-merger*.txt
67+
.navigation/

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,3 @@ addons:
7777
build_command_prepend: "./gradlew clean"
7878
build_command: "./gradlew build"
7979
branch_pattern: master
80-
build_script_url: https://spideroak.com/share/IFEU2U2JINCA/GitHub/home/SecUpwN/SpiderOak/MISC/external/travisci_build_coverity_scan.sh

CHANGELOG.md

+180
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,186 @@
11
# CHANGELOG of 'AIMSICD'
22
----------------------
33

4+
#### [02.08.2015 - WIP-Release v0.1.33-alpha-build-00](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/releases/tag/v0.1.33-alpha-b00)
5+
6+
* Updated: Minor formatting of `dbe_import_items.xml` and `detection_sms_db_listview.xml`
7+
* Updated: Improved `.gitignore` to ignore Android Studio Navigation editor temp files
8+
* Updated: Improved Japanese and German translations, comments for `Helpers.java`
9+
* Updated: Refactored string for Type-0 SMS in `aimsicd.db` to improve its detection
10+
* Added: Implemented `rej_cause` into `DBe_import` and updated existing comments
11+
* Added: ProgressBar and updated SQL for `DBcheck()` in `AIMSICDDbAdapter.java`
12+
* Fixed: Made ProgressBar in `AIMSICDDbAdapter.java` and logs work again
13+
14+
---
15+
16+
#### 01.08.2015 - WIP-Internal v0.1.32-alpha-build-21
17+
18+
* Reverted: Removed code for rechecking cell after OCID download after failed tests
19+
* Updated: Refreshed Inflater data and comments in `DbViewerFragment.java`
20+
* Fixed: Re-implemented possibility to delete and reset the internal database
21+
* Fixed: Corrected typos in language source file `translatable_strings.xml`
22+
* Fixed: Improved comments and `cleanseCellTable` in `CellTracker.java`
23+
* Fixed: Corrected many layout Issues of XML for `DbViewerFragment.java`
24+
25+
---
26+
27+
#### 31.07.2015 - WIP-Internal v0.1.32-alpha-build-20
28+
29+
* Updated: Improved formatting of `AIMSICD.java`, `AIMSICDDbAdapter.java` and `Cell.java`
30+
* Updated: Cleanup of `CellTracker.java`, consider removing old FemtoCell detection code
31+
* Added: Implemented code for rechecking cell after OCID download (needs intensive testing)
32+
33+
---
34+
35+
#### 31.07.2015 - WIP-Internal v0.1.32-alpha-build-19
36+
37+
* Removed: Purged `CID -1` from EventLog, updated comments in `AIMSICDDbAdapter.java`
38+
* Added: New restart of `AIMSICDDbAdapter` after deleting the internal database
39+
* Fixed: Ordered navigation drawer and removed unused imports and attributes
40+
41+
---
42+
43+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-18
44+
45+
* Added: Vibration on no nc_list detection as well as many comments and formatting
46+
47+
---
48+
49+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-17
50+
51+
* Added: New `insertEventLog` query to prevent duplicates in the EvenLog table
52+
53+
---
54+
55+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-16
56+
57+
* Updated: Refreshed comments and fixed a few minor typos in several source files
58+
59+
---
60+
61+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-15
62+
63+
* Changed: Placed `DF_id` and `DF_desc` on separate lines for easier log reading
64+
* Fixed: Refreshed EventLog DBE and formatting to use standard TableLayout
65+
* Fixed: Reformatted `DBTableColumnIds.java` and `DbViewerFragment.java`
66+
67+
---
68+
69+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-14
70+
71+
* Fixed: Corrected several DBV Issues, removed old unused and commented out code
72+
73+
---
74+
75+
#### 30.07.2015 - WIP-Internal v0.1.32-alpha-build-13
76+
77+
* Removed: Purged ProgressBar calls when not visible (e.g. reading/writing CSVs)
78+
* Fixed: Ordered navigation drawer and removed unused imports and attributes
79+
* Fixed: Corrected defaultlocations layout and fixed BTS Measurements in DBV
80+
* Fixed: Corrected typo of `T3212` incorrectly labeled as `T3213`
81+
82+
---
83+
84+
#### 29.07.2015 - WIP-Internal v0.1.32-alpha-build-12
85+
86+
* Changed: 2nd attempt to fix FC in DBV by commenting out `bb_power` in all files
87+
* Updated: Notes and comments in `AIMSICDDbAdapter.java` have been renewed
88+
* Added: Clarified difference between CellId and CID in `AIMSICDDbAdapter.java`
89+
* Fixed: Corrected build error in `BtsMeasureCardInflater.java`
90+
* Fixed: Corrected Log exceptions to use `.toString()`
91+
92+
---
93+
94+
#### 27.07.2015 - WIP-Internal v0.1.32-alpha-build-11
95+
96+
* Fixed: Corrected BTS Measurements and defaultlocations DBV layout
97+
98+
---
99+
100+
#### 27.07.2015 - WIP-Internal v0.1.32-alpha-build-10
101+
102+
* Changed: Failed attempt to add "item" number to table layout
103+
* Updated: Comments added, updated and removed in several files
104+
* Fixed: Now showing `Unique BTS Data` items as intended in DBV
105+
* Fixed: Corrected typo of `T3212` incorrectly labeled as `T3213`
106+
107+
---
108+
109+
#### 26.07.2015 - WIP-Internal v0.1.32-alpha-build-09
110+
111+
* Updated: Improved Japanese and Czech language translations (needs contributors)
112+
* Fixed: OCID download now respects the filter for `MCC`, `MNC` and `LAC` again
113+
* Fixed: Corrected spelling error to the correct display `DOWNLOAD_LOCAL_BTS_DATA`
114+
115+
---
116+
117+
#### 23.07.2015 - WIP-Internal v0.1.32-alpha-build-08
118+
119+
* Updated: Improved German language translations
120+
* Added: New `DeviceApi18.java` to counteract wrong API for WCDMA cell info
121+
* Fixed: API build versions issues for network related items has been resolved
122+
* Fixed: Layout problems with new DBV xml style sheet have been resolved
123+
124+
---
125+
126+
#### 21.07.2015 - WIP-Internal v0.1.32-alpha-build-07
127+
128+
* Removed: Purged outdated `OCIDResponse.java` since no longer needed
129+
* Changed: Attempt to reduze the font size in the DB viewer for the `DBe_import`
130+
* Changed: Restructured `dbe_import_items.xml` for easier readbility to our users
131+
* Changed: New color scheme within `dbe_import_items.xml` for cleaner overview
132+
* Changed: Reversed logic code for `isExact`, changable on where data is imported
133+
* Updated: Comments in `DBTableColumnIds.java` and `SignalStrengthTracker.java`
134+
* Updated: TAGs and comments in `SmsDetector.java` are now reflecting current state
135+
* Updated: Cleaned `DbeImportCardInflater.java` and `detection_sms_db_listview.xml`
136+
* Updated: Improvement to SMS detection of WAP Push SMS messages with a new string
137+
* Updated: TAGs in `AIMSICDDbAdapter.java` and formatting of `DbViewerFragment.java`
138+
* Added: New server response codes in OpenCellIdActivity.java, removed old comments
139+
* Added: New EventLog for changing `LAC` in GSM case (only had it in CDMA until now)
140+
* Added: Minor comments in `DbViewerFragment.java` to clarify even more table data
141+
* Added: More notes and TAGs to work on for `AimsicdService.java` and `Cell.java`
142+
* Fixed: Downgrade of `targetSdkVersion` to `19` fixing whitish Icons on Android 5+
143+
* Fixed: Repaired `CellTracker` polling neighbouring cells on unsupported phones
144+
* Fixed: Repaired switched `LAC`/`CID` vs data labels of DBV in `DBe_import` table
145+
* Fixed: Better comments, spellings and formatting in `AIMSICDDbAdapter.java`
146+
147+
#### 17.07.2015 - WIP-Internal v0.1.32-alpha-build-06
148+
149+
* Moved: `requestNewOCIDKey()` from `Celltracker` to `OpenCellIdActivity`
150+
* Fixed: Repaired OCID crash when getting key, better DBV layout for `DBe_ipmort`
151+
152+
---
153+
154+
#### 17.07.2015 - WIP-Internal v0.1.32-alpha-build-04
155+
156+
* Updated: Minor changes to correct value for `avg_range` in `AIMSICDDbAdapter.java`
157+
* Updated: from `DBE_UPLOAD_REQUEST` to `RESTORE_DATABASE` in `RequestTask.java`
158+
* Added: New string for database restoration popup added in `RequestTask.java`
159+
* Fixed: `CellTracker` and `RequestTask` are now works along with our new database
160+
* Fixed: Comments in `CellTracker` have been answered to clarify current functionality
161+
162+
---
163+
164+
#### 16.07.2015 - WIP-Internal v0.1.32-alpha-build-03
165+
166+
* Updated: Shuffling, commenting and formatting of `AIMSICDDbAdapter.java`
167+
168+
---
169+
170+
#### 14.07.2015 - WIP-Internal v0.1.32-alpha-build-02
171+
172+
* Fixed: AIMSICD does not crash anymore when downloading OpenCellID data
173+
174+
---
175+
176+
#### 14.07.2015 - WIP-Internal v0.1.32-alpha-build-01
177+
178+
* Changed: **[MAJOR DATABASE OVERHAUL](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/215)** - huge THANKS flies out to [banjaxbanjo](https://github.com/banjaxbanjo)!
179+
* Changed: Our new database is now pre-compiled, faster, better and uses correct tables
180+
* Updated: Improved French and Polish, minor string changes for Database Viewer labels
181+
182+
---
183+
4184
#### [12.07.2015 - WIP-Release v0.1.32-alpha-build-00](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/releases/tag/v0.1.32-alpha-b00)
5185

6186
* Updated: Enhanced `AIMSICD.java` for another attempt to fix AIMSICD not closing

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ android {
4343

4444
defaultConfig {
4545
minSdkVersion 16
46-
targetSdkVersion 21
46+
targetSdkVersion 19 // Do not change: Working Icons on Android 5+
4747
versionCode = getManifestVersionCode()
4848
versionName = getManifestVersionName()
4949
testApplicationId "com.SecUpwN.AIMSICD.test"
@@ -149,4 +149,4 @@ dependencies {
149149
compile 'com.google.code.gson:gson:2.2.4'
150150
//debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3.1'
151151
//releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3.1'
152-
}
152+
}

app/src/androidTest/java/com/SecUpwN/AIMSICD/test/Detection1.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ public class Detection1 extends AndroidTestCase {
2121
protected void setUp() throws Exception {
2222
super.setUp();
2323
dbHelper = new AIMSICDDbAdapter(getContext());
24-
dbHelper.open();
24+
2525
}
2626

2727
@Override
2828
protected void tearDown() throws Exception {
29-
dbHelper.close();
29+
3030
super.tearDown();
3131
}
3232

3333
public void testChangingLAC() {
3434
// First delete any records for test cell
3535
dbHelper.deleteCell(CELL_ID);
36-
36+
/*
3737
// add a test cell into the db
3838
Cell cell = new Cell();
3939
cell.setCID(CELL_ID);
@@ -50,6 +50,7 @@ public void testChangingLAC() {
5050
cell.setCID(CELL_ID);
5151
cell.setLAC(234);
5252
assertFalse(dbHelper.checkLAC(cell));
53+
*/
5354
}
5455

5556
}

app/src/main/AndroidManifest.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.SecUpwN.AIMSICD"
4-
android:versionCode="32"
5-
android:versionName="0.1.32-alpha-b00">
4+
android:versionCode="33"
5+
android:versionName="0.1.33-alpha-b00">
66

77
<!-- If we ever wanna make this a system app, we can add the following 2 lines above:
88
coreApp="true"
@@ -204,4 +204,4 @@
204204
</activity>
205205
</application>
206206

207-
</manifest>
207+
</manifest>

app/src/main/assets/aimsicd.db

53 KB
Binary file not shown.

app/src/main/assets/det_strings.json

-18
This file was deleted.

0 commit comments

Comments
 (0)