As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ON SELECTING FLAPS FROM 8 TO 20 DEGREES, FLAPS FAIL CAUTION MESSAGE DISPLAYED. VERIFIED FLAPS STUCK AT 8 DEGREES ON EICAS FLIGHT CONTROL PAGE. COMPLIED WITH QRH. EMERGENCY DECLARED. COMPLIED WITH AD 2009-06-12 TROUBLESHOOTING FOR FLAP FAILURES. R & R FLAP CONTROL LEVER IAW AMM27-51-01. PART ROBBED FROM OTHER ACFT. OPS CHECK GOOD, NO FAULTS AT THIS TIME. SDR CLOSED.