When I create a
gzip image of
userdata partition (
/dev/block/mmcblk0p29) it creates huge 6.8GB image, previously it was 350MB.
Is it possible through command-line to erase or wipe or delete space on
userdata partition? I want to keep small compact compressed
gzip or shadow images of clean unrooted and rooted partition on various dates and times.
I tried the following commands but nothing worked for me:
fastboot erase userdata
rm -r /data/*.*
rm -r /sdcard/*.*
Still image is 6.8GB.
dd if=/dev/zero if=/dev/block/platform/7824900.sdhci/by-name/userdata bs=8192
dd if=/dev/urandom of=/dev/block/platform/7824900.sdhci/by-name/userdata bs=8192
/dev/urandom not found in device.
- iShredder 3 app
- Secure Eraser app
- Andro Shredder or Disk Sanitizer
But how will I format in unrooted while working in the Android userdata partition?
adb shellcommand to clear, format or zero fill