As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON FLIGHT 3398 CREW REPORTED AFTER TAKEOFF RETRACTING FLAP FROM 18 TO 9, RECEIVED A FLAP FAIL MESSAGE WITH FLAP STUCK AT 11. THE CREW DECLARED EMERGENCY & THE ACFT WAS REMOVED FROM SERVICE. AFTER REPLACEMENT OF LT INBD FLAP EXTERNAL SHROUD DRIVER ON NRWC 819-MIA-01414 ITEM NR 3, OPERATIONS CHECK FLAPS & FOUND WORKING PROPERLY IAW EMB 140 TASK 27-51-00. THE ACFT RETURN TO SERVICE.