Can i back to stock recovery? - Nexus 5 Q&A, Help & Troubleshooting

Is there anyway of back to stock recovery? I have twrp but i want to know if i can do this, with stock recovery and root i may install in future updates by ota?

Fastboot flash recovery recovery.img
Use the stock recovery. You can also flash the entire stock image. So you'll always be able to take ota's
Read the pinned (stickies) threads in the general forum.

Can you explain it better? i'm new in Android

yeiyei0891 said:
Can you explain it better? i'm new in Android
Click to expand...
Click to collapse
This explains it better than I can. http://forum.xda-developers.com/showthread.php?p=47156064

yeiyei0891 said:
Is there anyway of back to stock recovery? I have twrp but i want to know if i can do this, with stock recovery and root i may install in future updates by ota?
Click to expand...
Click to collapse
Here is a guide for how to setup ADB http://www.redmondpie.com/how-to-set-up-android-adb-and-fastboot-on-windows-tutorial/ which is the hardest part for most users imo. The flashing is as @jd1639 says.

Is there anyway of flash a future offical firmware update (4.4.1 for example) with the twrp in the same way that a custom rom? Is there any official web where download the official firmware?

yeiyei0891 said:
Is there anyway of flash a future offical firmware update (4.4.1 for example) with the twrp in the same way that a custom rom? Is there any official web where download the official firmware?
Click to expand...
Click to collapse
Not the official Google image as it will not install on a modified system, a modded one might be possible. But whats the point, might as well have a deodexed custom rom then.

If i install the stock rom the stock recovery will back too?

yeiyei0891 said:
If i install the stock rom the stock recovery will back too?
Click to expand...
Click to collapse
Yes, contains everything. Backup files first as it will wipe your device.

But can i restore only the recovery and not all the stock rom?

yeiyei0891 said:
But can i restore only the recovery and not all the stock rom?
Click to expand...
Click to collapse
Yes, thats possible but look here for how to extract the recovery.img http://forum.xda-developers.com/showthread.php?t=2513701.

Andana bow flash that recovery.img? Sorry i m new al this is very new for me

yeiyei0891 said:
Andana bow flash that recovery.img? Sorry i m new al this is very new for me
Click to expand...
Click to collapse
1. Setup adb if you haven`t, see for the link my previous post above for how to
2. Download factory image from here https://developers.google.com/android/nexus/images
3. Extract the downloaded image with 7-zip and then extract image-hammerhead-krt16m once and in the folder you find the recovery.img file
4. Flash that file in fastboot with the command: fastboot flash recovery recovery.img and after that type fastboot erase cache and reboot. That`s it.

Fastbood is this?where i write there command?

yeiyei0891 said:
Fastbood is this?where i write there command?
Click to expand...
Click to collapse
That's not a nexus 5. Don't use any file linked in this thread!!!!

Is a image that i search in Google

yeiyei0891 said:
Fastbood is this?where i write there command?
Click to expand...
Click to collapse
Yes, that`s fastboot. Read this http://forum.xda-developers.com/showthread.php?p=47156064 thread well so you`ll understand what to do before you do anything.

Ok, with cmd on Windows and the phone in fastboot mode no??

Related

[Q] Status 7 error for update to 4.1.2 ota

