[Q] Does the reboot shell command for the Aria actually exist?

jleehey

New member
Aug 10, 2010
1
0
0
I tried loading the Aria into an adb shell, then tried the reboot command (just "reboot"). It replies "reboot: no such tool".

I also wrote a quick script with GScript and ran it with su permissions (my phone is rooted with clockworkmod, and liberated), and the same message showed on screen.

I also made a separate script that just runs "ls /system/bin" and I can clearly see the "reboot" command in the directory. Again, when I try to run /system/bin/reboot with su priveleges, it gives the same message.

I'm tempted to think that the reboot command in /system/bin simply runs the command "echo reboot: no such tool". Does anyone have any more information about this? I'd like a script that would use the reboot command to reboot into recovery mode.
 

cgb

New member
Jun 13, 2008
2
0
0
I believe you should be able to use "shutdown /r" to reboot the phone.. probably needs to be done with sudo though..
 

ioft

Senior Member
Aug 14, 2010
303
10
0
I tried loading the Aria into an adb shell, then tried the reboot command (just "reboot"). It replies "reboot: no such tool".

I also wrote a quick script with GScript and ran it with su permissions (my phone is rooted with clockworkmod, and liberated), and the same message showed on screen.

I also made a separate script that just runs "ls /system/bin" and I can clearly see the "reboot" command in the directory. Again, when I try to run /system/bin/reboot with su priveleges, it gives the same message.

I'm tempted to think that the reboot command in /system/bin simply runs the command "echo reboot: no such tool". Does anyone have any more information about this? I'd like a script that would use the reboot command to reboot into recovery mode.
I can reboot the phone using ADB by typing adb reboot... Or in terminal on the phone itself I su and then enter reboot and voila...

Not sure if this helps or not.

Edit: I am also running CM6 which has busybox installed.
 

anika200

Senior Member
Jul 27, 2010
85
2
0
Maryland
Your path is probably not correct on the device. To change the path you need to edit init.rc and add the correct path.

I have had this same problem and now think that the tool unrevoked is messing the path variable up.

Let me know what you discover.
 

RedstoneMic

New member
Mar 16, 2015
1
0
0
Same

I also have the same problem. I checked init.rc and i didnt find something about reboot. I run S5 Sensenation ROM. I will check again, But i happy to see that im not the only one who have the problem.....