Galaxy S II 16GB 2.5 Years old.
I friend came to me with a problem : Waze can't start because it complains no access to sdcard (internal, no external present)
A bit fiddling and I see /storage/sdcard0 is mounted as RO!
I remount as RW, and I can now start waze, but as soon as I use the phone further, the mount reverts to RO.
I try to format it via recovery (philz) but it fails deleted odd named files in DCIM/Camera/cache.
So I try to delete the files myself but it fails.
Next up, I mount usb storage in recovery, and run windows Checkdisk, it finishes while fixing some stuff, the format still doesn't work.
Eventually using Minitool I am able to format it. BUT, now, when I boot android, it says the internal storage is damange, and attempt to format it via Android fails always.
Still, when I boot into philz, and mount usb storage, i can browse it via my W7 PC, copy and delete files freely. So I guess something is not mounted or formatted correctly. I decide to reinstall stock rom with Odin + repartition.
So I take pit file from a thread that aims to increase /data at the expense of internal storage, and I find the stock pit there and use it.
Rom flashes fully, but sdcard still not working.
What I want to do is :
Boot into Recovery and use Android commands to properly mount/map this so the phone recognizes it.
I have linux knowledge, I know how to get around a linux shell and use VI and permissions etc. I also messed sometimes with fstab on a pc to set up mount points, so I am not a complete stranger. I am rooted and need help
Any help would be appreciated.