SD Card directory is unavailable after ADB file transfer. - Android KitKat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Triaged
|
Medium
|
vishal |
Bug Description
On ARM Versatile Express A9 board with Linaro Android image:
https:/
SD Card directory is unavailable after ADB file transfer. The procedure list is:
1. Establish ADB connection over Ethernet;
2. From host machine, using "adb push" to transfer any file to path "/sdcard"
3. On target serial console, run "cd /sdcard"
Then the error shows:
root@vexpress:/data # cd /sdcard
/system/bin/sh: cd: /sdcard: Not a directory
2|root@
The file can be transferred successfully from host machine side, but can't be found under /sdcard
A reboot can eliminate this issue, though the transferred file is still missing. And the "/sdcard" can also be accessed before the file transfer.
Also, here is the output of "df" and "mount" from my board:
#######
root@vexpress:/ # df
Filesystem Size Used Free Blksize
/dev 504.1M 84.0K 504.0M 4096
/mnt/secure 504.1M 0.0K 504.1M 4096
/mnt/asec 504.1M 0.0K 504.1M 4096
/mnt/obb 504.1M 0.0K 504.1M 4096
/system 487.9M 433.5M 54.4M 4096
/cache 239.9M 2.0M 237.9M 1024
/data 487.8M 90.6M 397.2M 1024
/mnt/sdcard 2.3G 121.5M 2.2G 4096
/mnt/secure/asec 2.3G 121.5M 2.2G 4096
#######
root@vexpress:/ # mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,
devpts /dev/pts devpts rw,relatime,
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt/secure tmpfs rw,relatime,
tmpfs /mnt/asec tmpfs rw,relatime,
tmpfs /mnt/obb tmpfs rw,relatime,
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/
/dev/block/
/dev/block/
nodev /dev/gator gatorfs rw,relatime 0 0
/dev/block/
/dev/block/
tmpfs /mnt/sdcard/
root@vexpress:/ #
description: | updated |
description: | updated |
Changed in linaro-android: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → HariGopal (harigopal-gollamudi) |
milestone: | none → 13.11 |
Changed in linaro-android: | |
milestone: | 13.11 → 13.12 |
assignee: | HariGopal (harigopal-gollamudi) → vishal (vishalbhoj) |
Changed in linaro-android: | |
milestone: | 13.12 → 14.01 |
summary: |
- SD Card directory is unavailable after ADB file transfer. + SD Card directory is unavailable after ADB file transfer. - Android + KitKat |
Changed in linaro-android: | |
milestone: | 14.01 → 14.03 |
Changed in linaro-android: | |
milestone: | 14.03 → 14.04 |
Can you try pushing files to /mnt/sdcard which is the right place to push the files.