flash stock. via twrp? - Nexus 6 Q&A, Help & Troubleshooting

Hey guys, I was hoping to flash a pure stock 7.x preferably via twrp.
A buddy of mine a year ago and me to flash pure Nexus for him but now needs a stock phone for business security net purposes.
Is there a link for this? I've searched and have come up short.
I'm guessing it'll have to update bootloader, radio and kernel as well?
I know how to do this via command line. Was really hoping for a way to do it on the fly since this is not my phone and taking a PC for a TWRP ready device is a hassle.

mrkhigh said:
Hey guys, I was hoping to flash a pure stock 7.x preferably via twrp.
A buddy of mine a year ago and me to flash pure Nexus for him but now needs a stock phone for business security net purposes.
Is there a link for this? I've searched and have come up short.
I'm guessing it'll have to update bootloader, radio and kernel as well?
I know how to do this via command line. Was really hoping for a way to do it on the fly since this is not my phone and taking a PC for a TWRP ready device is a hassle.
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008

Pkt_Lnt said:
http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
Thanks for the links,
But I was really hoping TWRP flash able.
Does TWRP allow flashing these images?

mrkhigh said:
Thanks for the links,
But I was really hoping TWRP flash able.
Does TWRP allow flashing these images?
Click to expand...
Click to collapse
Google search says that TWRP can not flash factory images.
Check the TWRP FAQ if you'd like.
http://teamw.in/FAQ/

Pkt_Lnt said:
Google search says that TWRP can not flash factory images.
Check the TWRP FAQ if you'd like.
http://teamw.in/FAQ/
Click to expand...
Click to collapse
That's what I thought.
Thanks for the links,
But I'm still looking for TWRP flashable if anyone knows of one?
This should be a relatively easy thing so I'm surprised it doesn't exist

there is no reason for it to HAVE to be twrp flashable, just google for "NEXUS ROOT TOOLKIT" you will see on there restore to stock, and re-lock boot-loader, not positive but i think twrp cant flash stock unrooted images, i could be wrong

leo5111 said:
there is no reason for it to HAVE to be twrp flashable, just google for "NEXUS ROOT TOOLKIT" you will see on there restore to stock, and re-lock boot-loader, not positive but i think twrp cant flash stock unrooted images, i could be wrong
Click to expand...
Click to collapse
TWRP can flash a stock image if someone creates it. Unless there is something odd about the nexus, but I doubt that. The only thing that shouldn't be flashed stock would be recovery.
I don't think I need to use some toolkit... adb and fastboot commands are simple enough.
I was hoping to avoid needing a PC at another persons house, I mean that is kinda the point of twrp.
I am surprised this doesn't exist. It does for every other device I've owned. It's honestly just a wiped clean, twrp backup of a stock device with TWRP installed.
If I owned the device I would make it for you guys. It seems something that is lacking that is really handy.
I guess I'll round up a laptop. Thanks for the links and suggestions.

Google has done that for you already. Just unpack the archive you choose and the four images are in there.
https://developers.google.com/android/images

I thought we've already decided I cannot flash these images with TWRP....

mrkhigh said:
I thought we've already decided I cannot flash these images with TWRP....
Click to expand...
Click to collapse
http://www.droidviews.com/now-flash-image-files-using-twrp-2-8-4-0/
Different Google search gave this. I can find nothing else on TWRP site or G+

Appears you can also use FlashFire.
Thanks for the help.

OP could flash one of the stock lite ROMs in the development forum and get the TWRP-flashable stock ROM he's looking for. Danvdh and tupac4u both offer one that is nothing more a debloated stock ROM.

TWRP is able to flash system images from 3.0.2 and on. Just unpack the archive and select install img. Remember to flash stock kernel and newest radio and bootloader too (bare in mind that flashable bootloader is harder to find. You might have to find older one and update the files inside on your own). Afterwards flash stock recovery and lock bootloader with a zip. Now you can just reboot it. It's not that hard.

Lawstorant said:
....bare in mind that flashable bootloader is harder to find....
Click to expand...
Click to collapse
For Nexus 6 https://forum.xda-developers.com/showthread.php?p=59728002/

