FP2 Frequent crashes requiring reboot by holding power button >10s

I have the same problem every day at least once and it’s very annoying and potentially hazardous. This morning, my alarm didn’t go off because it happened during the night. Two hours later, it happened while I was playing music using the external speaker and the music kept playing but the phone screen was black and not responsive. I could only use the hardware volume buttons to control the volume.

I also always have to remove the battery to fix this massive bug. Please offer some help soon, otherwise this phone is not really usable or even reliable.
I’ve received my phone on 7.4.16, so it was one of the first after the long manufacture break and it worked fine until four days ago when these crashes started happening.

P.S.: I’m using the beta FPOSOS image from the beta section of this forum.

One potential partial short term fix might be to delete the phone’s cache.

My phone was crashing 5+ times a day, then after I updated the firmware during the first day it crashed a couple of times, so I tried a few other things in desperation. I noticed my phone’s cache was 7.14GB(!!!) and so tried deleting it. Since then my phone only crashes once every few days. Still can’t rely on it as my only alarm clock, but actually makes my phone usable which is nice. It might be a coincidence but the correlation between me deleting the cache and the crashing drastic reduction felt spot on.

Since then my cache is up to >2GB so I’m going to monitor and see if as it gets bigger crashes increase…

On a separate note, I don’t think cache’s are supposed to get that big right?..

How do you delete the cache?

Easiest way might be to go to the recovery and wipe the cache.

Peter974 go to settings - storage - click on “cached data” - then say “OK” when it asks is it ok to “clear cashed data”

I tried turning off 4G and a new lock screen. Neither have made any difference. Might try the cache, though I would lose things I would prefer not to like the Maps cache or the Chrome cache.

I think the maps cache is attached to your Google account not your phone.
Might take a bit longer to download but the history is still there

So had two more crashes yesterday. Both while i was useing google maps for navigation.
Once with car charger connected, once without a charger connected.

Next thing i recognized was with my last fairphone 2 i had never crash problems. So i think this might be a software problem.
Also i had never a google account before my first fairphone 2. two weeks ago i got a new fairphone because of touchscreen problems. when i got the replacement i rebuild the phone out of google recovery.
Also i had massive problems with some apps that were automatically installed by the recovery.
Next step will be to factory reset the phone and not recover the apps.

Maybe this will help. i will report next week :slight_smile:

No, it’s just I have very limited internet, wifi and data.

Hi, since I’ve had my FP2 it has crashed/frozen numerous times - probably about 4 or 5, resulting in me having to take my battery out too. There does not seem to be pattern to this, and sometimes it has happened when the battery is low, or when it is ok, or when i was sending a text. Not sure what to do really as it shouldn’t be happening.

I’m also experiencing this issue a lot. However, I think that taking out the battery is not necessary and it’s enough to hold the power button for 13 seconds, as has already been reported multiple times in this topic.

To prevent other affected users from taking out the battery all the time, I changed the title of the topic.

As a request to all users who already posted here: Please report back in case this method is not working for you but only removing the battery is. If such cases pop up, I’ll change the title back.

I hope everyone is fine with that proposal.

As I do see a pattern and did some logging, I’m going to describe these in detail:

Actions triggering the issue

In my case, the issue is not (fully) reproducable, but I do indeed see a certain pattern. Namely, it is always related to launching apps that use internet connection or to internet itself. Though the phone doesn’t always crash immediately after such an action - sometimes it takes a minute or two until the crash actually happens. Examples of such actions triggering the crashes include:

  • Launching F-Droid app
  • Launching Lightning Browser
  • Launching and activating Orbot
  • Launching Transportr
  • Launching IceCat Browser
  • Disabling Wi-Fi (no app involved here)
  • Enabling Wi-Fi (no app involved here)

Other apps such as calendar (not synchronized), camera, tasks etc. haven’t triggered this up to now. Sometimes, it also happens in a row (and then the back side of the phone gets quite hot):

  1. E.g. today it crashed once using IceCat and after the reboot I just enabled Wi-Fi and it immediately crashed again.
  2. Yesterday I wanted to use the internet only in two occasions and both times the phone crashed (again two times in a row in one of the cases).
  3. Three days ago it even happened 5 times in a row (during some testing concerning the crashes, see below).

