How to backup stock recovery image before flashing custom recovery? - AT&T HTC One (M8)

If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks

JOE180360 said:
If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks
Click to expand...
Click to collapse
If you are rooted already with a stock recovery, skip to the second half of the next paragraph.
What you want to do is boot twrp instead of flashing it at first. You do this by using the command "fastboot boot recovery.img" where as "recovery.img" is the name you have assigned to your twrp recovery image. Once you have booted into twrp, reboot system. You will be prompted to root the device (assuming you are not already rooted), select yes. Now that you are rooted, download this app. In the app settings change the backup format to .img, and then backup your recovery. Now you will have a copy of your stock recovery. Now that you have that, go back and flash twrp using the command "fastboot flash recovery recovery.img", whereas "recovery.img" refers to whatever you have named your twrp recovery image.
all of this is assuming that you have adb setup on your computer, and a good working knowledge of how to use it.

What if I'm already rooted with twrp recovery, is it still possible?
Sent from my HTC One_M8 using XDA Free mobile app

Would I have to runn the ruu agian.
Sent from my HTC One_M8 using XDA Free mobile app

Thanks for the info. Much appreciated. I will do this next time I flash back to stock.
Thanks
Sent from my HTC One_M8 using XDA Free mobile app

JOE180360 said:
What if I'm already rooted with twrp recovery, is it still possible?
Click to expand...
Click to collapse
You still have stock recovery? If so, it sounded like you did fastboot boot TWRP (instead of fastboot flash TWRP).
In which case, you can just then use TWRP to backup the recovery partition. You don't need a seperate app or root to do this.

I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Sent from my HTC One_M8 using XDA Free mobile app

JOE180360 said:
I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Click to expand...
Click to collapse
Yes, you can only have one recovery at a time. TWRP custom recovery overwrote the stock recovery. You can't back up what isn't there anymore.
But you can always return to stock by RUU, if needed.

Related

Fastboot boot recovery vs pulling boot.img?

I know pulling the boot.img from the rom is the old way to do things then wiping in recovery and flashing the boot img in fastboot... Then flash the rom in recovery....
Or you could just fasboot boot recovery.img and wipe and flash the rom... without pulling the boot.img
Doesn't these two methods work just the same minus the fact that fastboot boot recovery is just quicker to flash a whole rom....
This is for the hboot 1.5 users.....
I know about flash gui im just asking about using ADB and recovery flashing.....
Either way works fine doesn't it...>< ?
Yes, booting into recovery vía fastboot allows simultaneous flashing of kernel/ROM.
You may also flash a custom kernel zip file in the same fashion.
Sent from my PG86100 using xda premium
intrlude said:
Yes, booting into recovery vía fastboot allows simultaneous flashing of kernel/ROM.
You may also flash a custom kernel zip file in the same fashion.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
Ya that is the advantage of using the recovery via fastboot.... But other then that they both get the job done... Minus that fastboot lets you flash the whole rom instead of taking the boot img out.... along with custom kernels....
One stop shop
There's also a app called Flash Image GUI that works pretty good...

Couldn't Manually update clockword mod recovery

