Monday, April 23, 2018

mksh - Can I update the adb shell's environment variables?


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/.mkshrc and adding the PATH definition into it.

  • Copy the above file into /.


  • Copy to /root.


But all attempts failed.




No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...