This nearly led me to the conclusion that it might be reproducable, but I think it’s not. However, from my user experience (since using the phone daily) I’d guess that the chance to use internet on my phone without triggering a crash is far less than 50%. :laughing: So it’s quite a big issue for me. Though, if it works once (i.e. the phone doesn’t crash during the launch of the first internet app), it then usually works for the rest of the day (until I power off the phone during the night).

Btw this doesn’t depend on the type of internet connection: It happens with Wi-Fi and with mobile data. Moreover, I also tested the phone without SIM and it happened there too (with Wi-Fi of course).

I am somewhat surprised that most of the people in this thread report frequencies of a handful of crashes in a month or a week whereas I’m experiencing them so often. I don’t know whether this is related to my system being highly customized:

  • I’m using a rooted, self compiled FPOSOS (still 1.1.7 version),
  • I disabled some system apps (Browser, Cell Broadcast, E-Mail, HTML Viewer, One Time Init, Pico TTS, SIM-Toolkit, VoiceDialer, QuickSearch)
  • I’m using the built-in encryption,
  • I’m using AFWall+, XPrivacy (hence XPosed as well), Orbot, some security apps.

Maybe one of the system apps shouldn’t be disabled (though I don’t know which one could be the culprit), but it’s rather implausible (at least to me) that the other three points could lead to system crashes. :confused:

Starting to analyze the issue

Anyway, enough complaints from my side. :wink: Let’s get to hopefully helpful information: As mentioned above, I did some testing and adb logging as already proposed by @jaymanu in this thread (see below for how I did this). I just skimmed through the log files and only found the following noticeable lines:

21593 I/Choreographer( 2858): Skipped 154 frames!  The application may be doing too much work on its main thread.
      [...]
21602 I/Choreographer( 3062): Skipped 159 frames!  The application may be doing too much work on its main thread.

which also occur in the following excerpt of the log file’s tail:

21591 I/DisplayManagerService( 2858): Display device changed: DisplayDeviceInfo{"Integrierter Bildschirm":
      uniqueId="local:0", 1080 x 1920, 60.0 fps, supportedRefreshRates [60.0], density 440, 440.0 x 440.0 dpi, 
      appVsyncOff 0, presDeadline 17666667, touch INTERNAL, rotation 0, type BUILT_IN, state OFF, 
      FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, 
      FLAG_SUPPORTS_PROTECTED_BUFFERS} 
21592 V/ActivityManager( 2858): Display changed displayId=0 
21593 I/Choreographer( 2858): Skipped 154 frames!  The application may be doing too much work on its main thread. 
21594 D/SurfaceFlinger(  229): Set power mode=0, type=0 flinger=0xb6482000 
21595 D/qdhwcomposer(  229): hwc_setPowerMode: Setting mode 0 on display: 0 
21596 I/PowerManagerService( 2858): Waking up from sleep (uid 1000)... 
21597 I/DisplayPowerController( 2858): Blocking screen on until initial contents have been drawn. 
21598 W/XPrivacy/XActivityManagerService( 2858): Sleeping=true 
21599 W/XPrivacy/XActivityManagerService( 2858): Sleeping=true 
21600 V/KeyguardServiceDelegate( 2858): onScreenTurnedOn(showListener = com.android.internal.policy.impl.PhoneWindowManager$2@254ba057) 
21601 W/IInputConnectionWrapper( 3062): showStatusIcon on inactive InputConnection 
21602 I/Choreographer( 3062): Skipped 159 frames!  The application may be doing too much work on its main thread. 
21603 D/wpa_supplicant(12296): wpa_driver_nl80211_driver_cmd SETSUSPENDMODE 1 len = 0, 4096
      [...]
