[GUIDE] Restore You IMEI And Fix Corrupted EFS

Search This thread

regalstreak

Senior Member
Jun 26, 2013
1,263
4,502
Mumbai
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD Cards, thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about this kernel before following it!
* YOU are choosing to make these modifications.
* And if you point the finger at me for messing up your device, I will laugh at you.

I have seen people hunting for this and not being able to finding a solution for this. So, I decided to post here!

This is Strictly for Samsung Devices.

So, First let us get some terms straight.

IMEI​
A unique identification number programmed onto your phone. It is required in order to be correctly identified on a mobile network. Without one, you cannot make calls, send SMS or use mobile data. Important stuff.​
/efs​
A partition on your internal memory containing important data including the IMEI. If the data in this partition gets corrupt, you will lose your IMEI
0049*** or 0000 IMEI​
A generic IMEI, meaning your real IMEI is not readable, presumably because it is corrupt but there are other reasons too.​

Now, Some FAQ's

Why Do I have 0000 IMEI?

  • Your EFS Partition is Corrupted.
  • Whenever you flash a ROM, be that a custom ROM via a custom recovery or an official ROM via Odin, you risk corrupting your /efs partition and losing your IMEI.
  • There are 2 main steps to take to try to resolve this
  • Restore your EFS from a backup - A logical first step
  • No backup? Reflash the latest stock ROM using Odin Or Read This Guide ;)

Why Does my Internal SD Card Show 0 bytes?
  • Your EFS Partition is Corrupted.
  • This is the same reason
  • Your SDCard Partition may be linked somehow with the EFS Partition

Why Does my Lockscreen Does Not Work?
  • Your EFS Partition is Corrupted.
  • This is the same reason
  • The Files needed to run the lockscreen are stored in the EFS Partition
  • Hence, You Cant use your lockscreen.

OK, So How do I restore /efs if I dont have a Backup?
  • Download EFS-Fix-regalstreak.tar.md5
  • Put your phone in Download Mode (Volume down + Home + Power buttons simultaneously)
  • Switch Off your Phone
  • Press Volume Up to continue when asked
  • Download Odin.zip on your PC
  • Extract Odin.zip with Winrar and open Odin.exe file (the file with a blue icon)
  • Connect Phone to PC with USB Cable
  • Wait for some 15 seconds and see if COM(number) port has come in Blue colour
  • Select PDA and browse to EFS-Fix-regalstreak.tar.md5
  • Click the Flash button
  • Wait for it to show RESET in blue colour
  • After it shows Reset Disconnect phone from PC by removing USB Cable
  • Remove Battery of Phone
  • Insert Battery of phone
  • Reboot the phone
  • After phone reboots, Again switch off the phone
  • Once again Start the phone.
  • If It Works, Enjoy!
  • If it does not work, Again reboot the phone!
  • Enjoy!
  • If it still does not work, Feel free to contact me! :D

What will this do?
This will Simply Restore your IMEI and the EFS Files! But, These files are from my phone :p And the IMEI may be different from your original IMEI.

OK, So what now?
You can maybe change your IMEI. But as this illegal in some countries, I cant give the procedure here. But You can go Here!

Please press the thanks button if I helped :D

More to be added. Stay tuned ;) Gonna add how to backup efs if you havnt lost it yet
 
Last edited:

ernestico911

Senior Member
Jul 17, 2013
167
51
34
Villa Clara
fail on g530w android 5.1.1 AOFB with odin 10.7
<OSM> Enter CS for MD5..
<OSM> Binary Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/008> Added!!
<ID:0/008> Odin engine v(ID:3.1100)..
<ID:0/008> File analysis..
<ID:0/008> SetupConnection..
<ID:0/008> Initialzation..
<ID:0/008> Get PIT for mapping..
<ID:0/008> Firmware update start..
<ID:0/008> SingleDownload.
<ID:0/008> efs.img
<ID:0/008> NAND Write Start!!
<ID:0/008> FAIL!
<ID:0/008>
<ID:0/008> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)
 

HannNg

Member
Aug 25, 2016
7
0
Unable to Work For the Odin Corrupt

My Note 2 the Odin mode tried for few Odin version also failed to connect to my phone, and my phone the Odin mode show nothing the product name.
 

user531xda

Member
Nov 26, 2017
40
1
Fastboot erase config....
After that I stucked at boot logo
Used xfstk then aft but stucked at boot used fastboot commands for flashing system all gonna smooth but stucked at boot...
Used recovery to sideload marshmallow ... succeed. But also stucked at boot ..unlock boot loader flash TWRP flashing custom rom also stucked at boot logo... PLZZ help me guyzzz :rolleyes:

And it shows error in TWRP
Unable:to mount Config(invalid argument)
 

rajibnill

New member
Feb 26, 2018
2
1
Chittagong
[*]After it shows Reset Disconnect phone from PC by removing USB Cable


Showing Failed!
Device: J7 2016 [J710FN]
OS nougat
in TWRP is shows unable to mount eft partition
* Now Can't boot the phone. Please help
 