Thank you.
I went ahead and simply flashed him 100% stock via flash and fastboot.

This is probably resolved now, just adding info though. I had flashed stock 7.1.1 zip downloaded from google via twrp 3.0.3.0. It removed twrp itself too and I was back on stock.

mrkhigh said:
I am surprised this doesn't exist. It does for every other device I've owned. It's honestly just a wiped clean, twrp backup of a stock device with TWRP installed.
I guess I'll round up a laptop. Thanks for the links and suggestions.
Click to expand...
Click to collapse
Try the app FlashFire.

Related

[Q] System Version 139.15.1 won't OTA

I have a Moto X developer edition and I've been trying to OTA update to 139.15.1 but my phone fails with the error code 410. I found the Flashable zip and so I'm going to install it with that but for future installs how do I do it with the OTA. The phone failed both while rooted and while running a stock nandroid I made before rooting. With the stock nandroid the only thing modified was the unlocked bootloader. Yes I am using the stock recovery. Any help would be greatly appreciated.
Scoopta said:
I have a Moto X developer edition and I've been trying to OTA update to 139.15.1 but my phone fails with the error code 410. I found the Flashable zip and so I'm going to install it with that but for future installs how do I do it with the OTA. The phone failed both while rooted and while running a stock nandroid I made before rooting. With the stock nandroid the only thing modified was the unlocked bootloader. Yes I am using the stock recovery. Any help would be greatly appreciated.
Click to expand...
Click to collapse
there are threads out there already describing how to take the ota on a dev phone. But pure curiosity here, how in the hell are you making nandroid backups with stock recovery? I had noidea stock recovery allowed you to make those backups. I thought that was the point of other recoveries.
jayboyyyy said:
there are threads out there already describing how to take the ota on a dev phone. But pure curiosity here, how in the hell are you making nandroid backups with stock recovery? I had noidea stock recovery allowed you to make those backups. I thought that was the point of other recoveries.
Click to expand...
Click to collapse
It isn't possible to make a nandroid backup with a stock recovery. I meant I reflashed the stock recovery after making the backup. Anyway it is possible to make a backup that includes your stock recovery by using the fastboot boot command to boot to a recovery over usb rather than flashing it to your recovery partition.
Scoopta said:
It isn't possible to make a nandroid backup with a stock recovery. I meant I reflashed the stock recovery after making the backup. Anyway it is possible to make a backup that includes your stock recovery by using the fastboot boot command to boot to a recovery over usb rather than flashing it to your recovery partition.
Click to expand...
Click to collapse
interesting. Still wouldn't expect the OTA to work if you booted that way though. The OTA would be checking the files on the phone not the files from the usb that are running the phone. I wouldn't think. But I could be really confused on what you just said. Either way, there are several threads on the matter that should adequately answer all your needs.
jayboyyyy said:
interesting. Still wouldn't expect the OTA to work if you booted that way though. The OTA would be checking the files on the phone not the files from the usb that are running the phone. I wouldn't think. But I could be really confused on what you just said. Either way, there are several threads on the matter that should adequately answer all your needs.
Click to expand...
Click to collapse
Yes it would appear you are confused on what I just said. Anyway I guess I'll browse around to find instructions on how to take an OTA for the next time there's an OTA released.
Scoopta said:
Yes it would appear you are confused on what I just said. Anyway I guess I'll browse around to find instructions on how to take an OTA for the next time there's an OTA released.
Click to expand...
Click to collapse
i get what you were saying now. I thought you were saying that you were booting your phone from a usb drive that had the stock recovery on it so you could see if the OTA would take on your phone. Anyway, I dont' remember all of the steps that people were taking but it was pretty simplistic.
jayboyyyy said:
i get what you were saying now. I thought you were saying that you were booting your phone from a usb drive that had the stock recovery on it so you could see if the OTA would take on your phone. Anyway, I dont' remember all of the steps that people were taking but it was pretty simplistic.
Click to expand...
Click to collapse
ok...thanks for the info. I'll see if I can find a thread on it.

Phone showed 5.0.1 update ready but went to twrp

