Reboot In Recovery Android
I've finally managed to get the Reboot code work. I used following code : Runtime runtime = Runtime.getRuntime(); Process proc = null; OutputStreamWriter o
Solution 1:
If the version of the reboot command and the backend it calls on that device supports it, this may work:
String command="/system/bin/reboot recovery";
Realize of course that the minute you use the su program you are playing with unsupported modifications of android.
Solution 2:
Why are you not using:
((PowerManager) getSystemService(Context.POWER_SERVICE)).reboot("recovery");
? http://developer.android.com/reference/android/os/PowerManager.html#reboot%28java.lang.String%29
Post a Comment for "Reboot In Recovery Android"