I tried to manually update my HTC One's clockwork mod recovery using the command prompt. I downloaded the new .img file directly from the clockwork mod website. I made sure that I erased cache first. I then flashed the recovery I downloaded. The command prompt did not send the recovery and it failed to find the recovery. I could not get it to flash the new version of clockwork mod. I am trying to install android 4.4 and I need the new version of clockwork. I am going to give this phone to my father and I want him to have vanilla Android on it.
I am moderate Android modder. I have rooted several phones. I cannot get this to work the way I usually do. I am missing some step. Should I or could I flash TWRP Recovery instead of Clockwork?
Thank you for all of your help. Everyone on here has always been very helpful.
Flash it in recovery
Sent from my HTC One using Tapatalk
xcrazydx said:
Flash it in recovery
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Flash a new recovery from recovery ? that's a new one on me, I remember an old UPDATE.ZIP method does that still work ?
Rom manager and root toolbox can flash a recovery I think.
the only way I have ever done it is from fastboot usb
fastboot flash recovery TWRP.img
fastboot erase cache
or
fastboot flash recovery CWMT.img
fastboot erase cache
just make sure the TWRP.img or CWMT.img are in the same directory as fastboot
clsA said:
Flash a new recovery from recovery ? that's a new one on me, I remember an old UPDATE.ZIP method does that still work ?
Rom manager and root toolbox can flash a recovery I think.
the only way I have ever done it is from fastboot usb
fastboot flash recovery TWRP.img
fastboot erase cache
or
fastboot flash recovery CWMT.img
fastboot erase cache
just make sure the TWRP.img or CWMT.img are in the same directory as fastboot
Click to expand...
Click to collapse
That's what i do on all my Samsung phones. I don't remember if I've done it on this phone yet, actually. But yes, I always flash a new recovery from recovery.
Sent from my HTC One using Tapatalk
xcrazydx said:
That's what i do on all my Samsung phones. I don't remember if I've done it on this phone yet, actually. But yes, I always flash a new recovery from recovery.
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
interesting I was able to find a recovery flashable zip of CWMT
clsA said:
interesting I was able to find a recovery flashable zip of CWMT
Click to expand...
Click to collapse
If that doesn't work and you can't delete the recovery with fastboot erase recovery.
If you are soff find the 4.1.2 ruu exe and install it over. It'll fix the partitions and nuke recovery on its way by.
Sent from my One using Tapatalk

stock boot.img?

Is there a stock boot.img file available? I stupidly flashed the twrp file over my boot instead of recovery and am having obvious issues now. I see the thread with a twrp backup of boot+ everything else, but I would need to flash with fastboot I'm guessing.
I was able to use a backup from another thread and restore in twrp. I get messages in the boot loader now about missing some gift files? Nothing seems impacted tho
Sent from my HTC One_M8 using XDA Premium 4 mobile app

ATT Lollipop/KitKat Firmware Update signed/encrypted/custom

