I wanted to update the PATH environment variable permanently in the adb shell. I guessed the shell was mksh for I've found /system/bin/sh pointing to /system/bin/mksh. Then I tried
- Making a new file
/data/.mkshrcand adding thePATHdefinition into it. - Copy the above file into
/. - Copy to
/root.
But all attempts failed.
No comments:
Post a Comment