Flash stock recovery? - G2 Q&A, Help & Troubleshooting

I have the AT&T LGG2 variant.
I am running stock rooted TWRP. Have not taken the OTA I am on the 10d build.
My question is:
Since I have root access couldn't I simply re flash the stock recovery image via the same commands to flash TWRP?:
Code:
adb push stockrecovery.img /data/local/tmp/stockrecovery.img
adb shell
su
cd /data/local/tmp
dd if=/data/local/tmp/stockrecovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery
This would leave my phone rooted with the stock recovery instead of TWRP correct?
Is it this simple to put the stock recovery back on the phone or am I missing something?
Thanks

Wondering the same thing.
Better yet, is there a flashable zip file for installing the stock recovery, same as is done with TWRP and CWM?
Would be nice to have this option without needing to unroot and flash completely back to stock firmware.

slider112 said:
Wondering the same thing.
Better yet, is there a flashable zip file for installing the stock recovery, same as is done with TWRP and CWM?
Would be nice to have this option without needing to unroot and flash completely back to stock firmware.
Click to expand...
Click to collapse
This worked for me. There is a post here containing the stock att recovery. I got it and flashed it without any issues via the above method.
Here is stock recovery file: not flashable via recovery
http://forum.xda-developers.com/showthread.php?p=47616101
Sent from my LG-D800 using Tapatalk

eraste said:
This worked for me. There is a post here containing the stock att recovery. I got it and flashed it without any issues via the above method.
Here is stock recovery file: not flashable via recovery
http://forum.xda-developers.com/showthread.php?p=47616101
Sent from my LG-D800 using Tapatalk
Click to expand...
Click to collapse
Any idea if this will work with Flashify? And did the OTA update work smoothly afterwards?

eraste said:
This worked for me. There is a post here containing the stock att recovery. I got it and flashed it without any issues via the above method.
Here is stock recovery file: not flashable via recovery
http://forum.xda-developers.com/showthread.php?p=47616101
Sent from my LG-D800 using Tapatalk
Click to expand...
Click to collapse
You might still hit a hurdle with your ota if you still have your jb aboot and patched boot img from aitorec.

Related

4.2.2 Install Problems

After doing the update ota it reboots and takes my to cwm recovery and asks to if I want to install this untrusted zip but when I say yes it gives me an error. I am on stock kernel rooted with an unlocked bootloader.
like the million other upgrade threads, you cant update to OTA with a custom recovery....
You can download the OTA update file and install it with cwm or twrp recovery. I used cwm recovery with supersu and voodoo ota rootkeeper and installed the update, kept cwm recovery and root.
Groid said:
You can download the OTA update file and install it with cwm or twrp recovery. I used cwm recovery with supersu and voodoo ota rootkeeper and installed the update, kept cwm recovery and root.
Click to expand...
Click to collapse
How to install using twrp?
Maybe a little more noob friendly idea. Is there an easy way to get stock recovery back? May also help those without easy access to a computer.
Is there a way to restore factory recovery using a terminal emulator?
Sent from my SGH-I777 using xda app-developers app
Iv download 4.2.2 and flash it with cwm recovery but still get status 7 erorr and instalation abortion
Sent from my Nexus 7 using Tapatalk 2
Leonhan said:
How to install using twrp?
Click to expand...
Click to collapse
Sorry, not sure about twrp. I've never used it, but I've seen other threads where people have used it successfully.
litesout said:
Is there a way to restore factory recovery using a terminal emulator?
Click to expand...
Click to collapse
Code:
$ su
# dd if=stock-recovery.img of=/dev/block/mmcblk0p1 bs=4096

TWRP recovery with stock firmware

