Hi there,
I have a rooted HTC one M8 in Australia and I'm trying to flash stock recovery with fastboot in command centre. I'm having a problem because it keeps failing to flash the recovery as its more than 18mb and the command centre says "target reported max download size of 1830477824"
Is there a way to make the max file size bigger? so i can flash stock recovery, update the phone and then flash TWRP again?
Im a beginner so even just a little help would be amazing! THANKS SO MUCH!
What command are you typing?
I'm going to guess they're trying to flash it in RUU mode
BenPope said:
What command are you typing?
Click to expand...
Click to collapse
First they said to open the folder 'fast boot'
right click in folder whilst holding shift and click open command window here
then type 'adb reboot bootloader'
then after its in boot mode i typed in 'fastboot flash recovery "stock recovery.img"
after that it starts trying to send to my phone but then says that max file transfer is 18mb and this stock recovery is 24mb.
Rename stock recovery.img to recovery.img
then use command fastboot flash recovery recovery.img
Related
Hi
Messed up my desire a while back. It won't boot. When I turn it on I get this screen
When I plug it in to PC then unplug it I get this screen
Can't flash any RUU. Can't access recovery. Just nothing. Anyone any ideas what I can do?
Sent from my GalaxyS2 with CM9
Hm, no fastboot. Does it recognize it if you connect the phone to your pc? Your PC may see a USB serial console that accepts commands.
Google for "HbootAnalysis" to get a list of commands.
The gotofastboot commands looks worth a shot. Once in fastboot you should be able to flash anything you want.
The phone reacts, and the computer knows there is something there. Just not a phone...
Sent from my GalaxyS2 with CM9
So you cannot even access fastboot?
No
Sent from my GalaxyS2 with CM9
This is probably extremely unhelpful so I apologise but what did you do/what happened to the Desire to make it (what seems to be) stuck in a loop?
this is a partition/radio brick
it usually happens when you try and RUU a device when its using the new alpharev hboots that do not have the right sizes (hes using the sense hboot which doesnt use stock sizes)
so basically it kills the partitions. this is because alpharev put that "annoying" hboot protection on to stop RUU's from overwriting it. i love the alpharev team but that really isnt needed
I dont think its possible to fix this without being able to get to fastboot as we need to get the hboot flashed with stock sizes
Stuck on the way RRU
I encountered the same problem today:
My solution:
You need Android-sdk with fastboot command
"fastboot devices" work for me
I got my last backup ClockworkMod on my sdcard
/clockworkdmod/backup/2012-01-16-18.04.51/
width these files:
boot.img
data.yaffs2.img
system.yaffs2.img
recovery.img
...
I flashed these files
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.yaffs2.img
fastboot flash userdata data.yaffs2.img
Then I tried the boot
fastboot oem boot
Iit worked !
After the reboot I stood on this page RUU (hboot)
To erase the RRU Flag on fastboot:
fastboot oem resetRUUflag
And now all is working on my cyanogen 7 NB
Try for Yourself
fxjumper
fxjumper said:
I encountered the same problem today:
My solution:
You need Android-sdk with fastboot command
"fastboot devices" work for me
I got my last backup ClockworkMod on my sdcard
/clockworkdmod/backup/2012-01-16-18.04.51/
width these files:
boot.img
data.yaffs2.img
system.yaffs2.img
recovery.img
...
I flashed these files
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.yaffs2.img
fastboot flash userdata data.yaffs2.img
Then I tried the boot
fastboot oem boot
Iit worked !
After the reboot I stood on this page RUU (hboot)
To erase the RRU Flag on fastboot:
fastboot oem resetRUUflag
And now all is working on my cyanogen 7 NB
Try for Yourself
fxjumper
Click to expand...
Click to collapse
indeed this should work
he said he cant boot to fastboot though, are you saying you can use fastboot in the RUU screen?
yes i can enter fastboot command
but after these stuff, i loosed my name/serial_number in adb but not in fastboot
my new adb username/serial_number is 1234567890ABCDEF
Hi there,
I unclocked my phone via htcdev.com and flash recovery-clockwork via fastboot. I installed Rom cook such as LeeDroid and Revolution. At the end, I back to original rom via RUU. When I arranged my SDcard, I deleted folder clockwork. Now, I can't enter recovery mode. When I go to recovery, an icon with phone and curve green arrows appear on monitor (like factory reset) then move to phone and red triagle. I tried to re-unclock and re-flash recovery via cmd but I just received message "cannot flash "recovery ....." on cmd.
Plz give me the way to enter recovery?
Best regards,
Thanks
You lost the CWM recovery after run the RUU.
You need to re-unlock the bootloader and fastboot flash the CWM recovery again.
Make sure you write a right command:
fastboot flash recovery recovery_whatever_name.img
not fastboot flash recovery.img
ckpv5 said:
You lost the CWM recovery after run the RUU.
You need to re-unlock the bootloader and fastboot flash the CWM recovery again.
Make sure you write a right command:
fastboot flash recovery recovery_whatever_name.img
not fastboot flash recovery.img
Click to expand...
Click to collapse
Done! Tks a lot.
While rooting my One X I may have gotten a bit stuck, the phone hangs at the HTC loading screen.
And I cannot load a custom recovery onto the phone.
I have unlocked the boot loader, but got to the step of flashing the custom recovery and I get this error:
sending 'recovery' <6038 KB>...
FAILED (command write faileed (Unknown error))
finsihed. total time: 0.642s
I got boot into fastboot, and can see my phone, appear with the command "fastboot devices" but am unable to do anything else.
Any help to get my phone back would be appresiated
Vest1ge said:
While rooting my One X I may have gotten a bit stuck, the phone hangs at the HTC loading screen.
And I cannot load a custom recovery onto the phone.
I have unlocked the boot loader, but got to the step of flashing the custom recovery and I get this error:
sending 'recovery' <6038 KB>...
FAILED (command write faileed (Unknown error))
finsihed. total time: 0.642s
I got boot into fastboot, and can see my phone, appear with the command "fastboot devices" but am unable to do anything else.
Any help to get my phone back would be appresiated
Click to expand...
Click to collapse
how did you flash the recovery? i mean the command.
robchongke said:
how did you flash the recovery? i mean the command.
Click to expand...
Click to collapse
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
fastboot flash recovery <file>
Vest1ge said:
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
Click to expand...
Click to collapse
i used hassoon's toolkit and it never gave me problem. maybe you forgot to place the recovery.img in the fastboot folder?
robchongke said:
i used hassoon's toolkit and it never gave me problem. maybe you forgot to place the recovery.img in the fastboot folder?
Click to expand...
Click to collapse
I got the same error, with the CMD command, I think i've done something to the phone..
Vest1ge said:
I have never managed to get a successful flash.
I have tired through the CMD command as well as One X toolkit by Hansoon2000
fastboot flash recovery <file>
Click to expand...
Click to collapse
did you enter the command
fastboot flash recovery.img or fastboot flash recovery recovery.img?
robchongke said:
did you enter the command
fastboot flash recovery.img or fastboot flash recovery recovery.img?
Click to expand...
Click to collapse
fastboot flash recovery CWM.img (to be precise)
I wish it was that simple.
Just tried it again first ime same eorr, then tried it again and it just held on sending ' recovery' and the phone went unresponsive
it is that simple. put recovery.img inside fastboot folder. go into bootloader then flash recovery via cmd with the command fastboot flash recovery recovery.img. that's it. did you try downloading another recovery? might be a bad download. i guess.
Tried another USB port or cable?
Sent from my HTC One X using xda app-developers app
tomascus said:
Tried another USB port or cable?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
That worked perfect.
Manged to install clockwork recovery, but still once loading CM10.1 onto my phone, can't get past the htc screen.
Went Factory Reset -> Reset Cache -> Loaded ROM from SD
Vest1ge said:
That worked perfect.
Manged to install clockwork recovery, but still once loading CM10.1 onto my phone, can't get past the htc screen.
Went Factory Reset -> Reset Cache -> Loaded ROM from SD
Click to expand...
Click to collapse
Did you flash the boot.img file from the rom.zip via fastboot? And then did you erase fastboot cache? Did you wipe everything before installing the rom via recovery?
-Sent from my IceCold One X!
TWRP recovery request fastboot command
I tried to flash twrp.img on my Zenfone 2 ver 2.17.40.12 (rooted). I guess there was a version mismatch, because I ended up with the screen saying "Fastboot cmd waiting". I am allowed to power down and normal boot, which work, but options "recovery mode" and "restart bootloader" return me back to the same screen saying Fastboot cmd waiting.
I tried to do a factory reset, but I got the same screen and nothing else. I downloaded ZIP file with the correctoriginal recovery for my version and tried to use fastboot command update, but it failed with message saying that archive does not contain android-info.txt and neither android-product.txt.
I will appreciate your advice to resolve my problem.
Well, fastboot is showing error because you're trying to flash ZIP file for the recovery mode(like TWRP) that doesn't have compatibility with fastboot mode.
You have to flash the .img file for your zenfone2(Z00A or Z008) with the command below.
Code:
fastboot flash recovery twrp.img
And also, model number(Z00A or Z008) is shown on the screen when booting in fastboot mode.
after flashing LineageOS when i try to get into recovery mode the phone just reboot the bootloader
DarkshadoW99 said:
after flashing LineageOS when i try to get into recovery mode the phone just reboot the bootloader
Click to expand...
Click to collapse
download latest twrp.img from official website. place it in adb fastboot tool folder. then open command prompt widows in same folder. reboot you device into fastboot mode and connect to pc now run the following command
fastboot erase recovery
fastboot flash recovery "recovery file name"
then reboot recovery mode
sukhwant717 said:
download latest twrp.img from official website. place it in adb fastboot tool folder. then open command prompt widows in same folder. reboot you device into fastboot mode and connect to pc now run the following command
fastboot erase recovery
fastboot flash recovery "recovery file name"
then reboot recovery mode
Click to expand...
Click to collapse
i got an error "Failed(Remote: Unable to format)"
DarkshadoW99 said:
i got an error "Failed(Remote: Unable to format)"
Click to expand...
Click to collapse
this show up when i try to erease recovery
DarkshadoW99 said:
this show up when i try to erease recovery
Click to expand...
Click to collapse
try flash command
sukhwant717 said:
try flash command
Click to expand...
Click to collapse
i did it but still cant get into recovery , the phone just reboot the bootloader
DarkshadoW99 said:
i did it but still cant get into recovery , the phone just reboot the bootloader
Click to expand...
Click to collapse
if you are rooted and able to boot into system. try flashing via terminal. if you are unable to boot into system report back