Saturday, February 28, 2015

4.1 jelly bean - What's the best way to restart Android via command line (remotely)?


I'm looking for the best / friendliest way to reboot my rooted android 4.1.1 device. I found these solutions so far:



  • su -c "reboot" - Causes problems with wifi after restart on my device... I read that this can cause a currupt file system in some cases... Doesn't work via ssh for me.


  • toolbox reboot - Same concerns here, but works via ssh.

  • reboot -d 8 -f - causes problems after restart e.g. some apps wont start

  • busybox killall system_server - "Hot Reboot" (not really a system restart)

  • start|stop - Starts/stops Android Runtime (not really a system restart)


What is the device doing exactly when I'm pushing the (hardware) power button? I guess that's the most friendly way.




No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...