[MTCB Android Head Units Q&A] markcm:
Additional help needed mounting external_sd for Slacker Radio

Additional assistance needed mounting sd or other external for Slacker Radio

After Several hours of attempting with the guidelines provided, I cannot seem to get a mount established for Slacker Radio. Hopefully I am missing something small although I’ve been checking over every detail of the provided guide and no luck yet.

About my setup:

The latest Malaysk ROM is installed

Latest install-recovery-2.sh from post #5335

KGL1_v2.55musik installed

RK3188 with 16GB NAND, 1028 display

A few particulars I’ve noticed about the Slacker Radio installation location(s):

I find two identical instances of Slacker Radio installed when browsing with Root Explorer. They seem to be somewhat connected.

/data/data/com.slacker.radio/…

/data/user/0/com.slacker.radio/…

I also notice that there are many, many subdirectories under /com.slacker.radio, I can track down the where the actual offline cached music is and it’s about 6 or more subdirectories deep.

Here are a few things I am not clear if I am doing correctly:

Where do I add the lsd line? Does it simply go right after the first lsd for tomtom?

Will the following line find folders regardless of how deep they are buried in subdirectories or does the quantity of */ need to match how deep the target folder is located? Example, assuming the target to mount is called out in the lsd as /com.slacker.radio, will this /mnt/external_sd*/*/ find and mount a directory located at /mnt/external_sd2/cache/music/com.slacker.radio/ ?

When the mount is successful, what should I expect to see when browsing with Root Explorer? Would I see the files in the new location on external_sd2, or would I see them in data/data/com.slacker.radio/ ?

In summary, my unsuccessful attempted mounting process has been:

Install Slacker Radio

Locate the large cache directory, so far I can determine two potential locations as listed above and have repeated this whole process for both possible instances.

Created directories: mnt/external_sd2/com.slacker.radio/ and mnt/internal_sd/com.slacker.radio/ and placed a dummy directory in both called /deleteme/

Edit the latest install-recovery-2.sh with the example code provided. I have tried it exactly as provided for both wildcard and absolute targets. I used Root Explorer to mount and edit the /etc/install-recovery-2.sh.

##########################################################################
### lsd syntax: ###
### First argument is the target (internal) folder. ###
### Second argument is the source directory prefix name. ###
### Remaining arguments make a list of source (external) storage paths.###
### If any prefix* folder is found in any source path tree, ###
### it will be (bind) mounted under the target folder. ###
##########################################################################
lsd /mnt/internal_sd/tomtom "com.tomtom.*" /mnt/external_sd*/*/ /mnt/usb_storage*/*/
lsd "/data/data" "com.slacker.radio" /mnt/external_sd*/*/ /mnt/internal_sd*/*/

After editing the install-recovery-2.sh file I have tried several next steps including:

Cut all contents of original /data/data/com.slacker.radio/ and paste to the new external directory leaving nothing in the /data/data/com.slaker.radio/ directory.

I have also tried completely deleting the /data/data/com.slacker.radio/ directory (the guide wasn’t completely clear on what state to leave the original directory in or whether to delete it.)

I have also tired just leaving data/data/com.slacker.radio/ empty with the new /mnt/external_sd2/com.slacker.radio/ only containing the dummy directory.

After every test scenario of editing install-recovery-2.sh and directory modifications, I did a full reboot.

Any time I proceeded to execute Slacker, in every test scenario, Slacker always regenerates /data/data/com.slacker.radio/ and its sub-directories; I see no changes to any of the new external locations I’ve attempted to mount

.

I have taken screen shots of all my directories if that would help to troubleshoot.

Next

Does anything standout in what I’ve written which may be preventing my HU from successfully mounting?

I have installed a terminal emulator if that is useful for troubleshooting. I did a google search and found a basic call (something like: cat /proc/mtd and cat /proc/mount) to display mounted partitions although didn’t see any references to the attempted mounts in install-recover-2.sh (I’m not sure if I should expect to see anything).

Any additional help is greatly appreciated, Slacker Radio is an amazing Offline Radio service and was the reason I delved into the android navigation world. Slacker works well with the exception of running out of system memory.

THANK YOU!