hope some one can clarify this for me.
If I flashed twrp over stock firmware, and now I want to update the firmware, I assume by flashing the full firmware it will bring back the stock recovery? What if I just flash the OTA zip?
thanks,
Both ways will bring back stock recovery, they will also make you lose root.
Just do OTA, flash the root zip from within stock recovery, install TWRP from the GOOmanager app, done.
Very easy. Just make sure you always keep the root zip on your phone. This makes rooting after an update easier.
Sent from my X909 using Tapatalk 2
GlennE_ said:
Both ways will bring back stock recovery, they will also make you lose root.
Just do OTA, flash the root zip from within stock recovery, install TWRP from the GOOmanager app, done.
Very easy. Just make sure you always keep the root zip on your phone. This makes rooting after an update easier.
Sent from my X909 using Tapatalk 2
Click to expand...
Click to collapse
simple enough! thanks for clearing up. BTW, for re-installing the TWRP from goomanager, is there a way to do it off-line? For the recover, the goo will download the img file and auto install for you. If I updated the firmware and can I some some how flash the already downloaded recover img without re-download it each time?
thanks again,
You're welcome, happy to help.
Should be possible, but I haven't figured that out yet. I just let it redownload...
Sent from my X909 using Tapatalk 2
GlennE_ said:
You're welcome, happy to help.
Should be possible, but I haven't figured that out yet. I just let it redownload...
Sent from my X909 using Tapatalk 2
Click to expand...
Click to collapse
Just to do a follow up since I just got my phone delivered yesterday which is much sooner than anticipated. Here is what I did:
1. use CASUAL to root and installed TWRP (v 2.4xx)
2. installed Goo and updated to the latest TWRP (v 2.5)
3. reboot into TWRP and flashed the full zip for the latest 0629 firmware.
4. before reboot to system, i flashed the root.zip file.
5. reboot to system, all apps and settings are retained, system is rooted. Just out of curiosity, I reboot into recovery again and it boots right into TWRP!!?
So after full firmware flash, the TWRP recovery didn't get overwritten by the stock rom.
doesn't bother me but just confused again. May be TWRP 2.5 is able to stick even after stock firmware update?

Can you guys boot into custom recovery in Android 4.3?

Hey guys I was trying to boot into the latest CWM image to install superSU in the oficial android 4.3 image, however I got stock in the bootscreen, I tried manually typing the commands as always did and using a toolkit... Maybe is it broken?
Regards
I can't get super su working,
Sent from my Nexus 4 LTE @1.728 GHz on Stock 4.2.2
IRX120 said:
I can't get super su working,
Sent from my Nexus 4 LTE @1.728 GHz on Stock 4.2.2
Click to expand...
Click to collapse
But you were able to boot into recovery?
rootusr said:
But you were able to boot into recovery?
Click to expand...
Click to collapse
Yeah just no root
Sent from my Nexus 4 LTE @1.728 GHz on Stock 4.2.2
rootusr said:
Hey guys I was trying to boot into the latest CWM image to install superSU in the oficial android 4.3 image, however I got stock in the bootscreen, I tried manually typing the commands as always did and using a toolkit... Maybe is it broken?
Regards
Click to expand...
Click to collapse
Working fine here. Installed latest TWRP then super su and root works fine.
cwm recovery boot into a blank screen...not able to see anything.
22sl22 said:
Working fine here. Installed latest TWRP then super su and root works fine.
Click to expand...
Click to collapse
This is my game plan as well....Make sure I have the latest TWRP and Super SU before I attempt to re-root.
EDIT: I forgot, I switched from the Super SU app to the superuser app from clockworkmod a while back.
TWRP updated to 2.6.0.0
Superuser already at 1.0.1.8
re-downloaded superuser.zip (unknown version)
Ready for the 4.3 OTA.
22sl22 said:
Working fine here. Installed latest TWRP then super su and root works fine.
Click to expand...
Click to collapse
Can you upload the SuperSu zip file you used to root?
I have exactly the same problem. Before updating to 4.3 I've booted CWM and did a nand backup.
After updating I can't boot into CWM or TWRP to flash the root zip. I get a blank screen instead of the recovery menu.
I don't want to flash a recovery, just boot like thousands times before to flash the root.zip from chainfire that works.
Same problem : I get a blank screen when booting CWM
I can connect with adb, backlights turns off after some time, and on again if I press a key.
I can boot in the recovery after flashing it !
So booting a flashed recovery from the bootloader works, but booting it with "fastboot boot" don't...
blitzzz3434 said:
Can you upload the SuperSu zip file you used to root?
Click to expand...
Click to collapse
Read here. Make sure you read the bit about Titanium Backup if you use it:
https://plus.google.com/+Chainfire/posts/WqS2E9kkN1L
22sl22 said:
Read here. Make sure you read the bit about Titanium Backup if you use it:
https://plus.google.com/+Chainfire/posts/WqS2E9kkN1L
Click to expand...
Click to collapse
Are you by any chance experiencing that high cpu usage which causes horrible battery drain?
Sent from my Nexus 4 using xda premium
Coming back to the subject of this thread, I was NOT able to boot into TWRP from fastboot using the command:
fastboot boot openrecovery-twrp-2.6.0.0-mako.img
the n4 was starting but I was just getting a black screen.
I had to flash the recovery to my nexus 4 with:
fastboot flash recovery openrecovery-twrp-2.6.0.0-mako.img
and after that I was able to boot as usual to the recovery and install chainfire modified .zip to gain root in android 4.3
Any other is experiencing this problem with booting into recovery on N4 ?
On my nexus 7 I was able to boot as usual into the recovery, without flashing it
@bagl0312 How I wrote, I have exactly the same problem. I will going to flash twrp, flash root zip and flash back the stock recovery for now.
Never the less fastboot boot recovery.img does not work atm

