Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Smartphone restart on shutdown

Smartphone restart on shutdown

My Samsung Galaxy A5 2017 restarts when I turn it off.

Steps to reproduce

Keep smartphone's power button pushed for 3 seconds, push on "shutdown" button.

What is the current behavior?

The phone restarts.

What is the expected correct behavior?

The phone should shut down

Relevant logs and/or screenshots

On the beginning of the shutdown process, these lines are spammed in logcat

09-19 22:13:18.799 26623 26929 E /system/bin/gpsd: 20:13:18.798|E|      posix_kepdrv.c.0105| SIGHUP from Kepler driver
09-19 22:13:18.799 26623 26929 E /system/bin/gpsd: 20:13:18.799|P|        lal_router.c.0578| Critical error: Connection lost
09-19 22:13:18.799 26623 26624 E /system/bin/gpsd: 20:13:18.799|E|         lal_state.c.0390| ERR: lal_state_handle_transition [errno: 2:No such file or directory]
09-19 22:13:18.802  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.802  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.818  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.818  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.835  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.835  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:18.840 26623 26624 E /system/bin/gpsd: 20:13:18.840|E|    posix_modem_if.c.0043| ERROR: modem state, err=0

At the end, these appears :

09-19 22:13:23.626  2455  2455 W display : Cannot compose overlay for internal mpp (type=0, index=0), fallback to FRAMEBUFFER
09-19 22:13:23.634  2827  2890 D VoldConnector: RCV <- {651 emulated 0}
09-19 22:13:23.635  2827  2890 D VoldConnector: RCV <- {651 emulated 8}
09-19 22:13:23.635  2827  2890 D VoldConnector: RCV <- {659 emulated}
09-19 22:13:23.635  2827  2890 D VoldConnector: RCV <- {651 public:179_33 5}
[...]
09-19 22:13:23.995  3631  3631 D NotificationService: onNotificationRemoved() called with: sbn = [StatusBarNotification(pkg=com.android.systemui user=UserHandle{-1} id=1397773634 tag=public:179_33 key=-1|com.android.systemui|1397773634|public:179_33|10034: Notification(pri=-1 contentView=null vibrate=null sound=null defaults=0x0 flags=0x102 color=0xff607d8b category=progress vis=PUBLIC))]
[...]
09-19 22:13:23.998  2827 26725 E ShutdownThread: Unable to find class com.qti.server.power.ShutdownOem
09-19 22:13:24.001  2827  2889 D MountService: Volume emulated broadcasting unmounted to UserHandle{0}
09-19 22:13:24.001 25281 25281 D ExternalStorage: After updating volumes, found 0 active roots
09-19 22:13:24.002  2827  2889 D MountService: Volume emulated broadcasting bad_removal to UserHandle{0}
09-19 22:13:24.002  2827  2889 D MountService: Volume public:179_33 broadcasting ejecting to UserHandle{0}
[...]
09-19 22:13:24.047  2827  2838 W MountService: No primary storage defined yet; hacking together a stub