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

I can't seem to unroot or flash the new 5.0.1 update at all using twrp.
How do I Install the stock recovery?
I used nexus tools program to root. I have access to windows and Mac.
Sent from my Nexus 9 using XDA Free mobile app

jji7skyline said:
I can't seem to unroot or flash the new 5.0.1 update at all using twrp.
How do I Install the stock recovery?
I used nexus tools program to root. I have access to windows and Mac.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Download the factory image. Extract it using 7-zip or winrar. Inside is a zip file, extract that too. In there you'll find recovery.img. Flash that in fastboot, fastboot flash recovery recovery.img.
Sent from my Nexus 5 using XDA Free mobile app

Ok that makes a lot of sense I'll do that!
Sent from my Nexus 9 using XDA Free mobile app

jji7skyline said:
Ok that makes a lot of sense I'll do that!
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
if your trying to take the OTA then you probably wont be able too if you *had* twrp installed
i wasnt able to take OTA at all, it kept failing(on stock recovery) saying that the system partition was mounted as R/W and had to be remounted but no matter i tried i couldnt get it to remount
What i ended up doing was downloading the latest update from the google page
but the .bat script is broken so i needed to do
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash vendor vendor.img
to the files inside the .img file inside the update
it took me two days to figure this out so hopefully i helped you out(if you needed it)

Thank you! This helped me with a completely unrelated issue! Why do google provide a broken installer?!?!?!

Related

Phone booting into a black screen

Hi i have a new htc evo 4g lte with the new ota update and the new hboot... i was able to unlock the bootloader and was able to get root but no s-off my question is why is it that everytime i try to install a custom rom my phone loads up into a black screen???
Sent from my SPH-L710 using xda premium
roge1381 said:
Hi i have a new htc evo 4g lte with the new ota update and the new hboot... i was able to unlock the bootloader and was able to get root but no s-off my question is why is it that everytime i try to install a custom rom my phone loads up into a black screen???
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
That's because the new hboot cannot flash kernels. Easiest method is to download flashgui from the market which will flash the kernel for you.
Thanks for the quick response... so all i need to do is download the app flash a kernel and then flash the rom through twrp???
Sent from my SPH-L710 using xda premium
roge1381 said:
Thanks for the quick response... so all i need to do is download the app flash a kernel and then flash the rom through twrp???
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Credit to banccalif from this post http://forum.xda-developers.com/showpost.php?p=31002159&postcount=8932 as he wrote these directions. This should help you out
3. Download flash image gui
http://forum.xda-developers.com/show....php?t=1772769
4. Open flash image gui and navigate to your rom zip file
5. Make sure "kernel image" is selected
6. Make sure both caches are selected
7. Then hit "flash image"
8. You will be prompted to reboot
9. In twrp wipe as normal and flash your rom zip
10. Reboot & Profit! 
njfoses said:
Credit to banccalif from this post http://forum.xda-developers.com/showpost.php?p=31002159&postcount=8932 as he wrote these directions. This should help you out
3. Download flash image gui
http://forum.xda-developers.com/show....php?t=1772769
4. Open flash image gui and navigate to your rom zip file
5. Make sure "kernel image" is selected
6. Make sure both caches are selected
7. Then hit "flash image"
8. You will be prompted to reboot
9. In twrp wipe as normal and flash your rom zip
10. Reboot & Profit! 
Click to expand...
Click to collapse
Sounds great!!! Thanks again for the help..:thumbup:
Sent from my SPH-L710 using xda premium
Worked great!!! I appreciate the help..
Sent from my SPH-L710 using xda premium
roge1381 said:
Worked great!!! I appreciate the help..
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Awesome!
I'm having the same problem, except I've already wiped my rom so I can't load anything up to go into the market. what should I do? I'm on Hboot 2.09, I've got twrp 2.4.4.0 on there.
lgboy5889 said:
I'm having the same problem, except I've already wiped my rom so I can't load anything up to go into the market. what should I do? I'm on Hboot 2.09, I've got twrp 2.4.4.0 on there.
Click to expand...
Click to collapse
Do you have ADB set up on your computer?
The advice is free....the bandwidth, not so much
lgboy5889 said:
I'm having the same problem, except I've already wiped my rom so I can't load anything up to go into the market. what should I do? I'm on Hboot 2.09, I've got twrp 2.4.4.0 on there.
Click to expand...
Click to collapse
Download a rom to your computer. Place the rom.zip in the folder where you have adb. Also, extract the boot.img in the same folder. Open adb on your computer using command line and boot into fastboot on your phone. Use the cd command to change folders to wherever your adb is located and type adb devices to make sure you are connected. Then type fastboot flash boot boot.img. Once you do that you can push the rom zip using a different command that I forget. Even better than reading my response, search Google for "flash boot rom fastboot evo 4G lte" there's an xda thread that walks you through it.
Sent from my EVO using xda app-developers app

