View Single Post
Old 05-07-2012, 10:10   #1 (permalink)
FEATURE GSM™
No Life Poster
 
FEATURE GSM™'s Avatar
 
Join Date: May 2006
Location: I Love Walking In The Rain Bec
Posts: 1,698
Member: 276151
Status: Offline
Sonork: 100.1577032
Thanks Meter: 234
Donate money to this user
Thumbs up [Guide] Samsung P1000 with a corrupt internal sdcard - Solution here

I recently fixed a P1000 with a corrupt internal sdcard - I thought I'd share my experience.

The Symptoms

When Booting the device got stuck at the Samsung Logo Screen
ODin/Heimdall fails on any rom which include an hidden.rfs and movinand.mst
ODin/Heimdall report success when flashing flashing roms without hidden.rfs and movinand.mst
Recovery Mode reports errors after flashing. The error is different depending on which rom was flashed but are all related to file system functions.

Internal MMC checksum verify failed.
E: failed to mount /system (invalid argument)
E: failed to mount /dbdata (Invalid argument)
E: /dev/block/mmcblk0p2 on /data failed: No such file or directory
E: copy_dbdata_media:Can't mount /dbdata

The Problem
The recovery errors alone are not enough to diagnose the problem as they can also occur if flashing has been carried out incorrectly.

The main pointer to an Internal SDCard Failure is the inability to flash hidden.rfs and movinand.mst
You should be able to confirm this to be the case by running dmesg on the device using adb from the command prompt
Code:

adb shell dmesg

My output contained the following line:
Code:

<3>[ 4.802004] mmc0: error -110 whilst initialising MMC card

The Solution
Normally you should be able to RMA this as it is an hardware failure.
However as warranties expire or you just can't be bothered to wait here is an alternative solution

1. Format the external sdcard with 3 parititions (you can probably get away with 2) I used a 32 GB card with the follwing

Partition 1: 28 GB Fat 32 (sdcard partition)
Partition 2: 4 GB ext4 (data partition)
Partition 3: 100MB Fat 32 (preload partition)

If you want more space for app, make the data partition larger

2. Flash Latest Rom. I used XWJQ8 but I also flashed XXJPZ Successfully and I don't think it makes alot of difference

I Used Heimdall for this and I flashed everything. Odin should do the Job as long you remove hidden.rfs and movinand.mst from the tar balls

Code:

heimdall flash --repartition --pit gt-p1000_mr.pit --primary-boot boot.bin \
--cache cache.rfs \
--factoryfs factoryfs.rfs \
--modem modem.bin \
--param param.lfs \
--secondary-boot Sbl.bin \
--kernel zImage --recovery zImage


3. Flash latest Overcome Kernel 4 which can be downloaded from the teamovercome download page

4. Boot To Recovery ( You should now see Clockwork Recovery Mod )

5. edit /system/etc/vold.fstab on the device to look like the following

Code:

# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = disable
discard = disable
format_option = -r 1558
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1

# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
}
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2 /devices/platform/s3c-sdhci.2/mmc_host/mmc1

6. Reboot, System Should now functioning normally.

Note: First boot takes a while. if you are worried or think it is boot looping, you can watch the output using adb logcat

You should now have a working galaxy with the added bonus of a re-sizable data partition.
don't forget thanks button
  Reply With Quote
The Following 6 Users Say Thank You to FEATURE GSM™ For This Useful Post:
Show/Hide list of the thanked
 
Page generated in 0.11999 seconds with 7 queries