手機 - F(x)tec Pro1 X - 如何透過edl備份



參考資料:
https://github.com/bkerler/edl
https://community.fxtec.com/topic/3630-pro%C2%B9-x-backup-restore-and-repair-device-specific-partitions/

步驟如下:
1. 手機關機
2. 同時按住Vol-和Vol+
3. 連接USB到電腦
4. 執行如下命令

$ sudo apt install adb fastboot python3-dev python3-pip liblzma-dev git
$ sudo apt purge modemmanager

$ cd
$ git clone https://github.com/bkerler/edl
$ cd edl
$ git submodule update --init --recursive
$ sudo cp Drivers/51-edl.rules /etc/udev/rules.d
$ sudo cp Drivers/50-android.rules /etc/udev/rules.d
$ python setup.py build
$ sudo python setup.py install

$ ./edl r persist persist_backup.img
$ ./edl r modemst2 modemst2_backup.img
$ ./edl r modemst1 modemst1_backup.img
$ ./edl r fsc fsc_backup.img
$ ./edl r fsg fsg_backup.img

$ sha1sum *.img
    67dfd19f3eb3649d6f3f6631e44d0bd36b8d8d19  fsc_backup.img
    86c525eaa5e25b37ed82aae3429067437d38f61f  fsg_backup.img
    c60e225f834afd561ea66483a0965ba8577ac184  modemst1_backup.img
    09a02f1eaf0ec271d4ec6a5d27ebdb3ee80ac2aa  modemst2_backup.img
    dff84ef90cbedd861cc4f112db23d623dc06cd92  persist_backup.img