[Galaxy Tab Q&A, Help & Troubleshooting] trevd:
This might help

Hi jacopo3001

EDIT: The Method Below will allow the P1000 to boot from an externel sdcard. However, A number of bundled applications do not work as expected (e.g Camera, Downloads ) due to the lack of a 2nd sdcard.

You may be in luck because I have just managed to restore a P1000 that was experiencing this very problem.

To answer your questions:

Are hidden.rfs and movinand.mst foundamentale to run Android (I read on forums that they are not..)?

Hidden.rfs contains a couple of extra applications so not really important to this mission.

I don't have enough knowledge yet of exactly what the movinand but I have never successfully flash and I no longer try.

how bad it is if I cannot mount /data, and /dev/block/mmcblk0p2 does not exist?

Not that bad it would seem. once you understand what the message is telling you it becomes trival to address

how can I fix this problem or what should I be checking?

Create the missing partitions on the External SDCard (/dev/block/mmcblk0) and Reflash using overcome as the kernel and the rest as stock. Simple. :)

Why this works:

The internal flash memory is no longer readable by the device, to the point where is not identified by linux. This is possibly due to hardware failure or maybe to do with the files that failed to flash correctly.

What this means is that the external sdcard is the only mmcblk device on the system and is numbered as such mmcblk0 where it used to be mmcblk1. This actually pretty helpful to us. So far, So good. I will also add that mmcblk[X] is the full card. Any partitions you or anyone create on the card have the following naming/number scheme mmcblk0p1. note the "p" for partition. :D

The Error Message

OK... Let's fix the the error that is giving us the problem. Edit:

Armed with this little knowledge of what /dev/block/mmcblk0p2 is; The 2nd parition on the first and only sdcard on the device; We need to ask how many partitons does the sdcard contain.

If you type the following into a terminal window

adb shell ls /dev/block/mmcblk*

this will return the list of mmc block devices on the system. you will probably find you are missing /dev/block/mmcblk0p2; as reported by your error message.

We can double check we are dealing with the external sdcard by popping it out and running the command again. We should now get nothing back.

Partition the sdcard

You can repartition the card in most good disk management tools. So repartition the sdcard using either fat or ext4 as the file system.

I've done alot of testing today with different configs on a P1000 that was handed to me 6 months ago has been bricked it at 1 point. It ended up being a lucky brick as it gave me access to the dev-board features. I've also tried random combo's of bootloaders etc and I am quite suprised it came back to life like it did.

The Point being that this may not work for everyone but I can get it to give me the exact same error message as you, so hopefully it should help you on your way.

Currently the test set up is a 2GB Sdcard with 2 partitions, this doesn't allow for any external sdcards but I wanted to see what was the minimum I could use.

I have used the OverCome Kernel because the stock kernel doesn't give adb output straight off (I've not got round to CF-Root Yet).

I got the stock Image to flash without error by using 3 partitions and creating an "app" folder in the root of the third partition

This is a current setup and will load into android (for me at least!)

~ # parted /dev/block/mmcblk0 print

Model: SD SU02G (sd/mmc)

Disk /dev/block/mmcblk0: 2033MB

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

Partition Table: msdos

Number Start End Size Type File system Flags

1 31.7kB 1000MB 1000MB primary ext4

2 1000MB 2032MB 1032MB primary ext4

You can give the partitions any size you like. I'm unsure of any limits regarding smallest or largest partition sizes because I haven't looked into it yet

I would flash the stock Image first, I used heimdall with the following command line

Use the following line for p1000xxjq1 p1000xxjq1 p1000xxjpz

heimdall flash --repartition --pit gt-p1000_mr.pit --primary-boot boot.bin --cache cache.rfs --factoryfs factoryfs.rfs --modem modem.bin --param param.lfs -ls --dbdata dbdata.rfs --kernel zImage

After this has flashed it should reboot into download mode (you need to reboot back into download mode) :)

Next flash the OverCome Kernel

heimdall flash --kernel zImage --recovery zImage

The Tablet should now reboot and load android. You can now do adb logcat and watch the output messages while it loads.

It will take some time first time around but without the benefit of logcat I would be tempted to think it had boot looped. :).

There are things that currently don't work on android with regards to the External Storage being not available (Hey! I was using that to boot the system). This should be easily fixed by added the missing devices at boot time.

In Summary:

It really is as simple as partitioning the external sdcard as that is the device at /dev/block/mmcblk0.

My apologises if some of this doesn't make sense. I've been adding to it through out the day as I've been playing around....... Yes that's right, it took a full day to write a post. :D

You should get here real soon: