3

Is there a way to shutdown my Mate7 from fastboot? Long pressing the power button makes the phone restart again. I need to shut it down so I can recharge it then restore to stock.

5

There is no Fastboot Command that does this.

However you could try holding the power button down until the screen goes blank and then letting go off the power button before the device starts to boot (before the vibrate). This is the only viable way... The list of available Fastboot commands are:

usage: fastboot [ <option> ] <command>

 

commands:

  update <filename>                        reflash device from update.zip

  flashall                                 flash boot + recovery + system

  flash <partition> [ <filename> ]         write a file to a flash partition

  erase <partition>                        erase a flash partition

  format <partition>                       format a flash partition

  getvar <variable>                        display a bootloader variable

  boot <kernel> [ <ramdisk> ]              download and boot kernel

  flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it

  devices                                  list all connected devices

  continue                                 continue with autoboot

  reboot                                   reboot device normally

  reboot-bootloader                        reboot device into bootloader

  help                                     show this help message

 

options:

  -w                                       erase userdata and cache (and format

                                           if supported by partition type)

  -u                                       do not first erase partition before

                                           formatting

  -s <specific device>                     specify device serial number

                                           or path to device port

  -l                                       with "devices", lists device paths

  -p <product>                             specify product name

  -c <cmdline>                             override kernel commandline

  -i <vendor id>                           specify a custom USB vendor id

  -b <base_addr>                           specify a custom kernel base address

  -n <page size>                           specify the nand page size. default:

2048

  -S <size>[K|M|G]                         automatically sparse files greater th

an
2

If you are planning to charge your phone enough so that you can flash again, try this

@echo off
:start
fastboot getvar battery-voltage

fastboot reboot-bootloader

ping /n 6 localhost >nul

goto start

save it as a batch file and place it in adb and run it.

This will basically make your phone to reboot the bootloader continuously until you reach a safe battery level for flashing.

  • The ping command after you tell it to reboot is pointless, because the device will have rebooted. Correct me if I'm wrong? – Aaron Gillion Mar 18 '16 at 16:29
1

ok i got it .. also problem fixed and phone working now .. all i had to do is to put phone in SD Update Mode where it says "Battery Level is Low" then i connected charger and left it for 2 hours then Update process started.

0

You can do:

fastboot reboot-bootloader

At which point you can use the bootloader menu to shut it down. I believe in pretty much all, if not all, Android bootloaders you can select to power down by either pressing volume down 3 times or volume up 1 time. Pressing the power button should then select to power down. I'm not sure this will work for Mohamed Shibo's original scenario, but it's what I had to do recently to shut down a Droid Turbo that was stuck in continual boot with a broken screen.

  • This varies between devices. There is no standard here. For example, for my Motorola Nexus 6, your answer applies ( and there is no need, at least in my device, to reboot into bootloader again). For OnePlus One, it doesn't work. I don't particularly remember the device name but it doesn't work for a particularly high end Moto device either. – Firelord Mar 18 '16 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.