everyday life

A full-backup of SC-02H’s android7 by adb.exe on Windows10.

   My smartphone is SC-02H which is a name of Galaxy S7 edge by docomo. Its OS is Android 7.0 now though it was Android 6.0 when I bought the smartphone. On 2017.Oct.18, docomo announced they would give Android 8.0 to it someday in the future. I do not know when exactly because it is always late that they give a custom OS. But for that, I try to create a full-backup of android7 by adb.exe.

  1. Download SDK Platform Tools (for from the official site.
  2. Extract the zip file and install somewhere in the PC. (e.g. x:platform-tools)
    Note) Although I didn’t add ‘x:platform-tools’ to PATH Environment Variable because I use adb.exe for this purpose only. But you’d better add it if you fully use SDK Platform Tools features.
  3. SC-02H USB drivers at Device Manager

    For using Tools, need USB drivers. See Install OEM USB Drivers.
    But about SC-02H, the drivers are installed automatically connecting the PC and the smartphone by a USB cable.

  4. Enable ‘開発者向けオプション’.
    1. Open ‘設定’ app.
    2. Scroll to the bottom and select ‘端末情報’.
    3. Select ‘ソフトウェア情報’.
    4. Tap ‘ビルド番号’ 7 times.
    5. Tap back key 2 times to find ‘開発者向けオプション’ near the bottom.

    Ref) Configure On-Device Developer Options

  5. Select ‘開発者向けオプション’.
    1. At the top of the ‘開発者向けオプション’ screen, toggle the options ‘ON’.
    2. Scroll down a little and enable ‘USBデバッグ’.
  6. Run cmd.exe on the PC.
    1. Move to the Tools installed directory. (e.g. > pushd x:platform-tools)
    2. > adb devices
      Allow USB debugging

      I had the following message.
      List of devices attached
      * daemon not running; starting now at tcp:5037
      * daemon started successfully
      xxxxxxxx unauthorized

      On the smartphone, have a message like the right image. So tap ‘OK’ and again:
      > adb devices
      List of devices attached
      xxxxxxxx device

    3. Confirm full backup

      > adb backup -f x:SC_02H.adb -apk -all
      Now unlock your device and confirm the backup operation…

      On the smartphone, have a message like the right image. So tap ‘データをバックアップ’. If you need a password for the backup file, type it before tapping.
      When the backup ends, show up ‘バックアップが終了しました’ on the smartphone and back to ‘prompt’ on the cme.exe window.

      Note1) About backup commands, see Android Debug Bridge (adb).
      The page has Japanese version, but I couldn’t find about backup commands on it. So, if your language page has no information about backup commands, see English page.

      Note2) On my smartphone ‘-shared’ option doesn’t work well. I gave more than 8 hours to it, but it didn’t finish and gave no error message. So I didn’t use the option. This time the backup is for to downgrade to Android7 if Android8 gives any problems on the smartphone, so I only need an Android7 system backup.

  7. After finishing, disable ‘USBデバッグ’ and toggle the options ‘OFF’ at the top of the ‘開発者向けオプション’ screen.

Leave a Reply

Your email address will not be published. Required fields are marked *