[STOCK RECOVERY][CONDOR][4.4.4]recovery.img

hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
If you have rooted your device once....
Only full unroot from SuperSU and flashing this recovery will not work....
YOU HAVE TO FLASH FULL FIRMWARE....
OTHERWISE OTA UPDATE WILL FAIL....(because after rooting our build.prop gets little edited....which will cause problems)
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
dhruv7855 said:
hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
Click to expand...
Click to collapse
curiosity, how you extract the recovery from original firmware?
I have used flashify to flash stock recovery before. It seemed to have worked. Its super easy as well and requires no computer. Try at your own risk.
Sent from my XT1023
alex_is_the_1 said:
I have used flashify to flash stock recovery before. It seemed to have worked. Its super easy as well and requires no computer. Try at your own risk.
Sent from my XT1023
Click to expand...
Click to collapse
I don't hunderstand, flashify require root, to root we need to unlock bootloader and apply twrp or cwm recoveryand after supersu, how flashify get stock recovery after this mods?
noRetail said:
I don't hunderstand, flashify require root, to root we need to unlock bootloader and apply twrp or cwm recoveryand after supersu, how flashify get stock recovery after this mods?
Click to expand...
Click to collapse
If you need your stock recovery your already rooted and have a custom recovery in place. So therefore your device has an unlocked boot loader. Flashify can flash recovery IMG without even powering into recovery.
Sent from my XT1023
alex_is_the_1 said:
If you need your stock recovery your already rooted and have a custom recovery in place. So therefore your device has an unlocked boot loader. Flashify can flash recovery IMG without even powering into recovery.
Sent from my XT1023
Click to expand...
Click to collapse
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
noRetail said:
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
Click to expand...
Click to collapse
I don't know for sure, but @lost101 can possibly help you with that. It will most likely require you to pull it using an adb command.
Sent from my XT1023
I have downloaded the firmware and simply by unzipping u will get stock recovery.img
noRetail said:
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
Click to expand...
Click to collapse
No you can not
Untill Motorola releases official firmware worldwide to download
I'm not talking about the ota
alex_is_the_1 said:
I don't know for sure, but @lost101 can possibly help you with that. It will most likely require you to pull it using an adb command.
Sent from my XT1023
Click to expand...
Click to collapse
+1 may be u can by pulling through adb
Not know how
dhruv7855 said:
+1 may be u can by pulling through adb
Not know how
Click to expand...
Click to collapse
Thank's men, but to pulling from adb need root access, waiting for community...
So for retrieving back to stock 4.4.4 ROM from cm11, I just have to do write that recovery command
pls help
neo_da_leo said:
So for retrieving back to stock 4.4.4 ROM from cm11, I just have to do write that recovery command
pls help
Click to expand...
Click to collapse
No no
If you have rooted your device once.....you have to flash full stock rom.....
Only full unroot from SuperSU and flashing recovery won't work..
Edited OP...
Sent from my Moto G using XDA Free mobile app
dhruv7855 said:
No no
If you have rooted your device once.....you have to flash full stock rom.....
Only full unroot from SuperSU and flashing recovery won't work..
Edited OP...
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Thanks but I did that command now my recovery option is not working. It is showing android symbol with " ! " sign when recovery option is selected
how to get recovery option working
neo_da_leo said:
Thanks but I did that command now my recovery option is not working. It is showing android symbol with " ! " sign when recovery option is selected
how to get recovery option working
Click to expand...
Click to collapse
You are okay bro...
U just need to hold power button and press volome up once....(after that android logo appears)
Then stock recovery will pop...
That is the method to enter stock recovery...
Sent from my Moto G using XDA Free mobile app
Thanks bro @dhruv7855
for going back to stock ROM 4.4.4 from cm11 can I use my backup file that was taken before installing cm11 ?
neo_da_leo said:
Thanks bro @dhruv7855
for going back to stock ROM 4.4.4 from cm11 can I use my backup file that was taken before installing cm11 ?
Click to expand...
Click to collapse
But I think that backup would be containing custom recovery...
Sent from my Moto G using XDA Free mobile app
Getting problem in update...
Hii
i am unable to download anything.. can we get official updates for lollipop???
Can anyone upload soak test recovery?
boot.img
dhruv7855 said:
hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
If you have rooted your device once....
Only full unroot from SuperSU and flashing this recovery will not work....
YOU HAVE TO FLASH FULL FIRMWARE....
OTHERWISE OTA UPDATE WILL FAIL....(because after rooting our build.prop gets little edited....which will cause problems)
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
Click to expand...
Click to collapse
Could you please help me with boot.img for same device, same 4.4.4 version. Thanks