So my phone is rooted with unlocked bootloader running faux kernel. I just received the ota update and clicked the button for restart and install. When I did that it brought me to my main option list in twrp. I didn't know what to do so I hit reboot system. It rebooted but nothing showed updating when I did that. Showing I'm still on 5.0.0.
What did I need to do? How do I still update now?
You cannot accept ota if you're modified.
You'll have to flash a ROM.zip or fastboot flash system.and boot image.from the factory images
rootSU said:
You cannot accept ota if you're modified.
You'll have to flash a ROM.zip or fastboot flash system.and boot image.from the factory images
Click to expand...
Click to collapse
See that's what I thought but was confused that I got the ota. I'm having a problem finding the rom.zip. Only finding images and I don't want that. Do you happen to have a link?
HyperM3 said:
See that's what I thought but was confused that I got the ota. I'm having a problem finding the rom.zip. Only finding images and I don't want that. Do you happen to have a link?
Click to expand...
Click to collapse
If you download the image from google there is a zip drive with the files you are looking for inside of them. You can fastboot them individually.
Or you could just flash one of the many roms on here that are using the newer 5.0.2
xxfwmxx said:
Or you could just flash one of the many roms on here that are using the newer 5.0.2
Click to expand...
Click to collapse
That's the thing, I was trying to keep it relatively stock for a while. I don't see any reliable roms out there yet.
Give Sinless rom a try. There is a thread on here for it. It is based off of the office 5.0.1 image and not aosp. Great speed and features and decrypted
HyperM3 said:
So my phone is rooted with unlocked bootloader running faux kernel. I just received the ota update and clicked the button for restart and install. When I did that it brought me to my main option list in twrp. I didn't know what to do so I hit reboot system. It rebooted but nothing showed updating when I did that. Showing I'm still on 5.0.0.
What did I need to do? How do I still update now?
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6/development/rom-stock-rooted-5-0-1-lrx22-stock-root-t2980206
^^ thats stock rooted, that you can flash thru TWRP. I don't personally use it because I rooted and modified my own.
t2noob said:
http://forum.xda-developers.com/nexus-6/development/rom-stock-rooted-5-0-1-lrx22-stock-root-t2980206
^^ thats stock rooted, that you can flash thru TWRP. I don't personally use it because I rooted and modified my own.
Click to expand...
Click to collapse
Great, thanks for that!
5.02 is out?
cobyman7035 said:
5.02 is out?
Click to expand...
Click to collapse
Only aosp
I made a thread outlining how to update to 5.0.1 after rooting/unlocking yesterday after noticing the same problem:
http://forum.xda-developers.com/nexus-6/help/how-to-flash-ota-updates-rooted-custom-t2996149
Should help

I'm on 5.0.1 and Would like to go to 5.1

