Installing Stock Recovery - Nexus 7 (2013) Q&A

I do not have access to any PC, whether its windows, Linux or mac. All I have is my chromebook. With that said, is there any way to install the stock recovery back to my nexus device without the use of a pc? I currently have TWRP installed, but just got prompted to update to 6.0, and would like to install it. Any suggestions?

timrock said:
I do not have access to any PC, whether its windows, Linux or mac. All I have is my chromebook. With that said, is there any way to install the stock recovery back to my nexus device without the use of a pc? I currently have TWRP installed, but just got prompted to update to 6.0, and would like to install it. Any suggestions?
Click to expand...
Click to collapse
You'll need a copy of the stock recovery image, which you should be able to pull from a factory image.
Once you have that, you should be able to flash it from within TWRP itself (be careful - if you do this, once you exit TWRP, you'll only have the stock recovery until TWRP is re-flashed), or you can use the flashify app if you are rooted.
There are some things to consider though - are you rooted and/or have made any modifications to the /system partitiion? If so, an OTA will likely fail even if the stock recovery is re-installed. If you're rooted, I'd say just wait patiently on a stock (or near-stock) rooted flashable ROM, and upgrade that way by just flashing in TWRP. I believe there are 1 or 2 options for this already in the forums here, and I'm sure more will be coming soon, along with updates to the many custom ROMS out there.
If you do successfully flash stock recovery and successfully accept/install the 6.0 OTA, you'll eventually need access to a PC with fastboot to get TWRP back and/or root the device again, so that's also a consideration for many users.

Related

Recovery image would't update/install.

Hi everyone,
I've done a LOT of reading/searching, but since I can't find sulution decided someone could help.
Just to avoid future questions:
>My Desire is rooted.
>I tried using fastboot (Error: - not allowed)
>I tried using adb (I get an error that /system/bin/sh cannot be found).
>I tried Unreavoked3, but since the phone is rooted, the recovery doesn't isntall.
>I tried ROM Manager. It says the recovery is up to date, but when you boot it, it is stock.
>I'm using original USB cable supplied with the phone.
The only way I get into CWM recovery is flashing update.zip on my sdcard (fakeflash?).
My question are:
1. Why i cant access shell via adb?
2. How should i flash recovery?
Thank You in advance.
So if you turn the phone on whilst holding the volume down button and then select Recovery it doesn't boot into the custom Recovery?
No, it boots into stock recovery.
I just use the Android Flasher Utility (here). Really quick and painless, but you need s-off though.
I'm quite curious, how are you rooted without a custom recovery?
Maybe I don't get it, I bought the phone about a year ago and rooted using unreavoked utility. The recovery I get to gives me 4 options. Text is in blue colour, reboot, apply update.zip and wipe options. What I do, is apply update.zip so i get into CMW recovery.
If you rooted with unrEVOked it flashes CWM. If you've never had that you're not rooted
I'd go back to 100% stock with an RUU suitable for your phone and then root again
EDIT: You weren't rooted and then accepted an OTA update did you?
I think I didn't. So if I:
1. Do a nandroid backup now, I have custom rom installed.
2. Then go back to stock RUU.
3. Root the phone.
Can I do a nandroid restore so I don't have to install everything back again?
EDIT: But I have Superuser app, and if I enter Terminal, type "su" I get root privileges. How can I not be rooted?

[Q] I was able to root my SM-T310 but can't install any kernels or roms

I was able to root my device using these instructions
http://forum.xda-developers.com/showthread.php?t=2401901
I can confirm that it is rooted, TWR is loaded as the recovery and superSU is running as well as some root-only apps.
The problem is that no matter what or how I try, I cannot get a new kernel to install nor can I flash a ROM.
If I try to do either via Odin it completes without errors (either on the computer or tablet) but when the tablet is rebooted, no changes.
If I try to flash a rom from the recovery it just errors out and fails
I even tried using Odin to unroot and reset back to stock and that worked but when I re-rooted it again I was back to where I'm stuck!
Has anyone ever seen this before?
rek410 said:
I was able to root my device using these instructions
http://forum.xda-developers.com/showthread.php?t=2401901
I can confirm that it is rooted, TWR is loaded as the recovery and superSU is running as well as some root-only apps.
The problem is that no matter what or how I try, I cannot get a new kernel to install nor can I flash a ROM.
If I try to do either via Odin it completes without errors (either on the computer or tablet) but when the tablet is rebooted, no changes.
If I try to flash a rom from the recovery it just errors out and fails
I even tried using Odin to unroot and reset back to stock and that worked but when I re-rooted it again I was back to where I'm stuck!
Has anyone ever seen this before?
Click to expand...
Click to collapse
1), If you used the TWRP from that post, then you need to update to a newer recovery. TWRP for KK
2). Telling us that "it errors out" is pointless. You need to tell us exactly what error you are getting.
3). Attach the recovery.log from the failed attempt to flash a rom. Google can tell you how to get the log.
welp, I feel dumb - it was the wrong version of TWRP that was causing the problem all along

