openbmap / radiocells-scanner-android

WLAN and cell tower scanner for Radiocells.org
https://www.radiocells.org
Other
55 stars 26 forks source link

RadioBeacon crash #183

Open OmorzzMo opened 7 years ago

OmorzzMo commented 7 years ago

RadioBeacon 0.8.18 does not work on a Samsung Galaxy A3 (2016) with Stock Samsung Android 6.0.1 ! When I start a new scan, after about 1 second, the android system message appears "RadioBeacon was stopped". No Wifi is found, no GPS is shown, Maps view also doesnt' work.

Any ideas?

I tried Mozilla Stumbler and it works fine. Since it is open-source, could it be modified to contribute to radiocells instead to MLS ?

wish7code commented 7 years ago

Hey @OmorzzMo!

Very sorry for my late reply! Been on the road for a couple of days..

As you mention Android 6.0.1 this might be an issue with the new run-time permissions at 6.0.1. 5370be9afe seems to work properly on my 6.0.1 test device..

I'll provide a test apk asap, so you might want to test it on your device

Cheers Toby

Tizianop6 commented 7 years ago

I'm experiencing the same issue on OnePlus 2, with Lineage OS (7.1.1)

JonnyTech commented 7 years ago

Makes sure that permissions for both location and storage are enabled for Radio Beacon - go to Android settings > Apps > RadioBeacon > Permissions

wish7code commented 7 years ago

For testing purposes I just uploaded the binaries of latest nightly. This nightly of upcoming version will deal with Android 6+ runtime permissions better.

http://radiocells.org/static/app-debug.apk

If you like, you may want to test at own risk ;-) Two comments nevertheles:

AreYouLoco commented 7 years ago

Latest nightly fixes the application crashes I mentioned in #172 but scanning still doesn't work for me.

I had good GPS signal and WiFi on. RadioBeacon showed the GPS accuracy but still no networks on the list.

AreYouLoco commented 7 years ago

@JonnyTech: I tried to switch on permission for storage & phone, but it shows me warning that I have to disable screen overlay but its greyed out and I cannot change this.

screenshot_20170227-185327 screenshot_20170227-185337 screenshot_20170227-185620

JonnyTech commented 7 years ago

@AreYouLoco: What do you have running that is causing that message? Screen dimmers do that - always catches me out! Have to kill them first.

JonnyTech commented 7 years ago

@AreYouLoco Go to: Android Settings >> Apps >> Press the cog at the top >> Draw over other apps >> Click the arrow next to "Enabled" and change to "Apps with permission" >> Make sure that everything on that list is not running

AreYouLoco commented 7 years ago

I did it. It was MacroDroid indeed the macro dimming screen because of low battery. So I managed to turn all necessary permissions but still id doesn't show any networks neither cells. But at some point the earphone icon was blinking red.

screenshot_20170227-192656

screenshot_20170227-192150

JonnyTech commented 7 years ago

@AreYouLoco, cool, do you have location services enabled?

AreYouLoco commented 7 years ago

Yes I do. screenshot_20170227-194127

on the last screenshot you can even see it shows [5m] as GPS accuracy but no cells or wifis scanned. Maybe I should try go outside I just put my phone over the window to grab GPS signal. But it suppose to show my home WiFi for example.

JonnyTech commented 7 years ago

I meant location services in Android settings. Anyway, I would uninstall RadioBeacon, restart the phone, reinstall, grant permissions again then retry...

AreYouLoco commented 7 years ago

172

OmorzzMo commented 7 years ago

@wish7code : I tried your nightly build and it fixes the crash. However, even on stock ROM, the app does not capture any cell towers or wifi networks. GPS seems to be working and there is a blue dot in the map view moving, but the background map is not shown (i.e. blank, grey). I given the app all the permissions it required and in addition all I could find the applications->settings menu.

TjWallas commented 6 years ago

Bump. Same issue using LineageOS 13 on my Samsung galaxy. Do you guys have any other alternative apps at the moment? I would love to contribute some scans to Openbmap.

wish7code commented 6 years ago

You might want to try the upcoming Radiobeacon version, which has a lot of new cool stuff and works with LineageOS 14 (tested)

Binaries available at https://radiocells.org/static/app-debug.apk For those who want to build it from source have a look at the alpha branch

In general the version is stable, but you still might encounter some crashes, which we'll have to fix before the release.

JonnyTech commented 6 years ago

@wish7code - I am liking the new build, even though it does lock up or crash sometimes. But the issue of only scanning cells from SIM1 remains (#99). Is there any way to generate a log for analysis?

ways commented 6 years ago

Version 0.8.18 from f-droid works on my nexus 5 with lineageOS 14.1.

I had the same as thread starter (crashed on start with no error message). Went to apps -> gave all permissions, now works fine.