But I don't have access to a computer right now. I have everything backed up. I have downloaded the radios, bootloader, and 5.1 custom rom. Is it a dumb idea to go ahead and flash through TWRP? Or should I wait until I have access to a computer in case something goes wrong?
Tappin from my Nexus 6
addcancercat said:
But I don't have access to a computer right now. I have everything backed up. I have downloaded the radios, bootloader, and 5.1 custom rom. Is it a dumb idea to go ahead and flash through TWRP? Or should I wait until I have access to a computer in case something goes wrong?
Tappin from my Nexus 6
Click to expand...
Click to collapse
make a nandroid backup in twrp recovery, then flash your rom(supersu, and gapps). or do you need me to hold your hand?
addcancercat said:
But I don't have access to a computer right now. I have everything backed up. I have downloaded the radios, bootloader, and 5.1 custom rom. Is it a dumb idea to go ahead and flash through TWRP? Or should I wait until I have access to a computer in case something goes wrong?
Tappin from my Nexus 6
Click to expand...
Click to collapse
by far the EASIEST method to get to 5.1 is found in this thread (be sure to give thanks to the OP):
http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052
be sure to follow the steps he listed out in the OP and you WILL NOT lose any of your data/apps/texts/etc.
how do i know its the easiest method? b/c im a noob and struggled with all the other methods including fastboot. i soft bricked my phone and had to restore it by flashing a custom rom. let me know if you have any questions and i'll try to help if i can.
gunit34328 said:
by far the EASIEST method to get to 5.1 is found in this thread (be sure to give thanks to the OP):
http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052
be sure to follow the steps he listed out in the OP and you WILL NOT lose any of your data/apps/texts/etc.
how do i know its the easiest method? b/c im a noob and struggled with all the other methods including fastboot. i soft bricked my phone and had to restore it by flashing a custom rom. let me know if you have any questions and i'll try to help if i can.
Click to expand...
Click to collapse
thats not the easiest method. the op is on 5.0.1 with twrp recovery. he wants to flash a custom rom. all he has to do is download the rom, then flash it in his twrp recovery, with gapps, and supersu. thats much easier.
simms22 said:
thats not the easiest method. the op is on 5.0.1 with twrp recovery. je wants to flash a custom rom. all je has to do is download the rom, then flash it in his twrp recovery, with gapps, and supersu. thats much easier.
Click to expand...
Click to collapse
Absolutely +1 to this! :good:
simms22 said:
thats not the easiest method. the op is on 5.0.1 with twrp recovery. he wants to flash a custom rom. all he has to do is download the rom, then flash it in his twrp recovery, with gapps, and supersu. thats much easier.
Click to expand...
Click to collapse
haha i missed the part that he wanted to flash a custom rom. just thought he was trying upgrade to 5.1 which was what i wanted to do. thanks for the clarification!
95r radio.
I'm on liquid Smooth Rom 5.0.1. And want to go to 5.1. Do I flash new radio. Reboot with new radio and old rom. If it boots, go back to recovery and flash 5.1 rom? Or flash rom then new radio?
kwdan said:
I'm on liquid Smooth Rom 5.0.1. And want to go to 5.1. Do I flash new radio. Reboot with new radio and old rom. If it boots, go back to recovery and flash 5.1 rom? Or flash rom then new radio?
Click to expand...
Click to collapse
ether way, it doesnt matter. you can flash them at the same time as well(if its a flashible zip radio)

Looking for stock recovery to flash OTA

I need the stock recovery image (from 23.16.3.victara_retca.retca.en.CA) so I can flash the 6.0 update since it won't work with TWRP.
Any help? Google isn't providing me with much.
Does it have to be from the Canadian variant (not sure if the recovery images are different between variants)?
Tried looking here for the correct zip, which should contain the recovery image?
ellisbodds said:
Does it have to be from the Canadian variant (not sure if the recovery images are different between variants)?
Tried looking here for the correct zip, which should contain the recovery image?
Click to expand...
Click to collapse
I have no clue. I doubt it would have to be the retCA version. I'm sure everything besides radio and system will be the same.
This is from the latest RETCA XT1097 5.1 firmware:
VICTARA_RETCA_XT1097_5.1_LPE23.32-48.3_cid14_CFC.xml.zip
ellisbodds said:
Does it have to be from the Canadian variant (not sure if the recovery images are different between variants)?
Tried looking here for the correct zip, which should contain the recovery image?
Click to expand...
Click to collapse
Gus.Ottawa said:
This is from the latest RETCA XT1097 5.1 firmware:
VICTARA_RETCA_XT1097_5.1_LPE23.32-48.3_cid14_CFC.xml.zip
Click to expand...
Click to collapse
Thank you both! I'll play around with these files and make it work
DonDizzurp said:
Thank you both! I'll play around with these files and make it work
Click to expand...
Click to collapse
Any update on whether this worked for you? I'm in the same boat
jullyfush said:
Any update on whether this worked for you? I'm in the same boat
Click to expand...
Click to collapse
Worked perfectly.
My process
- Flash stock 5.1 using fastboot (Steps can be found on Motorola's site or somewhere on XDA)
- Install Marshmallow OTA
- Flash cracked boot.img for Marshmallow. This step is needed in order for TWRP to stick and for you to root without getting stuck on the warning screen. (I'll find the link for you if you can't. It's somewhere on XDA.)
- Flash TWRP
- Create backup so I don't have to go through this process next time haha
DonDizzurp said:
Worked perfectly.
My process
- Flash stock 5.1 using fastboot (Steps can be found on Motorola's site or somewhere on XDA)
- Install Marshmallow OTA
- Flash cracked boot.img for Marshmallow. This step is needed in order for TWRP to stick and for you to root without getting stuck on the warning screen. (I'll find the link for you if you can't. It's somewhere on XDA.)
- Flash TWRP
- Create backup so I don't have to go through this process next time haha
Click to expand...
Click to collapse
Awesome! Thanks for the tip. I got as far as the 6.0 OTA (RETCA), and am now trying to get root back again. Where did you find the cracked boot.img?
Cheers!
jullyfush said:
Awesome! Thanks for the tip. I got as far as the 6.0 OTA (RETCA), and am now trying to get root back again. Where did you find the cracked boot.img?
Cheers!
Click to expand...
Click to collapse
Grab it from here
http://forum.xda-developers.com/moto-x-2014/development/root-root-moto-x-2014-android-t3249105
DonDizzurp said:
Grab it from here
http://forum.xda-developers.com/moto-x-2014/development/root-root-moto-x-2014-android-t3249105
Click to expand...
Click to collapse
Something odd has happened since upgrading to 6.0.
'adb devices' still sees my phone, but 'fastboot devices' no longer sees anything, and making a desktop back-up with adb now creates a file containing 0 bytes.
Everything else seems fine. Are there some new permissions I need to give before this will work?
Thanks again.
Edit: I managed to get fastboot working, however now I've run into a new problem.
To confirm, when you say flash the cracked boot.img for Marshmallow, I should execute 'fastboot flash boot boot.img' for the cracked boot.img?
I'm getting the error: mismatched partition size (boot)
I can still enter TWRP with fastboot, but it's not permanent without the cracked boot.img
Am I missing a step?
Edit #2: Finally got TWRP to stick another way and have root now. Thanks for everything!

HELP: Upgrading to EMUI5 on NEM-L21 with TWRP and Xposed

I read here, somewhere, that you need stock recovery to do the update. Since I have flashed another recovery (and rooted and installed Xposed), I'm not sure if I can update to EMUI5.
Furthermore, I'm not even sure how to do the update. The update (b351) is available in FF and checks out as "compatible", but I don't know what the install procedure is. Especially without stock recovery.
Any help or info is much appreciated
yeah, you should flash stock recovery thru ADB and thn try updating...
Not adb but fastboot
thomaskmaagaard said:
I read here, somewhere, that you need stock recovery to do the update. Since I have flashed another recovery (and rooted and installed Xposed), I'm not sure if I can update to EMUI5.
Furthermore, I'm not even sure how to do the update. The update (b351) is available in FF and checks out as "compatible", but I don't know what the install procedure is. Especially without stock recovery.
Any help or info is much appreciated
Click to expand...
Click to collapse
You will also need to reflash the stock boot.img, since you're rooted.
Sent from my Honor 8 using XDA Labs
adriansticoid said:
You will also need to reflash the stock boot.img, since you're rooted
Click to expand...
Click to collapse
Thanks a lot. Any help, perhaps, on where I get that. And the recovery mentioned above?
Oh, and why is it not possible to flash the ROM like if it was a custom one? Just wondering
thomaskmaagaard said:
Thanks a lot. Any help, perhaps, on where I get that. And the recovery mentioned above?
Oh, and why is it not possible to flash the ROM like if it was a custom one? Just wondering
Click to expand...
Click to collapse
That you may need to find your own. Well in custom ROMs, they are designed to work with custom recoveries like TWRP. While in stock, the whole system is inside update.app, which can't be read by a custom recovery.
adriansticoid said:
That you may need to find your own. Well in custom ROMs, they are designed to work with custom recoveries like TWRP. While in stock, the whole system is inside update.app, which can't be read by a custom recovery.
Click to expand...
Click to collapse
Okay, thanks anyways, again. I guess it's time to hunt down those images
thomaskmaagaard said:
Okay, thanks anyways, again. I guess it's time to hunt down those images
Click to expand...
Click to collapse
You can ask @DRUGER for that.
Any links to stock recovery and whatever else needed?
Jstyants said:
Any links to stock recovery and whatever else needed?
Click to expand...
Click to collapse
Check repository thread
Jstyants said:
Any links to stock recovery and whatever else needed?
Click to expand...
Click to collapse
You can also extract stock images from update.app

Categories

Resources