21682 I/WindowManager( 2858): Suppressed redundant power key press while already in the process of turning the screen on. 
21683 W/WindowManager( 2858): Keyguard drawn timeout. Setting mKeyguardDrawComplete 
21684 D/su      (14995): sending code  
21685 D/su      (14997): client exited 0  
21686 D/su      (14996): child exited 

This is indeed the end of the file - the abrupt cut shows the moment when the phone crashed. In another case, the file actually ended like this:

W/NetworkLog( 5254): External storage /storage/emulated/0/networklog.txt not available 
W/Networ

:laughing:

I don’t know what I/Choreographer is and if this really causes the issue. In fact, I’m not really familiar with that kind of stuff, so I might have overlooked something and someone else might find more interesting lines. However, as you can see, the log file has 20.000 lines and thus I don’t want to include it here. :wink:

@keesj: Could this help to debug the issue? If the log files might be of any value to you, I could send them by e-mail.

How to do the logging

It might be helpful if other affected users do this as well to debug the issue. If you can trigger crashes and want to log them as well, here is how I did it (on Ubuntu Linux, should be similar on other OS’s):

  1. You need to have adb installed on your PC (see here for Windows; under Ubuntu just install the package android-tools-adb).
  2. On the phone, open Settings > About phone and tap on Build number multiple times to activate the developer settings. Then go to Settings > Developer settings and enable USB debugging.
  3. Connect your phone to your PC via USB. Confirm the USB Debugging request on the phone screen and disable all entries in the connection mode menu.
  4. On the PC, open a terminal, check whether the phone gets detected and take a snapshot of the logcat before the crash:
    adb devices adb logcat > Logs_before_FP2-Crash.log
    Hit enter and then press “Strg+C” to stop it.
  5. Start the logging again (without interrupting it this time):
    adb logcat > Logs_FP2-Crash.log
  6. Try to trigger the crash on the phone.

Afterwards, take a program designated to compare two text files to do exactly this with the two log files you produced. Jump to the end of the first log file and find the corresponding line in the second log file. Thereby, you’ll be able to identify a moment before the crash happened in the second log file and you’ll only have to look for interesting stuff behind that point.

Btw I noticed some additional strange behaviour directly after some of the crashes (I did it 4 times in a row):

  • Once 4 phone partitions popped up as volumes on my PC screen directly after the crash.
  • Once my PC OS crashed: the screen did not respond to any mouse or keyboard input (not even to Magic SysRq key) and I needed to reboot it via power button.
  • Once both happened. :upside_down:

Anyway, I don’t know if all that really helps to track down the issue - I’m a bit sceptical as well. :worried:

5 Likes

This has started to happen to me. Initially about once a day, but it’s not 2-3 times every day. If it keeps increasing my phone is going to become unusable - and I’m worried the constant crashes are going to do long-term damage

I’m also experiencing regular system crashes which require the ‘>10s power button’ reset.
Frequency is about once every 2 days. Sometimes more often, sometimes less.

I can’t see a pattern which triggers the crashes. Sometimes the phone just won’t turn on, sometimes it crashes while using but I have not found a debug-friendly trigger to produce logs.

I’m using a self-built (up-to-date as of last week) FPOSOS with the 16.04 binary blobs.
No Xposed.

There was another thread about 4G/LTE crashes and I have the impression that restricting my phone to 3G/UMTS reduces the frequency of the crashes but does not solve them.

To the affected: Are you using 4G/LTE networks?

1 Like

@tphysm: Thanks a lot for changing the title of this thread - hit on for me to get my phone back into functioning!!!

I had one of those crashes this morning, and another one last week. Using a 4 g network (virgin mobile FR), and our home wifi says 5ghz (Bouygues in France). And only one SIM card, on a FP2. Not really changed anything on the delivered system.

Last week:
screen went all black and no reaction on touching screen or buttons, while I had phoned a landline number and wanted to hang up while the voicemail set in. I don’t recall having to re-set it, I think functionality simply came back a couple of moments later.
Not sure this is really related to the issue discussed here, but was a first go-black for me…

