The Nexus 6 was my first Nexus. Since I am unlocked, rooted, stock I have been using the factory images to update throughout the life cycle of lollipop. Flashing all but User Data. I have never updated through a major OS revision before.
With 6.0 possibly being released today, would it be ok to dirty flash from the latest 5.1.1 to 6.0?
Probably, though a rooted user should take a nandroid backup and titanium app / data backup too in case a wipe is needed. A Wipe is always best when upgrading a major OS version
Thanks, I do have a nandroid backup and Titanium app/data just in case a full wipe was needed. Just was curious if I should even attempt a dirty flash.
So I am guessing there is different code in an OTA as opposed to the Factory Images to safely migrate settings?
An OTA doesn't do anything special to "migrate data" at all, if you look at the scripts.... and it's for this reason that if I received an OTA ever, I would wipe (Though I've never taken an OTA in 5+ years)...
You can attempt it, yes. I Believe you can flash the preview 3 without wipe
Hi, dirty flash (manually fastboot flash.... everything except user data) worked fine for me, from LMY48M to MRA58K.
Related
Hi all,
I've been a long long time rooter of phones. The Nexus 6 was no different. I'm running Temasek's CM12 rom and it's been great, but I'd like to go back to stock and run the Marshmallow rom unrooted. It seems like with Doze and other features it would be better for me at this time.
I have the ATT version of the Nexus 6 and the latest TWRP installed. What would I need to do to install the latest stock 6.0 rom (safely?). Im a technical person but rather than throw things at the wall and see what sticks, I'm looking for a couple of testimonials to make me feel better about doing this
Thanks!
Flashing the factory images from Google is likely your best bet. You can flash everything separately, skipping the userdata image if you don't want to format your data partition, and skip the recovery image if you want to keep TWRP. I am sure there are guides on site to assist with this if you aren't sure how to accomplish this.
You will likely have to factory reset in TWRP as going from CM > stock will likely cause some problems. Also, if you have disabled encryption and want to stay that way, you will want to flash a custom kernel that removes the force encryption before booting into Android.
I have quite an old version of Android on my Nexus 6 (see attached). Is it safe to flash or fastboot to a 7.0 or 7.1 build without wiping? I am on rooted Project Fi. I don't necessarily need to keep root (though I prefer it for tap-to-wake), but I do need Project Fi compatibility since that is my carrier. Thank you!
You are going to have to wipe data and cache, flash bootloader and radio, and then you are clear to go to 7.0 or 7.1! *project FI is not a custom rom thing, its going to work now with any rom! Root is as easy is reflashing SU when done with upgrade, if you want root again.
While you probably can receive OTA updates until you get to Android 7.0, there's no guarantee that you'll get the required updates. Flashing one of the OTA images from the Google Developer website will get you there a lot quicker. But you want to back up your internal storage onto your PC before applying the OTA. Since there is a bootloader update involved, your device may end up wiped.
Darn. Can you link me to whichever bootloader, radio, and build would be best for me to use? I just want the base stock Project Fi build, so I'm not sure if I should get the Google build, or one in the dev forum.
I cannot utilize OTA updates: I click install, it reboots, and fails. Hence why I have been on 5.1 for years. I just haven't had the time (or desire) to do all of this manually. How should I go about the upgrade process? I understand the process of fastboot and all that (though it has been a while), but I need a little guidance on which file (or files) to use and where to download them. Any pointers on which website and which download(s) would be much appreciated, whether it is the official google file, or I need other files as well, etc.
This is a link to the 7.0 bootloader and radio, both flashable! http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052
This is a link to a stock (project fi ready) 7.0 build, with radio / bootloader/ rom / gapps / everything. Perhaps it would be easier just to do this writeup! http://forum.xda-developers.com/nexus-6/general/android-nougat-nbd90z-flashable-image-t3474572
Excellent thank you. Regarding the second link:
a) This will work for 5.1 and a very old version of TWRP correct?
b) Also, what is the purpose of making a backup if this will wipe the storage anyway?
Of course it fails. OTA updates require the stock recovery to work. Had I known you had TWRP installed I would have had you flashing the factory image using fastboot.
a) no, while it may work, You should definitely update your version of TWRP
b) You aren't going to wipe your internal storage if you use TWRP. that's only when you're flashing via fastboot
If you use TWRP, you can wipe the system, data, and cache without touching your files. just dont' wipe internal storage
Yes. I do have TWRP. In that case, do you agree with the other post that the following link is the best upgrade path? http://forum.xda-developers.com/nexus-6/general/android-nougat-nbd90z-flashable-image-t3474572
Ohhh I see. My eyes immediately skipped to the "Method 2" content.
a) So I should first update TWRP, and then perform "Method 1" in that post, correct? Just want to make absolutely sure of the steps.
b) In the case that Method 1 is correct, since my data would remain, will my phone be wiped or not?
Yes.
It worked! I am now proudly on 7.0 without wiping!!! Thank you!!!!!! How do I mark this as the answer? Woohoo!!!
P.S. In case this should help anyone else (or maybe help myself in the future), I updated TWRP though the "TWRP Manager" app, did a full backup of the phone (took 822 seconds), then flashed that zip in that other thread. So far so good!!!
Woot!
I've tried to look for the sultan otas but haven't found so if I just flash the whole ROM I should be fine right? Is there some other way to get the OTA from the updater if that deletes stuff?
Escabrera said:
I've tried to look for the sultan otas but haven't found so if I just flash the whole ROM I should be fine right? Is there some other way to get the OTA from the updater if that deletes stuff?
Click to expand...
Click to collapse
You'll be fine. What you're doing is called dirty flashing. It's not always the most stable thing to do especially if subsequent versions have significant changes, but if the update is just adding things like security patches and minor bugs, go ahead. Be aware that it's best to clean flash, or wipe the system partition because there will be no chance of conflicting code. Even if you're unsure if flashing a whole ROM would delete data, you can always just make a backup on TWRP. In fact, always make a backup before doing something like this.
Inflection said:
You'll be fine. What you're doing is called dirty flashing. It's not always the most stable thing to do especially if subsequent versions have significant changes, but if the update is just adding things like security patches and minor bugs, go ahead. Be aware that it's best to clean flash, or wipe the system partition because there will be no chance of conflicting code. Even if you're unsure if flashing a whole ROM would delete data, you can always just make a backup on TWRP. In fact, always make a backup before doing something like this.
Click to expand...
Click to collapse
It's just that I'm getting Google play services crashes constantly and 2 patches ago it wasn't happening so I'm trying to reflash the newest release. So I'll probably do a TWRP back up first. Does it also back up stuff like downloads and files on the phone?
Escabrera said:
It's just that I'm getting Google play services crashes constantly and 2 patches ago it wasn't happening so I'm trying to reflash the newest release. So I'll probably do a TWRP back up first. Does it also back up stuff like downloads and files on the phone?
Click to expand...
Click to collapse
You should probably also be reflashing the gapps as well since you are having issues with play services. In the case of TWRP, it doesn't back up files on the phone; rather it backs up the system partition, data (excluding storage), and some other optional stuff. Even if you were to clean flash, you wouldn't need to worry about your files (that is in the partition Internal Storage) because you almost never need to wipe media. A clean flash only requires you to wipe Dalvik, system, data, and cache. What you're doing is dirty flashing, where you wipe nothing and flash your zips over the existing ROM. The backup is just insurance in the instance that something goes wrong and you soft brick the phone.
i tried to flash it again and old updates with the issue still being there so i just nuked everything. I'm just going to use titanium backup plus having the files on a computer to get back to where i was before.
A few week ago I rooted my phone running 7.0 and flashed 7.1 .1 using my PC. Everything worked great and all my desktop folders stayed intact. Today I flashed 8.0 using TWRP without a PC and I lost all my folders. My question is where are these folders stored.? I assumed they were part of the google backup but apparently not. Today when I flashed I did a wipe first. Did that cause them to get deleted?
My concern is that 8.0 rom is WIP so I will probably be updating again soon but I don't want to rebuild my home screen everytime.
Need more info, what did you flash, type of wipe, encrypted or unencrypted etc... Also what do you mean by desktop folders? If you wipe internal storage it will delete all user data, ie sdcard. Wiping everything except internal storage usually keeps all data unless you switch between encrypted and unencrypted(that depends on type of kernel flashed either Inc in rom or separate)
Sent from my Nexus 6 using Tapatalk
Sounds like you dirty flashed from 7.0 to 7.1.1. That means at most you wiped dalvik and cache (and maybe not those).
Going to 8.0 within TWRP, you correctly did a clean flash. Wiping data, dalvik and cache. This is critical between major releases (e.g. 7.x to 8.x). But it also means you will lose your settings including the home screen set-up; which is what I think you mean by "folders".
You probably can get away with dirty flashing future minor updates and not have to do the set-up again. If you develop weird issues after a minor update, you might have to re-flash doing fill wipe again losing settings. This is the nature of flashing ROMs.
I'm guessing you are using the stock launcher. I haven't used that since 5.0 so I can't say if the home screen configuration is backed up to google. I use Nova Prime and Titanium Backup to ease set-up after clean flashes.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
ktmom said:
Sounds like you dirty flashed from 7.0 to 7.1.1. That means at most you wiped dalvik and cache (and maybe not those).
Going to 8.0 within TWRP, you correctly did a clean flash. Wiping data, dalvik and cache. This is critical between major releases (e.g. 7.x to 8.x). But it also means you will lose your settings including the home screen set-up; which is what I think you mean by "folders".
You probably can get away with dirty flashing future minor updates and not have to do the set-up again. If you develop weird issues after a minor update, you might have to re-flash doing fill wipe again losing settings. This is the nature of flashing ROMs.
I'm guessing you are using the stock launcher. I haven't used that since 5.0 so I can't say if the home screen configuration is backed up to google. I use Nova Prime and Titanium Backup to ease set-up after clean flashes.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Click to expand...
Click to collapse
Thanks, this is very helpful. I will research Nova Prime and Titanium before my next flash.
So recently I've been thinking of upgrading my phone from Oreo to Pie now that it is available and has had a few updates.
Now I haven't updated my phone in a while. The last time was around the summer of 2018. The OxygenOS version my 3T currently is running is 5.0.4 and my TWRP is on version 3.2.3-0.
A while back I was using the custom ROM 'FreedomOS' (for anyone that still remembers) but that ROM hit it's EOL point last year.
After FreedomOS went EOL I switched to stock ROM following this guide to stay decrypted: https://forum.xda-developers.com/oneplus-3t/how-to/disable-dm-verity-force-encryption-op3t-t3688748
Since I switched back to stock I haven't touched the system or recovery at all besides updating Magisk now and then.
Now the question I'm having is how do I update my phone to the latest Pie version of OxygenOS? Which is version 9.0.5 as of writing this post.
Preferably I would like to upgrade with a dirty flash to keep my data (if I run into issues after I'll clean flash) and I also want to stay dencrypted and have Magisk as root.
For your own sakes don't do that. You probably won't be happy unless you want to update to have bigger numer in info screen. (Well if you would like to update to have bigger number in info screen I would suggest editing some conf file to achieve that.)
it's here all the the time, just follow the guide
https://forum.xda-developers.com/oneplus-3t/how-to/official-oxygenos-5-0-1-android-8-0-t3728119
First of all, both of you thanks for the replies.
wojtek007pl said:
For your own sakes don't do that. You probably won't be happy unless you want to update to have bigger numer in info screen. (Well if you would like to update to have bigger number in info screen I would suggest editing some conf file to achieve that.)
Click to expand...
Click to collapse
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
BrahmaGandhi said:
it's here all the the time, just follow the guide
https://forum.xda-developers.com/oneplus-3t/how-to/official-oxygenos-5-0-1-android-8-0-t3728119
Click to expand...
Click to collapse
I've read through the thread a bit and notices this: "Important Note: If your device’s Bootloader is Unlocked, then installing this firmware will factory reset your phone as this is a firmware upgrade. All your personal data and app data will be wiped clean! So backup before flashing!"
Does this mean it will actually reset the entire phone and will wipe all of my apps and files? Is there not a way to dirty flash this new version without losing my apps and such?
Now also in the "Custom ROM" part it says the following: "3. Format Data partition - system will be encrypted (this is a must else system will not boot the new Android version)"
As my device is unencrypted at the moment do I need to let it encrypt for OOS 9 to actually boot up? Or can I just follow the steps in this guide and follow procedure 1 to stay unencrypted? https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324
allard1997 said:
First of all, both of you thanks for the replies.
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
Click to expand...
Click to collapse
In simple words phone is slower and hotter. Battery isn't better too (battery life for me was decreased from 5 to 3, 3.5 hours screen on time). You can find more on Oneplus forums.
allard1997 said:
First of all, both of you thanks for the replies.
Is the update that bad? If so, what makes Pie so much worse when comparing it to Oreo?
I've read through the thread a bit and notices this: "Important Note: If your device’s Bootloader is Unlocked, then installing this firmware will factory reset your phone as this is a firmware upgrade. All your personal data and app data will be wiped clean! So backup before flashing!"
Does this mean it will actually reset the entire phone and will wipe all of my apps and files? Is there not a way to dirty flash this new version without losing my apps and such?
Now also in the "Custom ROM" part it says the following: "3. Format Data partition - system will be encrypted (this is a must else system will not boot the new Android version)"
As my device is unencrypted at the moment do I need to let it encrypt for OOS 9 to actually boot up? Or can I just follow the steps in this guide and follow procedure 1 to stay unencrypted? https://forum.xda-developers.com/oneplus-3t/how-to/dm-verity-disable-oxygen-os-t3922324
Click to expand...
Click to collapse
i personally would suggest you to stay on oreo or jump to pie custom roms, just skip the oos 9.0.5..
the only thing that really fast and smooth just the face unlock feature :laugh:
as far as i know when you flashed stock oos your data will always be (re)encrypted, unless you do the firmware's patch things like you did before.
jumping (upgrade) from diff. android version it's better to do a clean flash (4 wipes, exclude int. storage will be saved)...and it's mandatory required (from stock to any custom roms). except when you forced to format data you'll lost all data in your phone, for sure.
and if you want to stay unencrypted and disable dm verity for good, it's better to do all that stuffs while on stock oos before you jump onto custom roms.
for more details and assistance i suggest you post on the main thread.