0

My Android phone has 1GB Phone space, and 2GB MicroSD card.

When I connect the phone to my computer (Ubuntu) via a USB cable, only the 2GB MicroSD card is shown in sudo parted -l and df -l commands. Is the 1GB Phone space not possible to be shown?

Thanks.

  • No, not in that way. You should install adb on your lubuntu system, turn on usb debugging in your android phone, connect to the phone with adb shell, and then from within the android system issue cat /proc/partitions, ls /sys/block, etc. – pizdelect Mar 13 at 23:15
  • Thanks. Why not in that way? – Tim Mar 13 at 23:18
  • Some versions of android let a computer connected via usb access the sd card directly by unmounting all the partitions, and not letting any program running in android access it in any way. In that case, the sd card appear to the connected pc just as if it were in a card reader, and you can examine its partition table, etc. How could android do the same with its internal flash memory, where its own OS and apps are stored? ;-) – pizdelect Mar 13 at 23:21
  • Do you mean the phone's own storage is not shown in Ubuntu, because it stores OS and apps that are running? – Tim Mar 13 at 23:24
  • Exactly. If you want to access the phone's own storage, you should use MTP or adb instead of "USB Mass storage". MTP is flaky and has some serious bugs (mentioned in the answer below). adb has it's own share of idiocy (adb push will create files with 666 perms, for instance). – pizdelect Mar 13 at 23:32
1

It seems that this is a known bug with the following workaround:

  1. Safely remove your connected device in Ubuntu.
  2. Turn off the device. Remove the SD card from the device.
  3. Turn on the device without the SD card.
  4. Turn off the device again.
  5. Put the SD card back in and turn on the device again.

Source: DebugPoint.com and Google Product Forums

You may also find this page helpful: http://www.mysolutions.it/mounting-android-sd-card-ubuntu/

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.