Turn phones into blackboxes for in-flight recording