christim originally posted a reply to my thread "adb Lessons?" I have spent the past mouth learning Linux using the cgywin set up on Windows 7 machine.
Today, I decided to get back into the Android environment and see if I could write some scripts in that environment. I learned how to get the emulator to work and played around with it some.
Then I open up another command window, type adb devices, it recognizes my emulator and I can go into a shell. I type "cat > test" and get the message "read only". So I went back to ur reply to my post and copied/pasted the string to make rw. I typed my cat statement and got "not enough memory".
Then I went on my phone and opened the terminal emulator app and typed "remount" and got the message "permission denied", so I typed the entire string that you gave me and got "permission denied" again. I am doing this on the root "/" directory on the phone and emulator.
I can copy scripts from cgywin to the /system/bin or /usr/bin on the phone or emulator and get them to run, but I can not write a script in either.
So, I hope you can tell me what I am doing wrong.