[Android General] kamikaze_in:
Finally!!!!

Finally....

The problems i have faced with SGS since upgrade to ICS, i think i can now direct a movie on it "SGS - The Unexpected Journey" ;) who knows some SGS fans might actually love it. Anyways firstly there's credits to be distributed

@CheekyLord: thanks for all the references and suggestions, i didn't know about that dbdata.rfs thanks for letting me know about that and also treating my phone issues as your own :)

@kasper_h: thanks for all your input and help

@fteller: thanks for making a high quality video so as i can atleast show what i was facing plus for your solutions

Now the real deal, for those having SGS and facing a corrupt internal SDcard can view the video created by fteller here

he has used linux to format the microsd card in my case i used windows app which i will reveal after a recap of my issue.

Firstly a Recap

one fine day while browsing, my phone suddenly switched off, when i turned it on it threw me the dreaded error

after which i didn't know what to do so i simply resetted it and from there on my worst nightmares became a reality, my phone wont boot and simply threw the errors in recovery "error mounting sdcard".

what happened from there on is very much visible in my first post and also the efforts of people credited above in helping me get rid of the problem.

In the video the partitioning is done via linux, so for those who want a windows solutions for formatting and partitioning your sd cards read on

Tools needed

1) MiniTool Partition Wizard Home Edition

2) a Micro SD card 8GB (class 6) or better

3) All in one SD card reader

4) a semi bricked phone like mine

Install the application and connect your Micro SD card via the card reader to your PC

Right click on your SD card drive and click on split, then create a partition of 2048MB as shown in the pic

Right click on the newly created 2GB partition and select format. choose ext4 as shown in the pic

Again right click on it and select modify set partition as primary as highlighted in the pic.

After making the changes make sure that BOTH the partitions are primary and 1 partition is FAT32 while the other is ext4, Click on Apply to initiate formatting and partitioning of your SD card as shown in the pic

when the task is completed it will show the following

Now insert your new SD card in SGS and re flash GB 2.3.6 via ODIN then root it via ODIN.. enjoy note: to continue with ICS you can follow the rest of the video, and if during the tutorial ADB commands and SU is not working for you in replacing "vold.fstab" from emmc to /system/etc and vice versa read on for another workaround

1) Once ICS is installed go to market and download SU and busybox, make sure your binaries are up 2 date.

2) download ES file manager from market

3) open ES file manager> setting>root settings

make sure these options are ticked

4) now browse to /emmc and press and hold vold.fstab and open as text file

make the neccessary changes as shown in the video, then simply copy that file and replace the one in /system/etc, it will throw a pop up "do you wish to overwrite" select yes and reboot your phone

voila now your /sdcard is /emmc :)

updating my phone to custom ICS roms has been a more of a bane than boon so i would suggest for the tutorial purpose go with the official AOKP ROM, also i was unable to get a thread where i can actually recover my internal SD card so your ROM will be forever synced with SD card, the encryption was a part of ICS build from scratch, Read here to know more about it.

the only conclusive reason i could furnish as to why it happened with my device was that maybe due to the work i was executing on my phone when the charge was extremely low.

here is a direct quote from that article

since we have APP2SD for most applications i guess that's what triggered this issue, the encryption process didn't complete due to lack of power

so guys don't browse or play on your SGS powered by ICS or JB when your power is extremely low :)

caio till next time

Note: just for GAGS you can reproduce the "Encryption unsuccessful" error by simply removing your microSD/SDHC/SDXC card and start the phone :laugh: