[Galaxy S I9000 Q&A, Help & Troubleshooting] Michelangelo:
Hello everybody. I am facing INTERNAL SD CORRUPTION problem and hope this is the right thread where to post as many such articles have been found here.

When I try to format internal SD card via Windows (no Quick mode), repartition via adb, format via CWM, delete internal SD card via rm –rf, it does not work. File seems to be deleted until next mount of /sdcard or reflash.

I have tried many ROMs including PIT 512 file to reflash via Odin 1.3 or 1.85. Some of them stucked, some let me boot into Android but had problems with crashing applications.

JVU-RE, Ficeto JVB, Darky ROM 10.2 RE, ROMS with XWJVH/XXJVO/NEEJV3; XXJP2/XXJP2/OXAJP2; XXJVU/XXJVU/OXAJVU

I have been searching and trying for nearly a week. Would buy beers/whiskeys to the ONE who can help me to solve that. Thanks a lot for any valuable hint how to correct that.

FDISK

~ # fdisk -l /dev/block/mmcblk0p1

Disk /dev/block/mmcblk0p1: 6056 MB, 6056542208 bytes

4 heads, 16 sectors/track, 184831 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System

~ # fdisk -l /dev/block/mmcblk0p2

Disk /dev/block/mmcblk0p2: 2013 MB, 2013265920 bytes

4 heads, 16 sectors/track, 61440 cylinders

Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System

FSTAB

~ # more /etc/fstab

/dev/block/stl11 /cache rfs rw

/dev/block/mmcblk0p2 /data rfs rw

/dev/block/stl10 /datadata rfs rw

/dev/block/stl9 /system rfs rw

/dev/block/mmcblk0p1 /sdcard vfat rw

MOUNT

~ # mount

rootfs on / type rootfs (rw,relatime)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)

tmpfs on /tmp type tmpfs (rw,relatime)

/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)

/dev/block/mmcblk0p1 on /sdcard type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

DEV/BLOCK DIR

/dev/block # ls

bml0!c bml7 loop7 ram13 ram9 stl7 tfsr4

bml1 bml8 mmcblk0 ram14 stl1 stl8 tfsr5

bml10 bml9 mmcblk0p1 ram15 stl10 stl9 tfsr6

bml11 loop0 mmcblk0p2 ram2 stl11 tfsr0!c tfsr7

bml12 loop1 platform ram3 stl12 tfsr1 tfsr8

bml2 loop2 ram0 ram4 stl2 tfsr10 tfsr9

bml3 loop3 ram1 ram5 stl3 tfsr11

bml4 loop4 ram10 ram6 stl4 tfsr12

bml5 loop5 ram11 ram7 stl5 tfsr2

bml6 loop6 ram12 ram8 stl6 tfsr3

/dev/block # ls –l | grep mmcblk

brw------- 1 root root 179, 0 Apr 29 12:04 mmcblk0

brw------- 1 root root 179, 1 Apr 29 12:17 mmcblk0p1

brw------- 1 root root 179, 2 Apr 29 12:00 mmcblk0p2

PARTITIONING

/dev/block # parted mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

(parted) print

Model: MMC SEM08G (sd/mmc)

Disk /dev/block/mmcblk0: 8070MB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 32.8kB 6057MB 6057MB primary fat32 lba

2 6057MB 8070MB 2013MB primary lba

(parted) rm 2

rm 2

rm 2

(parted) rm 1

rm 1

rm 1

(parted) print

Model: MMC SEM08G (sd/mmc)

Disk /dev/block/mmcblk0: 8070MB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 32.8kB 6057MB 6057MB primary fat32 lba

2 6057MB 8070MB 2013MB primary lba

(parted) mkfs

mkfs

mkfs

Warning: The existing file system will be destroyed and all data on the

partition will be lost. Do you want to continue?

Yes/No? Yes

Yes

Yes

Partition number? 1

1

1

File system type? [ext2]? ext2

ext2

ext2

Error: Invalid superblock. Are you sure this is an ext2 file system?

Error: SEGV_MAPERR (Address not mapped to object)

Aborted

DMESG

/system/csc # dmesg

dmesg

S + ADB (Debugging mode)

<4>[ 58.641985] [composite_switch_work]config=0xc0d70b50

<3>[ 106.982404] FAT: Unrecognized mount option "check=no" or missing value

<3>[ 108.002658] FAT: Unrecognized mount option "check=no" or missing value

<3>[ 108.876726] FAT: Unrecognized mount option "check=no" or missing value

<4>[ 114.816057] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM

<4>[ 114.816079] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:6) / 1171 line

<4>[ 114.816118] [SIF:INF] ===> STL Clst[ 3] Scan Root Info

<4>[ 114.816710] [SIF:INF] ===> STL Zone[ 3, 0] Open Zone Meta

<4>[ 114.818579] [SIF:INF] Latest Header Index ( 8) Vbn ( 10)

