1. Download our Official Android App: Forums for Android!

Root Can't reboot or shutdown via terminal

Discussion in 'Android Devices' started by markdmac, Aug 4, 2011.

  1. markdmac

    markdmac Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    203
    Joined:
    Mar 2, 2010

    Mar 2, 2010
    203
    30
    63
    Professional Computer Consultant
    Gilbert, AZ
    Running community rom 1.3. Yesterday I saw there was a 2.0 version and a 2.1 update. Wiped my cache and installed 2.0, then flashed 2.1 update using red clockwork. Didn't see anything different on the phone really, however I noticed that my gscript shortcuts for reboot and shutdown of the phone did not work any longer.

    I wiped the cache again and restored from backup to get back to 1.3. My gscript still can't reboot or shut down the phone.

    Anyone have any ideas? The shutdown script tells me stderr: shutdown: not found
     

    Advertisement

  2. markdmac

    markdmac Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    63
    Posts:
    203
    Joined:
    Mar 2, 2010

    Mar 2, 2010
    203
    30
    63
    Professional Computer Consultant
    Gilbert, AZ
    Apparently the community rom does not have /system/bin in its path statement. So I had to alter my scripts to include the path.

    Reboot Script:
    /system/bin/reboot

    Shutdown Script
    /system/bin/shutdown

    Reboot Recovery
    /system/bin/reboot recovery
     

Share This Page

Loading...