0

Is it possible to emulate physical eject/cut power supply for SD card in Android via ADB terminal?

What I'm looking for is something similar to the functionality achieved on GNU/Linux for USB devices via /sys/bus/* files. However, if there is other "Pure Android" way, it will also suffice as long as it works.

The important point is that SD card should not be properly unmounted, but rather appear to the system as a sudden eject.

  • Any specific reason why? – Gokul NC Feb 4 '17 at 11:15
  • @GokulNC for stability testing in case of sudden storage removal. – Thunderbeef Feb 4 '17 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.