radiocells-scanner-android icon indicating copy to clipboard operation
radiocells-scanner-android copied to clipboard

RadioBeacon crash

Open OmorzzMo opened this issue 8 years ago • 18 comments

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 ?

OmorzzMo avatar Feb 03 '17 19:02 OmorzzMo

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

wish7code avatar Feb 18 '17 22:02 wish7code

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

Tizianop6 avatar Feb 26 '17 13:02 Tizianop6

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

JonnyTech avatar Feb 26 '17 16:02 JonnyTech

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:

  • above nightly is not finally tested - so crashes still may occur
  • installing nightly will purge your existing F-Droid install, so you will loose all data which hasn't been uploaded yet (reason: nightly is signed with the dev key vs. F-Droid key)

wish7code avatar Feb 26 '17 19:02 wish7code

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 avatar Feb 27 '17 16:02 AreYouLoco

@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

AreYouLoco avatar Feb 27 '17 18:02 AreYouLoco

@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 avatar Feb 27 '17 18:02 JonnyTech

@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

JonnyTech avatar Feb 27 '17 18:02 JonnyTech

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

AreYouLoco avatar Feb 27 '17 18:02 AreYouLoco

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

JonnyTech avatar Feb 27 '17 18:02 JonnyTech

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.

AreYouLoco avatar Feb 27 '17 18:02 AreYouLoco

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

JonnyTech avatar Feb 27 '17 19:02 JonnyTech

#172

AreYouLoco avatar Apr 19 '17 16:04 AreYouLoco

@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.

OmorzzMo avatar May 29 '17 20:05 OmorzzMo

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.

TjWallas avatar Oct 09 '17 18:10 TjWallas

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.

wish7code avatar Oct 12 '17 10:10 wish7code

@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?

JonnyTech avatar Oct 12 '17 23:10 JonnyTech

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.

ways avatar Oct 15 '17 19:10 ways