Here's an explanation from a book that I read:
Now, I have a few problems with this explanation as well as with the "cone method". I guess that all my problems boil down to the concept of infinitesimal.
The book says "a normal to $dA$ makes an angle $\phi$ with a radial line from $q$". Now, the problem is that I can take another radial line intersecting $dA$ which will make a different angle with the area.
The strength of the electric field passing through the projected area ($dA \cos \phi$) is different from $\vec{E}$ because the projected area is closer to the charge, yet the book seems to ignore that. The same goes for the "cone method":
Books calculate proportion between the areas and the radii using the same radius for $dA \cos \phi$ and $dA$ although the distance of the projected area from the charge is different than from the original area to the charge.
So how can I solve these contradictions? Is there a strict mathematical proof that an electric flux through any area inside a cone (regardless of its orientation) is the same?