You need to be root to re-mount system partition.1. after entering :
adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I got: adb server is out of date. killing...
* daemon started successfully *
mount: Operation not premitted
2. after entering:
adb push hosts.for.mobile.txt /etc/hosts
I got: failed to copy 'hosts.for.mobile.txt to '/etc/hosts': Read-only file system
Try:
1. adb push hosts.for.mobile.txt /sdcard
2. adb shell
3. in your device shell type su
4. mount -o rw,remount /dev/block/mtdblock3 /system
5. use mount to check if system partition has been re-mounted.
6. cp /etc/hosts /sdcard/hosts.backup
7. cp /sdcard/hosts.for.mobile.txt /etc/hosts
If your using the recovery console you'll have to:
1. mount system partition to /system first
2. make sure that it's mounted r/w
3. copy your host file to /system/etc/hosts instead of /etc/hosts
Anyway, these are noob questions and have been answered many times in this forum... please use the search button.
Apart from that try to update your adb tool on your host to a newer version.
There'd been an update for 2.1 and up.
@mobileweasel:
After your device has booted up into Android /system/etc is mounted to /etc.
In other words this is the same directory from systems view.
Good luck!
scholbert