Skip to content

Instantly share code, notes, and snippets.

@fahad15090
Created January 28, 2022 13:21
Show Gist options
  • Select an option

  • Save fahad15090/935f6e50c2783dd22cfa99ea54d05199 to your computer and use it in GitHub Desktop.

Select an option

Save fahad15090/935f6e50c2783dd22cfa99ea54d05199 to your computer and use it in GitHub Desktop.
How to reset EFS try that maybe helpful!
Try that on rooted or TWRP Terminal
adb shell
ls -l /dev/block/bootdevice/by-name/ this will print all partition on emmc/ufs
These are partition that hold some efs/networking info so
if you have problem with efs/NVdata is curropted try that maybe helpful
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fsg
dd if=/dev/zero of=/dev/block/bootdevice/by-name/fsc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment