วิธีแก้ E:failed to mount /efs (Invalid argument) Samsung Note 2 N7100

Post Reply
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

วิธีแก้ E:failed to mount /efs (Invalid argument) Samsung Note 2 N7100

Post by tong »

References:
https://droidsans.com/topic/219287/
https://droidsans.com/topic/301476/
https://forum.xda-developers.com/showthread.php?t=2073654


1. Install Official Samsung USB Driver v1.7.13.0 (28 Sep 2019) on computer.
https://developer.samsung.com/galaxy/others/android-usb-driver-for-windows

2. Install Google Platform-tools (adb.exe and fastboot.exe) on computer.
https://dl.google.com/android/repository/platform-tools_r29.0.4-windows.zip

3. Enable "Developer Options" and "USB debugging" on mobile.
https://developer.android.com/studio/debug/dev-options

4. Unzip Odin Flash Tool for Samsung v3.09 on computer.
https://odindownload.com/Samsung-Odin/
https://odindownload.com/download/Odin_v3.09.zip

5. Download Chainfire CF-Auto-Root Recovery for Samsung Note 2 N7100 (t03g)
https://autoroot.chainfire.eu/
http://download.chainfire.eu/264/CF-Root/CF-Auto-Root/CF-Auto-Root-t03g-t03gxx-gtn7100.zip

6. Download Chainfire SuperSU v2.82
These file no need to unzip.
https://download.chainfire.eu/supersu-stable
https://download.chainfire.eu/1113/SuperSU/UPDATE-SuperSU-v2.82-20170528234214.zip?retrieve_file=1

7. Download TWRP Custom Recovery v3.3.1.0 for Samsung Note 2 N7100 (t03g)
https://twrp.me/samsung/samsunggalaxynote2n7100.html
https://dl.twrp.me/t03g/
https://dl.twrp.me/t03g/twrp-3.3.1-0-t03g.img.tar.html

8. Download Official Samsung Note 2 N7100 Full ROM
https://samfrew.com/download/GALAXY__Note__%E2%85%A1__/g61c/THL/N7100XXSFQAA/N7100OLBFNI1/

Code: Select all

PDA/AP Version N7100XXSFQAA
CSC Version N7100OLBFNI1
MODEM/CP Version N7100DXUFNI1
Build Date 2017-01-13
OS Version 4.4.2
Region THL - Thailand
MD5 2DE1186B388923206FAEED9767A1A86D
9. Install BusyBox on mobile.
https://play.google.com/store/apps/details?id=stericson.busybox

10. Install Z3X Samsung Tool v24.3 with Loader on computer.
Attachments
SAMSUNG_USB_Driver_for_Mobile_Phones.exe
[ 35.12 MiB | Downloaded 681 times ]
Odin_v3.09.zip
[ 972.63 KiB | Downloaded 585 times ]
UPDATE-SuperSU-v2.82-20170528234214.zip
[ 5.64 MiB | Downloaded 691 times ]
CF-Auto-Root-t03g-t03gxx-gtn7100.zip
[ 20.32 MiB | Downloaded 604 times ]
platform-tools_r29.0.4-windows.zip
[ 2.61 MiB | Downloaded 596 times ]
BusyBox.Pro.v70.apk
[ 3.96 MiB | Downloaded 633 times ]
twrp-3.3.1-0-t03g.zip
[ 6.62 MiB | Downloaded 611 times ]
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E: failed to mount /efs (Invalid argument) Samsung Note 2 N7100

Post by tong »

failed to mount.png
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:Failed to mount /efs Samsung Note 2 N7100

Post by tong »

Install Official Samsung USB Driver to use with Odin and ADB mode.

https://developer.samsung.com/galaxy/others/android-usb-driver-for-windows
Attachments
SAMSUNG_USB_Driver_for_Mobile_Phones.exe
[ 35.12 MiB | Downloaded 681 times ]
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:Failed to mount /efs Samsung Note 2 N7100

Post by tong »

Use Odin to flash ROM

1. Power off mobile.
2. Press [Vol Down] + [Power] + [Home] buttons.
3. When the Warning screen display, release the buttons.
4. Press [Vol Up] to continue.
5. Run Odin.
6. Connect USB to Computer and wait until finish install all USB drivers. You will see info in ID:COM.

