Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Burtrum57 said:
Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Click to expand...
Click to collapse
You can't "pull" from fastboot. The protocol doesn't work like that sadly. What you can do though, is download a kernel from the forums here on xda and:
Flash recovery image to boot partition:
fastboot flash boot <recovery.img>
Battery pull (or reboot) and do a normal boot
It'll boot into recovery.
Backup recovery parition.
Reboot to fastboot
Flash kernel back:
fastboot flash boot <kernel boot.img>
Flash recovery to correct spot:
fastboot flash recovery <recovery.img>
Sent from my 0PCV1 using XDA Free mobile app
Many thanks for that. It worked and now I have CWM recovery. And the first thing I did with it was ???? Make a backup and save that on my computer for just in case!!
Something like this
Code:
dd if=/dev/block/mmcblk0p41 of=/mnt/media_rw/ext_sd/recovery.img
should do it.
Burtrum57 said:
Can anyone advise me off the fastboot command to save a copy of my recovery image before I flash the new one please.
Click to expand...
Click to collapse
Burtrum57 said:
Many thanks for that. It worked and now I have CWM recovery. And the first thing I did with it was ???? Make a backup and save that on my computer for just in case!!
Click to expand...
Click to collapse
do you have it on Desire 510 64 bit ?
how i can get it ?
Related
I've fastboot into the device using cwm 2 from here http://forum.xda-developers.com/showthread.php?t=2172979
and it appears to not have loaded cwm permanently on the device
and went through the step using
http://forum.xda-developers.com/showthread.php?t=2265618
i dont know what i have not done at the moment that would have caused this
here is a screenshot of it when i boot into the device
Maybe
fastboot flash recovery recovery.img
vs
fastboot boot recovery.img
BenPope said:
Maybe
fastboot flash recovery recovery.img
vs
fastboot boot recovery.img
Click to expand...
Click to collapse
thanks Ben that works... looks like a lot of the guide have alot of this little mistake, i am not familar with these tool well enough to get it right...
thanks again
Hello,
I recently flashed the latest TWRP beta for the OxygenOS 4.0.1 on my phone which has an unlocked bootloader. I managed to boot into recovery immediately after flashing the .img through my PC, so that's how I was able to install my SuperSU.
However, since I booted into the OS, anytime I'm trying to enter the TRWP recovery again, I'm stuck in the stock recovery which doesn't let me install anything. So the only way for me to boot into TWRP recovery is using my PC. Can anybody help me to fix that?
Thanks!
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
did you unlock bootloader first
Yuniboy said:
Thanks for your reply! Exactly. And after installing it, I used the command 'fastboot boot TWRP.img", and that brought me into TWRP recovery. But I could only get there this way and still had the stock recovery.
Click to expand...
Click to collapse
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
xabat said:
did you unlock bootloader first
Click to expand...
Click to collapse
Thanks for both your replies. Yes, I did. An indicator is also that every time I boot up my system it even warns me that the bootloader is unlocked.
freepenguin84 said:
From what I understand, the command 'fastboot boot twrp.img' will boot the specified recovery once, but won't flash it to the device. So it has nothing to do with the recovery that is actually on your device. Perhaps something went wrong when you actually flashed twrp and it wasn't written at all.
Click to expand...
Click to collapse
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Yuniboy said:
Well, I flashed the twrp by booting into fastboot mode and then typing 'fastboot flash recovery twrp.img'. I don't know what's wrong there, so maybe you could help me out?
Click to expand...
Click to collapse
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently, you were right. I just wiped my device (accidentaly ) and flashed TWRP again, basically did the same steps as before, but now it works. Seems like somehow the installation of TWRP just failed on the first try. Thanks for your help!
xabat said:
i remember, once i couldn't boot into recovery either when i used fastboot command. Then I flash recovery using tool below and it worked for me.
https://forum.xda-developers.com/oneplus-3t/development/toolkit-oneplus-3t-toolkit-unlock-t3507729
Click to expand...
Click to collapse
Fortunately, it wasn't that bad. So the installation of TWRP failed somehow and I just reinstalled it. Thanks for your help!
kwoad said:
What command are you using to install TWRP to your bootpartition?
I think the correct one is something like:
Code:
fastboot flash recovery (file name).img
Click to expand...
Click to collapse
And For Samsung devices, any method via using ODIN
(Samsung E7/E700H)
freepenguin84 said:
Unfortunately then I don't know how to help Because that's exactly what I did and I got TWRP running without any problem. If you flash via 'fastboot flash recovery' command will it be on the device after you reboot for the first time?
Click to expand...
Click to collapse
Apparently "yes". Source this xda article- https://www.xda-developers.com/how-to-install-twrp/
my phoe is broken i need to flash twrp and i cant to do it ,i setup cyanogenmod recovery by mistake and this recovery is fault because i cant even transfer any files form computer to mobile .. i try to flash with sp tool but it give me error because my phone is broken ,i try also dirtycow v11 on my phone to try flash twrp but it cant read phone on the computer and i setup V21 rom ??
sorry for bad english
any HElp plaese?
meroher said:
any HElp plaese?
Click to expand...
Click to collapse
How you mean broken?
Can it boot to fastboot mode?
YEP IT CAN BOOT TO FASTBOOT ?! then what?
mrmazak said:
how you mean broken?
Can it boot to fastboot mode?
Click to expand...
Click to collapse
plaese man help me my mob is still broken ineed it now
meroher said:
plaese man help me my mob is still broken ineed it now
Click to expand...
Click to collapse
I don't get notified that you answer if you do not quote.
you only answered one of the questions. You did not tell what is "broke"
no help you if you do not know what you need help with.
mrmazak said:
I don't get notified that you answer if you do not quote.
you only answered one of the questions. You did not tell what is "broke"
no help you if you do not know what you need help with.
Click to expand...
Click to collapse
oki iget it
first i had a twrp recovery and i try to install other recovery so
i install this recovery
https://forum.xda-developers.com/r1-hd/development/beta-cyanogenmod-recovery-blu-r1-hd-t3462614
and this recovery cant let me to install any rom or to back to install twrp recovery
and blu cant boot up he freeze on blu white screen
any thing else i will tell you
thanks for you help
meroher said:
oki iget it
first i had a twrp recovery and i try to install other recovery so
i install this recovery
https://forum.xda-developers.com/r1-hd/development/beta-cyanogenmod-recovery-blu-r1-hd-t3462614
and this recovery cant let me to install any rom or to back to install twrp recovery
and blu cant boot up he freeze on blu white screen
any thing else i will tell you
thanks for you help
Click to expand...
Click to collapse
Ok you installed this cm recovery with twrp?
android is not booting. (v21)
the cm recovery does boot but not allow install anything.
And fastboot is loading.
probably need to fastboot flash boot.img , I will share a superSU patched version. (you do not need to root system if not wanted, but patched boot is needed to boot a moddified system)
and fastboot flash twrp.
download this zip.
extract files to your desktop
use these fastboot commands to test first
This one to boot the phone
Code:
fastboot boot %userprofile%\Desktop\su-boot.img
This one to boot twrp
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
mrmazak said:
Ok you installed this cm recovery with twrp?
android is not booting. (v21)
the cm recovery does boot but not allow install anything.
And fastboot is loading.
probably need to fastboot flash boot.img , I will share a superSU patched version. (you do not need to root system if not wanted, but patched boot is needed to boot a moddified system)
and fastboot flash twrp.
download this zip.
extract files to your desktop
use these fastboot commands to test first
This one to boot the phone
Code:
fastboot boot %userprofile%\Desktop\su-boot.img
This one to boot twrp
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
Click to expand...
Click to collapse
Quote:
FIRST WHEN SEE YOU POST I TRY THIS CODES BEFORE TRYING WITH YOUR CODES
Lets see how quick and easy this really is...
In the command line type:
Code:
fastboot devices
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
Of course replace <superawesomerom.zip> with the correct file name
and last but not least:
Code:
fastboot reboot
THANKS IT WORKS BUT WHEN I GO TO RECOVERY IT GO TO BOOT directly again AND again
WHATS BROBLEAM !
meroher said:
Quote:
FIRST WHEN SEE YOU POST I TRY THIS CODES BEFORE TRYING WITH YOUR CODES
Lets see how quick and easy this really is...
In the command line type:
Code:
fastboot devices
Seeing your serial number means we know all is good
Now lets type these commands:
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
Of course replace <superawesomerom.zip> with the correct file name
and last but not least:
Code:
fastboot reboot
THANKS IT WORKS BUT WHEN I GO TO RECOVERY IT GO TO BOOT directly again AND again
WHATS BROBLEAM !
Click to expand...
Click to collapse
WOW
WTF
Idon't know who told you to use those commands, but I am not familiar with using
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
so i dont know what to tell you.
why do you say "it worked" but then say it "just boots again AND again"
to me that is not worked, that is mean it made bootloop. so not worked.
mrmazak said:
WOW
WTF
Idon't know who told you to use those commands, but I am not familiar with using
Code:
fastboot erase system -w
fastboot erase boot
fastboot update superawesomerom.zip
so i dont know what to tell you.
why do you say "it worked" but then say it "just boots again AND again"
to me that is not worked, that is mean it made bootloop. so not worked.
Click to expand...
Click to collapse
ok sorry
the mobile now in a bootloop as you say any solution to this issue and iam sorry again >>+
i get codes from here
https://forum.xda-developers.com/showpost.php?p=41374686&postcount=4
this post please stay with me to back up this phone
meroher said:
ok sorry
the mobile now in a bootloop as you say any solution to this issue and iam sorry again >>+
i get codes from here
https://forum.xda-developers.com/showpost.php?p=41374686&postcount=4
this post please stay with me to back up this phone
Click to expand...
Click to collapse
I am not aware of any zip file available to flash the way that guide had you try.
As it stands you wiped boot and system.
I am away from PC so typing is not as easy. I will be more detailed when I return.
Basically I suggest you to "flash" the boot.img I sent.
Then "boot" the recovery.
If the recovery then boots. Install a rom from my modifes stock roms thread.
oki i try install recovery but it same thing it go to white screen and restart again and again
i will wait for you to help me more thanks ><
mrmazak said:
I am not aware of any zip file available to flash the way that guide had you try.
As it stands you wiped boot and system.
I am away from PC so typing is not as easy. I will be more detailed when I return.
Basically I suggest you to "flash" the boot.img I sent.
Then "boot" the recovery.
If the recovery then boots. Install a rom from my modifes stock roms thread.
Click to expand...
Click to collapse
oki i will wait you thanks for your time
meroher said:
oki i will wait you thanks for your time
Click to expand...
Click to collapse
So this is what i suggest
use the files i gave before, unzipped to desktop.
This one to Flash boot.img
Code:
fastboot flash boot %userprofile%\Desktop\su-boot.img
This one to boot twrp.img
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
I expect that to give you a working twrp environment. Then go to linked thread and install really any version you want. But as you said you were on V21, so pick that one I supose.
https://forum.xda-developers.com/r1-hd/development/modified-8-3-stock-rom-t3602672
mrmazak said:
So this is what i suggest
use the files i gave before, unzipped to desktop.
This one to Flash boot.img
Code:
fastboot flash boot %userprofile%\Desktop\su-boot.img
This one to boot twrp.img
Code:
fastboot boot %userprofile%\Desktop\twrp_p6601_7.1_recovery.img
I expect that to give you a working twrp environment. Then go to linked thread and install really any version you want. But as you said you were on V21, so pick that one I supose.
https://forum.xda-developers.com/r1-hd/development/modified-8-3-stock-rom-t3602672
Click to expand...
Click to collapse
it works fine finally thanks very much for help :]:]:laugh::laugh:
I tried to create a custom boot logo using logo builder 1.6
I followed all the steps as mentioned in the thread for creating a logo.
After renaming logo.bin to logo.img , the next step was given to flash this image using twrp.
So, after flashing I got stuck on boot logo (the loop is the starting venom logo as for the venom kernel )and I cannot access twrp recovery nor can I flash anything using SP flash tool via laptop.
Please help ASAP
Wtf!! No one is replying
Should I ping devs then?
use fastboot
Nicconike said:
Wtf!! No one is replying
Should I ping devs then?
Click to expand...
Click to collapse
use fastboot mode to flash twrp then try to boot in it
download twrp and put it in a folder and open command prompt in it use this command fastboot flash recovery twrp.img
akshay_rajput said:
use fastboot mode to flash twrp then try to boot in it
download twrp and put it in a folder and open command prompt in it use this command fastboot flash recovery twrp.img
Click to expand...
Click to collapse
Thanks for your reply
None of the methods are working because phone was always looping in for bootlogo
But no issues just now I found a way , finally I can retrieve all internal data and clean wipe the ROM yayy!!
Now, i won't be using logo builder ever
I am trying to flash custom recovery via fastboot method and i face en error after i enter this commond {fastboot flash recovery recovery location and enter then it show me :- remote (The partion doesn't exist)
I change multiple laptop and try again and again stil face this error.
Someone please help me to fix this problem
Awnish said:
I am trying to flash custom recovery via fastboot method and i face en error after i enter this commond {fastboot flash recovery recovery location and enter then it show me :- remote (The partion doesn't exist)
I change multiple laptop and try again and again stil face this error.
Someone please help me to fix this problem
Click to expand...
Click to collapse
Shouldn't it be "fastboot flash recovery.img recovery"?
Edit: sorry, mixed it up myself "flash recovery recovery.img"
fastboot flash recovery recovery.img
jjsan said:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
It doesn't work after enter commond i show this error (the partion doesn't exist) and recovery not install
bmwdroid said:
Shouldn't it be "fastboot flash recovery.img recovery"?
Click to expand...
Click to collapse
Yes
can you try to boot recovery without flashing?
in bootloader mode:
fastboot boot recovery.img
jjsan said:
can you try to boot recovery without flashing?
in bootloader mode:
fastboot boot recovery.img
Click to expand...
Click to collapse
Can you explain it
it will try to bood it without flash. i was using it like this for a long time. and you will see if the recovery is ok
Cn yo
jjsan said:
it will try to bood it without flash. i was using it like this for a long time. and you will see if the recovery is ok
Click to expand...
Click to collapse
Can you explain the complete method or any video or Photo
do you guys even know that fastboot flash boot boot.img works with TWRP?
this is the only way to flash TWRP
Bro after this i face black screen only. Phone doesn't boot even phone doesn't boot in stock recovery.phone boot only fastboot mode.
you need to patch both boot partitions
fastboot flash boot_a file.img
fastboot flash boot_b file.img
then
fastboot reboot
jjsan said:
you need to patch both boot partitions
fastboot flash boot_a file.img
fastboot flash boot_b file.img
then
fastboot reboot
Click to expand...
Click to collapse
Can you provide.img files
you can get one from image using tool
its the same for both
this one is for 12.5.18.0
Thanks buddy i will try it.
Awnish said:
Thanks buddy i will try it
Click to expand...
Click to collapse
i updated today to 13.0.8.0 and remember about this.
were you successful?