hi guys
i this rom on my phone i9023. now i want to update 4.1.2 ota but when i try to install ota i get status 7 error. i tried to flash zip file with cwm manually but no different.
is there any solution?
itline said:
hi guys
i this rom on my phone i9023. now i want to update 4.1.2 ota but when i try to install ota i get status 7 error. i tried to flash zip file with cwm manually but no different.
is there any solution?
Click to expand...
Click to collapse
are you on stock kernel as well?
that was my issue - was stock rom, rooted, cwm and marmite kernel
had to flash back the stock kernel via fastboot and then apply the OTA via cwm
cheers
hr_kaleu said:
are you on stock kernel as well?
that was my issue - was stock rom, rooted, cwm and marmite kernel
had to flash back the stock kernel via fastboot and then apply the OTA via cwm
cheers
Click to expand...
Click to collapse
yeah i'm on stock kernel.
itline said:
yeah i'm on stock kernel.
Click to expand...
Click to collapse
do you have some other mods on your system (like face unlock, galaxy nexus sounds as described in the ROM thread you mentioned)?
did you try to fix permissions in cwm and give it another shot?
did you try to wipe cache and dalvik before flashing (that's even recomended from some devs)
The OTA is for JB JRO03E only (not for JRO03L)
Another possibility would be to flash the 4.1.2 factory image, but you will loose everything (it's a full wipe!)
For OTA you should be on stock recovery. Flash back stock recovery with fastboot (take recovery from stock image from Google).
!
hr_kaleu said:
do you have some other mods on your system (like face unlock, galaxy nexus sounds as described in the ROM thread you mentioned)?
did you try to fix permissions in cwm and give it another shot?
did you try to wipe cache and dalvik before flashing (that's even recomended from some devs)
The OTA is for JB JRO03E only (not for JRO03L)
Another possibility would be to flash the 4.1.2 factory image, but you will loose everything (it's a full wipe!)
Click to expand...
Click to collapse
Hmmm. i flashed a fix for search bottom!
and no i don't chane permissions because i don't really know about it.
seems i should flash full image factory finally :-/
polobunny said:
For OTA you should be on stock recovery. Flash back stock recovery with fastboot (take recovery from stock image from Google).
Click to expand...
Click to collapse
can you tell me howto flash back step by step?
will i lose all data ?
i think this is my answer
http://forum.xda-developers.com/showpost.php?p=32873412&postcount=86
You just need to flash the stock recovery, not the whole image...
Download a stock image:
http://forum.xda-developers.com/showthread.php?t=1572307
Let's say I download JZO54K Android 4.1.2
You should end up with a .tgz file. Extract it. (soju-jzo54k-factory-36602333.tgz)
You should have a .tar file. Extract it. (soju-jzo54k-factory-36602333.tar)
Then you should have a folder, in that folder there will be a few files including a .zip file, extract it (image-soju-jzo54k.zip)
From the files you just extracted, you should have a recovery.img file.
Using fastboot, you flash this recovery.img file to the recovery partition, and voilĂ , you have stock recovery.
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img (Flash Custom Recovery.img section)
polobunny said:
You just need to flash the stock recovery, not the whole image...
Download a stock image:
http://forum.xda-developers.com/showthread.php?t=1572307
Let's say I download JZO54K Android 4.1.2
You should end up with a .tgz file. Extract it. (soju-jzo54k-factory-36602333.tgz)
You should have a .tar file. Extract it. (soju-jzo54k-factory-36602333.tar)
Then you should have a folder, in that folder there will be a few files including a .zip file, extract it (image-soju-jzo54k.zip)
From the files you just extracted, you should have a recovery.img file.
Using fastboot, you flash this recovery.img file to the recovery partition, and voilĂ , you have stock recovery.
http://wiki.cyanogenmod.com/wiki/Fastboot#Flash_Custom_Recovery.img (Flash Custom Recovery.img section)
Click to expand...
Click to collapse
would you only upload recovery.img file for me if you can :silly:
i should use this commad?
fastboot flash recovery /path/to/recovery.img
fastboot reboot
may i lose root and unlock bootloader?
itline said:
would you only upload recovery.img file for me if you can :silly:
i should use this commad?
fastboot flash recovery /path/to/recovery.img
fastboot reboot
may i lose root and unlock bootloader?
Click to expand...
Click to collapse
No I cannot upload the recovery.img for you sadly, I cannot download stuff from where I am.
Yes this is the command. Don't forget to replace the /path/to/recovery.img by the actual path.
No you will not lose root and no your bootloader will not be relocked.
itline said:
would you only upload recovery.img file for me if you can :silly:
i should use this commad?
fastboot flash recovery /path/to/recovery.img
fastboot reboot
may i lose root and unlock bootloader?
Click to expand...
Click to collapse
sorry, was busy yesterday - attached you find the stock recovery image!
hope this helps...
cheers
thanks buddy. but how can i find my actual path?
itline said:
thanks buddy. but how can i find my actual path?
Click to expand...
Click to collapse
path to recovery? this is where you saved recovery.img on your computer...
I always copy the things I want to flash via fastboot to the directory where fastboot is located
e.g. c:\fastboot\
ok. i flashed the stock recovery but i didn't make it! anyway i'm going to flash a full package and full wipe
thanks for your helps.
maybe your search fix you flashed is prventing you from updating with the ota...
sorry it didn't work out for you...
anyone can post a stock kernel?
thank you
shendaixiaoshi said:
anyone can post a stock kernel?
thank you
Click to expand...
Click to collapse
here you go...
you'll find it in this thread:
http://forum.xda-developers.com/showthread.php?t=1932832
esp. - stock kernel for i9023 from jb4.1.1 factory image
http://forum.xda-developers.com/showpost.php?p=32874313&postcount=92

How to get OTA Updates with CWM/TRMP?

Title says all.
How to get OTA Updates with CWM/TRMP?
sniper.12 said:
Title says all.
How to get OTA Updates with CWM/TRMP?
Click to expand...
Click to collapse
Look in the TWRP thread, TWRP has an option to flash OTA`s and keep root. Don`t know if it also applies for the Moto G yet. You can receive an OTA but you can`t install it directly when you have a custom recovery installed.
nunHelp roughlyyou anverlcic
gee2012 said:
Look in the TWRP thread, TWRP has an option to flash OTA`s and keep root. Don`t know if it also applies for the Moto G yet.
Click to expand...
Click to collapse
Allright. And if i alrdy flashed CWM, can i just "overflash" it with a TRMP image or any other Stock Recovery image via fastboot?
Thanks for your help!
sniper.12 said:
Allright. And if i alrdy flashed CWM, can i just "overflash" it with a TRMP image or any other Stock Recovery image via fastboot?
Thanks for your help!
Click to expand...
Click to collapse
Look in the CWM thread too, maybe it has the OTA flashing option too. Yes, you can overwrite a custom recovery with a new custom recovery but also in cmd type: fastboot erase cache after you flash a new recovery.
gee2012 said:
Look in the CWM thread too, maybe it has the OTA flashing option too. Yes, you can overwrite a custom recovery with a new custom recovery but also in cmd type: fastboot erase cache after you flash a new recovery.
Click to expand...
Click to collapse
Thank You!!
sniper.12 said:
Thank You!!
Click to expand...
Click to collapse
You`re welcome
gee2012 said:
You`re welcome
Click to expand...
Click to collapse
Last question
Would you stay on CWM and flash the OTA via CWM or go back to Stock when the update is available?
(Actually installed Infusion Beta2 4.3 and CWM an my motog)
sniper.12 said:
Last question
Would you stay on CWM and flash the OTA via CWM or go back to Stock when the update is available?
(Actually installed Infusion Beta2 4.3 and CWM an my motog)
Click to expand...
Click to collapse
Well i haven`t rooted my Moto G myself, but if the OTA flash option is not available in CWM/TWRP you have to flash a stock image to get the OTA or flash a KK based custom rom.
301 34689992
gee2012 said:
Well i haven`t rooted my Moto G myself, but if the OTA flash option is not available in CWM/TWRP you have to flash a stock image to get the OTA or flash a KK based custom rom.
Click to expand...
Click to collapse
Well. So i just have to extract a Stock Recovery Image from an 4.3 Stock Rom. Flash it via fastboot and then erase cache and im fine?
Can i stay on the Infusion Rom too?
sniper.12 said:
Well. So i just have to extract a Stock Recovery Image from an 4.3 Stock Rom. Flash it via fastboot and then erase cache and im fine?
Can i stay on the Infusion Rom too?
Click to expand...
Click to collapse
No, OTA`s can only be installed on a stock rom, kernel and recovery. If anything is altered or vital system components deleted the OTA will not install.
rytsl was
gee2012 said:
No, OTA`s can only be installed on a stock rom, kernel and recovery. If anything is altered or vital system components deleted the OTA will not install.
Click to expand...
Click to collapse
Back to stock then. Thanks!!
Sry for double post.
Is it possibly to install the update via CWM? Install from zip. (http://forum.xda-developers.com/showthread.php?t=2600914)
4.4.2 just uploaded here.

Problem with CM12 on Z3

Hello guys, i have problem with CM12 on my Z3, i unlock bootloader then i flash kernel from that thread http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794
and when i want flash a new CM i have problem http://i.imgur.com/vhRLI6L.jpg
plz help guys, its my new phone
eitheer said:
Hello guys, i have problem with CM12 on my Z3, i unlock bootloader then i flash kernel from that thread http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794
and when i want flash a new CM i have problem http://i.imgur.com/vhRLI6L.jpg
plz help guys, its my new phone
Click to expand...
Click to collapse
But did you root corectly?
Maybe that the zip is corupted.
Download it again.
Yes i flash SuperSu from that thread, i try with the latest CM12.1 and latest CM12 for z3, the same error
eitheer said:
Yes i flash SuperSu from that thread, i try with the latest CM12.1 and latest CM12 for z3, the same error
Click to expand...
Click to collapse
Your TWRP is old.
Update recovery and it will work.
Where can i find latest TWRP with the stock kernel for kitkat?
eitheer said:
Where can i find latest TWRP with the stock kernel for kitkat?
Click to expand...
Click to collapse
You don' t need stock kernel as you are unlocked.
Flash a custom kernel with recovery.
Search here.
Or just flawh TWRP .img through adb.
are u sure? Cuz i restore firmware cuz i have backup, and i can flash CUSTOM kernel now?
this: http://forum.xda-developers.com/z3/development/recovery-z3-twrp-2-8-4-0-t3028846
eitheer said:
are u sure? Cuz i restore firmware cuz i have backup, and i can flash CUSTOM kernel now?
this: http://forum.xda-developers.com/z3/development/recovery-z3-twrp-2-8-4-0-t3028846
Click to expand...
Click to collapse
If your bootloader is unlocked, yes.
and stock firmware ll works?
eitheer said:
and stock firmware ll works?
Click to expand...
Click to collapse
Any firmware, as long as you do not relock.
sorry, i dont understand, what means "do not relock"?
eitheer said:
sorry, i dont understand, what means "do not relock"?
Click to expand...
Click to collapse
As long as you do not 'relock the bootloader'
phone dont works, only black screen
eitheer said:
phone dont works, only black screen
Click to expand...
Click to collapse
What did you do?
Did you reflashed the ftf?
i flash it via fastboot, then i flash old kernel with old TWRP, and works. but i type now in Terminal Emulator and it was successful and then i reboot and i see old recovery 2.8.0.1
eitheer said:
i flash it via fastboot, then i flash old kernel with old TWRP, and works. but i type now in Terminal Emulator and it was successful and then i reboot and i see old recovery 2.8.0.1
Click to expand...
Click to collapse
Because your kernel overwrites the recovery with the one that' s within the kernel, because it is a kernel with recovery.
Flash only TWRP .img file via adb.
Go to TWRP' s official page and download the latest TWRP for your device.
TheTeslaCoil said:
Because your kernel overwrites the recovery with the one that' s within the kernel, because it is a kernel with recovery.
Flash only TWRP .img file via adb.
Go to TWRP' s official page and download the latest TWRP for your device.
Click to expand...
Click to collapse
yy im noob sry for a lot of question.
i connect z3 in fastboot then i type: fastboot flash recovery recoveryname.img
?
btw. on TWRP official site i dont see Xperia Z3
eitheer said:
yy im noob sry for a lot of question.
i connect z3 in fastboot then i type: fastboot flash recovery recoveryname.img
?
btw. on TWRP official site i dont see Xperia Z3
Click to expand...
Click to collapse
Type Z3 in search box.
fastboot flash recovery recovery name.img
fastboot erase cache
fastboot reboot
just look http://imgur.com/b78ISkc
maybe i should flash it http://forum.xda-developers.com/z3/development/recovery-z3-twrp-2-8-4-0-t3028846?: fastboot flash recovery z3fotatwrpv3.img
but im scared of "do not flash it on stock roms"
Flash a kernel with TWRP. Flash THIS

Reinstall official Cyanogen Recovery, OTA and then reinstall TWRP?

OK, just figured out I cant update OTA without Cyanogen Recovery...
What would be the best way to reinstall Cyanogen Recovery? This way I can OTA and then reinstall TWRP...
Just get the recovery from the stock images and flash it with fastboot.
Heisenberg said:
Just get the recovery from the stock images and flash it with fastboot.
Click to expand...
Click to collapse
Is there direct link to the recovery alone?
riahc3 said:
Is there direct link to the recovery alone?
Click to expand...
Click to collapse
I believe someone uploaded it in the thread for the latest update in our general section, a search of that thread should uncover it.

ota firmware update

OK I know i asked but need assurance on what to do step by step. Have my bootloader unlocked TWRP installed and rooted and on MHA-L29C567B167 just got B183 on my phone what do i need to do to apply the update and get back to unlock twrp and root. make it stupid simple please. i know i need prob relash everything but also do i have to get differant publics and HW files for the new update? Thanks sorry for being such a noob about this!
larryblynn000 said:
OK I know i asked but need assurance on what to do step by step. Have my bootloader unlocked TWRP installed and rooted and on MHA-L29C567B167 just got B183 on my phone what do i need to do to apply the update and get back to unlock twrp and root. make it stupid simple please. i know i need prob relash everything but also do i have to get differant publics and HW files for the new update? Thanks sorry for being such a noob about this!
Click to expand...
Click to collapse
Did you modify anything on /system or any other partition other than /data?
If not, flash back stock recovery and see if it wants to install OTA.
Or you could try flashing the full firmware using Firmware Finder.
To get recovery, download your firmware from http://hwmt.ru/hwmtsite/firmware-database
Extract the zip.
Download Huawei Update Extractor.
Open update.app in HUE.
Right click on Recovery and extract.
Flash using fastboot flash recovery recovery.img
ante0 said:
Did you modify anything on /system or any other partition other than /data?
If not, flash back stock recovery and see if it wants to install OTA.
Or you could try flashing the full firmware using Firmware Finder.
To get recovery, download your firmware from http://hwmt.ru/hwmtsite/firmware-database
Extract the zip.
Download Huawei Update Extractor.
Open update.app in HUE.
Right click on Recovery and extract.
Flash using fastboot flash recovery recovery.img
Click to expand...
Click to collapse
not sure what you mean by did i modify i unlocked BL flashed twrp and your root file and and public and hw thats all followed the op did bu my boot file after installing twrp. as far AS RECOVERY Image i have dl update.app then it shows recovery and recovery2 is that te correct file and then once i extract i get a folder with bunch of files how do i turn that into a flashable file? and where do i get the stock recovery file? thanks again for all your help and patience.
larryblynn000 said:
not sure what you mean by did i modify i unlocked BL flashed twrp and your root file and and public and hw thats all followed the op did bu my boot file after installing twrp. as far AS RECOVERY Image i have dl update.app then it shows recovery and recovery2 is that te correct file and then once i extract i get a folder with bunch of files how do i turn that into a flashable file? thans again for all your help and patience.
Click to expand...
Click to collapse
Extract the one named Recovery. Not recovery2.
It should extract as RECOVERY.IMG. Right click on Recovery in HUE and select Extract Selected.
And question, SuperRoot or SuperSu?
ante0 said:
Extract the one named Recovery. Not recovery2.
It should extract as RECOVERY.IMG. Right click on Recovery in HUE and select Extract Selected.
And question, SuperRoot or SuperSu?
Click to expand...
Click to collapse
I used super root and once i flash recovery and apply update can i use the same public and hw files after i unlock install twrp and root. thanks
larryblynn000 said:
I used super root and once i flash recovery and apply update can i use the same public and hw files after i unlock install twrp and root. thanks
Click to expand...
Click to collapse
These are for b183
http://update.hicloud.com:8180/TDS/.../v79458/f2/full/hw/usa/update_full_hw_usa.zip
http://update.hicloud.com:8180/TDS/...58/f2/full/public/update_data_full_public.zip
ante0 said:
These are for b183
http://update.hicloud.com:8180/TDS/.../v79458/f2/full/hw/usa/update_full_hw_usa.zip
http://update.hicloud.com:8180/TDS/...58/f2/full/public/update_data_full_public.zip
Click to expand...
Click to collapse
thankyou, can i use TWRP to flash recovery or i need to use fastboot?
larryblynn000 said:
thankyou, can i use TWRP to flash recovery or i need to use fastboot?
Click to expand...
Click to collapse
just use twrp to flash it..
eddmecha said:
just use twrp to flash it..
Click to expand...
Click to collapse
ok so im dumber then a box of rocks and can't seem to get a recovery image to work could somebody be so kind as to put up a stock recovery for the us variant L29C567B167 thanks a lot!!!!!!
larryblynn000 said:
ok so im dumber then a box of rocks and can't seem to get a recovery image to work could somebody be so kind as to put up a stock recovery for the us variant L29C567B167 thanks a lot!!!!!!
Click to expand...
Click to collapse
C567B167 Stock recoveryThere you go
There are any news about the EMUI 5.1 for the Mate 9?
HI
anybody knows where is OTA update stored in mate 9 , I want to delete it
thanks

Categories

Resources