Skip to content

The app crashes if you give root, start, take away root, reboot, disable doze #72

@nyxiereal

Description

@nyxiereal

how to reproduce

  1. Install the app
  2. Give it root access
  3. Start the app (and the service using the switch in the app)
  4. Take away root access from the app with your root manager
  5. Reboot the device
  6. Open enforcedoze, flick the switch
  7. Crash

crash log

FATAL EXCEPTION: main
Process: com.akylas.enforcedoze, PID: 5702
java.lang.RuntimeException: Unable to stop service com.akylas.enforcedoze.ForceDozeService@59e9eb
	at android.app.ActivityThread.handleStopService(ActivityThread.java:5566)
	at android.app.ActivityThread.-$$Nest$mhandleStopService(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2693)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.dispatchMessage(Looper.java:315)
	at android.os.Looper.loopOnce(Looper.java:251)
	at android.os.Looper.loop(Looper.java:349)
	at android.app.ActivityThread.main(ActivityThread.java:9053)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929)
Caused by: java.lang.NullPointerException
	at z1.c$c.I(r8-map-id-22d0ecc4f93a27f23754953c025e5b62f3edfcb2dac8d0528d4d62f92fb40f7b:221)
	at z1.c$c.H(r8-map-id-22d0ecc4f93a27f23754953c025e5b62f3edfcb2dac8d0528d4d62f92fb40f7b:2)
	at z1.c$c.close(r8-map-id-22d0ecc4f93a27f23754953c025e5b62f3edfcb2dac8d0528d4d62f92fb40f7b:1)
	at com.akylas.enforcedoze.ForceDozeService.onDestroy(r8-map-id-22d0ecc4f93a27f23754953c025e5b62f3edfcb2dac8d0528d4d62f92fb40f7b:62)
	at android.app.ActivityThread.handleStopService(ActivityThread.java:5548)
	... 10 more

system info

  • crDroid 12.5 beta, android 16 qpr1
  • Xiaomi poco f5 pro (Mondrian)
  • rooted using kernelsu-next v3.0.0-68-g81c604ad-spoofed_32925

zip export of the crash

crash-com-akylas-enforcedoze-07_01-09-48-36_879.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions