Closed DJaeger closed 9 years ago
The app crashs directly after starting.
Strange. Cannot confirm this. Security advice: You should remove/obfuscate CID/LAC in your logcat.
I have installed the most current build. Also after a reinstallation it doesn't work.
Which version did you use before trying to install the new one? Tried to remove any old leftovers?
That issue occurred also with some builds before. I could solve it now by deleting lacells table
I could solfe it now by deleting lacells table
You mean the one introduced with #467 by @wvengen? Maybe you can fix it instead of removing it? :)
I simply deleted the files from .nogapps directory. At first I wanted to get the app to work, to look into #403.
It could be something similar to https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/483
Whoops - sorry to have introduced a bug! What might be happening is this: on first opening, an index on geo-coordinates is created in lacells.db (so that finding close cellids will be faster during normal use). Apparently this takes more time that Android likes, and AIMSCD is killed. Clearly, adding the index on opening like this is not an ideal solution.
What might be happening is this: on first opening, an index on geo-coordinates is created
No it's not created. Even database or table might not exist at all. Database isn't created due to 4 errors I reported earlier this week.
Is this still an issue? BTW. We generally don't support Roms (like CM)...
We generally don't support Roms (like CM)...
I know. But I fully respect the people who do, I'm only using custom ROMs as well.
I have not tried again. We don't support spying free ROMs for an anti-spying app? Will try it some time later and will give feedback.
Will try it some time later and will give feedback.
Thanks, let me know here ASAP. I'll skip today's release if not fixed. No worries.
I had the same problem as DJaeger (and CM11 too, on Galaxy Nexus). The app would very shortly after startup, after upgrading from v0.1.28/29 to v0.1.30.
Deinstalling the app, deleting the .no-gapps folder then reinstalling the app (v0.1.30) solved the problem. :-) (Deleting .no-gapps might have been enough though)
Wanna make a PR for detecting .no-gapps
folder on ROM based devices?
What's PR ? Public Relations ?
pull request
please where are those .no-gapps files ? I can't even access the debug item in the menu.
please where are those .no-gapps files ? I can't even access the debug item in the menu.
Try:
su
busybox find / -iname "*gapps*"
busybox find / -iname "*AIMSICD*"
Then uninstall and use a rooted file browser to remove anything AIMSICD related.
On my Galaxy Nexus (maguro), I found the .nogapps folder in /sdcard/ (or /storage/sdcard0, or /storage/emulated/legacy of which they are aliases/links), but E3V3A's answer is more generic.
@agilob : What's a pull request, then ?
No luck , there is may be something else. ..
Nothing in mine ...
What's a pull request, then?
@breversa, please use the search function and find pull requests.
@SecUpwN : Thanks ! I did not realise it refered to something GitHub-specific !
@lop1: Do you have created a database from GSM Location Service for UnifiedNlp? In other cases you will not have this directory.
??
@E3V3A: Please ask a question, not only "??".
I can now confirm that app crashes on first startup...
?? = I don't understand the question?
@E3V3A: @lop1 said he/she can't find the .nogapps directory, beauce of that I asked if he/she have done the task, that creates it.
Currently I only see the error from #325.
Edited: Moved logcat to #325.
I have loaded the last build from bulldozer, it start OK now. the version seems to still be 0.1.30 alpha b08. AND #505 seems fixed, the icon is kept green and I can download theOpenCells for my region. thumb up !
@DJaeger oups, I have not created a database from GSM Location Service for UnifiedNlp ( I don't know what it is )
the version seems to still be 0.1.30 alpha b08.
@lop1, it will only change when our developers change it manually. See the Buildozer Build
below it. @DJaeger, word of honor: THANK YOU for working your ass off with us. You're an awesome dude! :+1:
Thanks, I am not familiar with this environment.
@E3V3A: How should detecting of .nogapps directory help? The issue only occures if we want to use it,, which is only the case if it is available. The HOW we use it is wrong!
@lop1: UnifiedNlp is a Middleware for Google-free location services like OpenCellID and Mozilla Location Services. You can install which backend service you want to use, for example the before mentioned. GSM Location Services is also a backend for it, which works completly offline, without requesting a online service in livetime like most of the others. This is done by manually downloading data of OCID and MLS and merging them in a local database (lacells.db) which is located in ".nogapps" in extStorage (something like /storage/emulated/0/.nogapps/ ). As this database include CellIDs we use it, if available, to check the current CellID. To read more or install it search for "UnifiedNlp" in F-Droid.
@Lop1 & SecUpwN: The build number is now increased.
@SecUpwN It seem all this started around #467 and related PRs. Can we carefully or manually ( @DJaeger ) revert it?
Can we carefully or manually revert it?
I have just contacted @wvengen as told in https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/pull/467#issuecomment-118305481. Please allow some time. If he does not respond within a reasonable time frame I will revert his PR by myself. Thank you for your patience.
@E3V3A: I have done to much fixes sine then to revert it now
The error occures on L1430 of AIMSICDDbAdapter:
ladb.execSQL(LACELLS_TABLE_CREATE);
where
String LACELLS_TABLE_CREATE = "CREATE TABLE " +
LACELLS_TABLE + " (" + COLUMN_ID +
" INTEGER PRIMARY KEY AUTOINCREMENT, " +
"Lac INTEGER, CellID INTEGER, " +
"Net VARCHAR, " +
"Lat VARCHAR, " +
"Lng VARCHAR, " +
"Signal INTEGER, " +
"Connection VARCHAR, " +
"Timestamp TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP);";
is executed.
The problem here seems be that we want to create the table "cells" which is already existing by default.
@wvengen: Could you please explain me why you want to create this table, as this is the core table, which is created on creation of the database. I think we can completely leave out the creation or should at least do an "if not exist".
I think we can completely leave out the creation or should at least do an "if not exist".
Yes, please do these propsed changes, @DJaeger. I guess @wvengen does not know how to fix this.
Re-opened upon request in https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/pull/467#issuecomment-118400004. Please introduce another fix.
Just FYI, I no longer have problem with this... b172.
Same here, with b12 :
So I'll close, until someone has further problems.
The app crashs directly after starting. I have installed the most current build. Also after a reinstallation it doesn't work. Occues on Android 4.4.4 (CM11).
Here my logcat.