What if the repair costs more than the estimate?

Stop work, tell the customer what you found, send a revised estimate and get a fresh approval before continuing. Let them approve the extra work, approve only part of it, or decline and collect the device. Some states also limit how far a final bill can exceed a written estimate, so confirm your local rules.