[MTCB Android Head Units Q&A] markcm:
HuiFei - 2 DIN Pure Android 4.2.2/4.4.2/4.4.4 RK3066/RK3188 CarStereo Radio H...

I finally got my internal system-DATA partition to bind with my internal_sd so that I could make use of the many unused GB for Slacker Radio offline playback caching. Thanks to those who helped me with the LSD() text for the install-recovery.sh script, particularly [MENTION=4097982]DSA[/MENTION]8310 although there were others who chipped in as well so thanks to all.

I ultimately don't know exactly what the problem was, I suspect I may have had something corrupt in my install-recovery.sh script. I had a fresh Malaysk ROM from 7-7-15 and then uploaded the latest install-recovery.sh script which utilized the install-recovery.sh-2 technique to avoid breaking ROOT.

The lsd() command line that finally worked for me really doesn't seem different than what I had been attempting previously; the most significant change I made right before my binding started to work was downloading DSA-3810's most current update to install-recovery.sh . I also used Notepad++ to edit the install-recovery.sh file this time rather than using the built-in text editor in Root Explorer. I may have had a corrupt file before?

Here are some details regarding Slacker Radio and binding memory locations which answers a few of the other questions I had.

First, the exact lsd() I used to bind from the system partition to the internal_sd which in my case is 12GB since my NAND is 16GB.

lsd /data/data/com.slacker.radio/files/slacker/cache/slacker "offline" /mnt/internal_sd/cache/slacker/offline

The actual "big data" directory is even a few sub directories deeper but this point seemed logical to me for mounting.

I tried to create the folders and binding before installing slacker but it caused issues with installation when the folders were already in place so...

I created my folder which I wanted to mount on my internal_sd, the location of this new folder was (/mnt/internal_sd/cache/slacker/offline)

I placed an empty folder/directory in this new location called /bar, the path looked like this: (/mnt/internal_sd/cache/slacker/offline/bar) Note that the name is arbitrary and could be anything you'd like and this folder will also come in handy for knowing when you have successfully mounted/bound the two locations because this /bar folder will show up in the original big data location which in my case is (/data/data/com.slacker.radio/files/slacker/cache/slacker/bar)

I went ahead and installed Slacker Radio and picked one station to cache for offline playback.

I then closed slacker, and used the system settings to force close Slacker and cleared its cache (just in case it helped, but I dont know if this step really mattered)

Next, I cut the contents of (/data/data/com.slacker.radio/files/slacker/cache/slacker) and pasted it to my new directory at (/mnt/internal_sd/cache/slacker/offline/). By the way, the next subdirectory in this path happens to be /cache/, the path looks like this: (/mnt/internal_sd/cache/slacker/offline/cache/)

Reboot time

I opened slacker and my cached station was still there and playable.

At this point it was a bit confusing, I couldn't really tell if the binding had taken place of if the original content was still there. The give away was that the original path to the big data of (/data/data/com.slacker.radio/files/slacker/cache/slacker) now had a sub directory of /bar in it, like this: (/data/data/com.slacker.radio/files/slacker/cache/slacker/bar/). Since I never put the /bar subdirectory here, it was clear the binding had taken place.

Further more, when I check my STORAGE through the SETTINGS, I could now see the results which were somewhat odd but make sense when you think about it. The system "available capacity" never increased as I added more offline stations through Slacker although the System App Data amount increased and the graphical bar meter actually filled up all the way (pictures below). The internal_sd partition did the opposite, I could see the Miscellaneous portion filling up and the "available capacity" decreasing". I started by downloading about 2GB of music for offline playback, keep in mind my system partition is only 2GB so this was previously not possible. The files for offline storage are now on my internal_sd which is mounted to the system DATA partition.

Just to be sure this was working, I added the directory called (/bar test/) to my my memory expansion on the internal_sd, the path was (/mnt/internal_sd/cache/slacker/offline/bar test/). I then checked back to the mounted system location of (/data/data/com.slacker.radio/files/slacker/cache/slacker/) and found the (/bar test) directory was there as well confirming the two paths were mounted.

I have attached some pictures to clarify all this: