I should point out that it's set up as dual boot and the main system is on the SD card. I could just replace the card but I'd rather not have to rebuild everything.
It's hard to secure wipe an SD card iirc. Or any other Flash storage for that matter. This is due to wear leveling. I could be wrong but that's the overall idea I got from reading various sites and articles.
Copy several times big Files with only "00" Bytes on your device until the device is full. It would help in the most cases to secure delete enought for ever.
I have this exact same problem with my N900 (getting a replacement from Nokia because of a dead pixel). What i did was to just create big files that fill upp all remaining space on the devices, after I removed the passwords by normal means (rm):
Code:
dd if=/dev/urandom of=bigfile
If thats to slow, like when filling up the 26GB partition i did
Code:
dd if=/dev/zero of=bigfile
to fill it with zeros instead or pseudo-random data.
dd will give an error when the device is full. In my case I had to run it several times on my 26GB partition considering its formated with FAT32 which only supporst 4GB files.
However there might still be a problem with this, atleast with normal SSDs, I dont know how the flash in the phones are constructed.
In SSDs there is extra space to replace weared out cells on the device, which I think is inaccessible by normal means. If a cell is weared out it might also be so that you can read from it but not write, which means your password would permanently be left on there.
Though this is only theoretical, I might even be wrong :P
I have no practical tests to back up my claims.
Copy several times big Files with only "00" Bytes on your device until the device is full. It would help in the most cases to secure delete enought for ever.
Even that may not be sufficient. The flash cards have some extra cells in spare, and so your earlier data may have been rolled out and your 00 bytes go to other cells.
If you want to securely delete the content of the flash card: Just destroy the card completely.
Even that may not be sufficient. The flash cards have some extra cells in spare, and so your earlier data may have been rolled out and your 00 bytes go to other cells.
Yes, not the best method. And I know about the problem. But it is better than nothing.
And compare, how many bytes are images, mp3 or videos and how many bytes are your sensitive password files?
As a note, you can use a program like shred on a Linux desktop on the MMC device that the N8x0/N900 exports over USB (when it's unmounted), but as mentioned, that probably won't be terribly effective with flash memory. If you can't think of anything else, then you can always try it, but don't rely on it. Also be aware that if you're using a journalled file system on the card, it's usually a moot point anyhow.