I need android application, which can do several tasks:
1) the application will be able to create a directory on SD card's root directory
2) the application will be able to download files from internet (HTTP) and store the downloaded files on SD card in the directory it created above
3) the application will be able to force the phone to switch permanently to MSC mode (mass storage mode), and retain in that mode for as long as the application needs to.
Explanation: 1) and 2) are obvious, app will need SD card access permissions, and internet permissions
The part 3) may be tricky. I need the phone to switch to mass storage (MSC) mode and stay in that mode, even if it thinks that the phone is not connected to computer using USB cable any longer. That is because I'm going to reboot the computer and I will want to access the SD card (over USB) just few seconds after the computer is rebooted, directly from BIOS, and I need the phone to be already switched to MSC mode, else BIOS won't see the 'mass storage drive' yet. And during the reboot of my PC the phone might have decide that USB was disconnected, while it was not.