Going back to nougat - Nexus 6 Q&A, Help & Troubleshooting

So, I have the nexus 6 and one plus 3t...on the 3t, going back to nougat you have to wipe internal storage, do you have to do the same here?

jamescable said:
So, I have the nexus 6 and one plus 3t...on the 3t, going back to nougat you have to wipe internal storage, do you have to do the same here?
Click to expand...
Click to collapse
If you're referring to flashing the factory image, yes I it will automatically wipe internal storage. Alternatively you could just wipe system/data/cache/dalvik and just install a nougat based custom ROM, the most recommended one being the infamous PureNexus. Some people its possible to flash the factory recovery from inside TWRP so give that a look too. :good:

Ta3miyyasandwich said:
If you're referring to flashing the factory image, yes I it will automatically wipe internal storage. Alternatively you could just wipe system/data/cache/dalvik and just install a nougat based custom ROM, the most recommended one being the infamous PureNexus. Some people its possible to flash the factory recovery from inside TWRP so give that a look too. :good:
Click to expand...
Click to collapse
What I am referring to is this, on 3t, if I am on a custom Oreo ROM, and want to go back to custom nougat, if I wipe system, dalvik,data, and cache...install a nougat ROM, it will boot but make me wipe internal memory...

I don't believe there is any reason a custom nougat ROM will trigger a wipe of user data (internal storage). Of course it's always a good idea to back up just in case [emoji6]
I know you're not talking about stock, but the only time user data is wiped automatically is by using the stock install script. The script can be modified to not flash user data. Or better, just manually fastboot flash the stock ROM excluding the user data partition. The -w flag is the wipe command.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Related

Still confused about encryption!

Hello...I'm new to the nexus phone. I am still confused about "encryption" . I'm Stock rooted encrypted, if I flash a new rom what would be my procedure? Normally I wipe data, dalvik, system. But reading the threads here on nexus forums "data" seems to mean something else(user data). If I flash a rom with kernel included( encrypted kernel), then I would lose all my settings and my internal sdcard. Phone would be like new out the box. How can I flash from TWRP without losing my internal sdcard when I'm not near my computer?
Do I need to look for a rom without encrypted kernel? Seems like that would keep my user settings intact?
you would flash any rom just like you would normally flash any rom. if a kernel allows for decryption, then you would have to format data to decrypt(after flashing that kernel, or you will lose it out of your storage after decrypting). if you dont format data, then you will stay encrypted.
simms22 said:
you would flash any rom just like you would normally flash any rom. if a kernel allows for decryption, then you would have to format data to decrypt(after flashing that kernel, or you will lose it out of your storage after decrypting). if you dont format data, then you will stay encrypted.
Click to expand...
Click to collapse
So is "wipe data" the same as "format data"? I normally wipe data unless I'm dirty flashing. And do I have to flash a "radio" every time I flash? I thought that I read that roms don't include radios . This nexus stuff seems confusing coming from other phones. I'm on sprint if that makes a difference.
kwdan said:
So is "wipe data" the same as "format data"? I normally wipe data unless I'm dirty flashing. And do I have to flash a "radio" every time I flash? I thought that I read that roms don't include radios . This nexus stuff seems confusing coming from other phones. I'm on sprint if that makes a difference.
Click to expand...
Click to collapse
roms dont include radios, so they wont touch the one that youre currently using. its in a different partition. you dont need to flash radios when flashing a rom, ever, on a nexus. carrier also makes no difference. and wipe data and format data are two different thing. wiping data itll just clear the user data. formatting data will clear the whole partition and reformat it.
kwdan said:
So is "wipe data" the same as "format data"? I normally wipe data unless I'm dirty flashing. And do I have to flash a "radio" every time I flash? I thought that I read that roms don't include radios . This nexus stuff seems confusing coming from other phones. I'm on sprint if that makes a difference.
Click to expand...
Click to collapse
**NINJA'D
Radios are part of the firmware, and are not touched by flashing a rom. They will stay on your device, unaffected by flashing or normal wiping procedures.
Wipe data = clearing out app data, settings data, etc., created during normal use of an os.
Format data = completely wipe out the data partition of your phone, meaning anything and everything you ever save to your device will be deleted. This is what is needed in order to decrypt.
Hope that helps clear things up.
Sent from my Nexus 10
So.... I had similar questions.. As long as I flash whatever ROM and kernel I want first, I can go ahead and format data. I will then boot intro android, unencrypted, running my desired ROM and kernel, but will have lost anything in my storage? Correct?
And there's no way to decrypt without data wipe?
trickster2369 said:
**NINJA'D
Radios are part of the firmware, and are not touched by flashing a rom. They will stay on your device, unaffected by flashing or normal wiping procedures.
Wipe data = clearing out app data, settings data, etc., created during normal use of an os.
Format data = completely wrong out the data partition of your phone, meaning anything and everything you ever save to your device will be deleted. This is what is needed in order to decrypt.
Hope that helps clear things up.
Sent from my Nexus 10
Click to expand...
Click to collapse
Yes.. That makes since to me. It's just that there is a "Sprint radio.Zip" floating around that you have to flash if you lose signal. That would be a "radio" so how does it get wiped when flashing? I was going to try the "Pure Shamu" rom. That's what brought all the questions.
Ok.. Seems like any kernel change will wipe internal storage
If I'm encrypted, stay encrypted and internal storage is safe. Change kernels and internal storage is wiped...
kwdan said:
Yes.. That makes since to me. It's just that there is a "Sprint radio.Zip" floating around that you have to flash if you lose signal. That would be a "radio" so how does it get wiped when flashing? I was going to try the "Pure Shamu" rom. That's what brought all the questions.
Ok.. Seems like any kernel change will wipe internal storage
If I'm encrypted, stay encrypted and internal storage is safe. Change kernels and internal storage is wiped...
Click to expand...
Click to collapse
I haven't had to deal with the Sprint radio issues because I'm on Verizon. But i believe that is a patch to the rom to make sprint data work.
Changing kernels does not automatically wipe internal storage. The kernels are "decryptable", meaning if you format data, you will be decrypted. If you do not format data, you will be as you were, encrypted. If you were already decrypted, you will still be decrypted.
I believe there was one rom or kernel , don't remember which, that automatically decrypted, but I know that was stated in their OP.
Sent from my SinLess Shamu
9wire said:
And there's no way to decrypt without data wipe?
Click to expand...
Click to collapse
I dont think its possible now.
I had to factory reset after formatting data, but after that all is smooth.

[Q] Twrp flashing order check?

I'm trying to flash chroma rom onto phone with leankernel/hells core and verizon 5.1 radio. May someone confirm this is the correct order? I'm currently on latest chroma with franco kernel. (i don't like dirty flashing )
1. Wipe everything but internal sd
2. Flash latest chroma
3. Flash latest leankernel/hellscore
4. Flash Gapps
5. Flash verizon radio 5.1
Should i also include Supersu in the steps?
Also, if my internal memory is getting a bit cluttered from apps and other random stuff, is there a way I can reset my phone to a rooted, bootloader unlocked, unencrypted state without doing a full reset to stock then doing everything over?
Raymondlikesroot said:
I'm trying to flash chroma rom onto phone with leankernel and verizon 5.1 radio. May someone confirm this is the correct order? I'm currently on latest chroma with franco kernel. (i don't like dirty flashing )
1. Wipe everything but internal sd
2. Flash latest chroma
3. Flash latest leankernel
4. Flash Gapps
5. Flash verizon radio 5.1
Should i also include Supersu in the steps?
Also, if my internal memory is getting a bit cluttered from apps and other random stuff, is there a way I can reset my phone to a rooted, bootloader unlocked, unencrypted state without doing a full reset to stock then doing everything over?
Click to expand...
Click to collapse
first off, why would you have to go back to stock???
secondly, the radio can be flashed at any time, no order involved in that.
thirdly, when you wipe data(everything but the SD storage), thats a factory reset. so, wipe data/system, flash chroma, flash the gapps, flash SuperSU(for root), then flash your kernel and reboot.
As long as you flash ROM first, doesn't matter about the order
simms22 said:
first off, why would you have to go back to stock???
secondly, the radio can be flashed at any time, no order involved in that.
thirdly, when you wipe data(everything but the SD storage), thats a factory reset. so, wipe data/system, flash chroma, flash the gapps, flash SuperSU(for root), then flash your kernel and reboot.
Click to expand...
Click to collapse
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Raymondlikesroot said:
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Click to expand...
Click to collapse
Make a backup in TWRP of your device when it's in that state. Then flash that backup whenever you want to return to that state.
Raymondlikesroot said:
Sorry, a clean sd card is simply one of those weird things I like(It might be ocd or something xD). When i had my s4, i would do a full reset to stock every time I flashed a rom because I didn't want any residual files left over. That being said, is there any simpler process to reset or clean the internal memory between flashing roms besides stock reset? What I'm talking about is some way to set or "reset" the nexus 6 to a unlocked, rooted, unencrypted, and twrped state but otherwise stock.
Click to expand...
Click to collapse
just do a full wipe in twrp, itll clean out your storage. but move all the files that you want to save to your computer or they will be gone.
Evolution_Tech said:
Make a backup in TWRP of your device when it's in that state. Then flash that backup whenever you want to return to that state.
Click to expand...
Click to collapse
Wouldnt I have to full wipe beforehand?
simms22 said:
just do a full wipe in twrp, itll clean out your storage. but move all the files that you want to save to your computer or they will be gone.
Click to expand...
Click to collapse
After I full wipe, I can use mtp to transfer the rom and gapps in twrp right? Or do I have to use adb ?
Raymondlikesroot said:
After I full wipe, I can use mtp to transfer the rom and gapps in twrp right? Or do I have to use adb ?
Click to expand...
Click to collapse
Either
danarama said:
Either
Click to expand...
Click to collapse
Thanks! I would give you a thanks but I'm limited to 8 per day lol
Raymondlikesroot said:
Thanks! I would give you a thanks but I'm limited to 8 per day lol
Click to expand...
Click to collapse
No worries. I'm not bothered about them. Really they're to be used in development threads to prevent flooding them with useless "thanks".posts

System wipe

Hey. What are the advantages/disadvantages of wiping system when installing new ROM? For example Xiaomi.eu rom instructions says you should not wipe system or phone can be bricked. But there are many tutorials that say to wipe also system when installing new ROM.
I've had cm 13, cm 14.1 and different versions of Xiaomi.eu but I've never wiped system - just cache, dalvik and data. I wonder if this causes some problems on my mi 5.
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
achickennugget said:
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
Click to expand...
Click to collapse
I understand. Just thinking the term "full wipe". Somewhere that is data/dalvik/cache wipe, somewhere data/dalvik/cache/system wipe. I always do clean flash when i change between roms and clear cache/dalvik/data. But I'm just unsure about wiping system partitition. At least with xiaomi.eu rom you should NOT wipe system, just data/cache/dalvik.
Some AOSP roms are advicing wiping also system partitition.
The "System" partition is essentially where your OS resides (correct me if I'm wrong!), hence by wiping it, you are essentially removing your OS. Reinstalling the ROM afterwards then ensures that the ROM is in a sense "cleanly" flashed and will not have any unnecessary or corrupt files of sorts. Wiping system partition will NOT cause issues, that I can guarantee you, just that your phone will not have any OS to boot into when you reboot. Which is why I recommend you to have the ROM and recovery zip on your computer to flash it afterwards!
Well it's safe to wipe system partition but I am not sure about xiaomi.eu nougat ROM's the first nougat update bricked many devices, anyways wiping system is safe.

Wiping data after install Custom ROM?

Can i wipe data after install any ROM and before reboot to OS? Tks
You can always wipe data, preferably before flashing clean, but you may flash after also.
For some pre-installed programs, you may have to flash rom again after wipe.
Verstuurd vanaf mijn ONEPLUS A3003 met Tapatalk
A clean flash (wipe data, cache and Dalvik/ART - the default wipe in TWRP) is typically recommended before flashing a custom ROM. Yes, you can wipe after flashing, but I don't see a benefit if you already wiped before flashing the ROM.
redpoint73 said:
A clean flash (wipe data, cache and Dalvik/ART - the default wipe in TWRP) is typically recommended before flashing a custom ROM. Yes, you can wipe after flashing, but I don't see a benefit if you already wiped before flashing the ROM.
Click to expand...
Click to collapse
Sorry, The correctly question is: Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
rgregor210881 said:
Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
Click to expand...
Click to collapse
Yes
rgregor210881 said:
Sorry, The correctly question is: Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
Click to expand...
Click to collapse
Technically yes. But if you intend to do this, there are some considerations: If you made a TWRP backup of your current ROM (which you should always do before flashing a new ROM), than that backup will be lost when you wipe internal storage. Similar thing with Titanium Backup or any other similar backup tools.
You'll also lose whatever ROM zip you are flashing. And it's not that unusual that things do go quite right with a ROM flash, and you want to flash it again.
These points can certainly be worked around, for instance with adb sideload or adb push, or mounting storage in TWRP. But it's extra steps, that should be considered. At a minimum, you should know how to (be prepared to) put a "known good" TWRP backup or ROM file back onto the phone.

Returning to stock/xiaomi.eu rom after aosp (after wiping /system)

Hey there,
today I started flashing my mi9tpro.
First I tried xiaomi.eu, but still wasn't happy about the security/junkcleaner integration ...
So I moved on to paranoid quartz 4 for the start. Runs nice and smooth, could settle here.
But I wanted to give ressurection, crdroid, havoc a try too.
Now there is a conflict between the statement of xiaomi.eu:
FORMAT /data partition (NEVER wipe System or Persist!)
Click to expand...
Click to collapse
And e.g. crdroid:
Wipe Data/Cache/System when coming from non-AOSP ROMs
Click to expand...
Click to collapse
Sure, I am coming from a non-AOSP rom, so this is a step I need to do for trying the other roms based on AOSP.
BUT:
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
I made a full backup booting twrp before flashing anything (even twrp), so if I need a original /system, I should be able to restore this image.
Greetings
houston_ said:
Now there is a conflict between the statement of xiaomi.eu:
And e.g. crdroid:
Sure, I am coming from a non-AOSP rom, so this is a step I need to do for trying the other roms based on AOSP.
BUT:
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
Click to expand...
Click to collapse
No need to format /System, as it afaik can result in an instant-bootloop to Fastboot, which may then cause you to reflash the whole MIUI Fastboot ROM.
When coming from MIUI to AOSP ROMs, formatting /Data (aka the "Format Data" Option where you have to type "yes") should be enough.
Same process goes when going back to MIUI from AOSP.
Hope it helped!
houston_ said:
Hey there,
today I started flashing my mi9tpro.
First I tried xiaomi.eu, but still wasn't happy about the security/junkcleaner integration ...
So I moved on to paranoid quartz 4 for the start. Runs nice and smooth, could settle here.
......
If I want to return to Miui, Xiaomi.eu or Paranoid ... will there be troubles about flashing?
Do I need to flash anything, so /system is returned to stock?
I made a full backup booting twrp before flashing anything (even twrp), so if I need a original /system, I should be able to restore this image.
Greetings
Click to expand...
Click to collapse
The system partition is home to the OS. Every time you flash a ROM, you replace the system partition. If you want to return to stock, flashing MIUI will restore the stock system partition.
In reality there is no need to wipe the system partition, because flashing a ROM will wipe it automatically anyway, before installing the new ROM.
When flashing new ROMs, doing a factory reset is all that's needed. You should rarely need to enter advanced wipe menu in TWRP.
The only extra step required is when flashing over MIUI (official or custom version). In this case you will also need to format data too.
Follow my guide for flashing
https://forum.xda-developers.com/k20-pro/how-to/simple-guide-flipkart-owners-t4151007/post83329343
Thanks for both of of your answers! So nothing really changed since my HTC10. On my Cubot I used gsi images... Unsuccessfully, but quite easy.
Just wanted to ask before loosing something important

Categories

Resources