Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 3 of 3
  1. Thread Author  Thread Author    #1  

    Default [GUIDE] How To Backup/Restore EFS Using Terminal Emulator

    The users who own a Samsung Galaxy device with root access but no custom recovery can use a free app called Terminal Emulator to backup and restore EFS on their device. Here is how it can be done
    Download and install Terminal Emulator app on your phone:
    Download @
    Google Play
    Android Terminal Emulator



    Open the app and grant SuperUser permission when you are prompted to do so.
    When you see the Terminal Emulator box, type the following command:
    To backup EFS on external SD Card: dd if=/dev/block/mmcblk0p3 of=/storage/sdcard/efs.img bs=4096
    To backup EFS on external SD Card: dd if=/dev/block/mmcblk0p3 of=/storage/extSdCard/efs.img bs=4096

    Please note that all commands are case sensitive and even a minor mistake will hider the successful backup. Type the command line carefully.

    [GUIDE] How To Backup/Restore EFS Using Terminal Emulator-efs-backup-terminal-emulator.jpg

    If everything goes fine, your EFS data will be backed up to the internal or external storage of your device.
    Do not forget to save the backed up data to your computer or a cloud storage for safety and future use. You can find this file as EFS.img on your device.

    Now here is how you can restore the backed up EFS using Terminal Emulator:
    Launch the app and type the following command depending on the location of the EFS.img file:

    To restore EFS on external SD Card: dd if=/storage/sdcard/efs.img of=/dev/block/mmcblk0p3 bs=4096
    To restore EFS on external SD Card: dd if=/storage/extSdCard/efs.img of=/dev/block/mmcblk0p3 bs=4096

    Note:

    In case the terminal Emulator method (using the above commands) does not work for you, it might be due to the location of EFS partition on your phone. To fix that, you can try this:


    Install a root file browser app: The app was not found in the store.
    Open the app and go to dev/block directory and note down the exact path of EFS data files.
    Now edit the file path in the command line accordingly: dd if=/dev/block/mmcblk0p3 of=/storage/sdcard/efs.img bs=4096
    Thanked by:
  2. #2  

    Default Re: [GUIDE] How To Backup/Restore EFS Using Terminal Emulator

    when i tried restoring it said "cannot open for write : permission denied "
  3. #3  

    Default Re: [GUIDE] How To Backup/Restore EFS Using Terminal Emulator

    You have to have superuser installed on your phone which you can get from the play store for free
    Then BEFORE you type the command lines, you need to type "su" without the inverted comers, a new line will appear with the word "root" at the start, then follow the instructions above exactly!
    There you go, problem solved
    Thanked by:

Similar Threads

  1. [GUIDE] How To Root Galxay Note 1
    By mobilecrackers in forum Samsung Galaxy Note Rooting, ROMs, & Hacks
    Replies: 2
    Last Post: 06-22-2014, 12:00 AM
  2. [GUIDE] How To Root Galaxy S5 : mobilecrackers
    By mobilecrackers in forum Samsung Galaxy S5 Rooting, ROMs & Hacks
    Replies: 12
    Last Post: 06-08-2014, 03:14 AM
  3. [GUIDE] How To Backup & Restore EFS on Samsung Galaxy S5
    By mobilecrackers in forum Samsung Galaxy S5 Rooting, ROMs & Hacks
    Replies: 5
    Last Post: 05-15-2014, 05:48 AM
  4. titanium backup
    By binghjs78 in forum Verizon Samsung Galaxy S4
    Replies: 4
    Last Post: 05-06-2014, 10:00 AM
  5. Replies: 3
    Last Post: 05-03-2014, 05:32 PM

Posting Permissions