How do I update to M build without factory reset - Nexus 6P Q&A, Help & Troubleshooting

Hello,
This is probably a noob question & I tried to research around myself. I've always rely on someone making a flashable stock rom for every update. I usually keep my phone rooted but run on stock rom with xposed. There's hasn't been a stock rom for m build published. Could anyone share the appropriate adb manual update instructions without factory resetting my phone? Thanks in advance.

Try this. http://forum.xda-developers.com/showpost.php?p=63774219&postcount=15

jimbotron said:
Hello,
This is probably a noob question & I tried to research around myself. I've always rely on someone making a flashable stock rom for every update. I usually keep my phone rooted but run on stock rom with xposed. There's hasn't been a stock rom for m build published. Could anyone share the appropriate adb manual update instructions without factory resetting my phone? Thanks in advance.
Click to expand...
Click to collapse
All you need to do is flash the factory images, see section 9 of my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

Heisenberg said:
All you need to do is flash the factory images, see section 9 of my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
Won't flashing the factory image wipe his data any way?

I think only when you unlock and relock the bootloader is when it'll erase data.

B_I_N_G_E said:
Won't flashing the factory image wipe his data any way?
Click to expand...
Click to collapse
No, you can do it without erasing data.
gqukyo said:
I think only when you unlock and relock the bootloader is when it'll erase data.
Click to expand...
Click to collapse
Using the flash-all batch file in the factory images will wipe the device, but you can do it manually without wiping.

Do I need to flash everything if I want to keep root? Or can I skip bootloader, recovery, and boot image files since the k build boot image works with m build?
Thanks in advance again
Sent from my Nexus 6P using XDA Free mobile app

jimbotron said:
Do I need to flash everything if I want to keep root? Or can I skip bootloader, recovery, and boot image files since the k build boot image works with m build?
Thanks in advance again
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
You can only skip the boot, recovery, and userdata images but all other files need to be flashed.

OK. How about bootloader file? Can I skip that too? Do I need to do anything new with su?
Sent from my Nexus 6P using XDA Free mobile app

jimbotron said:
OK. How about bootloader file? Can I skip that too? Do I need to do anything new with su?
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
As I said, you need to flash everything except for recovery, boot, and userdata. Just follow the usual process to root the updated build.

Related

Fresh install 5.0.1

I am getting a few issues with 5.0.1 such as lost data connection and the dialer dropping calls. I have had this device since 4.4 so many OTA's so would like to do a complete fresh install. Should I download the factory image and use the flash-all command in adb? Will this erase all data, which is what I want, replace all radios etc.
_jay_uk_ said:
I am getting a few issues with 5.0.1 such as lost data connection and the dialer dropping calls. I have had this device since 4.4 so many OTA's so would like to do a complete fresh install. Should I download the factory image and use the flash-all command in adb? Will this erase all data, which is what I want, replace all radios etc.
Click to expand...
Click to collapse
Yes, the flash-all.bat will do what you want. Just boot into the bootloader and with your device connected to the pc double click the flash all
Sent from my Nexus 5 using XDA Free mobile app
Thanks for reply. I gather that I need the stock rocovery on there first.
You will get stock recovery from the stock retail rom.
Sent from my XT1033 using XDA Free mobile app
_jay_uk_ said:
Thanks for reply. I gather that I need the stock rocovery on there first.
Click to expand...
Click to collapse
No, you do not need the stock recovery to flash a factory image. You'll end up with when you flash
Sent from my Nexus 5 using XDA Free mobile app
I just flashed 5.0.1 with flash-all.bat and it is working fine. Yep, you will get the stock recovery if you update your n4 this way. By the way if you remove "-w" from flash-all.bat your device won't be wiped.
A little bit different question... factory image with Lollipop updates bootloader too... So when I will downgrade from LP to KK with factory image bootloader will be downgraded too, right?
parkourz said:
A little bit different question... factory image with Lollipop updates bootloader too... So when I will downgrade from LP to KK with factory image bootloader will be downgraded too, right?
Click to expand...
Click to collapse
You are correct. Factory image dues flash the bootloader too
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
You are correct. Factory image dues flash the bootloader too
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
What happens if we install kk custom ROMs and lollipop custom ROMs ? I mean can I switch between KitKat and lollipop custom ROMs directly by flashing the zips in recovery or anything more is to be done?
Sent from my Nexus 4 using XDA Free mobile app

