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

7
  • with the commandline maybe? Maybe there is something in busybox? Take a look at this question: android.stackexchange.com/questions/43706/… Most answers seem to require root though.
    – miva2
    Commented Dec 7, 2016 at 9:46
  • I've found a way to do so, but I don't know how to schedule it.
    – Grimoire
    Commented Dec 7, 2016 at 10:57
  • @DeathMaskSalesman I can write an app to schedule. What is the way?
    – POMATu
    Commented Dec 7, 2016 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
    Commented Dec 7, 2016 at 15:03
  • @DeathMaskSalesman don't work for me, it says "permission denied".
    – POMATu
    Commented Dec 7, 2016 at 15:18

1 Answer 1

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.

5
  • But how can I reboot device from android UI? I see only "Power off" button, when I hold power button. Maybe there is button somewhere in settings?
    – POMATu
    Commented Dec 8, 2016 at 9:52
  • Which Android version your phone is up to?
    – Drazen
    Commented Dec 9, 2016 at 20:39
  • My android version is 5.1.1
    – POMATu
    Commented Dec 11, 2016 at 16:01
  • My Samsung is using Android 5.1.1. with TouchWiz UI and it have Reboot option on Power button. See is there any way to enable Reboot option for your UI.
    – Drazen
    Commented Dec 12, 2016 at 16:33
  • remotely others phone Commented Dec 13, 2016 at 15:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .