Remove All Ads from XDA
Find Your Device:
Or Continue to Thread: [KERNEL]{S} Advanced Stock ICS…
30th June 2012, 09:54 PM |#254  
Arakmar's Avatar
OP Senior Member
Flag Grenoble
Thanks Meter: 795
Donate to Me
Originally Posted by Tigrer

Great work:)

It is any hope to run msc mass storage mode not only in recovery? Like DooMLords script and later app for 2.3.7

Xperia S Tapatalk

Yes, I just tried and it works just fine
Here are the scripts : :
echo 0 > /sys/devices/virtual/android_usb/android0/enable
echo "mass_storage,adb" > /sys/class/android_usb/android0/functions
echo "/dev/block/mmcblk0p15" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
echo 1 > /sys/devices/virtual/android_usb/android0/enable :
echo "" > /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
echo 0 > /sys/devices/virtual/android_usb/android0/enable
echo "mtp,adb" > /sys/class/android_usb/android0/functions
echo 1 > /sys/devices/virtual/android_usb/android0/enable
DoomLord just need to update path in his app and it'll be fine
The Following 8 Users Say Thank You to Arakmar For This Useful Post: [ View ] Gift Arakmar Ad-Free