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

Root List of fastboot command.

Discussion in 'Android Devices' started by cicciocant, Apr 27, 2013.

  1. cicciocant

    cicciocant Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    32
    Joined:
    Apr 19, 2013

    Apr 19, 2013
    32
    3
    16
    There is a list of available fastboot commands ?

    Not only this:

    Code (Text):
    1. fastboot
    2. usage: fastboot [ <option> ] <command>
    3.  
    4. commands:
    5.   update <filename>                        reflash device from update.zip
    6.   flashall                                 flash boot + recovery + system
    7.   flash <partition> [ <filename> ]         write a file to a flash partition
    8.   erase <partition>                        erase a flash partition
    9.   format <partition>                       format a flash partition
    10.   getvar <variable>                        display a bootloader variable
    11.   boot <kernel> [ <ramdisk> ]              download and boot kernel
    12.   flash:raw boot <kernel> [ <ramdisk> ]    create bootimage and flash it
    13.   devices                                  list all connected devices
    14.   continue                                 continue with autoboot
    15.   reboot                                   reboot device normally
    16.   reboot-bootloader                        reboot device into bootloader
    17.   help                                     show this help message
    18.  
    19. options:
    20.   -w                                       erase userdata and cache (and format
    21.                                            if supported by partition type)
    22.   -u                                       do not first erase partition before
    23.                                            formatting
    24.   -s <specific device>                     specify device serial number
    25.                                            or path to device port
    26.   -l                                       with "devices", lists device paths
    27.   -p <product>                             specify product name
    28.   -c <cmdline>                             override kernel commandline
    29.   -i <vendor id>                           specify a custom USB vendor id
    30.   -b <base_addr>                           specify a custom kernel base address
    31.   -n <page size>                           specify the nand page size. default:
    32. 2048
    33.   -S <size>[K|M|G]                         automatically sparse files greater th
    34. an
    35.                                            size.  0 to disable
    36.  
    but also other commands like this

    Code (Text):
    1. fastboot oem writecid
    2. fastboot oem writeimei
    etc...
     

    Advertisement

    vsn12 likes this.
  2. scotty85

    scotty85 Android Expert
    Rank:
    None
    Points:
    1,413
    Posts:
    11,139
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,139
    7,418
    1,413
    just type fastboot and youll be given a similar useage list for fastboot commands. it will depend on the phone,and bootloader version,but in general youll see something like:
    if you want to know the oem commands then type: fastboot oem ?
    an eng or "patched" hboot will less restrictions(for example fastboot flash all partitions),and more oem commands.

    for comparison,the above oem ? output was from a normal,ship s-on rezound. the following is from an eng(or engineering) hboot:
    not sure if the normal commands differe from the one s,the rezound was handy. i also do not believe there is an eng one s hboot available for comparison.

    hope that helps :)
     
    Granite1, vsn12, ocnbrze and 2 others like this.
  3. cicciocant

    cicciocant Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    32
    Joined:
    Apr 19, 2013

    Apr 19, 2013
    32
    3
    16
    Yes of course. But wath is eng hboot?
     
  4. scotty85

    scotty85 Android Expert
    Rank:
    None
    Points:
    1,413
    Posts:
    11,139
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,139
    7,418
    1,413
    eng= engineering

    in the bootloader screen,it will say "eng" where it currently says "ship"

    eng bootloaders were initially prepaired for testers of pre-release and developmental devices to make specific changes. they were never really intended to be in the public's hands ;) as i mentioned,i dont think ive ever seen one for the one s. im sure one exists,but no one has leaked it,or accidentally found a device with it,if it does.

    once,i completely randomly stumbled upon an eng hboot for the htc merge,while helping a user in puerto rico(his friends device had one) :eek:

    patched= modified stock

    it is simply a stock hboot that is "patched" or modified to provide some(but not all) of the extra fastboot commands,and elimiate the restrictions of the stock version(example,being able to "fastboot flash" ALL partitions)

    patched hboots are not signed with an official htc signiture,and therefore,can ONLY be installed on s off phones. sneeking one onto an s on device(or turning a device s on with one present) will result in a potentially unrecoverable hard brick.

    an example of a patched hboot is the hboots installed when one runs the "revolutionary" tool on older phones that that particular tool works on.

    come to think of it,ive not seen any patched hboots for the one s,either,but then,im not in the xda one s forums daily

    further questions? :)
     
  5. cicciocant

    cicciocant Member
    Thread Starter
    Rank:
    None
    Points:
    16
    Posts:
    32
    Joined:
    Apr 19, 2013

    Apr 19, 2013
    32
    3
    16
  6. feyizu

    feyizu Lurker
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Jan 10, 2013

    Jan 10, 2013
    4
    0
    5
    Hii, friends,

    I have HTC One M9+ and some commands is not working on my phone like "fastboot oem ?" or "fastboot oem writeimei"..however command "fastboot oem writecid" is working..have you any idea?
    Thanks
     
  7. jhetrosky

    jhetrosky Lurker
    Rank:
    None
    Points:
    15
    Posts:
    1
    Joined:
    Apr 4, 2016

    Apr 4, 2016
    1
    0
    15
    Male
    Hi :)
    when i type fastboot it says
    /system/bin/sh:fastboot /not found
    can you help me pls?
    I cant enter fastboot mode
     
Tags:

Share This Page

Loading...