It seems from today we have 5.1 official

I see today 5.1 on official image server for nexus devices to flash with adb commands
https://developers.google.com/android/nexus/images
:good:
Got the OTA woott!!
Finally!
Anyone have luck flashing the 5.1 image without bricking? I wanna be safe before flashing it.
Is there a new bootloader or anything?
pokemaniac15 said:
Anyone have luck flashing the 5.1 image without bricking? I wanna be safe before flashing it.
Click to expand...
Click to collapse
Installed factory images last night without any problems.
"Missing" storage
Can someone take a look at my thread over at the Q&A-section, I have issues with "missing" storage after manually updating from 5.0.2 to 5.1.
http://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/missing-storage-manually-updating-to-t3083404
Thanks in advance!
EDIT:
Confirmed: factory reset/data wipe in stock recovery solved the storage problem
Thanks to yosmokinman
b1337 said:
Got the OTA woott!!
Click to expand...
Click to collapse
Where are you located? Im in ATL and still waiting.
Patience *****es.
Learn how to use ADB and FASTBOOT and you can flash the stuff manually from a factory image ( without a wipe if you´re lazy ).
onixotto said:
Patience *****es.
Click to expand...
Click to collapse
No, I want instant gratification lol.
Flashed yesterday with no problem!
Was flashed yesterday with no problem, using "Nexus Root Toolkit". I also wiped all data, so the clean stock install was OK.
If I am not wrong, no root available yet...
Regards!
Rooted mine using Nexus Root Toolkit, using the same procedures as with 5.0.2.
Seems to be fine.
balivo said:
Was flashed yesterday with no problem, using "Nexus Root Toolkit". I also wiped all data, so the clean stock install was OK.
If I am not wrong, no root available yet...
Regards!
Click to expand...
Click to collapse
Same root process. CF autoroot still works, as does wugs.
Thanks! All done!
madbat99 said:
Same root process. CF autoroot still works, as does wugs.
Click to expand...
Click to collapse
Thanks! All done!
Rooted successful! :good:
Just got it, downloading now. :victory:
Updated & rooted with latest TWRP with no issues at all using WugFresh Nexus Toolkit. Seems a bit smoother than 5.0.2
Does anybody have a flashable zip for 5.1?
Sent from my Nexus 6
pokemaniac15 said:
Anyone have luck flashing the 5.1 image without bricking? I wanna be safe before flashing it.
Click to expand...
Click to collapse
Yes. Completely safe 4 me.
I decided to manually flash the factory image. I was able to do it with out the -w so I didn't wipe my internal memory/data (I didn't want to set it up again, especially since I have it set up with an account for my kids). All went well. I didn't think to look at how much internal storage was left. I have the 32 gig Wi-Fi model. I'll check that tomorrow.
Edit: oh, I was also able to flash TWRP and SuperSU so I can root with no problems.
Sent from my XT1034 using Tapatalk

Question about flashing updates on a rooted phone

I have a rooted 6P running the stock rom on the February security update with a bunch of Xposed modules and the Franco kernel. I know I won't get OTAs this way. Can I just flash the March security patch (MMB29V) and do nothing else? Or do I have to wipe data or factory reset? Do I have to do anything with the Franco kernel?
For the future, what would I need to do to flash Android N when it comes out on my rooted phone? Thanks a bunch!
Soundtallica said:
I have a rooted 6P running the stock rom on the February security update with a bunch of Xposed modules and the Franco kernel. I know I won't get OTAs this way. Can I just flash the March security patch (MMB29V) and do nothing else? Or do I have to wipe data or factory reset? Do I have to do anything with the Franco kernel?
For the future, what would I need to do to flash Android N when it comes out on my rooted phone? Thanks a bunch!
Click to expand...
Click to collapse
Most likely you cannot. An OTA update will do a check on your system and see that you have modified things and terminate install. You can leave your data alone but you will have to flash your boot and system partitions with the factory image
Sent from my Nexus 6P using Tapatalk
funnel71 said:
Most likely you cannot. An OTA update will do a check on your system and see that you have modified things and terminate install. You can leave your data alone but you will have to flash your boot and system partitions with the factory image
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
I know OTA updates are impossible, so I plan to flash the factory image from the Google developers website via fastboot. Does that change anything?
Soundtallica said:
I know OTA updates are impossible, so I plan to flash the factory image from the Google developers website via fastboot. Does that change anything?
Click to expand...
Click to collapse
Don't flash the entire factory image or you will lose data. / only the boot and system images to their respective partitions. Once you complete that you can Flash the OTA update zip file and you will still have your data you can extract the boot and system images from the main factory image you download from Google using WinRAR
Sent from my Nexus 6P using Tapatalk
funnel71 said:
Don't flash the entire factory image or you will lose data. / only the boot and system images to their respective partitions. Once you complete that you can Flash the OTA update zip file and you will still have your data you can extract the boot and system images from the main factory image you download from Google using WinRAR
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It's easier to just flash all of the images (except userdata) top to update, rather than flashing two and then messing around with OTA.
So is there anyway to flash the update without losing my data/apps??
Thanks!
cattel said:
So is there anyway to flash the update without losing my data/apps??
Thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Heisenberg said:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
Thank you very much!
Enviado de meu Nexus 6P usando Tapatalk
Step 9, right @Heisenberg ?
joooe said:
Step 9, right @Heisenberg ?
Click to expand...
Click to collapse
Yep. Probably would be a good idea to wipe data and the caches in TWRP first.
i used fastboot to install march update on my nexus 6p but now when trying to install twrp through fastboot it during writing it says permission denied. why is this?
mystertom said:
i used fastboot to install march update on my nexus 6p but now when trying to install twrp through fastboot it during writing it says permission denied. why is this?
Click to expand...
Click to collapse
Can you provide a screenshot of your attemp to flash the recovery? Also you might want to try opening the command prompt as administrator, right click on the command window in start menu and select open as administrator.
Heisenberg said:
Yep. Probably would be a good idea to wipe data and the caches in TWRP first.
Click to expand...
Click to collapse
Not at all a good idea @Heisenberg, as I just experienced. We were talking about keeping the apps and system as it was. Just wiped data and got an hardreset.
Clear cache only.
joooe said:
Not at all a good idea @Heisenberg, as I just experienced. We were talking about keeping the apps and system as it was. Just wiped data and got an hardreset.
Clear cache only.
Click to expand...
Click to collapse
Where did you say that? I know that wiping data will remove apps, but it's the right way to go about it to ensure no problems occur.
cattel said:
So is there anyway to flash the update without losing my data/apps??
Thanks!
Click to expand...
Click to collapse
It all went after this post.
But no problem.
joooe said:
It all went after this post.
But no problem.
Click to expand...
Click to collapse
Surely you were aware that wiping data was going to remove your apps? So all you needed to do was back them up first and restore them after you flashed. Apologies if I should have made that clear in my previous posts.
No problem. It was my stupid mistake.:good:
fastboot flash bootloader bootloader-angler-angler-02.45.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-angler-angler-02.50.img
fastboot reboot-bootloader
sleep 5
fastboot update image-angler-mmb29v.zip
Normally in the last line there is an option "-w" this wipes the data.
Don't do that and modify the script so the option is gone, like I did.
Uh, my phone just downloaded a system update of some sort, but I haven't installed it. Is this supposed to happen on a phone that's rooted and on the stock ROM? Can I install it safely or should I still flash the factory image instead?
And @Heisenberg, in your guide do you type in all the fastboot commands at once or do you do it line by line? Thanks again, your guide is super useful for rooting noobs like me :thumbup:
Soundtallica said:
Uh, my phone just downloaded a system update of some sort, but I haven't installed it. Is this supposed to happen on a phone that's rooted and on the stock ROM? Can I install it safely or should I still flash the factory image instead?
And @Heisenberg, in your guide do you type in all the fastboot commands at once or do you do it line by line? Thanks again, your guide is super useful for rooting noobs like me :thumbup:
Click to expand...
Click to collapse
Don't install it, it'll fail, you must flash the factory images. Each command is entered individually (press enter key to send the command), wait for flash to finish then enter the next command.

