[REQ]Fix cp and grep toolbox links in some ROMs (JB TW like Dandroid, S3rx, others?)
This is from my experience specifically with 4.1.2 TouchWiz ROMs for my Samsung Galaxy S3 i747 AT&T device (d2att).
I've notice that a lot of update-scripts have:
However, the versions of toolbox I've looked at implement cp and grep separately, and these tools are not compiled in (by default?), so the fresh ROMs typically have two broken (and for me and the shell scripts I often use, essential) commands.
These types of ROMs do have busybox installed, too, and these are implemented in all the versions I've checked, so I can manually specify "busybox cp" and "busybox grep", but I'd rather not modify all the shell scripts that expect cp and grep to simply work by name.
As it stands, my first post-install task is usually firing up an adb shell or downloading a terminal emulator and Hacker's Keyboard, su-ing, and doing something like:
rm cp grep
ln -s busybox cp
ln -s busybox grep
(The ln command may support noreference and force options that make the rm command moot, but this is simpler for me.)
I'm requesting that any base ROMs either check to see if cp and grep are implemented in their version of toolbox or that symlinks/update-scripts be updated to point to busybox so that they they work "out of the box" (no pun intended).
Otherwise, my experience with these ROMs has been awesome. Thanks to all that cook them up for us!