Seriously need help please

I recently rooted my phone, and without much research I attempted to install a custom rom.
Currently, my phone has a unfixable, broken charging port so I have no option of connecting it to a computer.
I was running 4.4.2 Kit Kat stock rom and attempted to install the latest twrp, but instead installed twrp 2.2. Is there any way to update through a sdcard?
I don't have any back up and my phone currently has no rom to go on.
So I'm completely lost as to what to do at this point.. If anybody could help get a stock rom or even a custom; I'll be very grateful!
Download the twrp app from the play Store to update twrp
Sent from my ASUS_Z00AD using Tapatalk
xMozaik said:
I recently rooted my phone, and without much research I attempted to install a custom rom.
Currently, my phone has a unfixable, broken charging port so I have no option of connecting it to a computer.
I was running 4.4.2 Kit Kat stock rom and attempted to install the latest twrp, but instead installed twrp 2.2. Is there any way to update through a sdcard?
I don't have any back up and my phone currently has no rom to go on.
So I'm completely lost as to what to do at this point.. If anybody could help get a stock rom or even a custom; I'll be very grateful!
Click to expand...
Click to collapse
I haven't used TWRP 2.2, I started using it at 2.5 or there abouts. I gather than you did successfully flash TWRP 2.2 and can boot into your custom recovery. If so you should be able to flash a newer version of TWRP from the external sdcard, you can on the newer versions. At the TWRP site the downloads come as flashable zips and as image files you can install with Odin. Download the zip format, put it on the external sdcard, put it in the phone, boot into recovery, and then flash. HTH.

Best way to upgrade to O from current state? Stock 7.1.1 rooted.