Get softbrick with bootloop

Hey guys,
This afternoon I tried to change my file system fo f2fs, I failed and got into bootloop. Follow some instructions, I flash the factory image (I was using stock 7.1.1 Feb and EX Kernel before trying f2fs) but I still face the bootloop. As I know this is a softbrick, because I can still boot into bootloader and flash recovery. But no matter how I try (flash stock, flash rom cook, flash older stock)...my 6P is still in the bootloop. I check in the TWRP that my phone is still in ext4, not f2fs anymore.
I really need some advice to wake him up. Really appreciate your help.
In all honesty bro, I never noticed much difference if any with ext4 vs f2fs. On another note, what kernel and ROM did you flash with f2fs? The the version that supports f2fs gives bootloops when you flash a custom kernel with that recovery. Try flashing the official version of recovery, reboot, then ROM and kernel if you wish and try again.
Sent from my Nexus 6P using XDA-Developers Legacy app
nhatminhng said:
Hey guys, I really need some advice to wake him up. Really appreciate your help.
Click to expand...
Click to collapse
Fastboot format your partitions and use flash-all.bat with a stock Google image.
nhatminhng said:
Hey guys,
This afternoon I tried to change my file system fo f2fs, I failed and got into bootloop. Follow some instructions, I flash the factory image (I was using stock 7.1.1 Feb and EX Kernel before trying f2fs) but I still face the bootloop. As I know this is a softbrick, because I can still boot into bootloader and flash recovery. But no matter how I try (flash stock, flash rom cook, flash older stock)...my 6P is still in the bootloop. I check in the TWRP that my phone is still in ext4, not f2fs anymore.
I really need some advice to wake him up. Really appreciate your help.
Click to expand...
Click to collapse
Why do you still have TWRP if you flashed stock? You need to flash the complete stock image including the stock recovery.
MidnightDevil said:
In all honesty bro, I never noticed much difference if any with ext4 vs f2fs. On another note, what kernel and ROM did you flash with f2fs? The the version that supports f2fs gives bootloops when you flash a custom kernel with that recovery. Try flashing the official version of recovery, reboot, then ROM and kernel if you wish and try again.
Sent from my Nexus 6P using XDA-Developers Legacy app
Click to expand...
Click to collapse
jhs39 said:
Why do you still have TWRP if you flashed stock? You need to flash the complete stock image including the stock recovery.
Click to expand...
Click to collapse
v12xke said:
Fastboot format your partitions and use flash-all.bat with a stock Google image.
Click to expand...
Click to collapse
Thanks guys for helping. I fixed it.
I always flashed the stock image step by step followed by heisenberg, and never use the flash-all.bat just because I dont understand how to run it. However a guy in the f2fs told me to add in some steps
fastboot format system
fastboot format userdata
fastboot format cache
Click to expand...
Click to collapse
And it works. It seems like the step by step way is not clear enough. Any guys can tell me how to run the flash-all.bat please? When I run it always said fastboot is not etc...
nhatminhng said:
Thanks guys for helping. I fixed it. I always flashed the stock image step by step followed by heisenberg, and never use the flash-all.bat just because I dont understand how to run it. However a guy in the f2fs told me to add in some steps And it works. It seems like the step by step way is not clear enough. Any guys can tell me how to run the flash-all.bat please? When I run it always said fastboot is not etc...
Click to expand...
Click to collapse
It's a good sign you formatted and received no errors in fastboot. Google provides instructions for flash-all.bat on the same page you download the images from. https://developers.google.com/android/images
If you are not comfortable using the command window in Windows, you could also use a toolkit like Wugfresh's NRT or Skipsoft's Toolkit to automate the whole process.
v12xke said:
It's a good sign you formatted and received no errors in fastboot. Google provides instructions for flash-all.bat on the same page you download the images from. https://developers.google.com/android/images
If you are not comfortable using the command window in Windows, you could also use a toolkit like Wugfresh's NRT or Skipsoft's Toolkit to automate the whole process.
Click to expand...
Click to collapse
Yes sir of course I read it. But I dont understand this step.
Open a terminal and navigate to the unzipped system image directory.
Click to expand...
Click to collapse
Is it I open the fastboot cmd, use cd command to navigate to that directory? I already tried but failed to run :'( Although I have fixed it but I want to know just in case the next time. Thanks.
nhatminhng said:
Yes sir of course I read it. But I dont understand this step.
Is it I open the fastboot cmd, use cd command to navigate to that directory? I already tried but failed to run :'( Although I have fixed it but I want to know just in case the next time. Thanks.
Click to expand...
Click to collapse
Hi... Here's a pretty good detailed process on how to unlock/flash, etc...
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928/page549
Also, before using any toolkit, I suggest using manual commands and getting comfortable with it. At least, you learn exactly what command do what! Simply pressing a button in a program may result in a bricked device. Plus with command line you learn something. :good:
@nhatminhng How did you get your phone fixed? is your phone unlocked?
tjchuot287 said:
@nhatminhng How did you get your phone fixed? is your phone unlocked?
Click to expand...
Click to collapse
What do you mean "unlocked"? The bootloader is unlocked and I can flash recovery too. I use the command line in heisenberg thread and flash my phone to stock. Add in some more steps I mentioned above. Boom. It's back again.
nhatminhng said:
What do you mean "unlocked"? The bootloader is unlocked and I can flash recovery too. I use the command line in heisenberg thread and flash my phone to stock. Add in some more steps I mentioned above. Boom. It's back again.
Click to expand...
Click to collapse
@nhatminhng oh, im sorry, i mean unlocked bootloader. So my bootloader is locked, it still doesnt have any solutions yet.
tjchuot287 said:
@nhatminhng oh, im sorry, i mean unlocked bootloader. So my bootloader is locked, it still doesnt have any solutions yet.
Click to expand...
Click to collapse
Do you have access to recovery or just boot loader?
Sent from my Nexus 6P using XDA-Developers Legacy app
CyberpodS2 said:
Do you have access to recovery or just boot loader?
Sent from my Nexus 6P using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yes i can. I tried to sideload multiple version of OTA but all have failed.
tjchuot287 said:
Yes i can. I tried to sideload multiple version of OTA but all have failed.
Click to expand...
Click to collapse
I'm guessing you've already tried a factory reset from the stock recovery. Because your bootloader is locked you are limited to sideloading OTA's. And yes, sideloading an older or equal version OTA will fail. You can try a newer revision OTA when available. The 7.1.2 beta may come out before the March security update.
v12xke said:
I'm guessing you've already tried a factory reset from the stock recovery. Because your bootloader is locked you are limited to sideloading OTA's. And yes, sideloading an older or equal version OTA will fail. You can try a newer revision OTA when available. The 7.1.2 beta may come out before the March security update.
Click to expand...
Click to collapse
Good point. It didn't occur to me that equal version would fail. Folks need to unlock their boot loaders! Lol
Sent from my Nexus 6P using XDA-Developers Legacy app
CyberpodS2 said:
Good point. It didn't occur to me that equal version would fail. Folks need to unlock their boot loaders! Lol
Click to expand...
Click to collapse
I agree. Unless you absolutely cannot live without Android Pay or Wallet, work phone, etc., there is no reason to not unlock the bootloader as a safeguard. Of course it's no guarantee, but you just have a whole lot more tools at your disposal when SHTF, including restoring a recent backup or flashing a complete stock image. The initial pain of losing your data can be largely mitigated by pulling it off first, and eventually you even forget about the boot nag screen.
v12xke said:
I agree. Unless you absolutely cannot live without Android Pay or Wallet, work phone, etc., there is no reason to not unlock the bootloader as a safeguard. Of course it's no guarantee, but you just have a whole lot more tools at your disposal when SHTF, including restoring a recent backup or flashing a complete stock image. The initial pain of losing your data can be largely mitigated by pulling it off first, and eventually you even forget about the boot nag screen.
Click to expand...
Click to collapse
Now i have unlocked bootloader but the phone keep restart and stuck at logo again. i followed @Heisenberg thread but same result.