S-on users will need to relock/lock bootloader before flashing.
S-off users can simply flash using either method below. I also have included an S-off only option which i removed the boot and recovery img from (perfect for users on custom roms who only want to update firmware)
Option 1) Use fastboot to flash
fastboot oem rebootRUU
fastboot flash zip ATT444firmware.zip
*** If any message appears about reflush and flash run above command again ***
fastboot reboot-bootloader
**** this firmware has both stock boot and recovery so flash your custom rom's kernel and/or your custom recovery NOW before rebooting****
Option 2)
Rename zip file to 0P6BIMG.zip and place on your external SD card. Reboot to hboot and allow bootloader to update/flash
Download Links Do NOT mirror these elsewhere.
Stock signed/encrypted (includes stock boot and recovery)
Lollipop
- https://www.androidfilehost.com/?fid=95916177934552399
KitKat
- https://www.androidfilehost.com/?fid=95916177934529535
S-off only no boot or recovery img included
Lollipop
- https://www.androidfilehost.com/?fid=95916177934552398 ( included TWRP 2.8.6 with this)
Kitkat
- https://www.androidfilehost.com/?fid=95916177934529541
Help is available via teamviewer if needed
OMG I LOVE YOU :fingers-crossed:
This is REAL developer spirit!
i did option 2 and it goes thru the phase in bootloader, and when it boots i hear the boot up sound but stays on the HTC screen, but i can hit the vol up and i can hear the sound like it did a reboot but its stuck on the HTC screen. any ideas?
I think you will need to reflash your ROM as dottat did not specify if he had made the package for s-off not to wipe. Generally during firmware update, it will wipe clean the phone to reset partitions, I am assuming. If you come from gpe firmware, best to reflash because gpe and sense have different partitioning.
Hold power+vol up to force shut down then use power+vol down to get to bootloader and enter your custom recovery from there.
yaiba60 said:
I think you will need to reflash your ROM as dottat did not specify if he had made the package for s-off not to wipe. Generally during firmware update, it will wipe clean the phone to reset partitions, I am assuming. If you come from gpe firmware, best to reflash because gpe and sense have different partitioning.
Hold power+vol up to force shut down then use power+vol down to get to bootloader and enter your custom recovery from there.
Click to expand...
Click to collapse
Firmware won't wipe.
That said I believe by second option he meant SD card method. If he's s on he will likely need to reflash his roms kernel (boot.Img) via fastboot after unlocking again.
@hauntyu
Just pull the boot.img out of the zip of the rom you were running and flash that in fastboot mode after you unlock your bootloader again.
Which method would I use to flash the ruu or download because Im gpe and it says when I run the ruu its the wrong image.
MexicanSamurai said:
Which method would I use to flash the ruu or download because Im gpe and it says when I run the ruu its the wrong image.
Click to expand...
Click to collapse
You would need to set your cid and mid back to stock. Then flash the firmware only zip I posted in my other thread. Then factory reset. Then flash this ruu.
AT&T HTC One M7
Will this work for the M7?
dirtdigr said:
Will this work for the M7?
Click to expand...
Click to collapse
No.
Updated OP with fresh pickings... custom s-off firmware.zip now includes latest TWRP.
So if I'm rooted, s on, custom recovery and on 4.4.4 stock...How can I go about getting the ota?
Sent from my HTC One_M8 using XDA Free mobile app
thinkhope said:
So if I'm rooted, s on, custom recovery and on 4.4.4 stock...How can I go about getting the ota?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
You have to flash stock 4.4.4 recovery and then relock. Then you can either download it from the other thread where it's posted and manually flash it in recovery or do it the regular way through update.
dottat said:
You have to flash stock 4.4.4 recovery and then relock. Then you can either download it from the other thread where it's posted and manually flash it in recovery or do it the regular way through update.
Click to expand...
Click to collapse
Got it. How can I go about doing? I've never had to backtrack so I want to be cautious. Thanks for the help. Apparently I already have the OTA downloaded in a fumo folder. Must've downloaded over night.
Sent from my HTC One_M8 using XDA Free mobile app
thinkhope said:
Got it. How can I go about doing? I've never had to backtrack so I want to be cautious. Thanks for the help. Apparently I already have the OTA downloaded in a fumo folder. Must've downloaded over night.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Flash this stock 4.4.4 recovery...
https://www.androidfilehost.com/?fid=95916177934552443
then fastboot oem lock
then update...
your rom you have right now must not have ANY modifications other than root or the update will fail (hotspot hack/sd card fix/etc).
dottat said:
Flash this stock 4.4.4 recovery...
https://www.androidfilehost.com/?fid=95916177934552443
then fastboot oem lock
then update...
your rom you have right now must not have ANY modifications other than root or the update will fail (hotspot hack/sd card fix/etc).
Click to expand...
Click to collapse
Can I flash it with twrp? Or does it have to be through my computer?
The only mods i have are xposed. I'll uninstall them before I do anything.
Sent from my HTC One_M8 using XDA Free mobile app
thinkhope said:
Can I flash it with twrp? Or does it have to be through my computer?
The only mods i have are xposed. I'll uninstall them before I do anything.
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
You are gonna need to lock using your pc so your pc is required anyways. Make sure you back up your stuff before you unlock your boot loader again as it will factory reset your phone to do so.
dottat said:
S-on users will need to relock/lock bootloader before flashing.
Help is available via teamviewer if needed
Click to expand...
Click to collapse
I'm trying to get back to stock, but I'm S-On. Every thread I've seen (including this one) requires S-Off and I can't find instructions on how to relock the bootloader from S-On.
As I posted elsewhere, I've tried to run SunShine, but it won't work with LiquidSmooth. The couple of "stockish" ROMS I've flashed haven't worked and I've had to reflash my backup.
CanuckinPA said:
I'm trying to get back to stock, but I'm S-On. Every thread I've seen (including this one) requires S-Off and I can't find instructions on how to relock the bootloader from S-On.
As I posted elsewhere, I've tried to run SunShine, but it won't work with LiquidSmooth. The couple of "stockish" ROMS I've flashed haven't worked and I've had to reflash my backup.
Click to expand...
Click to collapse
Flash a stockish Rom and then separately flash the stock boot.img from the 4.4.4 firmware zip. Sunshine will fail on any Rom that uses a non stock kernel. Even debug turned on in kernel will cause it to fail.
OK so then it should go something like this..
1. Connect phone to PC.
2. Move recovery file you linked to my android folder on PC where my fastboot files are.
3. fastboot flash stock recovery
4. fastboot oem lock
5. Reboot
6. Take ota.
Am I missing something?
Sent from my HTC One_M8 using XDA Free mobile app
thinkhope said:
OK so then it should go something like this..
1. Connect phone to PC.
2. Move recovery file you linked to my android folder on PC where my fastboot files are.
3. fastboot flash stock recovery
4. fastboot oem lock
5. Reboot
6. Take ota.
Am I missing something?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
That looks ok. Once booted up backup internal and stuff because when you reunlock you will get wiped again.

