As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
CREW DECLARED AN EMERGENCY ON INITIAL DESCENT. THE FLAP FAIL EICAS APPEARED IN CRUISE WITH FLAPS AT 0. ACCOMPLISHED QRH, NO FLAP ON LANDING. THE TECH R & R RT FLAP POSITION SENSOR IAW AMM 27-53-04. RIG AND TEST SATISFACTORY. ACFT OK TO CONTINUE SERVICE.