Please do Code: sudo gainroot badblocks -svnf /dev/mmcblk0p2 -o /home/user/MyDocs/badblocks.txt This will create a file with the list of all the badblocks of the internal card on that partition. Please attach that file to the next post for further examination. Seems like some of the first blocks of that partition are corrupted, preventing the creation of a new file system...
sudo gainroot badblocks -svnf /dev/mmcblk0p2 -o /home/user/MyDocs/badblocks.txt
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Until 8388598 8388599 8388600 8388601 8388602 8388603 8388604 8388605 8388606 8388607