Jump to content

playing music through usb on car deck


Recommended Posts

Guest dennerjw
Posted

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

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)

Posted

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

When i run that as a script in GScript it says "unable to unmount". Am I missing something?

Guest ezechiel203
Posted

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 (edited)

sorry, double post

Edited by ezechiel203
  • 7 months later...
Guest kspamhere
Posted

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?

Posted

Try using multimount sd app? its free on the market (:

Guest ranieri55
Posted
Try using multimount sd app? its free on the market (:

doesn't work for me... i tried this morning :mellow:

  • 2 months later...
Guest blueven
Posted

Have you found a solution? I try today and i have same problem!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.