[FIX] Empty IMEI, Unknown Baseband, No SIM, WiFi/Bluetooth unusable, Corrupted EFS

My EFS partition was corrupted after an EFS restore from TWRP (Check post #2 for link to explanation).
I was in panic mode when the super helpful folks over at #twrp sorted me out with this solution (thank you so much @jcadduono). Thought I would share it so it could possibly help someone else.
This has worked on my OnePlus 3, but it might even work on other devices.

Do this AT YOUR OWN RISK. I am not responsible for your device.

  • Boot into TWRP (Poweroff, then power on using Vol Down + Power Button)
  • Go to Advanced > Terminal
  • Type in the following commands:
    • Code:

      dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
    • Code:

      dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
  • Reboot

Alternatively, you could also do this from your computer over adb with the following commands:


adb shell 'dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1'


adb shell 'dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2'

Alternatively, you could try this [Though I haven’t tested this myself]:

  • Make sure you have fast boot and drivers (for info look here)
  • Boot into fastboot (Poweroff, then power on using Vol Up + Power Button)
  • Type in the following commands into terminal:
  • Reboot

Good luck and I hope this helps!

PS: It is best to backup your EFS before something like this happens.
Take 5 minutes out of your day to do this. You can find a tool to do this here, or do it yourself by following the instructions here.

Leave a comment

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