Nexus 6P Factory Restore Help

Hey guys need some help on restoring my nexus 6p im on a custom rom with twrp and everything.
I was on Stock 7.1 January Security patch before i flashed.
Can i get some help on the codes and which stock zip to flash.
Thanks!
You need to give more info. Is your boatloader unlocked? Why do you need to go back to stock anyway is something wrong? Do you need to save any data on the phone?
Sent from my Nexus 6P using XDA-Developers Legacy app
Xavier102296 said:
Hey guys need some help on restoring my nexus 6p im on a custom rom with twrp and everything.
I was on Stock 7.1 January Security patch before i flashed.
Can i get some help on the codes and which stock zip to flash.
Thanks!
Click to expand...
Click to collapse
Hey... Just flash March factory image from Google:
https://developers.google.com/android/images
Flashing instructions are explained at the top of this page. Now scroll down till N6P images. There are two builds, one is Verizon specific. It's written anyway.
Good luck...
One of my questions was do you need to back up anything. If so make sure you understand flashing a factory image wipes the phone completely.
Sent from my Nexus 6P using XDA-Developers Legacy app
CyberpodS2 said:
One of my questions was do you need to back up anything. If so make sure you understand flashing a factory image wipes the phone completely.
Click to expand...
Click to collapse
I plan on wiping Everything just need to get back to stock
Xavier102296 said:
Hey guys need some help on restoring my nexus 6p im on a custom rom with twrp and everything.
I was on Stock 7.1 January Security patch before i flashed.
Can i get some help on the codes and which stock zip to flash.
Thanks!
Click to expand...
Click to collapse
Easiest way You need to just download Nexus root toolkit to your computer plug in phone and let the toolkit do the work it will flash the proper files and reboot the phone
Do not Re- lock bootloader until you have flashed back to stock or you will brick it for good. Or don't lock the bootloader at all for that matter and yes save all files photos anything to PC..Or flags drive before you restore cause it will all vanish
Sent from my Nexus 6P using XDA-Developers Legacy app
androidddaaron said:
Easiest way You need to just download Nexus root toolkit to your computer plug in phone and let the toolkit do the work it will flash the proper files and reboot the phone
Do not Re- lock bootloader until you have flashed back to stock or you will brick it for good. Or don't lock the bootloader at all for that matter and yes save all files photos anything to PC..Or flags drive before you restore cause it will all vanish
Click to expand...
Click to collapse
Link?
Xavier102296 said:
I plan on wiping Everything just need to get back to stock
Click to expand...
Click to collapse
Just go to Google site, download the factory image, extract it and run the flash-all.
Done...
androidddaaron said:
Easiest way You need to just download Nexus root toolkit to your computer plug in phone and let the toolkit do the work it will flash the proper files and reboot the phone
Do not Re- lock bootloader until you have flashed back to stock or you will brick it for good. Or don't lock the bootloader at all for that matter and yes save all files photos anything to PC..Or flags drive before you restore cause it will all vanish
Click to expand...
Click to collapse
Hi... Why would someone install another program just to do what is done in one click?
I mean... Extract Google image, run flash-all.
Easiest way.

Categories

Resources