If the flaps were not set to the position the aircraft speeds were set for, then they would have had to ignore a checklist and a warning message. Large amounts of dust at rotation to me would indicate getting airborne at the very end of the rwy. Of the various possibilities, I would bet they either based their performance off of the full rwy length and then departed from an intersection, so the length was shorter than planned for. Or they used the wrong/ lighter weight for the performance numbers, forcing them to rotate as the end of the rwy was approaching. Rotation rate looks normal, and it doesn’t look like they had a tail strike, but the rotation continues to too high of a pitch, hence a stall.
Probably never added/went to max thrust as the end of the rwy was approaching, as that is not “procedure”……
Or the one in a billion software error where both engines went to idle thrust on their own!