Last edited:

doctor-who

Senior Member
Jul 25, 2014
680
94
Bogatic
hahaha cant turn on my i9100 now :D hard brick

is it pda same as ap?

It's not brick but man noting changed look as

Can't upload ss
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    Code:
    * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD Cards, thermonuclear war, or you getting fired because the alarm app failed.
    * Please do some research if you have any concerns about this kernel before following it!
    * YOU are choosing to make these modifications.
    * And if you point the finger at me for messing up your device, I will laugh at you.

    I have seen people hunting for this and not being able to finding a solution for this. So, I decided to post here!

    This is Strictly for Samsung Devices.

    So, First let us get some terms straight.

    IMEI​
    A unique identification number programmed onto your phone. It is required in order to be correctly identified on a mobile network. Without one, you cannot make calls, send SMS or use mobile data. Important stuff.​
    /efs​
    A partition on your internal memory containing important data including the IMEI. If the data in this partition gets corrupt, you will lose your IMEI
    0049*** or 0000 IMEI​
    A generic IMEI, meaning your real IMEI is not readable, presumably because it is corrupt but there are other reasons too.​

    Now, Some FAQ's

    Why Do I have 0000 IMEI?

    • Your EFS Partition is Corrupted.
    • Whenever you flash a ROM, be that a custom ROM via a custom recovery or an official ROM via Odin, you risk corrupting your /efs partition and losing your IMEI.
    • There are 2 main steps to take to try to resolve this
    • Restore your EFS from a backup - A logical first step
    • No backup? Reflash the latest stock ROM using Odin Or Read This Guide ;)

    Why Does my Internal SD Card Show 0 bytes?
    • Your EFS Partition is Corrupted.
    • This is the same reason
    • Your SDCard Partition may be linked somehow with the EFS Partition

    Why Does my Lockscreen Does Not Work?
    • Your EFS Partition is Corrupted.
    • This is the same reason
    • The Files needed to run the lockscreen are stored in the EFS Partition
    • Hence, You Cant use your lockscreen.

    OK, So How do I restore /efs if I dont have a Backup?
    • Download EFS-Fix-regalstreak.tar.md5
    • Put your phone in Download Mode (Volume down + Home + Power buttons simultaneously)
    • Switch Off your Phone
    • Press Volume Up to continue when asked
    • Download Odin.zip on your PC
    • Extract Odin.zip with Winrar and open Odin.exe file (the file with a blue icon)
    • Connect Phone to PC with USB Cable
    • Wait for some 15 seconds and see if COM(number) port has come in Blue colour
    • Select PDA and browse to EFS-Fix-regalstreak.tar.md5
    • Click the Flash button
    • Wait for it to show RESET in blue colour
    • After it shows Reset Disconnect phone from PC by removing USB Cable
    • Remove Battery of Phone
    • Insert Battery of phone
    • Reboot the phone
    • After phone reboots, Again switch off the phone
    • Once again Start the phone.
    • If It Works, Enjoy!
    • If it does not work, Again reboot the phone!
    • Enjoy!
    • If it still does not work, Feel free to contact me! :D

    What will this do?
    This will Simply Restore your IMEI and the EFS Files! But, These files are from my phone :p And the IMEI may be different from your original IMEI.

    OK, So what now?
    You can maybe change your IMEI. But as this illegal in some countries, I cant give the procedure here. But You can go Here!

    Please press the thanks button if I helped :D

    More to be added. Stay tuned ;) Gonna add how to backup efs if you havnt lost it yet
    2
    Only For Galaxy Star Pro S7262

    Cant imagine the amount of people that may have damaged their phones with this EFS partition image.... It is sad to see someone offering an EFS image and not even explain for what model is...
    So, i download it and hex edit to see if imei was in plain text, and was!
    Phone model: Galaxy Star Pro S7262
    Blacklist status*: BLACKLISTED

    If you write this to other model than Galaxy Star Pro S7262, you will most definitely get _very big problems_ after like :
    -hardbrick or bootloop
    -efs failed to mount in recovery
    -a blacklisted imei if in same model!

    Also:
    won't work on LG or other brands and other sam models with and hardware much different than S7262.

    Dont use this FILE!!!!!!!! a moderator should get here and mod this thread SERIOUSLY! You are warned, keep safe away from this file!
    1
    Please I flash twice using this efs, but still fail on samsung galaxy star duos s5282. Please what do i do now?
    1
    I tried flashing this file around a year ago but didn't realise it was for a much older phone than my s8 exynos G950f, and I think it's completely bricked now. I tried EFS fixing guides and tried flashing stock firmware and custom as well as DRK fixes for issues with verity. And nothing worked and it gets stuck at the SAMSUNG screen. Even a Samsung technician said the efs needs repartitioning.

    Can you please help me regal or anyone. Thanks
    I was having the same problem too.. it was really hard, but finally I got a repair file.. it successfully starts but still my network is damaged, I can't make phone calls or texts or mobile data rather wifi. Mine was Samsung M10s android 10, so try this, it may help you too.