Restore stock recovery - Nexus 4 Q&A, Help & Troubleshooting

Hi Guys,
So I'd rooted the Nexus 4 by unlocking the bootloader and flashing the rooted kernel. I didn't flash a custom ROM after that. So what I had was a 4.2.2 Stock ROM with a rooted kernel so I could use the root functions. Now I get a system update notification after it downloads the new stock 4.3 on its own on my phone. But now since I don't have the stock recovery, selecting " Reboot and install update" after the system update downloads just leads me to the CWM recovery and obviously I don't have a custom update.zip to flash.
So my question is..How do I flash back the stock recovery and hence lose root and update to 4.3 without flashing the STOCK ROM back, thereby keeping my existing apps on 4.2.2. intact? So what I wanna do is flash the stock kernel which restores the stock recovery...Let the stock system update itself to 4.3 and then maybe Root the phone again..
Could someone kindly direct me to a solution?
Would appreciate a quick response
Cheers!

There's no way to restore to stock without wiping everything
Sent from my SGP311

https://developers.google.com/android/nexus/images
Download the factory images, you can find stock recovery inside. Flash the recovery.img in bootloader mode.
Code:
fastboot flash recovery recovery.img
Kernel and recovery is 2 separated partition in Nexus 4, so flashing kernel won't restore your recovery.

Related

A few questions to ROM updates

I currently have 4.2.1 rooted with TWRP. I use franco's kernel and now wondered if I can simply update via OTA? From what I read it is possible with TWRP ?
If that is not possible, should I just download the 4.2.2 update from google and flash it with TWRP ? What is the deodoxed 4.2.2 download?
Thanks
Read this thread http://forum.xda-developers.com/showthread.php?t=2145848 you can find there all answers
So as I have:
root
franco's kernel
TWRP/CWM
Unlocked bootloader
the only way for me to get 4.2.2 is by flashing it via TWRP/CWM ? Will this just update my system or install a new 4.2.2 meaning all my homescreens/Settings/.. are gone ?
zakazak said:
So as I have:
root
franco's kernel
TWRP/CWM
Unlocked bootloader
the only way for me to get 4.2.2 is by flashing it via TWRP/CWM ? Will this just update my system or install a new 4.2.2 meaning all my homescreens/Settings/.. are gone ?
Click to expand...
Click to collapse
first of all you must flash system.img and boot.img to have stock system, after that you can flash update via TWRP/CWM and reroot. That not wipe your data
and where do I get the the boot.img system.img ?
and i push that to my phone via adb/fastboot ?

In need of assistance with 4.3 root

