1. Download our Official Android App: Forums for Android!

Root Edit /etc/hosts

Discussion in 'Android Devices' started by jpvonhemel, Jun 22, 2010.

  1. jpvonhemel

    jpvonhemel Newbie
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    17
    Joined:
    Apr 20, 2010

    Apr 20, 2010
    17
    1
    36
    Is the NAND lock the reason 'su mv hosts hosts.old' = permission denied?

    J.
     

    Advertisement

  2. paimon.soror

    paimon.soror Android Enthusiast
    Rank:
    None
    Points:
    73
    Posts:
    413
    Joined:
    Apr 29, 2010

    Apr 29, 2010
    413
    76
    73
    Software Engineer
    Vernon, CT
    Where exactly are you trying to perform this? In recovery mode after a payload push?
     
  3. jpvonhemel

    jpvonhemel Newbie
    Thread Starter
    Rank:
    None
    Points:
    36
    Posts:
    17
    Joined:
    Apr 20, 2010

    Apr 20, 2010
    17
    1
    36
    From a terminal app on the phone. It is the NAND lock that established when the phone booted. Cannot seem to get it back into adb again to push my edited hosts file.
     
  4. paimon.soror

    paimon.soror Android Enthusiast
    Rank:
    None
    Points:
    73
    Posts:
    413
    Joined:
    Apr 29, 2010

    Apr 29, 2010
    413
    76
    73
    Software Engineer
    Vernon, CT
    Correct, you will not be able to make any changes to the root mount (aka '/' and all of the folders associated to it) with the current NAND lock. We expect that once unRevoked releases their utility that the root partition will be opened up to free editing.
     
  5. elborak

    elborak Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    121
    Joined:
    Apr 8, 2010

    Apr 8, 2010
    121
    37
    43
    Just to be clear, the unrevoked recovery installer will not make the system partition writable when not booted in recovery; to do that requires a custom hboot. It's been discussed, but there's disagreement on whether it's actually a good idea.
     
    paimon.soror likes this.

Share This Page

Loading...