[Samsung Galaxy S7 Guides, News, & Discussion] CuBz90:
This Guide works on both the S7 and S7 Edge. This may also work on other models including Snapdragon variants but has not yet been tested. Feel free to PM me if you would like to test if it works. If it works then I will update the guide​

This guide is for those of you with EFS issues. This can cause your IMEI and/or Baseband to show Unknown or a bunch of zeros. The guide can also be used to fix DRK errors, but if your Device Root Key (DRK) is corrupt or missing, this guide will fix your IMEI/Baseband but will not fix your DRK error.

The guide gives instructions on how to flash the combination firmware. This installs the factory binary which allows your phone to read your IMEI and DRK. This should then restore your IMEI and DRK and then when you flash stock, the phone will be working as normal. If the Device Root Key (DRK) is corrupt or missing, this guide will only fix the IMEI, the DRK errors will still remain.

I take no responsibility for any issues that arise from following this guide. Do so at your own risk. The smallest mistake can cause a much bigger issue so make sure you know what you are doing and follow every step word for word!​

Please note that this will not work for everyone

​

Before you proceed, you're going to need the following:

A copy of your phones stock firmware saved to your computer. If you do not already have these available on your computer, you can go HERE or you can use this tool to download the latest firmware for your device. Alternatively, you can find your firmware on SamMobile but this can take forever to download with a free account.

[IMPORTANT!] Switch off Factory Reset Protection (FRP) by going into Developer options and turning on 'OEM Unlock'. If you do not see 'Developer Options' under settings, then go to Settings > About Device > Software Info and keep tapping 'Build Number' until it confirms "You are now a developer" then go back to the main Settings screen and you will see Developer options.

if you skip this step, you only have yourself to blame if something goes wrong.

Odin. If you do not have it, download it from here

The Combination Firmware (Factory Binary). Download the combination firmware relevant to your phone (links below) and extract the .rar archive somewhere you will remember.

Galaxy S7 International [G930F/FD] - (Mirror)

Galaxy S7 Edge International [G935F/FD] - (Mirror)

Galaxy S7 Canada [G930W8] - (Mirror)

Galaxy S7 Edge Canada [G935W8] - (Mirror)

Now you have all the files you need, follow the guide below to repair your S7.

There are 2 guides.

The first guide (Guide A) is quick and can solve most issues. Especially DRK errors.

The second guide (Guide B) is to use if Guide A does not work. This guide requires more work and therefore takes a little longer.

Guide A

Put your phone into Download Mode. To do this, switch off your phone and hold 'Power' + 'Volume Down' + 'Home' until it boots to download mode. Then connect the phone to your computer with your USB cable.

Open Odin, press the 'AP' button and select the Combination tar/md5 file you downloaded/extracted earlier. Then press the 'Start' button. (If you have any errors while flashing, first make sure you are using the correct firmware for your phone. If it is still throwing errors, remove the ".md5" from the end of the file name and try again).

When Odin has completed flashing the combination file, it should boot into the Factory Binary. You may get a message asking you to reboot. Click reboot (If you do not get prompted to reboot, do a reboot manually).

When it has booted back up. Press the 'IME' button at the bottom of the screen and type *#06#. You should now see your IMEI has restored.

Now restore the stock firmware using the firmware you downloaded earlier. (If you're not sure how, follow this guide)

You should now have a restored IMEI. If not, this means your efs is damaged. Therefore, you will need to follow Guide B below.

Guide B

You will need to start on a rooted device. If you are not rooted, follow this guide to root your phone or flash CF Auto Root in Odin.

Before you continue, it is extremely important that you backup your EFS partition, even if it is corrupt. You can backup the EFS partition using THIS APP. If you skip this step, you only have yourself to blame if something goes wrong and you have no backup to restore.

Download Root Explorer (Paid) or Root Browser (Free). Open 'Root Explorer' or 'Root Browser' (whichever you installed) and browse to the /efs folder located in the root of the device.

Inside the /efs folder, delete everything EXCEPT the '

FactoryApp

' and '

prov_data

' folders.

Reboot. Make sure it does a full reboot. When the phone boots back up, you may some errors or unusual settings, this is normal and nothing to worry about.

Put your phone into Download Mode. To do this, switch off your phone and hold 'Power' + 'Volume Down' + 'Home' until it boots to download mode. Then connect the phone to your computer with your USB cable.

Open Odin, press the 'AP' button and select the Combination tar/md5 file you downloaded/extracted earlier. Then press the 'Start' button. (If you have any errors while flashing, first make sure you are using the correct firmware for your phone. If it is still throwing errors, remove the ".md5" from the end of the file name and try again).

When Odin has completed flashing the combination file, it should boot into the Factory Binary. You may get a message asking you to reboot. Click reboot (If you do not get prompted to reboot, do a reboot manually).

When it has booted back up. Press the 'IME' button at the bottom of the screen and type *#06#. You should now see your IMEI has restored.

Now restore the stock firmware using the firmware you downloaded earlier. (If you're not sure how, follow this guide)

You should now have a restored IMEI.

​

Still Getting a DRK error?

If you are still getting a DRK error then you probably have a corrupt or missing Device Root Key (DRK). Unfortunately, this cannot be fixed without a JTag box (which aren't cheap). However, you can continue to use the phone as normal by flashing the no-verity zip in TWRP. You can then go ahead and use your phone as normal. Unfortunately, you will no longer be able to receive OTA updates. All updates will need to be made through ODIN and the no verity zip will need to be flashed every time a new firmware is flashed. However, you can still use custom roms as normal. Other than OTA updates, the DRK issue will have no effect on the use of the phone. You can still update via Smart Switch but will need to install TWRP and flash the no verity zip after every update.

If you would like any assistance in fixing your issue such as Guides A & B do not work for you or if you have a different model than what is listed in this guide, please complete THIS FORM and I will get back to you asap.

Many thanks to everyone that has donated!!

If you would like to donate, you can do so by clicking here

As you can imagine, finding fixes and assisting people takes a lot of my time so it's always great to receive a donation. Thank you.

​