Currently my mi4i is rooted with TWRP recovery.
I want to install OTA updates and for that i need my stock recovery.
I have tried following three ways to get back stock recovery but none of them work for me
Flashed stock recovery through Flashify app. Flash was successful but reboot to recovery stucks at fastboot screen.
Flashed stock recovery through adb but again after successful flash, device stucks at fastboot screen.
Finally i tried to install stock recovery in twrp itself but it returned following error:
could not find 'meta-inf/com/google/android/update-binary' in the zip file
Can anyone guide what am I doing wrong and what should be done? Any help is appreciated.
Bro, thing is mi recovery.img has many problems. It doesn't work like that. Only thing u can do is flash via fastboot.
Nihhaar said:
Bro, thing is mi recovery.img has many problems. It doesn't work like that. Only thing u can do is flash via fastboot.
Click to expand...
Click to collapse
Thanks for replying!
I will flash via fastboot. Only issue I have is that this manual process has to be repeated everytime i want to install updates. This is why I was trying to get my stock recovery back. Though it seems like there isn't much that can be done regarding this.
Related
Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
also it says invalid "boot image header!" in red letters
http://forum.xda-developers.com/showthread.php?t=2542219
Install full factory image with fastboot.
P.Kosunen said:
http://forum.xda-developers.com/showthread.php?t=2542219
Install full factory image with fastboot.
Click to expand...
Click to collapse
Alright thankyou!
I got everything to work again but I still can't flash roms. They just bootloop :S
It could be too big recovery install with fastboot causes problem, every recovery cwm/twrp i tried to install with fastboot fails.
http://forum.xda-developers.com/showpost.php?p=49559872&postcount=234
Twrp_MotoG_signed_010814_163615.zip
Download vocoderisms TWRP build, extract "recovery.img" from it.
After you have kitkat installed and working:
Option 1, use TWRP without install:
Boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img) and install rom from there.
Option 2, install TWRP (have not tested):
Upload twrp zip to phone (adb push Twrp_MotoG_signed_010814_163615.zip /sdcard/), boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img), install Twrp_MotoG_signed_010814_163615.zip.
Misterowl said:
Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
Click to expand...
Click to collapse
https://docs.google.com/file/d/0B2LP8tI1Xwu4MGtPTlpVcVQxN0k/preview this cwm worked for me
You do know flashing stock again removes root, so it has to be rerooted again ?
aradalien said:
You do know flashing stock again removes root, so it has to be rerooted again ?
Click to expand...
Click to collapse
Yes I am very aware and followed through with root with that outcome.
kieranc88 said:
https://docs.google.com/file/d/0B2LP8tI1Xwu4MGtPTlpVcVQxN0k/preview this cwm worked for me
Click to expand...
Click to collapse
CWM doesn't work it. It boots up (Im used cyanogenmod) the cyanogenmod boot animation but just stays there.
P.Kosunen said:
It could be too big recovery install with fastboot causes problem, every recovery cwm/twrp i tried to install with fastboot fails.
http://forum.xda-developers.com/showpost.php?p=49559872&postcount=234
Twrp_MotoG_signed_010814_163615.zip
Download vocoderisms TWRP build, extract "recovery.img" from it.
After you have kitkat installed and working:
Option 1, use TWRP without install:
Boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img) and install rom from there.
Option 2, install TWRP (have not tested):
Upload twrp zip to phone (adb push Twrp_MotoG_signed_010814_163615.zip /sdcard/), boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img), install Twrp_MotoG_signed_010814_163615.zip.
Click to expand...
Click to collapse
I've flashed twrp too and came out with the same outcome.
stuck in fastboot
Misterowl said:
Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
Click to expand...
Click to collapse
Exactly i am also facing same problem....
mobile unable to instal firmware...
still i am searching for solution ...
guys plz help me
I thought I am the only one with this problem..After mailing the phone to SC and got it back after 2 months, the phone still looks the same, just like they did nothing to fix it.
can i fastboot flash a rom or other zip? i've run into a problem after flashing a rom that wont boot and twrp wont mount data or my internal storage so i cant flash anything else. any help would be appretiated
I dont know how to do it, but have heard you can use the sideload feature of the twrp recovery to flash a rom. Or you could try flashing the new twrp recovery if your not on the new one. The new twrp 2.8.0.3 recovery was released on 9-30-14 last I checked its not updated on xda yet but you can get it on the twrp recovery web site which its on the link below, its the newest one on the bottom of the list.
http://techerrata.com/browse/twrp2/m8_wlv
reaper420 said:
can i fastboot flash a rom or other zip? i've run into a problem after flashing a rom that wont boot and twrp wont mount data or my internal storage so i cant flash anything else. any help would be appretiated
Click to expand...
Click to collapse
worse case scenario, run the RUU, fastboot flash recovery recovery.img then install ROM in recovery.
Honestly, you might as well apply the whole RUU and get yourself back to a working stock before putting another custom ROM back on. Follow the OP in this thread: http://forum.xda-developers.com/showthread.php?t=2873144
I tried every method possible and none worked, I recently cracked my screen so I just took this as a sign and went ahead and got it replaced with insurance. Thanks for all the suggestions
did your recovery constantly reboot into a white htc screen ?
jxcorex28 said:
did your recovery constantly reboot into a white htc screen ?
Click to expand...
Click to collapse
Are you using the correct Vzw version of twrp or cwm?
hi all,
today morning i just got an update. when i tried to install it goes to twrp recovery. so i am unable to update. i tried flashing the update zip (copied from android/data/..../cm-bacon-7be...90510ef.zip), it fails in twrp recovery.
now some search resulted that i must go to stock recovery to update that.
i figured that i can flash stock recovery using " fastboot flash recovery recovery.img ", but i dont know which recovery to flash. and i am still wondering is it the correct method?(if yes, please take some time to link me to that recovery or just attach recovery of cyanogen).
any suggestions on how to revert to stock recovery or updating manually??
thanks!!!
ps: iam complete newbie, if you find this as duplicate or annoying or anything that prevents to answer above que. please teach me, i am ready!!
U can try this
https://download.cyanogenmod.org/?device=bacon
praveen55 said:
hi all,
today morning i just got an update. when i tried to install it goes to twrp recovery. so i am unable to update. i tried flashing the update zip (copied from android/data/..../cm-bacon-7be...90510ef.zip), it fails in twrp recovery.
now some search resulted that i must go to stock recovery to update that.
i figured that i can flash stock recovery using " fastboot flash recovery recovery.img ", but i dont know which recovery to flash. and i am still wondering is it the correct method?(if yes, please take some time to link me to that recovery or just attach recovery of cyanogen).
any suggestions on how to revert to stock recovery or updating manually??
thanks!!!
ps: iam complete newbie, if you find this as duplicate or annoying or anything that prevents to answer above que. please teach me, i am ready!!
Click to expand...
Click to collapse
Stock recovery:
https://drive.google.com/file/d/0B98G0KTJwnBFNzBFd2pRMmhvUmc/view?usp=docslist_api
Download it and rename it to "recovery.img", then flash with fastboot:
Code:
fastboot flash recovery recovery.img
I did this today and works perfect:
https://forums.oneplus.net/threads/cos-12-1-yog4pas2ql-update.386525/page-22#post-13730949
best regards,
?
hello guys
i accidentally deleted my os. now it says no os found.
bootloader is not unlocked. have twrp working fine.
i have done some research but dont have clear vision.
can i download any version or should i download particular firmware version to which my phone belong.
what is the difference between firmware and OS
i have downloaded my old firmware version but is says "error executing updater binary in zip"
Asus EXPERTS please help me. i am waiting for your reply with 1000 eyes:crying:
PLEASE USE GENERAL WORDS TO MAKE ME UNDERSTAND CLEARLY
Flash to stock recovery and flash to stock rom again
XVenom said:
Flash to stock recovery and flash to stock rom again
Click to expand...
Click to collapse
while i do that i get errors. it says "error executing updater binary in zip"
i didnt unlock bootloader. can we still able to flash?
Try to flash your stock Rom using Odin[PC].You will most likely get your stock Rom in xda itself.
Sent from my Cyanogenmod10.1 Huawei Y210 0100
1) Flash this file with twrp : http://forum.xda-developers.com/attachment.php?attachmentid=3718733&d=1460659898
2) Flash stock recovery with adb
3) Flash stock rom with recovery
sorry for my bad english
XVenom said:
1) Flash this file with twrp : http://forum.xda-developers.com/attachment.php?attachmentid=3718733&d=1460659898
2) Flash stock recovery with adb
3) Flash stock rom with recovery
sorry for my bad english
Click to expand...
Click to collapse
thanks for your interest guys. now i am unable to into fastboot mode too. when i hold power + volume up i only see asus logo but not fastboot mode.
Did you install the software ? Does it work ?
XVenom said:
Did you install the software ? Does it work ?
Click to expand...
Click to collapse
no i flashed the ubu zip file and when i try to flash stock recovery i am unable to get into the fastboot mode
asus ze500kl said:
no i flashed the ubu zip file and when i try to flash stock recovery i am unable to get into the fastboot mode
Click to expand...
Click to collapse
Tried to enter by using adb
XVenom said:
Tried to enter by using adb
Click to expand...
Click to collapse
stock recovery is a img file. Twrp is not detecting the img file.
shell i directly flash the original rom?
asus ze500kl said:
stock recovery is a img file. Twrp is not detecting the img file.
shell i directly flash the original rom?
Click to expand...
Click to collapse
No, you can't flash the stock recovery with twrp and twrp is don' flash the stock rom
You can flash the stock recovery with only adb
XVenom said:
No, you can't flash the stock recovery with twrp and twrp is don' flash the stock rom
You can flash the stock recovery with only adb
Click to expand...
Click to collapse
i am unable to flash through adb. it says cannot read the zip file any other option?
asus ze500kl said:
thanks for your interest guys. now i am unable to into fastboot mode too. when i hold power + volume up i only see asus logo but not fastboot mode.
Click to expand...
Click to collapse
broooooooooooooooooooooooooooooooooooo
FINALLY MY PHONE IS ON NOW SO HAPPY DID DANCE WHEN IT REBOOTED
I WILL EXPLAIN CLEARLY SO THAT IT MAY HELP OTHERS TOO.
i downloaded currunt rom from the official website.
tried to flash the stock rom but it gave me a error like- this is for ww sku your phone is asus zooe
theni extracted the zip file and edited the updater script and reflashed successfully but still stuck at the asus logo with out loading symbol.
i tried to flash stock recovery image with adb but it was saying unable to find the recovery file- not exactly but something like that.
i tot the problem is with adb. then i remembered that i have my phone model root file. to conform that the adb is working properly or not i gave a try to flash the mod_boot.img (asus ze500kl root img file) but unfortunatelly it flashed, rebooted and finally my phone is on.
ANY WAY UR METHOD DIDN'T WORK BUT THANKS A LOT FOR REPLYING TO MY PROBLEM. YOU GAVE ME SO MUCH KNOWLEDGE ABOUT STOCK RECOVERY AND STOCK ROM.
THANKS ALOTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
XVenom said:
No, you can't flash the stock recovery with twrp and twrp is don' flash the stock rom
You can flash the stock recovery with only adb
Click to expand...
Click to collapse
broooooooooooooooooooooooooooooooooooo
FINALLY MY PHONE IS ON NOW SO HAPPY DID DANCE WHEN IT REBOOTED
I WILL EXPLAIN CLEARLY SO THAT IT MAY HELP OTHERS TOO.
i downloaded currunt rom from the official website.
tried to flash the stock rom but it gave me a error like- this is for ww sku your phone is asus zooe
theni extracted the zip file and edited the updater script and reflashed successfully but still stuck at the asus logo with out loading symbol.
i tried to flash stock recovery image with adb but it was saying unable to find the recovery file- not exactly but something like that.
i tot the problem is with adb. then i remembered that i have my phone model root file. to conform that the adb is working properly or not i gave a try to flash the mod_boot.img (asus ze500kl root img file) but unfortunatelly it flashed, rebooted and finally my phone is on.
ANY WAY UR METHOD DIDN'T WORK BUT THANKS A LOT FOR REPLYING TO MY PROBLEM. YOU GAVE ME SO MUCH KNOWLEDGE ABOUT STOCK RECOVERY AND STOCK ROM.
THANKS ALOTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
Yeah try ur original rom
Recently I decided to try flashing a custom rom onto my old phone, a Gionee F103 Pro. Since it is quite obscure it isn't officially supported by twrp, but I managed to find an unofficial build. I unlocked the bootloader and flashed twrp using fastboot, and according to the console it was successful. When I booted my phone twrp began to load, but then there were multiple 'unable to mount' and 'failed to mount' errors and it rebooted. This has been repeating for almost an hour now. It's unresponsive to any button presses, and it won't show up on the device manager either. The only way I've got it to stop was by removing the battery. I've tried fastboot mode, recovery mode and regular boot but they all end up the same. I'd be grateful if anyone could could help me fix this.
Thanks!
fibonazi said:
Recently I decided to try flashing a custom rom onto my old phone, a Gionee F103 Pro. Since it is quite obscure it isn't officially supported by twrp, but I managed to find an unofficial build. I unlocked the bootloader and flashed twrp using fastboot, and according to the console it was successful. When I booted my phone twrp began to load, but then there were multiple 'unable to mount' and 'failed to mount' errors and it rebooted. This has been repeating for almost an hour now. It's unresponsive to any button presses, and it won't show up on the device manager either. The only way I've got it to stop was by removing the battery. I've tried fastboot mode, recovery mode and regular boot but they all end up the same. I'd be grateful if anyone could could help me fix this.
Thanks!
Click to expand...
Click to collapse
Can you flash a copy of stock recovery.img via fastboot?
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Can you flash a copy of stock recovery.img via fastboot?
Click to expand...
Click to collapse
I tried to boot my phone into fastboot but it goes straight to twrp instead. My PC doesn't seem to detect it either.
fibonazi said:
I tried to boot my phone into fastboot but it goes straight to twrp instead. My PC doesn't seem to detect it either.
Click to expand...
Click to collapse
If there is a LineageOS ROM or some other custom ROM available for your device, try flashing a ROM.
If that doesn't work...
Flash a copy of stock recovery.img via TWRP. TWRP has the ability to flash .img files.
Or, if you can find a copy of your stock recovery that has been converted into a TWRP flashable .zip, you can flash that .zip via TWRP then reboot the device into recovery mode to see if it boots stock recovery.
If you can't get that to work, TWRP has a terminal emulator built in, you can try flashing stock recovery.img using dd commands in the TWRP terminal. You'll have to research your devices partition structure to get the correct dd command to make sure that the recovery gets flashed to the correct partition.
I'm only saying to do all of this because it seems that screwing with the recovery partition caused the issue, maybe, restoring/repairing the recovery partition might fix the issue.
If not, you'll have to find a fix that involves flashing your stock firmware or stock system.img.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
If there is a LineageOS ROM or some other custom ROM available for your device, try flashing a ROM.
If that doesn't work...
Flash a copy of stock recovery.img via TWRP. TWRP has the ability to flash .img files.
Or, if you can find a copy of your stock recovery that has been converted into a TWRP flashable .zip, you can flash that .zip via TWRP then reboot the device into recovery mode to see if it boots stock recovery.
If you can't get that to work, TWRP has a terminal emulator built in, you can try flashing stock recovery.img using dd commands in the TWRP terminal. You'll have to research your devices partition structure to get the correct dd command to make sure that the recovery gets flashed to the correct partition.
I'm only saying to do all of this because it seems that screwing with the recovery partition caused the issue, maybe, restoring/repairing the recovery partition might fix the issue.
If not, you'll have to find a fix that involves flashing your stock firmware or stock system.img.
Click to expand...
Click to collapse
Actually, the problem I'm having is that twrp runs into an error and shuts down before I can do anything on it. It is stuck in an endless boot loop and is unresponsive to any button or screen presses. I have a lineage os rom, but I don't have any way to flash it right now. Is there any way to make it responsive again? Or any way to connect it to a pc?