As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING FLIGHT CREW REPORTED A FLAPS FAIL MESSAGE ON EICAS AND FLAPS STUCK IN THE FIVE DEGREE POSITION. MAINTENANCE REMOVED AND REPLACED THE FLAP ELECTRONIC CONTROL UNIT IAW EMB MM. OPERATIONAL CHECK WAS GOOD AND AIRCRAFT WAS RETURNED TO SERVICE. (M)