Security camera footage accessed and verified by the Associated Press showed Air India flight 171 bound for London taking off and crashing into a medical college in the northwestern city of Ahmedabad on Thursday, killing more than 180 people in one of India's worst airline disasters in decades.
The plane was in takeoff config: https://imgur.com/a/JzS3ro9
According to type rated pilots the 787 doesn’t allow you to retract flaps immediately in critical flight after takeoff.
That’s interesting. Do you have the source for that? I wasn’t able to find a definitive answer with google