1

I don't switch off mobile phone at night. After several weeks of uptime my mobile phone becomes slow. When I reboot it everything is smooth again.

It's not possible to root my android 5 phone, there is no custom firmware, and no current one-click-root bugs. I would like to reboot my mobile every night while charging (wireless charger), but I have not found a way to do that. I could even write an app for that if it's somehow possible.

Is there any "legal" way to reboot phone programmatically? Maybe "device administrator" app permissions can help?

Thanks

POMATu
  • 113
  • 2
  • 6
  • with the commandline maybe? Maybe there is something in busybox? Take a look at this question: http://android.stackexchange.com/questions/43706/whats-the-best-way-to-restart-android-via-command-line-remotely Most answers seem to require root though. – miva2 Dec 07 '16 at 09:46
  • I've found a way to do so, but I don't know how to schedule it. – Grimoire Dec 07 '16 at 10:57
  • @DeathMaskSalesman I can write an app to schedule. What is the way? – POMATu Dec 07 '16 at 13:47
  • @POMATu On my device, I was able to execute the command /system/bin/reboot with a non-root user. Could you check if you're able to execute it as well? – Grimoire Dec 07 '16 at 15:03
  • @DeathMaskSalesman don't work for me, it says "permission denied". – POMATu Dec 07 '16 at 15:18
  • @POMATu Annoying. Maybe the suggested answer can help, though. – Grimoire Dec 07 '16 at 15:19
  • take permission from makers. – Mudit Kapil Dec 13 '16 at 15:17

1 Answers1

1

You could use AutoInput with Tasker. AutoInput can create list with recorded screen touches for reboot, and with Tasker you can schedule action at the time you want, without root access.

Drazen
  • 11
  • 3