Shield Update 2.2 is out!

http://shield.nvidia.com/tablet-release-notes/2.2/
now to figure out how to get this to update on my rooted LTE Tablet.....
I'm rooted and just got the update. But haven't completed the update yet as I'm too lazy to reroot.
I tried using the nvidia updater, which failed since it rebooted and CWM had no idea what to do. I made a CWM backup so I am going to see how well it flashes in CWM manually.
I managed to find the OTA download location and have superSU at the ready in my downloads folder in case I have to reflash. the OTA saved as:
/data/data/com.nvidia.ota/files/ROM/shield_tablet_software_upgrade_2.2_-_lte__5.0.1.zip
Someone please report the steps on how to do this for Rooted 2.1.
CWM install zip failed. build fingerprint mismatched, its probably CWM. Will try sideloading stock recovery then installing the zip afterward, I think I remember seeing somewhere here that's how people upgraded rooted devices from 2.0 to 2.1
Omg things seem to be more snappy! The dreaded lag may be gone! I'm not rooted so I did the ota install
I'm really interested in your findings, i need to find a tutorial on how to flash back stock recovery then i can do the update and hopefully reroot.
Iorkca said:
I'm really interested in your findings, i need to find a tutorial on how to flash back stock recovery then i can do the update and hopefully reroot.
Click to expand...
Click to collapse
currently working on it right now, need about a few to upload all files and then get everything setup....
From a post on Geforce forum
fjrichman
*
*
*
*
For rooted users you'll want to use theses.
US LTE Full:*http://ota.nvidia.com/ota/rom/productionBL-droid-signed-wx_na_do-full_ota-29979_512.4856.zip
US Wifi Full:*http://ota.nvidia.com/ota/rom/productionBL-droid-signed-wx_na_wf-full_ota-29979_512.4856.zip
I successfully updated rooted wifi using link
Awsome sounds good. Quick question to get stock recovery back all id have to do is extract the recovery.img file from the ota 2.1 file i downloaded off nvidia's site and load it like i did the CWM recovery from the root thread right?
Or (if you've got root) wait until the full 2.2 .zip is available, then download it and flash it through your custom recovery, followed by the latest SuperSU. (just like the last Lollipop update).
Interestingly, the OTA update tool has an option for "Check full update" (under the top right menu), but it doesn't seem to return anything...yet...
Sent from my SHIELD Tablet using XDA Free mobile app
Pretty much you are going
Flash Stock recovery by any preferred method
Flash Update
adb Reflash CWM recovery
Thru recovery flash SuperSU
**Profit**
Working on getting all the files in one package as of right now. Damn internet hogs in my house.
Cant we use Flashify to flash stock recovery and then updating the OTA and then reflash our recoverys and supersu.zip?
NaminatoR1254jaime.sier said:
Cant we use Flashify to flash stock recovery and then updating the OTA and then reflash our recoverys and supersu.zip?
Click to expand...
Click to collapse
Yeah, if you have the stock recovery file....
mcord11758 said:
From a post on Geforce forum
fjrichman
*
*
*
*
For rooted users you'll want to use theses.
US LTE Full:*http://ota.nvidia.com/ota/rom/productionBL-droid-signed-wx_na_do-full_ota-29979_512.4856.zip
US Wifi Full:*http://ota.nvidia.com/ota/rom/productionBL-droid-signed-wx_na_wf-full_ota-29979_512.4856.zip
I successfully updated rooted wifi using link
Click to expand...
Click to collapse
Did you clean install, or did you dirty flash?
Just curious if this can be applied as an update our not.
Sent from my SHIELD Tablet using XDA Free mobile app
masterchiefb117 said:
Yeah, if you have the stock recovery file....
Click to expand...
Click to collapse
I dont
But Im downloading the 2.1 update stock images. Funny how I deleted the 2 gb zip yesterday and now I need it.
masterchiefb117 said:
Pretty much you are going
Flash Stock recovery by any preferred method
Flash Update
adb Reflash CWM recovery
Thru recovery flash SuperSU
**Profit**
Working on getting all the files in one package as of right now. Damn internet hogs in my house.
Click to expand...
Click to collapse
You won't be able to successfully flash the UPDATE .zip file (~94MB) on a rooted (read: modified) Lollipop version.
Recovery version is irrelevant.
You need the FULL 2.2 rom (already found above , ~731MB), flash it in your current custom recovery and re-root by flashing SuperSU again.
Sent from my SHIELD Tablet using XDA Free mobile app
ok, here's what I dug up. If you are rooted and want it NOW, get to it, otherwise wait for someone to clean up the process:
get the OTA from here: https://forums.geforce.com/default/...hread-released-2-17-15-/post/4464815/#4464815
get your latest SuperSU flashable zip: http://download.chainfire.eu/396/SuperSU/
get your recovery ready for reflashing, the OTA will install the stock recovery again. I went with: http://forum.xda-developers.com/showpost.php?p=58864006&postcount=90
boot into recovery and install zip from sideload. then choose either: adb sideload productionBL-droid-signed-wx_na_do-full_ota-29979_512.4856.zip or adb sideload productionBL-droid-signed-wx_na_wf-full_ota-29979_512.4856.zip
reboot and let the upgrade happen, you've lost root and recovery, but you still are unlocked so you just have to reflash them. get into fastboot with power and volume down, then flash recovery: fastboot flash recovery openrecovery-twrp-2.8.5.0-shieldtablet.img
load up recovery and flash the superSU zip and you're back in business.
ShrekOpher said:
Did you clean install, or did you dirty flash?
Just curious if this can be applied as an update our not.
Sent from my SHIELD Tablet using XDA Free mobile app
Click to expand...
Click to collapse
Wiped cache and davlik then just in case flashed supersu after rom
An Droid said:
You won't be able to successfully flash the UPDATE .zip file (~94MB) on a rooted (read: modified) Lollipop version.
Recovery version is irrelevant.
You need the FULL 2.2 rom (already found above , ~731MB), flash it in your current custom recovery and re-root by flashing SuperSU again.
Sent from my SHIELD Tablet using XDA Free mobile app
Click to expand...
Click to collapse
That means a rooted lollipop user with custom recovery, can download the full ota, and dirty flash it, right?

Categories

Resources