So I have a Play Store Pixel XL running stock 7.1.1, rooted, with TWRP 3.0.2-0-RC1 recovery.
Most upgrade guides I've read seem to assume stock recovery, or no root to start, or some such.
What do I need to do to get to Stock Android O, rooted? If I need to wipe the phone I can, but I'd prefer not to if I can avoid it.
Thanks!
If you don't want to wipe just update through factory image, just open the factory zip, open flash-all file and remove "-w" from last line, then execute it (update without wipe)
But I suggest to flash the stock factory image with the "-w" to make a clean install, flashing major release like 7.x -> 8.x is always better wipe to avoid potential issues.
But yes, you can first give a try without wipe and only if you find bugs try wiping. Your choice.
simply flash the OTA, then re-root
xraystyle said:
So I have a Play Store Pixel XL running stock 7.1.1, rooted, with TWRP 3.0.2-0-RC1 recovery.
Most upgrade guides I've read seem to assume stock recovery, or no root to start, or some such.
What do I need to do to get to Stock Android O, rooted? If I need to wipe the phone I can, but I'd prefer not to if I can avoid it.
Thanks!
Click to expand...
Click to collapse
Use full unroot in supersu. Then take ota. Then root again after upgrading to O
Thanks for the help everyone, you pointed be in the right direction.
In the event that it might help someone else, here's what I ended up doing:
1. I downloaded the OTA, booted into the TWRP I had currently installed, and then sideloaded the OTA.
2. I used ADB to push the newest TWRP flashable zip, the latest SuperSU, and the latest SU-Hide to /sdcard on the device.
3. I then used the most recent TWRP bootable img, booted into it with fastboot, and used it to flash the TWRP zip I had previously pushed to the phone storage. I then had the OTA with the latest TWRP installed on the phone.
4. Finally, I rebooted to recovery on the phone (latest TWRP now instead of stock), and flashed SuperSU and SU-Hide.
I'm now stock, rooted, on O. No wipe necessary, kept all my apps and data. So far the OS itself has been entirely stable. I had an issue or two with a few apps after the upgrade, but those were fixed with a quick re-install. Except for Better Terminal Emulator Pro, seems it doesn't want to work on Oreo and it's no longer under active development. It's fine though, there's other terminal emulators out there.
Thanks again for the help!
xraystyle said:
3. I then used the most recent TWRP bootable img, booted into it with fastboot, and used it to flash the TWRP zip I had previously pushed to the phone storage. I then had the OTA with the latest TWRP installed on the phone.
Click to expand...
Click to collapse
Which version of TWRP do you have TWRP working with Oreo 8.0?
I can boot into the modded TWRP 3.1 (fastboot boot twrp-3-1-pixel-bootable-mod.img) but AFAIK there is no working flashable recovery for 8.0 yet.
quick question, are the steps the same for stock root 7.1.2? I've never installed twrp. I've fastbooted to it to root and that's it. I'm familiar with that as I've sideloaded all the ota security updates and the re-rooted.
my main question is su-hide required? I have never done it and have no reason to that I'm aware of. Seems all the guides I see involve su-hide and flashing kernels etc. I've never changed kernels since having the pixel. Really just want root for adaway.
I plan to do a clean install of O and then hope to root with fastboot twrp to flash supersu.
gordonlw said:
quick question, are the steps the same for stock root 7.1.2? I've never installed twrp. I've fastbooted to it to root and that's it. I'm familiar with that as I've sideloaded all the ota security updates and the re-rooted.
my main question is su-hide required? I have never done it and have no reason to that I'm aware of. Seems all the guides I see involve su-hide and flashing kernels etc. I've never changed kernels since having the pixel. Really just want root for adaway.
I plan to do a clean install of O and then hope to root with fastboot twrp to flash supersu.
Click to expand...
Click to collapse
That's how I did it. I don't use suhide.
Does the -w in the .bat file format or wipe the data? I want a clean clean , o-fresh in the morning feeling kind of wipe
toknitup420 said:
That's how I did it. I don't use suhide.
Click to expand...
Click to collapse
Thanks! What I ended up doing:
Decided to try and unroot and take the ota. super-su full unroot would not work. so I fastbooted to the mod twrp and flashed UPDATE-unSU. I then took the ota. then fastbooted to mod twrp and flashed super-su. worked perfect!

Flash TWRP with phone already rooted

I have an ATT LG V40 on android 8.1. The phone is already rooted and has magisk installed. I have been unable to get TWRP installed so I can flash a custom rom. It seems that being on android 8.1 is causing issues, but I am not really sure. I followed this guide: https://forum.xda-developers.com/t/twrp-lg-v40-judypn.3970111/ and when I send the comand to flash TWRP in the command window is says the flash is finished and my phone boots up, but it doesn't seem to do anything. Any help would be greatly appreciated, thanks.
You need to use LGUP to get to 9
Noob question but did you installed and tried magisk manager(I bet you already have) and flashify(searchable on Google) (magisk manager grants root to flashify and flashify installs twrp from storage)?
Are you certain that you're booting in to recovery? Many phones have an advanced reboot menu option on the developer settings. If yours doesn't I recommend an app like Simple Reboot.
If you're not certain that it's installing the recovery correctly have you just tried installing TWRP.zip from Magisk?
dn.34 said:
I have an ATT LG V40 on android 8.1. The phone is already rooted and has magisk installed. I have been unable to get TWRP installed so I can flash a custom rom. It seems that being on android 8.1 is causing issues, but I am not really sure. I followed this guide: https://forum.xda-developers.com/t/twrp-lg-v40-judypn.3970111/ and when I send the comand to flash TWRP in the command window is says the flash is finished and my phone boots up, but it doesn't seem to do anything. Any help would be greatly appreciated, thanks.
Click to expand...
Click to collapse
Which 'command', specifically, are you typing in when you say you are 'when I send the command to flash twrp'? The only command in those directions are to boot twrp, not flash it.
After you boot it, then you need the advanced section so you can recovery ramdisk, which will inject twrp into the current boot partition (and it keeps boot intact).
If you want to use current aosp roms, then follow the 'metadata' sections as you'll need that version of twrp for those roms.
cheers

Categories

Resources