[Q] Can't flash recovery - FAILED (remote: image update error) - HTC One Mini

When I try flash a recovery image using the command prompt I receive the following error:
fastboot flash recovery recovery.img
sending 'recovery' (8956 KB)...
OKAY [ 1.105s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 1.355s
How to resolve error?

Akio8 said:
When I try flash a recovery image using the command prompt I receive the following error:
fastboot flash recovery recovery.img
sending 'recovery' (8956 KB)...
OKAY [ 1.105s]
writing 'recovery'...
FAILED (remote: image update error)
finished. total time: 1.355s
How to resolve error?
Click to expand...
Click to collapse
Have you successfully unlocked the bootloader ?
Which recovery image are you trying to flash ?

htc_one_mini_m4 said:
Have you successfully unlocked the bootloader ?
Which recovery image are you trying to flash ?
Click to expand...
Click to collapse
Yes the bootloader is unlocked. I'm trying to flash philz-touch-6.26.1-m4.img

Akio8 said:
Yes the bootloader is unlocked. I'm trying to flash philz-touch-6.26.1-m4.img
Click to expand...
Click to collapse
Can you try flashing TWRP 2.7.1.1 instead ? ( Just to see if it's a general issue or something related to your image file )

htc_one_mini_m4 said:
Can you try flashing TWRP 2.7.1.1 instead ? ( Just to see if it's a general issue or something related to your image file )
Click to expand...
Click to collapse
It's a general issue it doesn't matter what image I try to flash

Akio8 said:
It's a general issue it doesn't matter what image I try to flash
Click to expand...
Click to collapse
So, you're stuck with the stock recovery or with a custom one ?
I'd try to install an unsecured kernel + ROM like Jmz's and try flashing a new recovery after that.
Not sure if it would work, just my thoughts and gut says that it might

Related

unable to reinstall stock recovery (remote: image update error)

I unable to reinstall stock recovery (now i have CWM v5.8.3.1 and work only this ver) ?
I try lock and unlock but see error:
sending 'recovery' (9480 KB)... OKAY [ 4.806s]
writing 'recovery'... FAILED (remote: image update error)
I unable to install ruu quit with error "IMG err 156" ?
Sorry I can't help you but this is posted in the wrong section.
Sent from F.E.M.A. Region 9
Moved To Q&A​
Please post in the correct section​
any solution?
schMATKA said:
I unable to reinstall stock recovery (now i have CWM v5.8.3.1 and work only this ver) ?
I try lock and unlock but see error:
sending 'recovery' (9480 KB)... OKAY [ 4.806s]
writing 'recovery'... FAILED (remote: image update error)
I unable to install ruu quit with error "IMG err 156" ?
Click to expand...
Click to collapse
What stock recovery image are you trying to flash?
Link to it?
baseballfanz said:
What stock recovery image are you trying to flash?
Link to it?
Click to expand...
Click to collapse
I try 3 version extract from ruu and One_S_All-In-One_Kit "Stock flash recovery" and r2-modaco-recovery-clockwork-touch-ville and ville_recovery_signed
Not sure, your bootloader is unlock when you're trying?
and the command
Code:
fastboot flash recovery [COLOR="Red"]recovery.img[/COLOR]
recovery.img has to be spell exactly as the recovery image file you have.
baseballfanz said:
Not sure, your bootloader is unlock when you're trying?
and the command
Code:
fastboot flash recovery [COLOR="Red"]recovery.img[/COLOR]
recovery.img has to be spell exactly as the recovery image file you have.
Click to expand...
Click to collapse
sending 'recovery' (9480 KB)... OKAY [ 4.806s]
writing 'recovery'... FAILED (remote: image update error)
pb
Siret to intercept,
I have an HTC VILLEC2 ( now i know this) few days ago I have tryed to install an custom rom. Because I didn't know that my device is an S3 processor i proceed with unlocking my boot loader. That went well. I have tryed to install CWM. That went also well, but I can't start it.
For te moment the phone runns în stock firmware pretty good but do not allowed me to make any Up Date frm HTC Updat server.
The question is, it is possibe to reinstall the original CWM. Also where can I download it?
THX FOR ALL SUPPORT IN ADVANCE.

[Q][ !! SOS !! ] Cannot boot in to system/recovery, and cannot flash anything

Yesterday, I was going to flash CM11.
After I flash boot.img of cm11 with fastboot, it can't return to recovery again!!:crying:
It only can boot into fastboot, cannot boot in to system or recovery, also cannot charging!!:crying:
When I want to flash back to stock boot.img, it said:
C:\adt-bundle-windows-x86_64-20131030\sdk\tools>fastboot flash boot boot.img
sending 'boot' (10240 KB)... OKAY [ 1.189s]
writing 'boot'... INFOBattery Low!!
FAILED (remote failure)
finished. total time: 1.430s
C:\adt-bundle-windows-x86_64-20131030\sdk\tools>fastboot flash boot boot.img
sending 'boot' (10240 KB)... OKAY [ 1.187s]
writing 'boot'... INFOBattery Low!!
FAILED (remote failure)
finished. total time: 1.435s
C:\adt-bundle-windows-x86_64-20131030\sdk\tools>
Click to expand...
Click to collapse
When I flash RSD, it said:
Faild flashing process. 1/23 flash partition "gpt_main0.bin" -> USB error occurred while reading/writing.
Click to expand...
Click to collapse
What can I do?:crying: Sorry for my bad English.
[email protected] said:
Yesterday, I was going to flash CM11.
After I flash boot.img of cm11 with fastboot, it can't return to recovery again!!:crying:
It only can boot into fastboot, cannot boot in to system or recovery, also cannot charging!!:crying:
When I want to flash back to stock boot.img, it said:
When I flash RSD, it said:
What can I do?:crying: Sorry for my bad English.
Click to expand...
Click to collapse
Can you try RSD using a different cable/port/computer entirely?
That's an odd and unfortunate error to receive. You put the device in fastboot mode before running RSD?
arrrghhh said:
Can you try RSD using a different cable/port/computer entirely?
That's an odd and unfortunate error to receive. You put the device in fastboot mode before running RSD?
Click to expand...
Click to collapse
Not Yet
Yes
At first, I put my PQ in fastboot mode and running RSD 6.1.5...
(asanti_c_sprint-user-4.1.2-9.8.2Q-122_XT897_FFW-5-6-release-keys-cid9.xml)
(without <step operation="getvar" var="max-download-size" />s)
...than flash recovery-clockwork-6.0.1.3-asanti.img with fastboot,
after that, Flash cm-11-20131209-NIGHTLY-xt897.zip and failed (2-3 times)
Than I take the boot.img from it and flash it with fastboot, at last: #1
[email protected] said:
Not Yet
Yes
At first, I put my PQ in fastboot mode and running RSD 6.1.5...
(asanti_c_sprint-user-4.1.2-9.8.2Q-122_XT897_FFW-5-6-release-keys-cid9.xml)
(without <step operation="getvar" var="max-download-size" />s)
...than flash recovery-clockwork-6.0.1.3-asanti.img with fastboot,
after that, Flash cm-11-20131209-NIGHTLY-xt897.zip and failed (2-3 times)
Than I take the boot.img from it and flash it with fastboot, at last: #1
Click to expand...
Click to collapse
Ok, you should not have done the boot.img flash.. not sure why you did that.
Now, you should restore with RSD. It sounds like RSD has worked in the past, but is no longer? Have you tried multiple FXZ files? If you are downgrading, there are additional lines to remove from the .xml file.
arrrghhh said:
Ok, you should not have done the boot.img flash.. not sure why you did that.
Now, you should restore with RSD. It sounds like RSD has worked in the past, but is no longer? Have you tried multiple FXZ files? If you are downgrading, there are additional lines to remove from the .xml file.
Click to expand...
Click to collapse
I restore my phone like this and it said:
Failed flashing process. 1/23 flash partition "gpt_main0.bin" -> Phone returned FAIL.
Click to expand...
Click to collapse
PS: Not「Faild flashing process. 1/23 flash partition "gpt_main0.bin" -> USB error occurred while reading/writing.」like #1
[email protected] said:
I restore my phone like this and it said:
PS: Not「Faild flashing process. 1/23 flash partition "gpt_main0.bin" -> USB error occurred while reading/writing.」like #1
Click to expand...
Click to collapse
Could be even an error on your HDD.
Try to do a deep chkdsk of your hard drive
chkdsk /f /r c: (assuming your main partition is called C: )
and / or try a different FXZ (say the ICS one)

[SOLVED] Needed Stock Recovery for EVA-L19

Hi,
after having TWRP, the factory reset function won't work since the data partition isn't recognized yet. Does anyone have the stock recovery version for this?
i already tried downloading from http://huaweidevices.ru/huaweiserviceworkarchivehuawei/eva-l19/recovery.img but it fails with the below message:
fastboot.exe flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (35180 KB)...
OKAY [ 1.318s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 1.318s
edit: found out the issue was related to the allow OEM unlock as turned off
is your bootloader still unlocked?
4Fighting said:
is your bootloader still unlocked?
Click to expand...
Click to collapse
Yups, still unlocked bootloader and currently on twrp recovery, but will need stock recovery if any operations like upgrade or factory reset needs to be done.

Honor 4c stuck on logo..cannot go to recovery

My honor 4c is stuck on logo and it does not even go to recovery mode even after pressing the power and volume buttons...i installed twrp and i messed up with stock kernel...plz help me i am naive in this
Tayyabmalik said:
My honor 4c is stuck on logo and it does not even go to recovery mode even after pressing the power and volume buttons...i installed twrp and i messed up with stock kernel...plz help me i am naive in this
Click to expand...
Click to collapse
Dload method is also not working?
Dload method will work only if i am able to access recovery menu which i can't...
I am only able to access fastboot mode...So, is there any way to hard reset/hard flash back to factory recovery/firmware/kernel through fastboot mode?
Also, is there any possible hardware solution to this?
Tayyabmalik said:
Dload method will work only if i am able to access recovery menu which i can't...
I am only able to access fastboot mode...So, is there any way to hard reset/hard flash back to factory recovery/firmware/kernel through fastboot mode?
Also, is there any possible hardware solution to this?
Click to expand...
Click to collapse
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
hassanjavaid8181 said:
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
Click to expand...
Click to collapse
Are u refering to the wifi recovery option in fastboot mode after which the phone asks me to insert a memory card to restore? Do i have to put a memory card with the zip file or the update file or some other file? Thank u for trying to help
hassanjavaid8181 said:
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
Click to expand...
Click to collapse
C:\Program Files\platform-tools>fastboot flash boot boot.img
target reported max download size of 524288000 bytes
sending 'boot' (22704 KB)...
OKAY [ 0.672s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.704s
C:\Program Files\platform-tools>fastboot flash-all
fastboot: usage: unknown command flash-all
C:\Program Files\platform-tools>fastboot flash recovery stock.img
target reported max download size of 524288000 bytes
sending 'recovery' (9306 KB)...
OKAY [ 0.284s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.316s
These errors come up when i try to flash stock kernel and recovery images on fastboot
Tayyabmalik said:
C:\Program Files\platform-tools>fastboot flash boot boot.img
target reported max download size of 524288000 bytes
sending 'boot' (22704 KB)...
OKAY [ 0.672s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.704s
C:\Program Files\platform-tools>fastboot flash-all
fastboot: usage: unknown command flash-all
C:\Program Files\platform-tools>fastboot flash recovery stock.img
target reported max download size of 524288000 bytes
sending 'recovery' (9306 KB)...
OKAY [ 0.284s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.316s
These errors come up when i try to flash stock kernel and recovery images on fastboot
Click to expand...
Click to collapse
You rename recovery.img to recovery stock??
hassanjavaid8181 said:
You rename recovery.img to recovery stock??
Click to expand...
Click to collapse
Yes!!! This error comes up no matter whar i rename the stock recovery or stock kernel images...it probably means that phone space is not enough...what do i do now?
hassanjavaid8181 said:
You rename recovery.img to recovery stock??
Click to expand...
Click to collapse
Please help me...can u plz also refer this problem to other senior members?
Tayyabmalik said:
Please help me...can u plz also refer this problem to other senior members?
Click to expand...
Click to collapse
before installing twrp did you unlock your bootloader?
I dont know the product ID for requesting the unlock code...how do i obtain the product ID?
Hi
miststudent2011 said:
before installing twrp did you unlock your bootloader?
Click to expand...
Click to collapse
I do not know the product ID...phone is in bootloop...how do i get the product ID for unlocking bootloader? It is not written on the box
Shah65367 said:
Hi
Click to expand...
Click to collapse
Hey..please state your problem you facing.
hassanjavaid8181 said:
Hey..please state your problem you facing.
Click to expand...
Click to collapse
How do i find the product ID for requesting unlock code?
Tayyabmalik said:
How do i find the product ID for requesting unlock code?
Click to expand...
Click to collapse
Your device in bootloop..
I thick it should be written under back cover if you can remove your back cover..
hassanjavaid8181 said:
Hey..please state your problem you facing.
Click to expand...
Click to collapse
Hassan lineage 14.1 not installing in my huawei honor 4c its showing error 7
Shah65367 said:
Hassan lineage 14.1 not installing in my huawei honor 4c its showing error 7
Click to expand...
Click to collapse
are you using latest twrp?
hassanjavaid8181 said:
are you using latest twrp?
Click to expand...
Click to collapse
I am using 3.0.2 is it latest?
Shah65367 said:
I am using 3.0.2 is it latest?
Click to expand...
Click to collapse
No 3.1.1 is the latest one available for 4c get it from my thread in 4c section

Trying to boot to twrp

Everytime I try to boot twrp i get this message.
PS C:\adb> fastboot boot twrp-3.3.1-4-guacamole.img
< waiting for device >
downloading 'boot.img'...
OKAY [ 1.324s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.331s
I am bootloader unlocked so I dont know why I am getting that message. Any help would be appreciated. Thanks
Try "fastboot flash boot [img name]".
The correct command is
Fastboot boot [drag and drop the img]
phenomenalblaze said:
Everytime I try to boot twrp i get this message.
PS C:\adb> fastboot boot twrp-3.3.1-4-guacamole.img
< waiting for device >
downloading 'boot.img'...
OKAY [ 1.324s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.331s
I am bootloader unlocked so I dont know why I am getting that message. Any help would be appreciated. Thanks
Click to expand...
Click to collapse
Are you on Beta1, if so, you can't boot into recovery that way, you need to flash recovery using Magisk first.
No I'm not. I'm on 9.5.11
phenomenalblaze said:
No I'm not. I'm on 9.5.11
Click to expand...
Click to collapse
If you have root, try flashing the recovery installer with Magisk
smo69 said:
Try "fastboot flash boot [img name]".
Click to expand...
Click to collapse
This command is useless it won't work. Download the latest oxygen OS zip(full rom package not the incremental one), place it in your internal storage and update it via the local updater.
After the update is complete you can boot to fastboot and then the command will work i.e. fastboot boot imagefilename.img
Hope this helps

Categories

Resources