TeamWin / Team-Win-Recovery-Project

Core recovery files for the Team Win Recovery Project (T.W.R.P) - this is not up to date, please see https://github.com/TeamWin/android_bootable_recovery/
http://twrp.me
1.95k stars 741 forks source link

Format Data just screw up the partition(/sdcard is Internal Storage) #1544

Open ZetaAquilae8474 opened 4 years ago

ZetaAquilae8474 commented 4 years ago

Device codename: m2note TWRP version: 3.1.1-0

WHAT STEPS WILL REPRODUCE THE PROBLEM?

in wipe,i just chouse Format Data,but before that i remove my sdcard(restart the twrp of course)

WHAT IS THE EXPECTED RESULT?

can full format the data internal storage system,without formating sdcard

WHAT HAPPENS INSTEAD?

without plugin my sdcard,my card all data just complete gone,and if i choose internal storage,the folder is /sdcard,my sdcard's folder is /external_sd

ADDITIONAL INFORMATION

i use this https://forum.xda-developers.com/meizu-mx/development/howto-flash-twrp-flash-cm-gapps-t3467516 for my twrp

/tmp/recovery.log: https://paste.omnirom.org/view/3a540250 dmesg:

Senliast commented 4 years ago

It is normal behaviour. /sdcard is only a simlink to a folder within /data. So, if you format /data, also /sdcard gets formatted. If you WIPE /data - only settings and apps will be gone, not /sdcard.

ZetaAquilae8474 commented 4 years ago

It is normal behaviour. /sdcard is only a simlink to a folder within /data. So, if you format /data, also /sdcard gets formatted. If you WIPE /data - only settings and apps will be gone, not /sdcard.

so why my Internal Storage is saying this is /sdcard folder,and when i trying install os is immediately restart the recovery.