I was wondering about this. My device is encrypted and I was flashing a ROM. And I only wiped System, Cache, Dalvik and Data. I didn't wipe Internal Storage. But After I Flashed the new ROM my internal was also wiped! So I wanted to know if this is what supposed to happen with encrypted device, or it was a mistake?
Uzumaki said:
I was wondering about this. My device is encrypted and I was flashing a ROM. And I only wiped System, Cache, Dalvik and Data. I didn't wipe Internal Storage. But After I Flashed the new ROM my internal was also wiped! So I wanted to know if this is what supposed to happen with encrypted device, or it was a mistake?
Click to expand...
Click to collapse
Wiping data deletes all settings and apps, wiping internal storage deletes all pictures, music and stuff. Unfortunately, I don't know why your internal storage got wiped, never happened for me.
ulxerker said:
Wiping data deletes all settings and apps, wiping internal storage deletes all pictures, music and stuff. Unfortunately, I don't know why your internal storage got wiped, never happened for me.
Click to expand...
Click to collapse
I know that. As I said I'm encrypted, is it because of that?
Uzumaki said:
I know that. As I said I'm encrypted, is it because of that?
Click to expand...
Click to collapse
Unlikely, I'm also encrypted and it never happened for me. What recovery do you use? I use the Chinese TWRP version.
ulxerker said:
Unlikely, I'm also encrypted and it never happened for me. What recovery do you use? I use the Chinese TWRP version.
Click to expand...
Click to collapse
Official Latest TWRP
Uzumaki said:
Official Latest TWRP
Click to expand...
Click to collapse
Its told to be buggy, especially in combination with Oreo Roms. I recommend to either use ibe TWRP (by a Chinese developer) or blu_spark TWRP, you can find them both here: https://forum.xda-developers.com/showpost.php?p=74946590&postcount=2
ulxerker said:
Its told to be buggy, especially in combination with Oreo Roms. I recommend to either use ibe TWRP (by a Chinese developer) or blu_spark TWRP, you can find them both here: https://forum.xda-developers.com/showpost.php?p=74946590&postcount=2
Click to expand...
Click to collapse
I'm still on Nougat. Didn't install any Oreo ROM till now.
Anyways thanks for the link :good:
Related
Hello,
I plan on selling my device and I've left a completely new unused ROM toI restore then sell it.
Can I wipe the internal memory and then restore from SD card without having any issues? I've reset the device but folders and files still remain.
Any advice?
Thanks
Sent from my SGH-I337M using xda app-developers app
yes, you can perform a full wipe in cwm (factory reset, cache, dalvik, /data, /system) and then flash whatever rom from your micro sd.
Does the same work for twrp? Haven't clean flashed since I got this and would like to 'clean up' abit
mikew29 said:
Does the same work for twrp? Haven't clean flashed since I got this and would like to 'clean up' abit
Click to expand...
Click to collapse
technically it should but i've seen users on various versions of twrp having issues after wiping data. i dont use twrp so i'm not familiar with version is running smoothest. the older ones seem to work best.
here's 2.5.0.2: http://www.mediafire.com/?4519q4rgg34f77g
and 2.5.0.3: http://www.mediafire.com/?41mdflr1e6u3051
Hi,
Coming from PureNexus, I wanted to give CM13 a try. Made a nandroid backup so none of my data is lost, and put that backup on pc. I installed CM13 which went fine. It stopped at the CM booting animation and did not go further, so I cleanflashed Purenexus to restore my backup later on. Now PureNexus won't boot either. I'm out of ideas to try, and I want to get my phone back up and running ASAP.
Can anyone help me with this issue?
Riyge said:
Can anyone help me with this issue?
Click to expand...
Click to collapse
When you clean flashed, did you also wipe system? If you did and you're still hung at boot, your best bet would be to flash the factory images via fastboot and start fresh.
Riyge said:
Hi,
Coming from PureNexus, I wanted to give CM13 a try. Made a nandroid backup so none of my data is lost, and put that backup on pc. I installed CM13 which went fine. It stopped at the CM booting animation and did not go further, so I cleanflashed Purenexus to restore my backup later on. Now PureNexus won't boot either. I'm out of ideas to try, and I want to get my phone back up and running ASAP.
Can anyone help me with this issue?
Click to expand...
Click to collapse
Are you wiping properly (system, data, cache, dalvik cache) before installing a ROM? Are you making sure you flash the appropriate vendor image after flashing the ROM? When you made your backup which options did you check? And which options are you restoring?
Heisenberg said:
Are you wiping properly (system, data, cache, dalvik cache) before installing a ROM? Are you making sure you flash the appropriate vendor image after flashing the ROM? When you made your backup which options did you check? And which options are you restoring?
Click to expand...
Click to collapse
When I try to wipe, it's only wiping cache for some reason. My backup consists of everything except cache.
Riyge said:
When I try to wipe, it's only wiping cache for some reason. My backup consists of everything except cache.
Click to expand...
Click to collapse
What do you mean it's only wiping cache? Explain to me how you're doing the wipe. Also, when creating a backup (and restoring it) you should only be selecting system, data, boot, and vendor.
PS. You didn't answer my question about whether you're flashing the vendor after flashing the ROM. If you want help you need to answer the questions that are asked.
Heisenberg said:
What do you mean it's only wiping cache? Explain to me how you're doing the wipe. Also, when creating a backup (and restoring it) you should only be selecting system, data, boot, and vendor.
Click to expand...
Click to collapse
I'll keep that in mind. When I boot up TRWP, I wiped system, dalvik, data, internal storage and cache. After that I pushed CM13 through adb. That's where the problems started.
EDIT: I flashed the most recent vendor after I flashed the ROM.
Riyge said:
I'll keep that in mind. When I boot up TRWP, I wiped system, dalvik, data, internal storage and cache. After that I pushed CM13 through adb. That's where the problems started.
EDIT: I flashed the most recent vendor after I flashed the ROM.
Click to expand...
Click to collapse
Ok, you definitely don't need to wipe internal storage before flashing so don't worry about that part. Only system, data, cache, and dalvik cache. You said before only cache was being wiped, can you please elaborate on that?
Are you sure the ROM zip didn't become corrupt during the download? Did you check the MD5 to ensure that it didn't? That could be what's causing your problems. Also, what gapps are you flashing?
If you want to go back to Pure Nexus just to get your phone working you can just restore that backup, just make sure you only restore system, data, boot, and vendor.
Heisenberg said:
Ok, you definitely don't need to wipe internal storage before flashing so don't worry about that part. Only system, data, cache, and dalvik cache. You said before only cache was being wiped, can you please elaborate on that?
Are you sure the ROM zip didn't become corrupt during the download? Did you check the MD5 to ensure that it didn't? That could be what's causing your problems. Also, what gapps are you flashing?
If you want to go back to Pure Nexus just to get your phone working you can just restore that backup, just make sure you only restore system, data, boot, and vendor.
Click to expand...
Click to collapse
It won't wipe anything other than cache, no matter what I'm trying to do. Now when I'm trying to push a ROM through adb, I can install it but it won't boot.
Riyge said:
It won't wipe anything other than cache, no matter what I'm trying to do. Now when I'm trying to push a ROM through adb, I can install it but it won't boot.
Click to expand...
Click to collapse
I'm trying to help you here but if you keep failing to answer my questions it's impossible for me to do so. At this point I can only think that it's user error, I'd flash the factory images to return to stock and start fresh. I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Heisenberg said:
I'm trying to help you here but if you keep failing to answer my questions it's impossible for me to do so. At this point I can only think that it's user error, I'd flash the factory images to return to stock and start fresh. I have detailed instructions in my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
Click to expand...
Click to collapse
I found your guide by googling, thanks for making that! Flashing the factory image worked, and I succesfully restored my backup. The only problem left is that it won't accept my pattern lock. I have used the same one for years across multiple android devices, so I'm absolutely sure I have the right pattern. Any way to bypass this?
Riyge said:
I found your guide by googling, thanks for making that! Flashing the factory image worked, and I succesfully restored my backup. The only problem left is that it won't accept my pattern lock. I have used the same one for years across multiple android devices, so I'm absolutely sure I have the right pattern. Any way to bypass this?
Click to expand...
Click to collapse
You need to remove all security before making a backup because the security information is encrypted and doesn't get backed up or restored properly. You can delete some files using TWRP (see section 3 of my guide) in order to remove the security so you can get into Android. This will cause problems with Smart Lock though.
Heisenberg said:
You need to remove all security before making a backup because the security information is encrypted and doesn't get backed up or restored properly. You can delete some files using TWRP (see section 3 of my guide) in order to remove the security so you can get into Android. This will cause problems with Smart Lock though.
Click to expand...
Click to collapse
Tried that, fixed my phone. Thanks so much! Is it possible to restore these functions or should I clean flash to get it?
Riyge said:
Tried that, fixed my phone. Thanks so much! Is it possible to restore these functions or should I clean flash to get it?
Click to expand...
Click to collapse
I'd be clean flashing.
I haven't been able to find an answer upon searching and haven't come across this in my time reading forum posts.
So if I go to settings - backup and reset and do a factory reset from there.
I will lose all my data on internal storage, yes. But will the Android system boot into the same rom with Gapps and all just without any data at all? Allowing me to set it up as a new phone completely.
I'm on official Resurrection remix.
Edit - here's what I did. Thanks @Sam Nakamura
1. Clean flashed the ROM I wanted to use. (wipe everything except internal storage)
2. Booted into the ROM and set up Google account.
3. Booted into twrp and wiped internal storage.
4. Rebooted into system.
Everything is good as new. Setting it up from scratch now.
Isn't better doing it from recovery?
fabrquila said:
Isn't better doing it from recovery?
Click to expand...
Click to collapse
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
pranayysharma29 said:
Trying to find out how. Want to delete all data including internal storage.
Want to lose all apps, files. Basically exactly as a new phone, just with a custom ROM.
Click to expand...
Click to collapse
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
fabrquila said:
Just use wipe data/factory reset function in TWRP and use the advanced wipe options.
Click to expand...
Click to collapse
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
pranayysharma29 said:
And check everything, swipe to delete and reboot? But that way I won't have any rom or Gapps installed, will i?
Click to expand...
Click to collapse
Not if you don't wipe system partition, where ROM and Gapps are located. Just if something goes wrong, you should have a way to flash these zips. You can use TWRP to transfer them.
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
pranayysharma29 said:
Basically I'm not sure which partitions to wipe. As I don't know what is contained in which partition. Which is what I'm trying to understand
How to use twrp to transfer them? I lost you at that.
Click to expand...
Click to collapse
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Sorry for taking so much to reply, I didn't see notifications in the forum.
fabrquila said:
Wipe data, cache, dalvik, and internal storage partitions. Don't wipe system.
Data contains your apps. Cache works as cache for apps and dalvik has a similar function afaik. Internal storage stands for the internal memory, where files that you download, transfer or receive, are located.
I'm trying to say that you should have a backup of ROM and gapps just in case something bad happens, which I don't think. If that happens, just boot the phone in TWRP and plug it to a computer. Then transfer zip files of ROM and Gapps to internal storage, and then flash them. Voilá, clean ROM and full operative Gapps.
Click to expand...
Click to collapse
Thanks for the explanation about the partitions.
I managed to achieve what I set out for.
Did a clean flash of my ROM. Then went on to wipe internal storage in twrp. Now have a new rom and everything. But clean slate for internal storage.
Hi everyone, i want to encrypt my phone cause i am on a vacation. I am decrypted since day one and i am a little confused about encryption. TWRP is the latest by codeworx and i am decrypted on latest oos stable and xxx 7.7 and Weeb Kernel. When i flash the Rom again without no_verity, are my files on internal storage gone? Can i access them in TWRP? What are your experience? Thx in advanced, Time for some vacation
dd0s said:
Hi everyone, i want to encrypt my phone cause i am on a vacation. I am decrypted since day one and i am a little confused about encryption. TWRP is the latest by codeworx and i am decrypted on latest oos stable and xxx 7.7 and Weeb Kernel. When i flash the Rom again without no_verity, are my files on internal storage gone? Can i access them in TWRP? What are your experience? Thx in advanced, Time for some vacation
Click to expand...
Click to collapse
Hello, if you flash the rom without no verity but did not format internal storage afterwards, the phone won't boot.
You need to format internal storage so OxygenOS can encrypt the internal storage upon boot, but that's only possible if it's formatted before.
strongst said:
Hello, if you flash the rom without no verity but did not format internal storage afterwards, the phone won't boot.
You need to format internal storage so OxygenOS can encrypt the internal storage upon boot, but that's only possible if it's formatted before.
Click to expand...
Click to collapse
Okay, so a internal data Backup is important.
dd0s said:
Okay, so a internal data Backup is important.
Click to expand...
Click to collapse
Yeah it's a little bit inconvenient, but sadly the encryption cannot be forced otherwise on OxygenOS
strongst said:
Yeah it's a little bit inconvenient, but sadly the encryption cannot be forced otherwise on OxygenOS
Click to expand...
Click to collapse
Thx, this was helpful
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
FroZine said:
Hi,
Running latest evolution x rom and want to go back to miui. Simply wiped everything in twrp and installed xiaomi.eu rom - installation was successfully but when It's finish booting and the set-up screen should be there my screen just goes black and set-up screen is coming again and again and again and again. Even tried different miui ROMs. Was running completely fine a week before.
Any suggestions?
Click to expand...
Click to collapse
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
zerodynamyx said:
Did you leave your password/pin before you changed rom? Try deleting in TWRP and see if it helps.
Click to expand...
Click to collapse
Thanks for the reply but I don't have a pw/pin.
FroZine said:
Thanks for the reply but I don't have a pw/pin.
Click to expand...
Click to collapse
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
zerodynamyx said:
Sorry but I'm out of ideas then. I usually go back and forth xiaomi.eu and aosp but I haven't encountered this. I usually wipe cache, dalvik, data, and system. I also have to reboot to recovery after wipe before flashing xiaomi.eu to be able to mount the system partition.
Click to expand...
Click to collapse
I do the same
Mhm. I will try again this evening. Let's see.
I'm facing the same issue...
Coming from LOS, I flashed latest EU rom, wiped data and internal storage.
Now I'm looping at the setup screen "Just a sec..."
I removed the pin/pwd in TWRP but it didn't help
Did you format data?
IEATMILKA said:
Did you format data?
Click to expand...
Click to collapse
Yes, and internal storage
guilhem_h said:
Yes, and internal storage
Click to expand...
Click to collapse
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
IEATMILKA said:
Format data and then typed "yes"? Not "wipe data" .So that everything gets deleted except twrp?
Click to expand...
Click to collapse
Oh sorry I misunderstood, no I just wiped /data.
As soon as I copied the rom on my phone again I'll try that if I'm facing the same issue :good:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
It worked !! :good::good::good:
Saluzzo97 said:
I followed this steps to come back to MIUI from LOS:
1. Wiped everything (cache, internal, vendor, system, data)
2.After wiping I did "format data" and said "Yes"
3.Rebooted to recovery TWRP again
4.Mounted my phone on PC and copied rom.zip
5.Flashed the zip and reboot to system
Try this and it should work, for me did! Good luck!
Click to expand...
Click to collapse
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
FroZine said:
Oh boi. So when I wipe my internal storage it's not the same like formating data ? This was my mistake
Click to expand...
Click to collapse
I don't know precisely why, but yeah, it's not the same thing. In fact, I had problems too, but formatting data after total wipe resolved them
formatting data "Yes" is another thing that is important when you flash custom ROM or go back to stock ROM.
After flash the miui, go back wipe -> Factory Data -> Type (yes) -> restart
it will be works
Same here
I flashed fastboot rom to get device work again