Only electrical - and then the leading edges will not retract - they canīt!
The hydraulic flapsmotors can not operate if the lines are broken, and the lines goes to the nosegear too - they must be broken!
But letīs se what the investigators finds - maybe I AM vrong