Guest dennerjw Posted September 1, 2010 Report Posted September 1, 2010 Is there any way to turn on mass storage mode without having it connected to the computer? I want to plug it into my car decks usb port so I can browse/play mp3s in my car, without using the aux port (due to liquids bad sound quality) but when I plug it in the liquid doesn't give me the option to turn on mass storage.
Guest dennerjw Posted September 2, 2010 Report Posted September 2, 2010 You can do it through Malez recovery but i don't want to have to turn my phone off every time i plug it into my deck :huh: There has to be a way! (at least i hope there is)
Guest azuwis Posted September 2, 2010 Report Posted September 2, 2010 I think the script to toggle usb mass storage in Malez recovery is this: #!/sbin/sh # 20100505 Malez fix for liquid bin 0.16 kernel um if [ $? != "0" ]; then echo "Unable to unmount!" exit 1 fi case $1 in on) echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file echo /dev/block/mmcblk0 > /sys/devices/platform/msm_hsusb/gadget/lun0/file echo "USB Mass Storage enabled" ;; off) echo "" > /sys/devices/platform/usb_mass_storage/lun0/file echo "" > /sys/devices/platform/msm_hsusb/gadget/lun0/file echo "USB Mass Storage disabled" ;; --) ;; esac exit 0 So gscript lite + a simple script should resolve that.
Guest dennerjw Posted September 2, 2010 Report Posted September 2, 2010 When i run that as a script in GScript it says "unable to unmount". Am I missing something?
Guest ezechiel203 Posted September 2, 2010 Report Posted September 2, 2010 Hey ! Malez code does not seem to work properly when used "as is". For example, there's no "um" file to be called. That's why the code exits ($? = 1 car um n'existe pas). These are the lines you need among the piece of code that was posted by azuwis. #!/sbin/sh ############## #memCardMount# ############## echo /dev/block/mmcblk0 > /sys/devices/platform/msm_hsusb/gadget/lun0/file echo "memory card mounted" #!/sbin/sh ############### #memCardUmount# ############### echo "" > /sys/devices/platform/msm_hsusb/gadget/lun0/file echo "memory card unmounted" That's it. It works on my PC. Try it on your car deck The memory card partition is not unmounted while it can be accessed via a remote usb connected device. So you can still browse the memory card partition on your liquid while you access the files via your car deck. This way you can still access files you need while driving (eg GPS maps).
Guest ezechiel203 Posted September 2, 2010 Report Posted September 2, 2010 (edited) sorry, double post Edited September 2, 2010 by ezechiel203
Guest kspamhere Posted April 29, 2011 Report Posted April 29, 2011 Anyone managed to get their phone and car stereo hooked up with mass storage. I can't get anything through mine the stereo detects usb but doesn't seem to be directed to sdcard to find any music. I guess if a file mp3 file was planted in the root of the phone maybe it would find it?
Guest cKen Posted April 29, 2011 Report Posted April 29, 2011 Try using multimount sd app? its free on the market (:
Guest ranieri55 Posted April 30, 2011 Report Posted April 30, 2011 Try using multimount sd app? its free on the market (: doesn't work for me... i tried this morning :mellow:
Guest blueven Posted July 15, 2011 Report Posted July 15, 2011 Have you found a solution? I try today and i have same problem!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now