Project

General

Profile

Error when trying to format SD card

Added by Daniel Alsace 29 days ago

It displays the message which propose to format the sd as external storage or as internal storage, I tested both but more external, it crashs when it displays 20% formatting.

My SD card is a new verbatim, I formatted it in my computer two times


Replies (10)

RE: Error when trying to format SD card - Added by Kurtis Hanna 27 days ago

Hello Daniel,

Thanks for using Replicant and for telling us about this issue that you are having.

Did you try both ext4 and FAT32?

What device are you using?

-Kurtis

RE: Error when trying to format SD card - Added by Daniel Alsace 26 days ago

It seems that androïd made awful what is cristal clear with regular linux distributions (gksudo gparted, fat32, and it's recognized by any file manager!)

I tried to format with computer in both ext4 and FAT32 formats (when trying to put sd card with ext4 in phone, it says that filesystem is corrupted!! and then fails to format)
I tried with gparted to delete the partition in order to have "nothing", the phone has the same error.

I'm using the samsung galaxy s3 i9300.

Here's the error message:
command '8 volume partition disk:179_16 public' failed with 'null'

RE: Error when trying to format SD card - Added by Kurtis Hanna 26 days ago

Have you tried saying "no" when asked by Replicant to format the SD card?

RE: Error when trying to format SD card - Added by Daniel Alsace 25 days ago

It seems there is no possibility to say no!

RE: Error when trying to format SD card - Added by Kurtis Hanna 25 days ago

Hello Daniel,

I'm sorry for the trouble you are having. Can you try formatting the SDcard as exFAT to see if the message still comes up?

It looks like this solution might have worked for other Replicant users.

Here's instructions on how to do it in Replicant without using GNU/Linux: https://redmine.replicant.us/issues/1798#note-7

-Kurtis

RE: Error when trying to format SD card - Added by Daniel Alsace 24 days ago

I tried with exfat:

sudo mkfs.exfat /dev/mmcblk0

The phone says the SD card is corrupted, and then shows the same error when trying to format.

RE: Error when trying to format SD card - Added by Kurtis Hanna 24 days ago

Hello Daniel,

Can you try this command instead?

mkfs.exfat /dev/block/vold/public\:179_11

As I mentioned earlier, this was recommended here: https://redmine.replicant.us/issues/1798#note-7

-Kurtis

RE: Error when trying to format SD card - Added by Daniel Alsace 24 days ago

ok, sorry.

It doesn't work:

root@i9300:/data # mkfs.exfat /dev/block/vold/public\:179_16
mkexfatfs 1.2.3
Creating...
Creating... ERROR: failed to erase block 1/1 at 0x1800.

RE: Error when trying to format SD card - Added by Daniel Alsace 14 days ago

Androïd is such a strange bloatware!

I put in the phone the SD card which was used to install replicant (which was a little bit used), and it works!

I will take it for the phone (transfer all datas), and take the verbatim for the computer.

It's really strange!

RE: Error when trying to format SD card - Added by Kurtis Hanna 14 days ago

That is strange. I'm glad it worked out in the end for you, though! Thanks for responding to the thread to let us know what ended up happening!

    (1-10/10)