Power off / reboot without root access

Discussion in 'Android' started by Pasta88, Mar 28, 2018.

  1. Pasta88

    Pasta88 MDL Expert

    Jun 17, 2009
    1,332
    44
    60
    Is there an app (or any other way) that will shutdown or reboot an android phone without root access?



    thx
     
  2. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,978
    340
    AFAIK to execute any shutdown command you need to have root permissions. Scheduled shutdowns also.

    'or any other way'.... press and hold power button. lol ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    4,071
    4,651
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,680
    18,584
    340
    @Pasta88

    Well, you can do both via adb (without root access), but you have to trust the PC first on which the adb binary is being executed.
     
  5. Pasta88

    Pasta88 MDL Expert

    Jun 17, 2009
    1,332
    44
    60
    Care to share how I would do that plz?
     
  6. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,680
    18,584
    340
  7. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,978
    340
    With
    Code:
    adb devices
    you can check if the adb has connected properly. It should list your phone. You should have USB debugging enabled on your phone. (ADB = Android Debug Bridge)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. secgeek

    secgeek MDL Novice

    Feb 8, 2018
    42
    13
    0
    It can be done using AutoInput plugin for Tasker. This plugin simulate taps on the screen. Although a little hard work is required to find out X & Y coordinates of right locations on the screen to tap correct buttons.
     
  9. StOrmCatz

    StOrmCatz MDL Novice

    Jan 3, 2016
    5
    2
    0
    TouchTask is another alternative to AutoInput. Instead of using the X & Y coordinate, it might be able to click on menu items by text
     
  10. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,680
    18,584
    340
    @secgeek @StOrmCatz

    Tasker needs root access, which needs to be avoided as per user's requirement.
     
  11. secgeek

    secgeek MDL Novice

    Feb 8, 2018
    42
    13
    0
    But not all functions of Tasker require root access.