This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Android ICS Shell Modification

Other Parts Discussed in Thread: ASH

Hi, is just that i've been trying to make some modifications to the source code of the sh shell of Android ICS, but when i make any modification in any of the source codes of the commands or in the source code of the shell, nothing happens, so i don't know if there must be some kind of configuration or some flag that enables/disables this kind of modifications, i really need to do some modifications.

Best Regards.

  • The sh code is in

    /4ai17/mydroid/system/core/sh

    then after setting envsetup.sh and lunch commands, go to this folder after doing the modification and do

    cd $MYDRID/system/core/sh

    mm -B | tee ~/output.log

    cat  ~/output.log | grep Install

    Install: out/target/product/blaze/system/bin/ash

    then check for "Install" to see what files where modified and pass them to the FS, or do ./adb sync you need to export a variable to $MYDROID it is indicated when doing sync command.

    If you check the Android.mk in this directory it is creating a symbolic link to this file and sh.

  • Just quick  correction, I missed to mention to do a cd to sh folder code, I already corrected the original post with

    cd $MYDRID/system/core/sh

    if you don't do the cd command then it will recompile all the target again.