I do not know where the rumors of using a camera phone in selfie mode, while not looking directly at the sun has come from. But do not do it. If your camera doesn’t have a special lens it will not work, and it will warp your camera lens. Please do not think regular sunglasses could protect your camera, if it cannot protect your eyes. You need special lens certified by ISO.
Please do not believe other rumors about using sunglasses along with a camera lens. It will not save you or your lens from getting injured. If you do not have safety glasses to view the Solar Eclipse there are alternative methods to see it without glasses to include watching it on the news (which they have special cameras with special lenses to film it). Or you can use Pinhole Projection.
For example: cross the outstretched, slightly open fingers of one hand over the outstretched, slightly open fingers of the other, creating a waffle pattern. With your back to the sun, look at your hands’ shadow on the ground. The little spaces between your fingers will project a grid of small images on the ground, showing the sun as a crescent during the partial phases of the eclipse. Or just look at the shadow of a leafy tree during the partial eclipse; you’ll see the ground dappled with crescent Suns projected by the tiny spaces between the leaves.
Find More info at NASA.