<4>[ 114.819247] [SIF:INF] Latest Header Clean Page Offset ( 5)

<4>[ 114.819257] [SIF:INF] POR write timer : 0x6

<4>[ 114.819519] [SIF:INF] Latest Context BlockIdx ( 8) Offset ( 4) Vpn ( 644)

<4>[ 114.819657] [SIF:INF] Number of Free Block ( 22)

<4>[ 114.819665] [SIF:INF] Active Log List : Num ( 0)

<4>[ 114.819676] [SIF:INF] ===> STL Zone[ 3, 0] Open Zone Post

<4>[ 114.819686] [SIF:INF] ===> STL Zone[ 3, 0] Validity check

<4>[ 114.819706] [SIF:INF] Partition [0, 23] open is success

<3>[ 116.209628] FAT: Unrecognized mount option "check=no" or missing value

<3>[ 144.052742] FAT: Unrecognized mount option "check=no" or missing value

<4>[ 182.622852] [BIF: ] FSR_BML_Close(nVol: 0, nFlag: 0x0, nOpenCnt: 5)

<4>[ 183.623957] [SIF:INF] INACTIVATED LOG BLOCKS nDgn( 4) nVbn( 95) nCPOffs( 33)

<4>[ 183.627334] [SIF:INF] INACTIVATED LOG BLOCKS nDgn( 0) nVbn( 96) nCPOffs( 3)

<4>[ 183.627851] [SIF:OUT] --FSR_STL_FlushAllMetaInfo()

<4>[ 183.627880] [BIF: ] FSR_BML_Close(nVol: 0, nFlag: 0x0, nOpenCnt: 4)

<4>[ 186.121411] [BIF: ] FSR_BML_Close(nVol: 0, nFlag: 0x0, nOpenCnt: 3)

<3>[ 1511.603164] init: untracked pid 673 exited

<7>[ 1741.143938] max8998_charging_control : chg(0) cable(1) dis(0) esafe(2) bat(76,0,0)

<7>[ 1741.144150] [TSP] TA NON-Detect!!!

<3>[ 1771.984929] init: untracked pid 680 exited

<7>[ 1801.268706] max8998_charging_control : chg(1) cable(1) dis(0) esafe(2) bat(76,0,0)

<7>[ 1801.269545] [TSP] TA Detect!!!

<4>[ 2833.138728] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM

<4>[ 2833.138751] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:4) / 1171 line

<4>[ 2833.138790] [SIF:INF] ===> STL Clst[ 2] Scan Root Info

<4>[ 2833.139382] [SIF:INF] ===> STL Zone[ 2, 0] Open Zone Meta

<4>[ 2833.146141] [SIF:INF] Latest Header Index ( 16) Vbn ( 18)

<4>[ 2833.146829] [SIF:INF] Latest Header Clean Page Offset ( 6)

<4>[ 2833.146839] [SIF:INF] POR write timer : 0x6

<4>[ 2833.147222] [SIF:INF] Latest Context BlockIdx ( 16) Offset ( 5) Vpn ( 1157)

<4>[ 2833.147363] [SIF:INF] Number of Free Block ( 26)

<4>[ 2833.147372] [SIF:INF] Active Log List : Num ( 0)

<4>[ 2833.147382] [SIF:INF] ===> STL Zone[ 2, 0] Open Zone Post

<4>[ 2833.147392] [SIF:INF] ===> STL Zone[ 2, 0] Validity check

<4>[ 2833.147414] [SIF:INF] Partition [0, 22] open is success

<4>[ 3354.057290] [BIF: ] FSR VERSION: FSR_1.2.1p1_b139_RTM

<4>[ 3354.057313] [BIF: ] FSR_BML_Open(nVol:0, nFlag:0x0, nOpenCnt:5) / 1171 line

<4>[ 3354.057353] [SIF:INF] ===> STL Clst[ 4] Scan Root Info

<4>[ 3354.057959] [SIF:INF] ===> STL Zone[ 4, 0] Open Zone Meta

<4>[ 3354.058837] [SIF:INF] Latest Header Index ( 2) Vbn ( 4)

<4>[ 3354.059650] [SIF:INF] Latest Header Clean Page Offset ( 6)

<4>[ 3354.059660] [SIF:INF] POR write timer : 0x10

<4>[ 3354.059805] [SIF:INF] Latest Context BlockIdx ( 2) Offset ( 5) Vpn ( 261)

<4>[ 3354.059946] [SIF:INF] Number of Free Block ( 9)

<4>[ 3354.059955] [SIF:INF] Active Log List : Num ( 0)

<4>[ 3354.059965] [SIF:INF] ===> STL Zone[ 4, 0] Open Zone Post

<4>[ 3354.059975] [SIF:INF] ===> STL Zone[ 4, 0] Validity check

<4>[ 3354.059993] [SIF:INF] Partition [0, 24] open is success