Today:
No action on my phone for a while (2 hours or so), then wanted to send an SMS and discovered my phone had gone all black with no reaction whatsoever, not even when putting it back on charge, no LED signal that it was charging again/ green or was out of charge/ red, simply nothing. (It had fully charged this morning).
Thanks to the hint to press the power-button longer than 10 seconds, I got it back into use and finally could send my SMS.

I did watch a couple of videos on websites (via wifi!) on my phone this morning, so possibly just before this happened, but cannot really say as discovered only later the unresponsive screen/phone.

No heating up for me (at least didn’t realise).

I am wondering whether it has got anything to do with the function to limit background data usage (achtergrondgegevens beperkt, in Dutch), as this was a first time this happened to me. I only recently discovered this function, and after this mornings problem it was deactivated. (Not sure this is normal after a reboot though.)

Is there something new about this bug? Couldnt find new useful information here except the trick with holding the power button for more than 10s instead of removing the battery every time. I’m having this problem for a month now and considering to ask for replacement if this keeps going on. Quite astonished that the fairphone team didnt manage to fix this although the first report of this was months ago, correct me if I’m wrong.

Hi Mathurin_Choblet
https://forum.fairphone.com/users/mathurin_choblet before
giving up try deleting your cache. My phone was crashing several times a
day and I was thinking of giving up, but I deleted my cache as part of a
couple of things to desperately try to solve something, and it improved a
lot. The other things I did were mainly deleting apps I don’t actually use.
I admit it is only anecdotal evidence, as it’s just me and I have only done
it once, but it doesn’t harm to try! (deleting the cache does not remove
any settings or chrome tabs, it just means you have to log in again to
Facebook etc)

Well, actually I don’t know how long the Fairphone team has been aware of the issue or this topic. In fact, it’s also not mentioned yet in the List of known bugs and the list of common issues

@paulakreuzer: Does this issue have enough affected users to be added to the latter at least?

A few days ago I was prepared to set up my phone again. So I did a factory reset, but the issue persisted. Hence, I flashed the complete system again and only experienced one crash during the setup while using FDroid for the first time (which made me fear that the issue persisted in this case as well). However, I haven’t experienced further crashes since then for two days now (and used internet and browsers a lot).

My setup hasn’t really changed significantly, but I wouldn’t rule out the customizations as a cause of the issue. Indeed, I can now very well imagine that my specific issues (with the huge amount of crashes) were caused by some system tweak or a particular app …

Anyway, I’ll observe this further - maybe I now still have a handful of crashes a month, as most of the affected users here do. :wink:

Thank you guys for your help! It helped a bit I would say, my phone only crashed once the last week instead of every day. In my case the phone always crashed only when screen was turned off, but now I got a new problem. Since yesterday the battery didn’t charge normally, I had to restart the phone to make it charge as usual but today it won’t charge/turn on at all! I suppose there is a correlation between these problems. Yes, I have seen the forum page where people are dealing with it although none of the tips worked, I guess I need to contact the support team. Damned this is so sad, fairphone is such a great project but apperently not viable at all yet.

This has been happening to my phone as well. Because I was using a self-compiled FP OSOS (just standard, with the 2.0.1 binary blobs, no added apps, rooting or other changes), I suspected that might have been the reason.

So I switched to the “official” FP OSOS (fastboot version), hoping that would fix the problem - but it didn’t.

I see the freezes most often in the morning after the phone was just lying on the bedside table overnight, without being plugged in for charging (I usually charge my phone while I’m at work). The screen is black, a short push of the power button does nothing - I need to long-press it so it resets. After the reset, I noticed that the battery stats are gone, as if I had powered up the phone for the very first time… I was hoping to see when it actually froze (like in @h34dbanger’s post), but so there is no information.

This is happening every two to three days at the moment. A friend of mine also owns a Fairphone 2 and said that he experienced such freezes as well, although less than once a month in the last 4 months since he owns it, which he finds acceptable.

Ever other day however is definitely not acceptable for me, so I am thinking of getting a replacement if there’s no fix soon. As I bought it from a shop (rather than from the FP website), I think I should go there with my receipt?