Nexus 7 Meltdown

Okay, so yesterday I was flashing from SlimBean to stock 4.3 on my Nexus 7. Okay, good no problem. After that I was using WugFresh's toolkit to update from 4.3-4.4 since my bootloader is unlocked and it wouldn't take the OTA. The cmd prompt said something akin to:
boot.sig not in archive
Recover.sig not in archive
And then it froze, for a bit before giving me the end message about the first reboot taking 5-10 minutes. OK, cool. I was still in fastboot mode, so I went ahead and volume upped to start. The Google image flashed, along with the unlock symbol, and in very tiny text at the top right says Booting Failed.... On the same screen off to the right is the arrow that says start, just like in bootloader. I'm freaking out because this is basically brand new, and I don't wanna NAFTA buy another.
Oh, and it's the 2012 Grouper/Nasaki WiFi only model.
Thanks in advance for any and all advice.
Sent from my GNEX running SlimBean
Just boot back to bootloader and flash a custom recovery through fastboot
Then boot back to this recovery and flash ROM of choice
If you want to go back to stock fully then drop the tool kits and just flash stock and relock bootloader
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
Just boot back to bootloader and flash a custom recovery through fastboot
Then boot back to this recovery and flash ROM of choice
If you want to go back to stock fully then drop the tool kits and just flash stock and relock bootloader
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright I did that, erasing the non existent recovery as well. Now when I try to boot, its stuck at the Google logo. When I enter bootloader and select reboot recovery, it just goes to the screen with Google logo and the fastboot arrow
Sent from my GNEX running SlimBean
So through fastboot you ran
fastboot erase recovery
fastboot flash recovery recovery.img
And output said OK to both and the recovery you used was for grouper correct? The md5sum checked out right?
If so you may need to flash a factory image from google
https://developers.google.com/android/nexus/images
This time
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot update nameofupdate.zip
Oh and you may need to relock bootloader before update
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
So through fastboot you ran
fastboot erase recovery
fastboot flash recovery recovery.img
And output said OK to both and the recovery you used was for grouper correct? The md5sum checked out right?
If so you may need to flash a factory image from google
https://developers.google.com/android/nexus/images
This time
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot update nameofupdate.zip
Oh and you may need to relock bootloader before update
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Alright, so after i flashed the recovery, I attempted to boot into recovery. I am stuck at the google logo. But let me try the rest of the commands you gave me really quick.
Oh, and when I downloaded the factory image, I got a .tgz file, not a zip.
Sent from my GNEX running SlimBean
So the recovery.img you are flashing through fastboot says it worked but when you boot to it you get nothing? Is this correct? What recovery image are you flashing?
Can you try
fastboot boot recovery.img
Sent from my Nexus 7 using Tapatalk 2
Alright, I figured it out. The recovery was flashing right, but the file I had wouldn't stick for some reason. So I found the grouper TWRP .IMG file, flashed it, and it stayed. After that, it was as simple as pushing the file and flashing it all. Thank you so much for all of your help in this matter. Hope to see ya around the forums!!!
Sent from my Nexus 7 using xda app-developers app

stock boot.img?

Is there a stock boot.img file available? I stupidly flashed the twrp file over my boot instead of recovery and am having obvious issues now. I see the thread with a twrp backup of boot+ everything else, but I would need to flash with fastboot I'm guessing.
I was able to use a backup from another thread and restore in twrp. I get messages in the boot loader now about missing some gift files? Nothing seems impacted tho
Sent from my HTC One_M8 using XDA Premium 4 mobile app

bricked 601

