title: How to change readable permission to writable permission in android emulator
body: <p>I am working in emulator to connect in localhost. For some reason, I need to change the locahost network connectivity. I received the localhost file from System and moved to say for eg: C:/temp/host location. In the host file, I edited and again I tried to move to System/etc/hosts but it fails to move the file. It display the error as couldnt create file: Read-only file system. Please suggest me solution.</p>
  
  <p>Below are the Steps followed:</p>
  
  <ol>
  <li><p>C:\Users\Android\sdk\platform-tools> adb pull /system/etc/hosts C:/temp/hosts</p>
  
  <p>[100%] /system/etc/hosts</p></li>
  <li><p>The file has been successfully moved to temp folder.</p></li>
  <li>After I edited the file, I tried to push. But it fails.</li>
  <li>C:\Users\Android\sdk\platform-tools>adb remount
  Not running as root. Try adb root first
  C:\Users\Android\sdk\platform-tools> adb root</li>
  <li><p>C:\Users\Android\sdk\platform-tools> adb push C:\temp\hosts\system\etc</p>
  
  <p><strong><em>adb error: failed to copy 'C:\temp\hosts' to '/system/etc/hosts': couldn't create file Read only file system.</em></strong></p></li>
  </ol>