I really need to know how to completely fry an S5 (don't ask why) using ADB while attached to a USB to my computer. Someone had posted the instructions for an S4 but the command only turned it off and on again when I used it. If there is any other method I can use to do this (break it I mean, but not physically), let me know.

  • Dumb question... Why would you want to do this?
    – acejavelin
    Jun 19, 2017 at 16:32

2 Answers 2


Requires root access

dd if=/dev/zero of=/dev/block/mmcblk0

It won't complete through the whole disk, but will proceed to a point where the device flashes black and falls irresponsive. All data are not erased, but the system is gone and it's very hard to recover.

For the same effect:

dd if=/dev/zero of=/dev/block/mmcblk0 bs=4096 count=256
# Only erases the first 1MB, where the GPT table lies

Alternatively (for Galaxy S5 and other "modern" phones):

dd if=/dev/zero of=/dev/block/by-name/aboot

An aftersale service can recover the device without breaking it open, which is what you wanted. I'm not going to post any details about recovery, only the fact that it can be recovered.

  • do you know a command that doesn't require root access?
    – Jay
    Jun 3, 2017 at 0:07
  • @Jay AFAIK there doesn't exist one.
    – iBug
    Jun 3, 2017 at 0:09

If you have root right then its very simple. with adb command

$ adb shell rm /system/bin/linker

you can also try this with terminal emulater with root permission

this will remove executable linker which is very important for .so library in system or in apps. after reboot i'm sure you can't access your device. but if you want it back you can use flash tool to flash stock ram and get running it back. you can also try to remove some other binary in system part.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .