Hacker News new | ask | show | jobs
by grishka 2164 days ago
That's how factory reset works on Android — it simply erases the entire /data partition, which is the only one normally mounted read-write. Recovery might subsequently initialize an empty file system there, but bootloader certainly does not. (you're usually able to do a wipe from both)

The OS itself then initializes it all from scratch on the first boot.