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

Mods Forcing fastboot [Root only]

Discussion in 'Android Development' started by sammyz, Mar 29, 2013.

  1. sammyz

    sammyz LG Whiz Kid
    Thread Starter
    Rank:
    None
    Points:
    323
    Posts:
    8,835
    Joined:
    Jun 3, 2011

    Jun 3, 2011
    8,835
    2,489
    323
    Male
    None :(
    Pompano Beach, Fl
    This is for devs that know how to get partition informtion from their device:

    If a phone doesn't go into fastboot by command:

    Code (Text):
    1. adb reboot bootloader
    One must simply erase the boot partition using dd.

    First you must have your boot.img backed up if you want to ever get out:

    Code (Text):
    1. adb shell
    2. su
    3. dd if=/dev/block/[COLOR="red"]path to boot[/COLOR] of=/sdcard/boot.img
    4. exit (type exit again if not out of shell)
    5. adb pull /sdcard/boot.img
    Now to erase boot partition and force fastboot:

    Code (Text):
    1. adb shell
    2. su
    3. dd if=dev/zero of=dev/block/[COLOR="Red"]path to boot block[/COLOR]
    4. reboot
    You are now in fastboot.
    To get out:

    Code (Text):
    1. fastboot flash boot boot.img
    2. fastboot continue
    This guide is missing parts of cmds because different blocks are located in different places for different devices.
     

    Advertisement

Share This Page

Loading...