The handset manufacturer accidentally leaked a video of its upcoming flagship, scheduled to launch Aug. 9.