You have the "sphere" and "cylinder" electric fields switched.
Your calculation for the sphere only accounts for electric fields inside the sphere. Outside the sphere, the total enclosed charge remains the same, but the surface area of the Gaussian surfaces changes.