title: How to change the hosts file on android
body: <p>I have successfully rooted my Samsung Galaxy Mini (android 2.2.1) and thought, that I could change anything (as root usually can). </p>
  
  <p>I would like to change the hosts file on the android, to include some local addresses. However, I still get the message that I do not have permission to do that. I tried following options:</p>
  
  <ol>
  <li><p><code>adb push /path/to/my/new/hosts /system/etc</code> ... and  I got the response <code>Read-only file system</code>.</p></li>
  <li><p>directly in the shell on the phone. But this didn't work either. I can do <code>su</code> in the console, but cannot change the file. </p></li>
  </ol>
  
  <p>Isn't it strange, that as super user I am not allowed to change some files?</p>