[Q] Not able to boot into custom recovery.

Hi Experts,
I unlocked the bootloader and then tried to flash custom recovery through fastboot (Using Minimal Adb and fastboot). When i try to boot into recovery i get "No Command" error with a android and triangle sign. So far i've tried flashing TWRP and CWM recovery and not able to boot in anyone though. I am able to boot into fastboot mode and normal reboot. In fastboot mode, its displaying my status as unlocked. I tried flashing TWRP 2.7.1.0 and some other versions and still not able to get through. I request you to please help me out to flash custom recovery. Thanks in advance.
Hi, try flash this twrp-2.8.5.0-condor recovery: https://mega.co.nz/#!kJ1XzT5Y!1RSrnUJoRcCO1OGAg8Rei3iVdfpjBrJwkqpOJ-1KJPE
After flash try fastboot reboot recovery
[]s.
Flashed and still no command error. Why is this happening/?
Sent from my HTCSensation using XDA Premium 4 mobile app
MrJukeHardbane said:
Flashed and still no command error. Why is this happening/?
Sent from my HTCSensation using XDA Premium 4 mobile app
Click to expand...
Click to collapse
"No command" is not error. It is screen which displays if you have stock recovery
What I'm trying to say is the custom recovery that you tried to flash was unsuccessful and you still have stock recovery.
And for questions use Q&A section not here(general section)
MrJukeHardbane said:
Flashed and still no command error. Why is this happening/?
Sent from my HTCSensation using XDA Premium 4 mobile app
Click to expand...
Click to collapse
here i have the same problem like you back then
http://forum.xda-developers.com/showpost.php?p=59617413&postcount=39
use this link https://mega.co.nz/#!AMByHZ7C!-MNDkV82n0Ph7EAjMLYyMXjKkosjJP7mRjwQV_m5ZSo (recovery from dev host showing no command and sometimes goes straight to battery charging animation)
and don't rename the recovery file, keep it original name when flashing recovery
fastboot flash recovery twrp2.8.5.0-recovery.img
Click to expand...
Click to collapse
Strange, I test back stock recovery into my xt1021 and flash twrp 2.8.5.0 with i post in https://mega.co.nz/#!kJ1XzT5Y!1RSrnUJoRcCO1OGAg8Rei3iVdfpjBrJwkqpOJ-1KJPE again and work fine.
I put twrp 2.8.1.0 ( https://mega.co.nz/#!MU9TSKjA!DqPyTG_RADAh4H7CrOcK2IlW8zAwmxoVNG87B3VE3E8 ) too, test the two files.

Categories

Resources