As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFW - INFLIGHT JFK-DFW. DURING FUNCTIONAL CHECK FLIGHT FOR TRAILING EDGE FLAP DISAGREE MESSAGE CONDITION, THE EICAS SYSTEM DISPLAYED FLAP DISAGREE MESSAGE AGAIN. EMERGENCY DECLARED FLIGHT DIVERTED AFW LANDED WITHOUT INCIDENT. AIRCRAFT REMOVED FROM SERVICE. REPLACED NUMBER 1 AND 8 FLAP ROTARY ACTUATORS. SYSTEM GROUND CHECK NORMAL OPERATION.