[MOD/APP]{Xperia S/U/P}[GB] SDCARD Mounter as Mass Storage (MSC Mode) {Dt: 27/April}

13,137 posts
Thanks Meter: 39,598
By DooMLoRD, Recognized Developer on 18th April 2012, 10:26 PM
Post Reply Subscribe to Thread Email Thread
[ info ]

so friends i know some of u are getting pissed because Sony didnt include MSC (mass storage mode) in the Xperia S/U/P GB firmware... the MTP mode is fine but some users (including me) prefer the MSC mode...

so here is a MOD/HACK which will enable that functionality!!!

[ credits ]
  • Napstar - for discussing this workaround which was ment for recovery but it works in OS very well
  • rogro82 - for creating and posting the GScript App here
  • finally me (DooMLoRD) - for implementing it for Xperia S/U/P and creating this easy to use package

[ requirements ]
  • stock GingerBread firmware
  • rooted device with busybox installed

[ downloads ]

APP for Xperia S

APP for Xperia U/P

if u want me to make a version of this app for ur Xperia P, Sola read this


test it out and let me know ur feedback!!!

Last edited by DooMLoRD; 6th July 2012 at 06:49 PM.
The Following 68 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
18th April 2012, 10:30 PM |#2  
Sikiduck's Avatar
Senior Member
Thanks Meter: 49
Saw requirements and rooted, almost cried

But very good work u guys! Finally someone made this mod! I'll test out when bl is unlocked! xD

Sent from my LT26i using xda premium
Last edited by Sikiduck; 18th April 2012 at 10:37 PM.
The Following User Says Thank You to Sikiduck For This Useful Post: [ View ]
18th April 2012, 10:51 PM |#3  
Thanks Meter: 13
Awesome! Working perfectly for me. Thanks! Was hoping for something like this
18th April 2012, 10:53 PM |#4  
Flag Warsaw
Thanks Meter: 21
Thank you very much DooMLoRD Now copying is speeeedy...even 28MB/s
18th April 2012, 10:59 PM |#5  
sminki's Avatar
Senior Member
Thanks Meter: 78
Thumbs up

[260388.740074] usb 1-4: new high speed USB device using ehci_hcd and address 60
[260388.878673] usb 1-4: New USB device found, idVendor=0fce, idProduct=b169
[260388.878680] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[260388.878683] usb 1-4: Product: SEMC HSUSB Device
[260388.878686] usb 1-4: Manufacturer: SEMC
[260388.878688] usb 1-4: SerialNumber: **********
[260388.878919] usb 1-4: configuration #1 chosen from 1 choice
[260388.880622] scsi12 : SCSI emulation for USB Mass Storage devices
[260388.880894] usb-storage: device found at 60
[260388.880897] usb-storage: waiting for device to settle before scanning
[260393.876839] usb-storage: device scan complete
[260393.877392] scsi 12:0:0:0: Direct-Access     SEMC     Mass storage     0100 PQ: 0 ANSI: 4
[260393.878421] sd 12:0:0:0: Attached scsi generic sg2 type 0
[260393.880092] sd 12:0:0:0: [sdb] 54128640 512-byte logical blocks: (27.7 GB/25.8 GiB)
[260393.880585] sd 12:0:0:0: [sdb] Write Protect is off
[260393.880591] sd 12:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[260393.880596] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[260393.882455] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[260393.882463]  sdb:
[260393.891209] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[260393.891218] sd 12:0:0:0: [sdb] Attached SCSI removable disk
[260394.093218] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Brilliant! and so simple too, 2 lines! Makes the recent donation all the more sweet, so yet again - thanks DooMLoRD & Napstar

It seriously screws this Notification Bar mod, but that can go in favour of this

EDIT: also works on SO-02D - 6.0.A.4.1 (personal project I'm working on..)
Last edited by sminki; 18th April 2012 at 11:32 PM.
19th April 2012, 06:49 AM |#6  
Thanks Meter: 19
wow i didn't think you would release it this quickly donation coming your way, thanks a lot man!
The Following User Says Thank You to onemandivision For This Useful Post: [ View ]
19th April 2012, 07:44 AM |#7  
Thanks Meter: 7

Thanks you for all your work, donation is coming

I dunno why Sony has removed this function in the rom, MTP is horrible!
19th April 2012, 08:54 AM |#8  
electrash's Avatar
Senior Member
Flag Mali Lošinj - Rijeka
Thanks Meter: 519
Donate to Me
One more great job doom.
Thx you for developing for SXS.
Cant wait to put my hands on it.

Sent from my LT26i using XDA
19th April 2012, 10:11 AM |#9  
kazuni's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 216
some funny things I did (don't try this at home)

I've formatted the mounted internal SDCard as NTFS and guess what, it didn't mount properly (as expected) by the operating system - but using gscript, it did mount properly in windows.

After that, I used adb shell to gain access to the device to manually mount /dev/block/mmcblk0p15 and voila, it supports NTFS - though root explorer etc. It's not practical (as the OS reports the /sdcard/ is not mounted - even though it is), but still fun to investigate.

# df -h
df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                   348.4M     64.0K    348.3M   0% /dev
tmpfs                   348.4M         0    348.4M   0% /mnt/asec
tmpfs                   348.4M         0    348.4M   0% /mnt/obb
                       1007.9M    352.9M    654.9M  35% /system
                          2.0G    484.3M      1.5G  24% /data
                        246.1M    164.0M     82.0M  67% /cache
                          7.9M      4.1M      3.7M  53% /data/idd
                        246.1M    164.0M     82.0M  67% /data/dalvik-cache
                         25.8G     86.5M     25.7G   0% /mnt/sdcard
# mount
rootfs on / type rootfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p12 on /system type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p14 on /data type ext4 (rw,nosuid,nodev,relatime,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/mmcblk0p13 on /cache type ext4 (rw,nosuid,nodev,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p10 on /data/idd type ext4 (rw,nosuid,nodev,relatime,barrier=0,data=ordered)
/dev/block/mmcblk0p13 on /data/dalvik-cache type ext4 (rw,nosuid,nodev,relatime,barrier=1,data=ordered)
/dev/block/mmcblk0p15 on /mnt/sdcard type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=iso8859-1,errors=continue,mft_zone_

---------- Post added at 05:11 PM ---------- Previous post was at 04:54 PM ----------

On the side note - which part denotes how the system boots up and mounts /sdcard/ ? I am not that good with android in terms of bootup sequences, so I thought I can look up /etc/fstab but there's nothing there
19th April 2012, 01:41 PM |#10  
sminki's Avatar
Senior Member
Thanks Meter: 78
^ /etc/vold.fstab


the dir and symlinks are done in init

Sent from my LT26i using XDA
Last edited by sminki; 19th April 2012 at 01:43 PM.
19th April 2012, 04:20 PM |#11  
Thanks Meter: 9
works perfectly

but i was just wondering (not complaining)

would it be possible to make this part of the os so you dont have to run the script

so for example, mod a system file?
Last edited by shuttleu; 19th April 2012 at 06:41 PM.

Read More
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes