I know I can go back to stock by using fastboot to reflash all the partitions, but can I use TWRP to just flash the stock rom and vendor images?
Yes. I use it every month to flash the latest security update.
Sent from my Nexus 6P using XDA Labs
lunotown said:
I know I can go back to stock by using fastboot to reflash all the partitions, but can I use TWRP to just flash the stock rom and vendor images?
Click to expand...
Click to collapse
Yes, unzip the zip inside the factory image zip, and choose install img instead of install zip. Only thing you have to flash with fastboot is the bootloader and radio. Best would be to stay at the latest ones. Before first boot flash supersu to prevent stock image to replace twrp with the stock recovery.
swallowingled said:
Yes. I use it every month to flash the latest security update.
Sent from my Nexus 6P using XDA Labs
Click to expand...
Click to collapse
Really? I thought the security patch OTAs did a check and if you don't have stock recovery it fails. Or do you flash the entire system partition
Sent from my Nexus 6P using Tapatalk
funnel71 said:
Really? I thought the security patch OTAs did a check and if you don't have stock recovery it fails. Or do you flash the entire system partition
Click to expand...
Click to collapse
Use the factory images from Google, I don't do OTA updates.
Sent from my Nexus 6P using XDA Labs
Related
So i just switched from HTC ONE X to the nexus 4 and my version is 4.2 and i just rooted it. I have the system OTA update 4.2.1. Should i take it or is there another way to update my phone to 4.2.1 without OTA?
Do not OTA update once you're already rooted; flash this stock ROM (https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz) and re-root.
klvnhng said:
Do not OTA update once you're already rooted; flash this stock ROM (https://www.dropbox.com/s/syi2vmxh0noi2bv/occam-jop40d-factory-ca7602f0.tgz) and re-root.
Click to expand...
Click to collapse
Thank you i was looking for this file! so i just put it in my SD card and then install Zip from sd card from recovery?
ronnyg12 said:
Thank you i was looking for this file! so i just put it in my SD card and then install Zip from sd card from recovery?
Click to expand...
Click to collapse
That is a tgz file, not a zip. You'll need a PC, 7zip and fastboot.
estallings15 said:
That is a tgz file, not a zip. You'll need a PC, 7zip and fastboot.
Click to expand...
Click to collapse
Yes yes i figured it out
I've been trying to do this without wiping my device. It's still downloading so I haven't seen the contents, but I'm assuming just flash the .img files with fastboot and it won't erase anything? Would the Rootkeeper app work for this?
if you're only rooted, ota will work and would install without issues. it will only fail if you have modified some system files or the recovery. no need to reflash anything except the supersu for root if you don't use rootkeeper
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Edit: I have previously tried flashing the stock boot.img and recovery.img, but trying the update via the notification still failed.
Nitemare3219 said:
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Click to expand...
Click to collapse
Flash the stock recovery.img and boot.img. You won't lose anything.
Nitemare3219 said:
I'm using Franco's kernel and CWM recovery. I have the stock system files, so if I flash those back, how do I go about applying this update? I'm so sick of seeing the update message in my notification bar and do not want to wipe to flash a new ROM.
Edit: I have previously tried flashing the stock boot.img and recovery.img, but trying the update via the notification still failed.
Click to expand...
Click to collapse
Your settings probably also modified the system files. Try flashing that too since you have the stock files. Just don't do userdata so your data is kept intact
Sent from my Nexus 4 using Tapatalk 2
why it is not possible to make OTA update on rooted phone?
Sent from my Nexus 4 using Tapatalk 2
I rooted, unlocked bootloader and flashed recovery yesterday then installed the OTA after, had no issues at all. If you are using cwm recovery it re-roots and prevents stock recovery being flashed after the ota is installed.
So am running rooted 4.2.1 at the mo.. And its sick
Sent from my Nexus 4 using xda app-developers app
blablazzz said:
why it is not possible to make OTA update on rooted phone?
Click to expand...
Click to collapse
You can, it's fine and will work as long as you have stock recovery. You might lose root but can easily re-root if necessary.
Sent from my Nexus 4 using xda premium
why OTA will not work if custom recovery will be present?
Sent from my Nexus 4 using Tapatalk 2
blablazzz said:
why OTA will not work if custom recovery will be present?
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Because it won`t!!!
I just got a notification about new security patches. It seems to me that if all its doing are small security tweaks I can update safely with this OTA update and still retain root and everything else. Can someone chime in?
Sent from my Nexus 6P using Tapatalk
will.bates94 said:
I just got a notification about new security patches. It seems to me that if all its doing are small security tweaks I can update safely with this OTA update and still retain root and everything else. Can someone chime in?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
The update will not work while you are rooted.
dratsablive said:
The update will not work while you are rooted.
Click to expand...
Click to collapse
What's preventing it? And to get around it is it just a simple unroot or will I basically need a relocked bootloader and everything else?
Sent from my Nexus 6P using Tapatalk
will.bates94 said:
What's preventing it? And to get around it is it just a simple unroot or will I basically need a relocked bootloader and everything else?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It depends on what method you used to root. If you have a systemless root, then you need to flash stock
boot.img
recovery.img
If you have a non-systemless root you will need to flash
boot.img
system.img
recovery.img
dratsablive said:
It depends on what method you used to root. If you have a systemless root, then you need to flash stock
boot.img
recovery.img
If you have a non-systemless root you will need to flash
boot.img
system.img
recovery.img
Click to expand...
Click to collapse
I do in fact have systemless. But why is this all necessary just for a small update that doesn't even change major files of M?
Sent from my Nexus 6P using Tapatalk
Because the updates checks for any changes to the system. And you need stock recovery because the OTA does not work with TWRP.
Just download the update and flash it using fastboot if you are on stock. You will have to flash the entire google image instead of the small incremental update but its easier than unrooting or flashing system and stock recovery which you will have to do in fastboot also.
murphyjasonc said:
Just download the update and flash it using fastboot if you are on stock. You will have to flash the entire google image instead of the small incremental update but its easier than unrooting or flashing system and stock recovery which you will have to do in fastboot also.
Click to expand...
Click to collapse
I am in fact stock software wise. But flashing the entire Google image will reset data and everything else won't it?
Sent from my Nexus 6P using Tapatalk
will.bates94 said:
I am in fact stock software wise. But flashing the entire Google image will reset data and everything else won't it?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It will not wipe the data on your internal SD card. It will only over write your system partition. You will have to set your phone up and download your apps or restore them from titanium backup but all your personal data such as pictures will not be deleted.
murphyjasonc said:
It will not wipe the data on your internal SD card. It will only over write your system partition. You will have to set your phone up and download your apps or restore them from titanium backup but all your personal data such as pictures will not be deleted.
Click to expand...
Click to collapse
I am on a custom rom and want to flash stock rom without losing root and other data. Is it possible to do so with fastboot? Can't find a flashable stock rom.
rajarshi10 said:
I am on a custom rom and want to flash stock rom without losing root and other data. Is it possible to do so with fastboot? Can't find a flashable stock rom.
Click to expand...
Click to collapse
Probably not going to happen. Are you referring to the new security update or...?
Sent from my Nexus 6P using Tapatalk
See this thread:
http://forum.xda-developers.com/nexus-6p/general/january-security-update-incremental-zip-t3286533
Been looking through the root guide and of course will be unlocking and rooting. Should I first unlock, flash TWRP, load stock. Set up stock with my accounts and settings. Reboot to TWRP. Make NAND back up. Then root and then flash a rom? I'm still confused about the library IMG file. Will I need to do anything with it assuming the phone I receive was manufactured within the last 2 months?
Any other tips/suggestions would be much appreciated.
Sent from my LG-D851 using XDA Free mobile app
If you plan on unlocking bootloader, do that first. Device has to be wiped clean when doing so.
update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.
sirdizzle415 said:
update to the March MHC19I update before modifying the system partition. It'll save you the headache of doing it via fastboot and re-rooting.
Click to expand...
Click to collapse
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Don't forget to flash SuperSU
Sent from my Dope 6P using Tapatalk
Unlock Bootloader, Ota or flash by other means, then root and flash twrp
Sent from my Nexus 6P using Tapatalk
Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
I'll give it a try. Comments from anyone?
Unlock bootloader then upgrade to latest FW by OTA (or vice versa?), then flash TWRP and nandroid. Now root.
Great. I hope the OTA will pop up as soon as possible or is there a way to manually search for updates through system settings? By the way, thank you everyone.
Sent from my LG-D851 using XDA Free mobile app
Starzboy77 said:
So unlock bootloader. Flash TWRP. Load stock. Update to latest update (can I do this via OTA?) Then NAND back up and flash ROM?
Sent from my LG-D851 using XDA Free mobile app
Click to expand...
Click to collapse
Unlock your bootloader, then take the OTA(s) to the latest build (MHC19I). You can't take an OTA with TWRP installed so don't flash that first. If for some reason the OTA doesn't appear you can just flash the factory images for the latest build in order to update. Once you're fully up to date you can flash TWRP and make a nandroid backup. Then just flash whatever ROM you want to use. Keep in mind that after flashing the ROM + gapps you also need to flash the appropriate vendor image to suit the build of the ROM you're flashing. You can flash it with fastboot, or use the "install image" option in bottom-right corner of the install menu in TWRP (TWRP can flash some images now).
I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Is it possible? It not I will wait till I get home tonight. I'm thinking flash a stock rom zip. Then opt in. Don't loose all internal storage? Thoughts
Sent from my Nexus 6P using Tapatalk
iamdarren said:
Is it possible? It not I will wait till I get home tonight. I'm thinking flash a stock rom zip. Then opt in. Don't loose all internal storage? Thoughts
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Yes it is possible. Just download the complete N factory image, plus the modified boot image (kernel).
Extract the system.img, and vendor.img out of the factory image.
And now, flash the three files using TWRP - system.img (system image), vendor.img (vendor image), and boot.img (kernel).
DJBhardwaj said:
Yes it is possible. Just download the complete N factory image, plus the modified boot image (kernel).
Extract the system.img, and vendor.img out of the factory image.
And now, flash the three files using TWRP - system.img (system image), vendor.img (vendor image), and boot.img (kernel).
Click to expand...
Click to collapse
Where can I find the modified boot image?
Edit: Found it, nevermind.
messiahfreedom said:
Where can I find the modified boot image?
Edit: Found it, nevermind.
Click to expand...
Click to collapse
Grab it from here, and make sure to download the corresponding boot.img to your build number.
Link: http://forum.xda-developers.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684
DJBhardwaj said:
Yes it is possible. Just download the complete N factory image, plus the modified boot image (kernel).
Extract the system.img, and vendor.img out of the factory image.
And now, flash the three files using TWRP - system.img (system image), vendor.img (vendor image), and boot.img (kernel).
Click to expand...
Click to collapse
If we do it this way, will we lose data? Can we just update from 6.0.1?
jorgis1 said:
If we do it this way, will we lose data? Can we just update from 6.0.1?
Click to expand...
Click to collapse
You can if you were on a stock rom.
Sent from my Nexus 6P using Tapatalk
jorgis1 said:
If we do it this way, will we lose data? Can we just update from 6.0.1?
Click to expand...
Click to collapse
No, you won't loose any data. Your userdata/data partition will stay as is. You will just wipe the system and boot through TWRP, and then flash the listed image files.
superchilpil said:
You can if you were on a stock rom.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
But if we do it the manual way as stated before, do we lose root? What about gapps? Will those be included?
flashfire is a great app, does it all for you...
I simply downloaded OTA through the system update, then after it was downloaded instead of allowing it to "Restart and Install" which would have failed due to my custom recovery, I just opened flashfire. It found the OTA automatically and I hit Flash button. Done!
I ended up loading up from the PC. It's better this way because I only had 2gb of space on my 64gb!!! Bad thing is, I have spent about 2hrs installing!
Sent from my Nexus 6P using Tapatalk
So I can use flashfire to flash the latest N beta even though I'm currently running a custom ROM?
Sent from my Nexus 6P using XDA-Developers mobile app
GatorsUF said:
flashfire is a great app, does it all for you...
I simply downloaded OTA through the system update, then after it was downloaded instead of allowing it to "Restart and Install" which would have failed due to my custom recovery, I just opened flashfire. It found the OTA automatically and I hit Flash button. Done!
Click to expand...
Click to collapse
Foes your custom recovery still work? I tried this method and it just wouldn't boot into TWRP. Been trying all day thru different methods. Idk how to use adb fastboot on a computer so I'm a lil lost when trying any other method. I've been using Wug's toolkit but until he pushes an update for it I'm on stock MM until i can figure something out.
x.0ni.x said:
Foes your custom recovery still work? I tried this method and it just wouldn't boot into TWRP. Been trying all day thru different methods. Idk how to use adb fastboot on a computer so I'm a lil lost when trying any other method. I've been using Wug's toolkit but until he pushes an update for it I'm on stock MM until i can figure something out.
Click to expand...
Click to collapse
why does the wug toolkit not work?
I don't know a lot about Flashfire as far as it's compatibility with Custom Roms and such. I was previously on stock android Marshmellow with root and twrp. My phone downloaded the OTA for Android N when I "enrolled" in the beta program. I chose not to allow the phone to attempt to install the OTA as it would likely fail due to my custom recovery, to my surprise when I opened flashfire it offered to install the "update.zip" (AKA the OTA) and I simply hit "flash". It installed the OTA (did not use TWRP) and rooted my phone all on it's own, I did not lose anything no data was lost.
As a side not I would not recommend using Flashfire if you don't know how to use fastboot commands and the Android SDK. It is not complicated and it is a almost certain way to fix your phone when things go haywire. I strongly encourage you to learn how to use it as it is essential to owning a Nexus imo. These root kits and flashfire programs are cool, but they are always subject to failures...
Wanting to upgrade to Oreo but am unencrypted. I would like keep my phone as is. Would I need to wait for a modified boot image or can I go ahead and install the factory images?
Sent from my Nexus 6P using Tapatalk
afbengochea said:
Wanting to upgrade to Oreo but am unencrypted. I would like keep my phone as is. Would I need to wait for a modified boot image or can I go ahead and install the factory images?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Every OS enforces encryption. You need to wait for a modified boot image or custom kernel.
Sent from my Nexus 5X using Tapatalk
The solution can be rather simple.
Do the update, and right away boot to bootloader. Flash ElementalX kernel or any other boot image of your choice and voila.. no harm done and the system won't be encrypted.
afbengochea said:
Wanting to upgrade to Oreo but am unencrypted. I would like keep my phone as is. Would I need to wait for a modified boot image or can I go ahead and install the factory images?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
We haven't needed to wait for a modified boot image for a long time. If you decide to flash the factory image, just make sure that when it's finished (before booting to the OS for the first time) you either flash SuperSU or a custom kernel like EX. Both of these modify the boot.img to no-force encrypt. If rooted, you can also use FlashFire to flash the image. It will preserve root, modify the boot.img to no-force encrypt and keep your custom recovery.