Hey there, I've recently made the purchase of a samsung galaxy S4 1337m
Once i got it home, the first thing i did was root it via Chainfires Root, and downloaded
rom manager, and installed CWM, and backed up my original OS with the original root
to a SD Card, once i did that I installed Odexed Andriod 4.3 for US and CAN, when i discovered
there was Chainsfire root guide for this version in particular, i tried to install it, what i did was attempt
to flash the latest root onto 4.3 via oden, after which i would flash the modded software to work for 4.3
however, in the process i ended up losing CWM, and the root all together, so i was wondering if anyone
was willing to lend me a hand getting the root onto my 4.3, so i can get my CWM back on.
Thanks!
DeathSentinels said:
Hey there, I've recently made the purchase of a samsung galaxy S4 1337m
Once i got it home, the first thing i did was root it via Chainfires Root, and downloaded
rom manager, and installed CWM, and backed up my original OS with the original root
to a SD Card, once i did that I installed Odexed Andriod 4.3 for US and CAN, when i discovered
there was Chainsfire root guide for this version in particular, i tried to install it, what i did was attempt
to flash the latest root onto 4.3 via oden, after which i would flash the modded software to work for 4.3
however, in the process i ended up losing CWM, and the root all together, so i was wondering if anyone
was willing to lend me a hand getting the root onto my 4.3, so i can get my CWM back on.
Thanks!
Click to expand...
Click to collapse
I haven't used 4.3 but from what I've read I believe you just flash the .zip chainfire provided from recovery.
So now you will have to ODIN back to stock if you lost your recovery, re-root, install recovery (recommend TWRP instead), re-flash 4.3, flash the .zip provided from chainfire in his post here:
https://plus.google.com/u/0/113517319477420052449/posts/WqS2E9kkN1L
blyndfyre said:
I haven't used 4.3 but from what I've read I believe you just flash the .zip chainfire provided from recovery.
So now you will have to ODIN back to stock if you lost your recovery, re-root, install recovery (recommend TWRP instead), re-flash 4.3, flash the .zip provided from chainfire in his post here:
https://plus.google.com/u/0/113517319477420052449/posts/WqS2E9kkN1L
Click to expand...
Click to collapse
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
DeathSentinels said:
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
Click to expand...
Click to collapse
He means Odin the stock ROM
DeathSentinels said:
Do you know whether or not I'm able to re-flash with oden using the recovery created by CWM?
Or do i need to download the stock rom for my phone, which i imagine I would do a factory wipe
then boot into download mode then flash the stock rom?
Click to expand...
Click to collapse
The backup created from CWM should be a .zip that is flash-able only from recovery afaik. You will need your stock firmware .tar file and flash with ODIN. This is only if you surely cannot boot into recovery. If you manage to boot to CWM you can flash your backup of course.
Your STOCK firmware can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=2269304
blyndfyre said:
The backup created from CWM should be a .zip that is flash-able only from recovery afaik. You will need your stock firmware .tar file and flash with ODIN. This is only if you surely cannot boot into recovery. If you manage to boot to CWM you can flash your backup of course.
Your STOCK firmware can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=2269304
Click to expand...
Click to collapse
I currently did a factory wipe on my device, and flashed using odin with my stock
rom, things are looking good thus far, will keep posted if anything goes not as planned!

How do I backup the stock recovery for Note 3 SM 9005?

If I install custom recovery (via odin) my stock recovery will be gone right. So, how do I backup my current stock recovery.img so that I can recover it later? I was looking for the answer on many threads and most xda members suggest to use the 'fastboot' method (which temporarily injected the custom recovery and return the stock recovery immediately). But this fastboot method does not work with Samsung Galaxy Note 3 SM-9005. Is there any other alternative how to backup the stock recovery?
EDIT: the alternative method that I can think of is to use Flashify app. It can backup the stock recovery image but, in other to use this app, I must be root. and in other to root i must install custom recovery.. and.... yeah I lost the stock recovery.. this is the problem.
Reflash the official rom
kenny1991 said:
Reflash the official rom
Click to expand...
Click to collapse
Hmmm.. here is my situation. I have the official ROM KitKat. It contains the kitkat stock recovery.img. I updated my phone to Lollipop and I believe it has updated my recovery.img to lollipop version (I found it has more options than the KitKat version). I cannot find the official ROM of my phone. My question is,
where can I find the official lollipop ROM? I just received it via OTA. Does reflashing the ROM will backup my recovery.img? I mean I want to obtain this recovery.img file.
Android System Recovery <3e>: LRX21V.N9005DXUGBOD1
rom try sammobile or samsung- updates .
never ever heard of a backed up recovery .

restore OC3 stock recovery?

Original question was about loading TWRP, but that's impossible I now realize.
New question.
I broke my stock recovery when I tried flashing TWRP on my i337ucugoc3 build.
Phone boots fine, but I can't access the stock recovery to flash the stagefright patch.
Anyone know where I can download the odin flashable file?

How to revert back to the stock firmware?

