[Galaxy Ace S5830i General] tupac17:
E:failed to mount /data (Invalid argument)

Hello people I've got a bit of different problem from all of you...

Yes my device is

s5830i

.

I previously had:

ROM: CM7.2 RC3 ROM (downloaded from: http://www.bieltv3.blogspot.in/2013/08/rc3-cm72-s5830i-is-out.html )

Kernel: Kernel v 2.0 #5 (downloaded from: http://www.bieltv3.blogspot.in/2013/08/kernel-v-20-5-is-out-for-s5830i.html )

Why I chose to uninstall this ROM is because my IMEI was gone :( so i thought of going back to stock ROM using ODIN hoping to get back my IMEI. I did all the steps stated to unbrick my device.

For honesty reasons I shall tell you people that I followed the steps from this exact thread: http://xdaforums.com/showthread.php?t=1840645
And I followed the 3rd point on the first post by OP. But this doesn't change anything..or does it?

Everything went as it was supposed to and i didn't look carefully at everything happening on the device screen as i had done this before too(those times i had no problem at all). But after last night's unbricking something went wrong, device was stuck samsung logo boot loop. So I installed stock ROM once again by using ODIN. It still didn't work! :confused:

Now i thought i should wipe data(including system)/cache/dalvik before installing stock ROM once again. This is when i realised the weird thing. When i chose to wipe data in CWM 5.0.2.6 it came up with an error. The error stated this (exactly this.)

-- Wiping data...
Formatting /data...
Error mounting /data!
Skipping format...
Formatting /cache...
Formatting /sd-ext...
Formatting /sdcard/.android_secure...
Data wipe complete.

I ignored this error and thought maybe this is normal and went ahead with installing my STOCK ROM using odin. Everything happened smoothly but the output wasn't the desired one. Once again my device was stuck on SAMSUNG logo boot loop.

I thought doing the whole process of unbricking once more might fix the issue and went ahead did it again and this time I realised a new unusual thing again. You know when the phone boots once by itself just after the process by ODIN on pc is over and some lines of code comes and vanishes in a few seconds and then reboots again for the final time(finally for using the device as it should be) this is where i realised the unusual thing.

I had the following error (exact same words)

Finding update package...
Opening update package...
Installing update...

-- Appling Multi-CSC --
Multi_CSC : there are common apks
multicsc : src /system/csc/INS/system/ .
Formatting /cache...

-- Appling Multi-CSC --
Multi_CSC : there are common apks
multicsc : src /system/csc/INS/system/ .
E:failed to mount /data (Invalid argument)
E:copy_log_files_to_date :: can't mount /dataRebooting...

And after this the device reboots and gets stuck on the SAMSUNG logo boot loop.

Please help me with your knowledge. __/\__ :(

I guess none of you people have come across situation like this [I might be completely wrong but i'm just saying that because i failed to find anything related to this on this site (i used search to find my problem and i didn't look into every section and thread manually)] so I think this might interest some of you to face a new challenge.

Just to save both our precious time I should tell you that I'm not really a noob (I know a little bit) but not an expert also.

And I really hope that this is the right place to ask this question. If not please tell me the right place and I'll post it there.

THANKS in advance for even trying.

SOLVED:

A really big thank you to

freakzoide

SOLUTION (to anyone who needs it in future):

http://xdaforums.com/showthread.php?p=33763805&highlight=error+mounting#post33763805