I ran into the issue where Windows was not mounting the Phone’s SD card within windows, so I had to revert back to using adb. This method requires that you’ve download the drivers for your phone, along with the android sdk (http://developer.android.com/sdk/index.html). The SDK will download and you extract to any location of your choosing. adb is located in {directory}\sdk\platform-tools\
In case you have an issue with getting your remote device to show up for /sdcard/ the following commands will help you out:
adb devices adb push filename.zip /sdcard/
Example:
D:\and\sdk\platform-tools\adb devices List of devices attached 9132ce46b device D:\and\sdk\platform-tools\adb push gapps-jb-20130301-signed.zip /sdcard/ 3280 KB/s (95417279 bytes in 28.403s)
To install a new .apk run the following (such as installing a new beta software, etc):
D:\and\sdk\platform-tools\adb <filename.apk>
or to force the install
D:\and\sdk\platform-tools\adb -r <filename.apk>
It replies “failed to copy ‘me.jpg’ to ‘/storage/sdcard/me.jpg’: Read-only file system”
me.jpg is the file name. I had copied it to the platform-tools folder and also the device is running
November 30, 2013 at 10:44 pm/storage/sdcard may not be a valid directory. you can run “adb ls /{path}” for the list of directories that are available.
December 1, 2013 at 11:47 pm[…] Android: Push file to sdcard with adb […]
January 22, 2014 at 4:11 am“failed to copy ‘update.app to ‘/sdcard/ permission denied plz help me some to push it in my phone memory
July 31, 2014 at 11:53 amdisconnect the SD card from the PC first (just click on the status bar notification to disconnect it)
March 16, 2015 at 10:09 amHey man, thanks for the tip, but there is a missing ‘/’ at the end of the first example. It should be “adb push filename.zip /sdcard/”
October 19, 2016 at 3:32 pm