fastboot - Xiaomi Redmi Note 4 Questions & Answers

I just wanted to know... If I ran "fastboot boot recovery.img", this would merely boot the recovery image and not install it right? And to boot into system I would just have to "fastboot reboot" right?

fastboot boot recovery.img (Boot into recovery)
fastboot flash recovery recovery.img (install twrp recovery)

staharuddin said:
I just wanted to know... If I ran "fastboot boot recovery.img", this would merely boot the recovery image and not install it right? And to boot into system I would just have to "fastboot reboot" right?
Click to expand...
Click to collapse
yup, thats right. that boot command can be used to perform some quick commands, like resetting etc.

So if I want to keep my stock recovery I can just use "fastboot boot recovery.img" Is that correct?

staharuddin said:
So if I want to keep my stock recovery I can just use "fastboot boot recovery.img" Is that correct?
Click to expand...
Click to collapse
Yes you are correct this command will just open your currently installed recovery but to flash the recovery you'll have to use the following command
Fastboot flash recovery recovery recovery_name.img

Related

[Q] fastboot help

hi im getting fastboot mode started
udc_start()
i tried using fast boot reviving post but
im erasing recovery successful
but when i execute fastboot flash recovery recovery.img
im getting an error that not loading recovery.img heip me.......
Try typing the entire path to the recovery file.
follow this to flash custom recovery http://forum.xda-developers.com/showthread.php?t=1318750
for the command "fastboot flash recovery recovery.img", recovery.img refers to the file of your recovery. try doing either:
a) make sure that the name of the recovery file is "recovery.img".
b) change the command "fastboot flash recovery recovery.img" to "fastboot flash recovery (name of the file).img", where (name of the file).img is the actual name of the recovery file (for example, if the name of the file is thunderg.img, the command would be "fastboot flash recovery thunderg.img)

Cannot boot into recovery

Everytime I try to it just reboots the phone. Im currently using cwm and have tried flashing the other recovery renamed as PH98IMG.zip and it will not overwrite it. Any help would be appreciated. I've also tried fastboot, guess I wasn't typing in the right command
v36sedan said:
Everytime I try to it just reboots the phone. Im currently using cwm and have tried flashing the other recovery renamed as PH98IMG.zip and it will not overwrite it. Any help would be appreciated. I've also tried fastboot, guess I wasn't typing in the right command
Click to expand...
Click to collapse
fastboot command to flash a recovery. type "fastboot devices" to make sure your computer is seeing your phone in fastboot.
"Fastboot flash recovery nameoftherecovery.img" You will need to unzip the file and pull the actual image file out, and put it in the same folder your fastboot file is in.
I did that. I typed fastboot flash recovery recovery.img and it doesn't take it
I want to flash the amon recovery on top of the cwm
The recovery image is named... recovery.img
What else can I do to get my phone into recovery ?
Have you tried "abd reboot recovery"?
Sent from my GT-P7510 using Tapatalk
in fastboot type "fastboot boot recovery.img" then it will boot straight into the recovery image that you want to load. It isn't permanent, but it can get you a working phone in the mean time

[Q]No recovery menu in hboot1.5

Hi, My phone is EVO 3D CDMA, unlock by HTC method, Hboot1.5 still S-ON
When boot into hboot, no go into recovery menu, can flash recovery.img by fastboot tool, but can boot into recovery,I use adb reboot recovery.
muziling said:
Hi, My phone is EVO 3D CDMA, unlock by HTC method, Hboot1.5 still S-ON
When boot into hboot, no go into recovery menu, can flash recovery.img by fastboot tool, but can boot into recovery,I use adb reboot recovery.
Click to expand...
Click to collapse
First download a custom recovery like CWM, TWRP or 4ext.
It should be .img file. Put it in the folder in which you have fastboot.exe.
Boot into hboot. Open command prompt and instead of adb reboot recovery , use "fastboot flash recovery recovery.img" (file name should be recovery.img or change command according to the file name). Then type fastboot boot recovery.img. Recovery should boot now.
To make things easier just download free version from here (this will flash 4ext recovery) ----> http://4ext.net/
and install the latest or stable release. then adb reboot recovery will work.
mnomaanw said:
First download a custom recovery like CWM, TWRP or 4ext.
It should be .img file. Put it in the folder in which you have fastboot.exe.
Boot into hboot. Open command prompt and instead of adb reboot recovery , use "fastboot flash recovery recovery.img" (file name should be recovery.img or change command according to the file name). Then type fastboot boot recovery.img. Recovery should boot now.
To make things easier just download free version from here (this will flash 4ext recovery) ----> http://4ext.net/
and install the latest or stable release. then adb reboot recovery will work.
Click to expand...
Click to collapse
I can use "fastboot boot recovery.img" to boot any recovery.img.
But can not boot into the recovery which flash by "fastboot flash recovery recovery.img", when in android ,use command "adb reboot recovery", can not boot into recovery, and HBOOT still no recovery menu.
Before you started this process did you make sure to enable usb debugging from within your rom ?? Also did you make sure to uncheck fastboot in the power settings as well ??
#Root-Hack_Mod*Always\
laie1472 said:
Before you started this process did you make sure to enable usb debugging from within your rom ?? Also did you make sure to uncheck fastboot in the power settings as well ??
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
Yes , I did disable fastboot in power setting, "adb reboot recovery", phone reboot an go into android, not recovery.
fastboot boot recovery.img to recovery:
/ # flash_image recovery /sdcard/recovery.img
flash_image recovery /sdcard/recovery.img
error scanning partitions: No such file or directory
muziling said:
Yes , I did disable fastboot in power setting, "adb reboot recovery", phone reboot an go into android, not recovery.
fastboot boot recovery.img to recovery:
/ # flash_image recovery /sdcard/recovery.img
flash_image recovery /sdcard/recovery.img
error scanning partitions: No such file or directory
Click to expand...
Click to collapse
first off what operating system are you using? windows,linuxsietug would be a help and second... is that the list of commands youre enterting in order?
wloftus said:
first off what operating system are you using? windows,linuxsietug would be a help and second... is that the list of commands youre enterting in order?
Click to expand...
Click to collapse
fastboot boot c:\recovery.img
adb push c:\recovery.img /sdcard/recovery.img
adb shell
flash_image recovery /sdcard/recovery.img
Then, error output : error scanning partitions: No such file or directory
My OS is WIN7
Did you place the img into the tools folder ?? And whats the name of the recovery img ??
#Root-Hack_Mod*Always\
laie1472 said:
Did you place the img into the tools folder ?? And whats the name of the recovery img ??
#Root-Hack_Mod*Always\
Click to expand...
Click to collapse
No, recovery is recoveryTWRP110.img
You need to place a copy of the img into your adb tools folder then run the commands
#Root-Hack_Mod*Always\

Twrp issue

I have been trying to install twrp on my new lgv10. I have oem unlocked and I did the command "fastboot flash recovery recovery.img" and then "fastboot boot recovery.img". This boots up twrp recovery, but when I reboot and go back to recovery with "adb reboot recovery" it shows me the fastboot instructions again. How can I get twrp to stay as my recovery? Also, I can't boot recovery from the phone itself it only works from adb. Whenever I try holding the power and volume it just keeps doing the reboot animation over and over.

Fatsboot boot bug (phone doesn't boot)

Hello!
Now I have a trouble with my Nokia 7.1.
When I try to boot twrp or another kernel (boot.img) it stuck. I do '"fastboot boot twrp.img" or "fastboot boot boot.img" and my phone frozes on Android One logo.
And if problem with twrp can be solved (first enter "fastboot flash recovery twrp.img" and only than "fastboot boot twrp.img"), problem with boot.img is still relevant.
I noticed, that after "fastboot boot ..." phone restarts into download mode.
My phone is unlocked.
Thank
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
singhnsk said:
Hi, before any boot command, you'll need to do that flash recovery counterpart. You can do it on a standard boot image as well, not just TWRP. There's no recovery partition, so, nothing gets flashed. But it somehow allows us to boot our bootable img files.
So,
Code:
fastboot flash recovery boot.img
fastboot boot boot.img
Click to expand...
Click to collapse
Yes! Thank you.
I recently came to this conclusion, but what is it?
Does it bootloader bug or anything else?
i have similar problems and just started a new request

Categories

Resources