After playing with partitioning using FDISK (from busybox) i finished and now i want to format it back to whatever is usable under Android.
Using same FDISK via Android console i deleted all partitions, made a clean DOS partition table, made a new partition and changed its type to b (Win95 FAT32).
I got no microSD adapter to read the card from my linux PC and format it there.
What should i do to format it into a usable condition?
2 Answers
Summing up from the comments:
With BusyBox, Android provides tools for formatting from the command line. In your case, this would be /system/sbin/mkfs.vfat
. This is reported to sometimes throw an error like:
mkfs.vfat: lseek: Value too large for defined data type
According to this XDA thread, this is the fault of Busybox. Using a different version (as reported in post #12 of that thread) should solve the issue -- and did it in your case, luckily.
Android has built-in formatting capabilities that are usually available via Settings -> Storage -> Format SD card
(or something similar depending on the device you use).
mkfs.vfat
in/system/sbin
for this.mkfs.vfat: lseek: Value too large for defined data type
everytime.