fastboot command

Search This thread

tamir20121

Member
Aug 10, 2014
21
0
hello i try to flash a rom and i see in some web
that i can to do this with this command :
fastboot flash boot boot.img
but i confused and write
fastboot boot boot.img

now i try to enter to recovery of twrp and i cant it just show me black screen :crying:
someone help me plz.
 
Last edited:

stathis95194

Senior Member
Oct 15, 2008
1,793
594
Nicosia
Xiaomi Mi 10 Ultra
Xiaomi 13 Pro
You flashed boot.img in the recovery partition.

Download your preferred recovery and flash it with the command:

fastboot flash recovery recovery.img

you will be good to go

hello i try to flash a rom and i see in some web
that i can to do this with this command :
fastboot flash boot boot.img
but i confused and write
fastboot boot boot.img

now i try to enter to recovery of twrp and i cant it just show me black screen :crying:
someone help me plz.
 

BerndM14

Senior Member
Apr 8, 2014
1,454
543
You flashed boot.img in the recovery partition.

Download your preferred recovery and flash it with the command:

fastboot flash recovery recovery.img

you will be good to go

:confused:

I didn't see him mention anything about recovery. He booted the boot.img there by he would only "simulate" a boot so to speak, not?

Kinda like:

Building and booting Nexus 5 kernel

Excerpt from posted link:

Code:
$ adb start-server
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
$ adb reboot bootloader
$ sudo fastboot boot boot.img

During this commands your phone will reboot to bootloader mode, next using fastboot command you'll copy the new boot image to RAM of the phone and then boot it. YOUR FLASH IS NOT TOUCHED IT'S 100% SAFE! Now just check in settings, what is version of your kernel. When you've done with hacking, and want to have the original just reboot your phone.

He could have just restarted the phone and flashed it properly. Maybe doing that is like booting a "virtual" copy of the Kernel on the device for testing purposes?

Either way though, it's just for the sake of interest/education, if anything else. :good: