0

I flashed custom rom on my device,and while doing so by recovery,there were some steps,viz. 1.wipe data 2.wipe cache partition 3.install zip. My question is what does wipe data actually do? I know that it takes back my phone to factory version. But does wiping data,or wiping cache partition means that all of my device's internal memory is released, i.e is my device's default o.s is also gone ??

2

Like what you said, wiping /data is equivalent to factory reset - you will lose installed apps, system settings, etc. - basically all you've done to the phone since the last reset - BUT minus internal storage contents (i.e. music, video, whatever you can see when you connect your phone to the computer). Unless the recovery explicitly states "wipe /data/media", it should never wipe internal storage.

Also, wiping /data will not touch /system, therefore the OS is preserved. You can choose to manually format it should the need comes up. However, when you flash a new custom ROM, /system will be altered. The default behaviour in older custom ROMs is adding what's in the custom ROM package to /system (stuff from the prior ROM will remain), but as of now the norm is just fully overwriting /system with the new package, which is faster and saves you a step of wiping /system.

  • That means the default o.s is preserved in falshing a custom rom.. – hiren_garai Nov 12 '16 at 11:03
  • Is it possible to wipe the default o.s??? If possible wiping,then is it possible to recover the o.s if a nandroid backup is previously done?? – hiren_garai Nov 12 '16 at 11:05
  • No it's not. Did you read the 2nd paragraph carefully? "...when you flash a new custom ROM, /system will be altered." Depending on which of the 2 situation I described you're in, there might be bits of the original OS remaining, but you will nonetheless boot into the new one you flashed. – Andy Yan Nov 12 '16 at 11:28
  • Just wiping /system will get rid of it. As long as your nandroid backup covers /system (CWM covers it by default, while TWRP lets you choose whether it's included) and your partition table is compatible (usually you don't need to worry about this), you can restore it to go back to that OS. – Andy Yan Nov 12 '16 at 11:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.