[Galaxy Tab General] crayo:
corrupted internal sdcard

Hello guys. I have a problem with my Samsung Galaxy Tab, my internal sdcard is corrupted :(. I tried to use Odin as well as heimdall to flash my device with any custom firmware, it didn't work (no internal sdcard). Finally I tried the MIUI firmware (I tried CM7 as well but didn't like it) based on CWM Recovery v5.0.2.7. Somehow it recognised my external sdcard as internal one :). As a result I have two partitions in my system that correspond to my external sdcard:

C:\tools>adb shell
~ # fdisk -l /dev/block/mmcblk0
fdisk -l /dev/block/mmcblk0
Disk /dev/block/mmcblk0: 16.0 GB, 16021192704 bytes
255 heads, 63 sectors/track, 1947 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 1818 14597656 c Win95 FAT32 (LBA)
/dev/block/mmcblk0p2 1818 1948 1048039+ 83 Linux
~ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
print
Model: SD NCard (sd/mmc)
Disk /dev/block/mmcblk0: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 14.9GB 14.9GB primary fat32 lba
2 14.9GB 16.0GB 1073MB primary ext4

But the system see only partition 2 (ext4) as an internal memory. Partition 1 is missed although I can see it in recovery mod and install firmware from it. sdcard is unavailable in the android system. So I can download and use only small aplications that don't require sdcard. But I can't deal with apps, that asks for sdcard. I need to make MIUI see my partition 1 as an sdcard, but I don't know how to do that. I suppose the solution is in editing

"/system/build.prop"

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MIUI-XJ
ro.build.display.id=MIUI.2.3.10
ro.build.version.incremental=2.3.10
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
ro.build.date=Fri Mar 10 11:56:49 CST 2012
ro.build.date.utc=1331265409
ro.build.type=userdebug
ro.build.user=xjmod
ro.build.host=builder
ro.build.tags=test-keys
ro.product.model=GT-P1000
ro.product.brand=samsung
ro.product.name=P1000
ro.product.device=galaxytab
ro.product.board=GT-P1000
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Samsung
ro.product.locale.language=en_us
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=s5pc110
# ro.build.product is obsolete; use ro.product.device
ro.build.product=galaxytab
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=galaxytab-userdebug 2.3.7 MIUI 2.3.10 test-keys
ro.build.fingerprint=samsung/galaxytab/galaxytab:2.3.7/MIUI/2.3.10:userdebug/test-keys
# end build properties
#
# system.prop for smdkc110
#
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d[SPACE]/dev/s3c2410_serial3
ro.sf.lcd_density=240
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.opengles.version=131072
wifi.interface=eth0
wifi.supplicant_scan_interval=20
ro.telephony.ril_class=samsung
# mobiledata.interfaces=eth0,pdp0
mobiledata.interfaces=pdp0,eth0,gprs,ppp0
dalvik.vm.heapsize=48m
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
ro.kernel.android.checkjni=0
dalvik.vm.checkjni=false
ro.removablemounts=/mnt/sdcard/external_sd
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.url.legal=
ro.url.legal.android_privacy=
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.setupwizard.mode=OPTIONAL
ro.com.android.dataroaming=false
ro.ril.enable.managed.roaming=1
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
persist.sys.mitalk.enable=false
ro.moddevice=P1000
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=ClassicAlarm.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
#
# XJ ADDED BUILD PROPERTIES
#
ro.telephony.call_ring.multiple=false
ro.telephony.call_ring.delay=1000
ro.additionalmounts=/mnt/emmc
ro.phone_storage=1
ro.gps.soket=/data/gpspipe
ro.sf.hwrotation=90
ro.modversion=MIUI-XJ-GT-P1000
ro.setupwizard.enable_bypass=1
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=false
stagefright.enable-player=false
phone.ril.classname=com.android.internal.telephony.SamsungRIL
dev.sfbootcomplete=0
# LTTLDVL
video.accelerate.hw=1
ro.media.enc.jpeg.quality=100
ro.HOME_APP_ADJ=1
debug.performance.tuning=1

and "/system/etc/vold.fstab"

## Vold 2.0 Generic fstab
## - San Mehat (san@android.com)
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
dev_mount sdcard /mnt/sdcard 1 /devices/platform/s3c-sdhci.0/mmc_host/mmc3
# external sdcard
dev_mount sdcard/external_sd /mnt/sdcard/external_sd auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1 /devices/platform/s3c-sdhci.2/mmc_host/mmc2
#end line ## keep this line

I tried to correct these two files in different ways but no result at all. I know that the solution of my problem is very close and I suppose it is simple. I'll be glad to get any sugestion in solving my problem.