Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-04-2012, 04:46 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2012
Posts: 24
Rep: 
|
android adb push to external sdcard fails
hello all,
I installed android SDK to check it out. So far, so good.
I am using adb to pull and push files. So far I can:
- push and pull files to the internal sdcard storage.
- pull files from from the external card
But I cannot push files to the external card.
I get permission denied error.
Here are the mount settings for the internal sdcard card and extermal sdcard
Quote:
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1023,fmask=0002,dmask=0002,allow_utim e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
|
I also have USB debuuging enabled on the phone in case you're wondering.
Android 4.0.4 has dropped USB Mass storage support. Right now, I am using a card reader to write files to the external card and it gets tedious removing it back and forth just to write to it.
Anyway, if you know a solution let me know. Thanks
Last edited by penguinator; 12-04-2012 at 04:50 PM.
|
|
|
|
12-04-2012, 04:50 PM
|
#2
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
I assume you are able to create files on the SD card from within Android normally? What if you try and place a file on the SD card from the Android command line (using "adb shell")?
|
|
|
|
12-04-2012, 06:27 PM
|
#3
|
|
LQ Newbie
Registered: Nov 2012
Posts: 24
Original Poster
Rep: 
|
I still get permission denied on the external card within the adb shell, I also did a chmod 777 on the extSdCard folder to no avail. However I was able to write a file on the internal sdcard within the adb shell. Very weird.
At least I have two ways I can write to the external card, one way is by removing it and using a card reader.
The second way is Airdroid. It interacts with the phone and desktop wirelessly. This method I don't have to remove the card.
Thanks for the reply and suggestion.
Last edited by penguinator; 12-04-2012 at 06:32 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:47 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|