Friday, June 29, 2012

How to format the SDCard through ADB in Android?


shailesh@shailesh-desktop:~$ adb -e shell rm -r /mnt/sdcard/*

2 comments:

  1. I get an error: "Device not found". But if I just do adb shell, then I can get into the shell.

    ReplyDelete
  2. Goto android sdk platform-tools folder press shif + right click open command window here write adb devices you can find your device if more device then it may be give you error

    ReplyDelete