ROM has 2 types

1. Without md5 extension. Just a plain tar file.
2. With md5 extension. Need to append md5 info (from md5sum command) at the end of tar file. snap4309.png Flash ROM

1. Click [AP] and choose your ROM.
2. Click [Start]. If something wrong, disconnect USB and click [Reset] and try again. snap4308.png
PIT (Partition Information Table)
You only need it if you screw up your partition table or if the firmware specifically requires it because of a change in the partition table layout.

BL (Bootloader)

AP (Application Processor or PDA)
System partition with recovery and stuff.

CP (Core Processor)
We call it Modem or Baseband.

CSC (Consumer Software Customization)
It is specific to geographical region and carriers. It contains the software packages specific to that region, carrier branding and APN setting.
Attachments
Odin_v3.09.zip
[ 972.63 KiB | Downloaded 596 times ]
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:Failed to mount /efs Samsung Note 2 N7100

Post by tong »

How to root Samsung Note 2 N7100

There are 2 methods.

1. Flash Chainfire CF-Auto-Root-t03g-t03gxx-gtn7100 Recovery. Root base on stock recovery KOT49H.N7100XXUFNI1.

2. Flash TWRP Recovery and install Chainfire SuperSU (no need to unzip) in TWRP.
Attachments
CF-Auto-Root-t03g-t03gxx-gtn7100.zip
[ 20.32 MiB | Downloaded 588 times ]
UPDATE-SuperSU-v2.82-20170528234214.zip
[ 5.64 MiB | Downloaded 664 times ]
twrp-3.3.1-0-t03g.zip
[ 6.62 MiB | Downloaded 590 times ]
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:Failed to mount /efs Samsung Note 2 N7100

Post by tong »

...
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:Failed to mount /efs Samsung Note 2 N7100

Post by tong »

Manual Fix E:failed to mount /efs (Invalid argument) Samsung Note 2 N7100

The device have to root.

1. Install Platform-tools (adb.exe and fastboot.exe) on your computer.
https://dl.google.com/android/repository/platform-tools_r29.0.4-windows.zip

2. Install busybox on mobile.
https://play.google.com/store/apps/details?id=stericson.busybox

3. Enable "Developer Options" and "USB debugging" on mobile.
https://developer.android.com/studio/debug/dev-options

Code: Select all

adb shell
su
busybox umount /efs
busybox mke2fs /dev/block/mmcblk0p3
busybox mount -w -t ext4 /dev/block/mmcblk0p3 /efs
Backup /efs

Code: Select all

adb shell
su
busybox tar zxvf /sdcard/efs-backup.tar.gz -C /efs
Attachments
BusyBox.Pro.v70.apk
[ 3.96 MiB | Downloaded 624 times ]
platform-tools_r29.0.4-windows.zip
[ 2.61 MiB | Downloaded 630 times ]
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:failed to mount /efs (Invalid argument) Samsung Note 2 N7100

Post by tong »

How to write IMEI with Z3X Samsung Tool v24.3

The device have to root.

Only v24.3 that work with Loader and no error "ztool not found for selected model".
https://www.youtube.com/watch?v=aTeQFvv3jBg
tong
Site Admin
Posts: 2381
Joined: Fri 01 May 2009 8:55 pm

Re: วิธีแก้ E:failed to mount /efs (Invalid argument) Samsung Note 2 N7100

Post by tong »

The truth and misunderstanding about how to build Odin .tar.md5
  1. Cygwin "md5sum -t" command is not text mode. But it's binary mode and doesn't display * in front of the filename.
  2. Gnuwin "md5sum" or "md5sum -b" commands will append \r (carriage return) to the output.
  3. Odin accept * or without * in front of the filename. But md5sum must be binary mode.
  4. Odin doesn't accept \r (carriage return) at the end of file.
  5. No need to use "tar -H ustar" option.
The valid commands are:

Code: Select all

tar -cvf rom_name_v69.tar rom_name_v69.img
md5sum -b rom_name_v69.tar | tr -d '\r' >> rom_name_v69.tar
mv rom_name_v69.tar rom_name_v69.tar.md5
Post Reply