hi guys. erroneally I bricked my phone. Actualy I have twrp, unlocked bootloader, s-ON, and no system folder, so the device doesn't start. I only can enter the bootloader, fastboot and twrp. I tried flashing a ROM using twrp but seems that s-on doesn't allow to write on root folder ( / ). How can I do? There is a method to flash the system folder via fastboot? thanks
Code:
fastboot flash system system.img
system.img is an image of the system partition, like recovery.img and boot.img.
thanks. Where can I find a system.img for KK ? In this forum I only found a whole OTA update with recovery.img, boot.img but no system.img (only system folder)
alatnet said:
Code:
fastboot flash system system.img
system.img is an image of the system partition, like recovery.img and boot.img.
Click to expand...
Click to collapse
I also tried to flash an update.zip from recovery ( twrp) but it didn't work: the recovery could not mount the system , data and cache partition..
Sent from my SM-T530 using XDA Free mobile app
i think you need to update your hboot before installing KK.
Cant remember where to do that though...
Did you try using this:
http://forum.xda-developers.com/desire-601/development/collection-kitkat-ota-firmware-t2825216
and follow the instructions correctly?
alatnet said:
i think you need to update your hboot before installing KK.
Cant remember where to do that though...
Did you try using this:
http://forum.xda-developers.com/desire-601/development/collection-kitkat-ota-firmware-t2825216
and follow the instructions correctly?
Click to expand...
Click to collapse
I didn't find a guide for that. However I formatted system, data and cache and so I was able to flash /system folder via twrp. But the problem remains: the device stacks on HTC logo...
Sent from my SM-T530 using XDA Free mobile app
HTC asked me to "repair" the phone 50 euro (about 40 dollars). They are crazy..
Sent from my SM-T530 using XDA Free mobile app
ekahy said:
HTC asked me to "repair" the phone 50 euro (about 40 dollars). They are crazy..
Sent from my SM-T530 using XDA Free mobile app
Click to expand...
Click to collapse
You're Zara UL right? Have you tried just installing a zip through TWRP. You might be able to install ht tps://drive.google.co m/folderview?id=0B6WBFlAKqe30a2ktU3ZEaUUzSTg&tid=0B6WBFlAKqe30TjRLa2Qxa0toYlU but I'm not 100% on that one since I have a ZARA CL device. This rom is for Zara UL just so you know.
Note:Take out the spaces in the link.

How to backup stock recovery image before flashing custom recovery?

If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks
JOE180360 said:
If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks
Click to expand...
Click to collapse
If you are rooted already with a stock recovery, skip to the second half of the next paragraph.
What you want to do is boot twrp instead of flashing it at first. You do this by using the command "fastboot boot recovery.img" where as "recovery.img" is the name you have assigned to your twrp recovery image. Once you have booted into twrp, reboot system. You will be prompted to root the device (assuming you are not already rooted), select yes. Now that you are rooted, download this app. In the app settings change the backup format to .img, and then backup your recovery. Now you will have a copy of your stock recovery. Now that you have that, go back and flash twrp using the command "fastboot flash recovery recovery.img", whereas "recovery.img" refers to whatever you have named your twrp recovery image.
all of this is assuming that you have adb setup on your computer, and a good working knowledge of how to use it.
What if I'm already rooted with twrp recovery, is it still possible?
Sent from my HTC One_M8 using XDA Free mobile app
Would I have to runn the ruu agian.
Sent from my HTC One_M8 using XDA Free mobile app
Thanks for the info. Much appreciated. I will do this next time I flash back to stock.
Thanks
Sent from my HTC One_M8 using XDA Free mobile app
JOE180360 said:
What if I'm already rooted with twrp recovery, is it still possible?
Click to expand...
Click to collapse
You still have stock recovery? If so, it sounded like you did fastboot boot TWRP (instead of fastboot flash TWRP).
In which case, you can just then use TWRP to backup the recovery partition. You don't need a seperate app or root to do this.
I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Sent from my HTC One_M8 using XDA Free mobile app
JOE180360 said:
I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Click to expand...
Click to collapse
Yes, you can only have one recovery at a time. TWRP custom recovery overwrote the stock recovery. You can't back up what isn't there anymore.
But you can always return to stock by RUU, if needed.

Categories

Resources