Hi All,
A couple of days back, I installed custom ROM (Recreated Remix Leopard) successfully on Zenfone 5. I was on the stock lollipop 3.24.40.87 firmware before that. I rooted, unlocked Bootloader and installed TWRP recovery on the stock ROM and I also took a nandroid backup. After using the custom ROM, I decided to go back to the stock ROM. I used the nandroid backup for restoring and got the stock ROM. But, now I want to go back to the stock Kitkat ROM (as the lollipop sucks) and I also don't want the custom recovery or anything. In short, I want to revert my phone to the real factory condition.
I tried to go back to Kitkat by the ASUS official method. But that didn't work. Then I tried to re-lock the Bootloader with the tool from which I unlocked it. But when I did that, I got stuck on the USB logo screen. So, I unlocked it again with the same tool and the phone starts normally. So, how do I get back now?
What would happen if I flash the stock ROM via TWRP? Will it remove the custom recovery and lock the Bootloader?
I read a couple of articles, a few of them suggested to install the stock ROM with the official ASUS method (copy the files in internal storage and the phone will notify to install the update). The article even says that by this method any custom modifications (recovery, root, Bootloader) will be deleted. Is it true or will this work?
Thanks in advance!
mohit12345 said:
Hi All,
A couple of days back, I installed custom ROM (Recreated Remix Leopard) successfully on Zenfone 5. I was on the stock lollipop 3.24.40.87 firmware before that. I rooted, unlocked Bootloader and installed TWRP recovery on the stock ROM and I also took a nandroid backup. After using the custom ROM, I decided to go back to the stock ROM. I used the nandroid backup for restoring and got the stock ROM. But, now I want to go back to the stock Kitkat ROM (as the lollipop sucks) and I also don't want the custom recovery or anything. In short, I want to revert my phone to the real factory condition.
I tried to go back to Kitkat by the ASUS official method. But that didn't work. Then I tried to re-lock the Bootloader with the tool from which I unlocked it. But when I did that, I got stuck on the USB logo screen. So, I unlocked it again with the same tool and the phone starts normally. So, how do I get back now?
What would happen if I flash the stock ROM via TWRP? Will it remove the custom recovery and lock the Bootloader?
I read a couple of articles, a few of them suggested to install the stock ROM with the official ASUS method (copy the files in internal storage and the phone will notify to install the update). The article even says that by this method any custom modifications (recovery, root, Bootloader) will be deleted. Is it true or will this work?
Thanks in advance!
Click to expand...
Click to collapse
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Long Çhïvaš said:
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Click to expand...
Click to collapse
Hi, thank you for the reply
You said WW 3.24.40.87 modded, do you mean that this rom is not the official one? Does it improves the battery life and other bugs of the stock rom?
I really appreciate your help!
You cannot flash stock rom via TWRP!
This is modded rom, so you can flash it via TWRP easily....
It's Official rom from Asus, just modded to be able flash through TWRP
Long Çhïvaš said:
You cannot flash stock rom via TWRP!
This is modded rom, so you can flash it via TWRP easily....
It's Official rom from Asus, just modded to be able flash through TWRP
Click to expand...
Click to collapse
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
mohit12345 said:
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
Click to expand...
Click to collapse
You need to flash WW 2.22.40.54 recovery via Fastboot first, then sideload rom via adb
drive.google.com/folderview?id=0B1-5RXbzbyk7UmZjZktPcHBTQ3c&usp=sharing
hi, i installed your mod ("UL-ASUS_T00F-WW-3.24.40.87-user-mod")
and now i want downgrade to kitkat because i still have no signal, before that i had 6.0.1
when i copy official rom to internal storage nothing happen.. twrp same.. how to install official rom?
Long Çhïvaš said:
Link rom WW 3.24.40.87 modded, flash via TWRP: drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
If you flash this rom, it will not remove the custom recovery + lock the Bootloader
If you having a problem while flashing this rom, you need to flash stock recovery 2.22.40.54, after that you can sideload stock rom via ADB
Sorry for my bad english ^^
Click to expand...
Click to collapse
Do i have to install gapps too????
mohit12345 said:
Thank you for the info
But the thing is that I am already on the stock 3.24.40.87 rom and I want to go back to Kitkat 2.22.40.54 because it has much more improved battery performance than the lollipop. Is there any modded version of the stock Kitkat rom too? Or how do I go back to it?
Click to expand...
Click to collapse
how do i go back to 3.24.40.87? can u help me? now i'm in 6.0.1. And the bad thing is i didn't have a backup of 3.24.40.87 like u say on the first thread. Have a bug for can't playing video is too disturb me :crying:
Please contact me by email ([email protected]) :fingers-crossed:

Categories

Resources