This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Simple script to enter the necessary boot mode in the MT6572-based (etc) phones | |
# Depends on pyserial, otherwise fully cross-platform | |
# Usage: python3 mtk-bootseq.py [MODECMD] [port] | |
# e.g. python3 mtk-bootseq.py FASTBOOT /dev/tty.usbmodem14200 | |
# and then connect the cable and repeatedly short-press the power on key | |
# Supported commands depend on the device and its preloader. Here's the list for Sigma S3500 sKai: |