how can I format sdcard from recovery or fastboot?

farisallil

Member
Jun 5, 2011
37
2
28
my i9020T is frozen on google logo but I want to format the Sdcard before sending it for repair. how can I do that?

I tried formatting it using CWM recovery but everything comes back when "Edit: I reboot the phone into recovery again."

I also tired mounting the usb storage and formatting it through my pc but didn't work!

please help

I have both adb and fastboot working. Are there any commands that I can run to format it from these two? or is there any other way at all?
 
Last edited:

deeren

Senior Member
Nov 30, 2008
1,320
304
0
Vaud
my i9020T is frozen on google logo but I want to format the Sdcard before sending it for repair. how can I do that?

I tried formatting it using CWM recovery but everything comes back when I restart the phone.

I also tired mounting the usb storage and formatting it through my pc but didn't work!

please help

I have both adb and fastboot working. Are there any commands that I can run to format it from these two? or is there any other way at all?
you said that the phone is frozen at google logo. how come you are able to verify ...that everything comes back when you restart? details please.
If you are able to mount the usb, try just deleting the files manually instead of formating.

A second option would be to:
fastboot oem unlock

actually fastboot oem lock doesnt wipe your phone and card; only the fastboot oem unlock function does. so you could try locking and unlocking again.
 

farisallil

Member
Jun 5, 2011
37
2
28
you said that the phone is frozen at google logo. how come you are able to verify ...that everything comes back when you restart? details please.
If you are able to mount the usb, try just deleting the files manually instead of formating.

A second option would be to:
fastboot oem unlock

actually fastboot oem lock doesnt wipe your phone and card; only the fastboot oem unlock function does. so you could try locking and unlocking again.
The phone does not boot up correctly and it stays frozen on the logo after rebooting. By mounting the usb storage again after rebooting, I see everything come back. You are right, I should have explained that in details, sorry.

I tried deleting files manually but didn't work.

I feel there is kind of protection on the sdcard! because even when I push files to the sd using adb or fastboot, they stay there as long as I don't reboot the phone. Once I reboot the phone into recovery again, bang, they are gone and only old files are there.