where does the official, "non-custom firmware" Android os look for version updates?
The OS looks for updates from the manufacturer's site for a newer version. When you click download on your phone it download the latest update usually as "update.zip".