Root 1-touch shutdown app?


Last Updated:

  1. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    I've looked in Appbrain and all I see are apps for 1 touch or 2 touch reboot. What I'd like is to find an app that will shut my phone off. Period. Plain and simple. Anyone know of this? If not, will you make it for me? :) ;)

    A friend of mine told me how easy app inventor is. When I get my google invitation, that will be my first app.

    Thank you.

    Steven
     

    Advertisement
  2. tom108

    tom108 Well-Known Member

    Joined:
    Feb 8, 2010
    Messages:
    1,672
    Likes Received:
    309
    app inventor is pretty easy but eclipse is still far superior for coding in java.
     
  3. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Steven,

    Thought this was going to be much easier than I first imagined it was, but here you go:

    View attachment StevensShutdown.apk [MD5 sum: 914ee7f623fc5aa1fac0cb4a5ac2fb0a]

    Its pretty simple and pretty Steven-specific (you'll see :D).

    Enjoy!

    p.s. credit to jcase from XDA for the shell class I tweaked-up to create this.
     
  4. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Scary!

    Wow!!! Thank you! It works great! I'm honored and humbled. Please PM me how I can pay you for this! :D

    Thank you.

    Steven

    PS: Nice icon! :D :D :D
     
    scary alien likes this.
  5. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    No payment necessary--the stuff I learned while doing it was payment enough :). It was fun and nice thing to learn how to do (I'm still earning my chops with Android app development, so this seemed (initially anyway) like a pretty simple thing to do. Turns out it was, I just didn't know it yet ;).

    By the way, the app does a straight invoke of "reboot -p" and does not reference busybox or an explicit path. I tested it several times on my X, so it should be fine on yours (I'm a plain-old rooted 2.2 OTA'er).

    BTW, Have you tried it yet? (just want to make sure it does work okay for you...)

    edit: I just re-read and saw you said that it does work...awesome!
     
  6. Lars

    Lars Well-Known Member

    Joined:
    Mar 24, 2010
    Messages:
    1,439
    Likes Received:
    210
    You can also just use gscript and put a shortcut to the script on the homepage. I use that for rebooting.

    But definately a thumbs up for the fellow who went through the trouble to write an apk for you.
     
    scary alien likes this.
  7. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Yup! It does! You made me feel really good! Here's why: I'm on vacation, having just flown into Florida, early this morning. I'm staying at my sister and brother-in-law's condo, here. They know I'm heavily involved in Androids and AF. When I ready your post, I called out! "Hey! Someone wrote an app just for me!" They were amazed!

    Thank you again! It's great. Nice picture! ;)
     
    scary alien likes this.
  8. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    Where you at in FL? I live in southwest Fl. Weathers been Super nice lately you couldn't have come at a better time of year.
     
  9. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    Work great.
    I need to get back to messing around with AI. Have you tired adobeAIR?
     
  10. Airmaxx23

    Airmaxx23 Well-Known Member

    Joined:
    Jun 21, 2010
    Messages:
    3,142
    Likes Received:
    1,039
    Switch Pro has a reboot switch that allows you to: Reboot; Boot into Recovery; or Open the Bootloader.
     
  11. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Not yet...saw a lot of press about it (adobeAir) last week... Ugh! More stuff to learn just as I'm starting to "get" the "regular" (Java-based) Android development thing... :D

    By the way, I'll probably re-build and re-publish the app to be a little more generic for those that don't want to see Steven's avatar all of the time :eek: :D ;). I just thought he'd get a kick out of this and it was fun and fairly quick to do.

    Cheers!
     
  12. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    I'm in central Fl. My sister has a second place in Madiera Beach, near Tampa.

    Going to Epcot on Wednesday!!!

    I have a rebooter. I wanted a shutdown app, fyi.
     
  13. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    I was hoping that you might do that? Through some other options in there also.
     
  14. Piiman

    Piiman Well-Known Member

    Joined:
    May 28, 2010
    Messages:
    2,333
    Likes Received:
    153
    cool I'm about an hour south in Sarasota. Epcot is cool but I haven't been there in years, bordering on decades
     
  15. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    you have a problem with my avatar? BANNED! :p
     
  16. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Lol...got any suggestions for new features?

    I've still got to finish revamping my MD5/SHA1/jar-verification app...getting pretty close--its been a lot of work figuring out how to do indeterminate progress bars, background threads, menu items, long-press options, etc. A lot more complicated than my pretty simple UI I originally used.

    Steven, your avatar is awesome (I assume ;)--I'm not your best judge in this matter :p). Besides, you can't ban me--I'm your app-guy :D.
     
  17. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Oops. Yeah. Woopsie! ;) :p REINSTATED! :) :D
     
  18. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Okay, due to overwhelming demand (actually, one person PM'd me with this request :eek: :p ;)), I have de-Binged, er, de-Steven'd the shutdown app I posted earlier in this thread (sorry, Steven :( -- but you've got your own, personalized version, right? :)).

    Anyway, for those that want it, this is pretty-much the same app as previously posted. All root-related cautions and disclaimers apply here...

    Also, of course, you must be rooted to use this app.

    When you press the "Shutdown Phone" button, the app will shut down your phone by invoking a "reboot -p" command. You'll be prompted for SuperUser access, of course.

    Here ya go:

    View attachment DXShutdown.apk [MD5 checksum: 12ffe18ffee180e9576b832c2c5db743]

    Enjoy!

    edit: please don't ban me, Steven! :eek: :)

    Screenshot: DXShutdown.jpg
     
    cultldr likes this.
  19. Trooper

    Trooper Well-Known Member

    Joined:
    Apr 11, 2010
    Messages:
    3,715
    Likes Received:
    541
    Thanks man will install and try this out tomorrow. Finally I can save my power button!

    Cheers!! :D
     
  20. RMM

    RMM Well-Known Member

    Joined:
    Oct 13, 2010
    Messages:
    82
    Likes Received:
    10
    Not quite as cool but Gscript will let you do one or two step shutdown/reboot (and much more). It's free check it out on the market.
     
  21. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Oh, I think Gscript is very cool...its an awesomely powerful tool, limited only by what you can write in your scripts. I've used it for a few projects and I do highly recommend it. I write Unix (AIX) shell scripts often at work and had no problem doing some very complex things in Gscript.

    Thanks for the feedback and cheers!
     
  22. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Excellent Scary!
    I am recommending you be banned for changing Steven's shutdown!! :)
    Actually, I still have it and it is one of my favorite apps! :) Thanks!
     
    scary alien likes this.
  23. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,658
    Likes Received:
    22,008
    Technically, I didn't change your app...:p ;)...its actually an homage to a great, wise, and humble Guide-extraordinaire of these Android Forums. :)

    Anyway, that's my story and I'm stickin' with it :D.
     
    Steven58 likes this.
  24. Steven58

    Steven58 Reformed PH VIP Member This Topic's Starter

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    Lol
     
  25. mlclm

    mlclm Well-Known Member

    Joined:
    Sep 25, 2010
    Messages:
    215
    Likes Received:
    30
    Quick Boot also added a shutdown button with the recent update.
     

Share This Page

Loading...