Reboots while sleeping

I’ve noticed for a couple weeks now that when my phone is charging at night that it reboots. I see no error and only know because it needs an unlock code rather than fingerprint. I am running 7.1-20251227-brax3 and no apps from Google play.

I was using this keyboard that kept crashing so I uninstalled it:

Now I have been using the default HeliBoard for a couple days but the phone reboots every night. Nothing else crashes. Any ideas?

Go to Settings > About phone > Uptime to see when the phone started last time.

You can enable the debugging mode and catch some errors.

Ok-4 hours it has been up or 8:45.

I see USB debugging and WiFi debugging. Which?

There is a “Bug report shortcut” further down but I think you don’t need to enable it.

Open the file manager and hit the 3 lines to see the storage locations, you’ll see a bug report option, it’s a folder with text files which disappears when you exit developer mode.

Enable that option and hold the power button for the menu to appear and tap the bug report button.

You’ll check the report after the reboot happens.

Thanks-now enabled after it happened again while I was awake. The whole screen gets black and white characters for a couple seconds and then it reboots.

That puts the uptime for today at 13 hours. Mayhe that’s everyday now?

This is a hard crash, something kills the phone, if you don’t see anything in the report you can also connect the device to a PC with Android Studio through USB or WiFi debugging and let the computer capture the LogCat to see at what point it crashes.

What’s the value you have set for Auto reboot?
Settings > Security & Privacy > More security & privacy > Auto reboot

1 Like

Thanks for the reply plamen. It says never.

I see Android Studio is in Linux Mint which I have on my desktop. The uptime on my phone today is 20 hours and 30 minutes-can we do 1 day?:joy:

That bug report directory already has 3 filesl

the report files are named by date, open anyone that was logging when a reboot happened, they are just text files, towards the end of the files you would be able to see what triggered the crash, you may not see an error if the log stops but you will see what process was called last

I remember those crashes from Pinephone where the screen becomes black and white and fades out

On Android Studio you enable the debugging mode and connect the phone to the PC, then you have to accept on the screen the connection, choose Brax3 in Studio and then press the cat-head bottom left, you’ll see messages in a text box, you can read them after the crash to see what happened if it was able to log it else check again what the phone was trying to do

I had 2 random reboots lately while using the device.

The Bug Report is not so much useful because it’s generated on the spot for whatever has happened recently.

The only way is the USB or WiFi debugging. For me it’s difficult because I turn off the device and the WiFi and probably that was the reason I hadn’t noticed it.

In order to not lose calls you could remove the screen lock and the SIM PIN at night.

If you use USB debugging set it to stop charging at 80% to avoid destroying the battery.

My phone has been going all weekend without a random reboot. 82 hours now.

it’s some condition that is fulfilled in specific moments, it could be related to a hardware fault or some other software bug, since I noticed it recently it could be related with 7.1, it can only be assessed if the system starts becoming unusable due to spontaneous reboots

No more bug reports since the 3 on Jan 1.

Hopefully an old app was causing instability and the app updated! :smiling_face_with_sunglasses:

The 1st time I was scrolling aggressively Instagram on Firefox and the 2nd one it was just playing audio with VLC and screen off

It just randomly rebooted 20 minutes ago-the screen was off and just acting as a hot spot. When I woke it up it rebooted. It didn’t write a new bug report file, so now I’ll get it hooked up to a computer running Android Studio and then debug by USB.

The bug report works only the moment you press the button, it collects and stops, the debugging logs continuously, I use it when developing apps and it has a very rich output

Is there a way to know that it is running? I will press that button again.

What running?

Bug report’s basic output is the large textfile in the zip file but it shouldn’t be useful.

For the debugging use WiFi to connect to a laptop or some desktop to be able to use the phone and make it crash at some point.

I don’t know whether you are able to have internet at the same time.