This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to enable the omap4430 blaze_tablet gadget mass storage mode when I plug it to the PC?

Hi all:

when I connect the blaze_table to the PC, It defualt be set to the MTP devices. How should I do to set to the Mass storage Mode default when I conect it to the PC?

I used the Android4.0 source code!

thanks

 

  • I don’t believe Mass Storage mode is supported in ICS, as it has been replaced by MTP.  Some info on using MTP that may be useful for you:

    http://www.androidcentral.com/ics-feature-mtp-what-it-why-use-it-and-how-set-it

     

    Regards,

    Gina

  • Hi Gina:

      the web said: "Devices will still be sold with SDcard slots, and they will be able to use the same USB Mass Storage mode that we're used to, but new devices without removable storage should all use MTP from Ice Cream Sandwich forward."

    but, when i insert the sd card and mounted,the tablet did't switch to the USB Mass Storage mode. are you sure it did't support in ICS? and addtinally, when I work at MTP mode,the PC could't identify the device. so ,what driver should I install when work at MTP mode?

  • Su,

    There is no userspace way of using USB Mass Storage, since Android no longer supports it.  However, you could do it at the kernel level.  After boot up, enter these commands into the serial terminal:

    echo 0 > /sys/class/android_usb/android0/enable

    echo mass_storage > /sys/class/android_usb/android0/functions

    echo d102 > /sys/class/android_usb/android0/idProduct

    echo 1 > /sys/class/android_usb/android0/enable

    echo /dev/block/mmcblk1p1 > /sys/class/android_usb/android0/f_mass_storage/lun/file

    You can replace "/dev/block/mmcblk1p1" with whatever media you want to mount.  Now when you connect the micro USB cable, it will auto-mount the specified media on the host PC.

    The issue is that in Gingerbread, which uses USB Mass Storage, the Android UI had to be blocked while syncing with the PC, since the host PC has complete control of the block device.  With MTP in ICS, this limitation is eliminated; now you can access media files on the Android UI while media synchronization happens in the background.

    Here is some additional information about using MTP: http://omapedia.org/wiki/USB_on_Blaze_Tablet_with_ICS

    Regards,
    Gina 

  • Gina Glaser :

    thanks 。this is really what i want to know!